/* Stripe-like architectural subtle edge lines spanning entire page */
    case-hero:not(:defined), case-section:not(:defined), case-split:not(:defined), case-grid:not(:defined), case-center:not(:defined), case-gallery:not(:defined), case-meta:not(:defined), case-content:not(:defined), case-video:not(:defined) {
      display: none;
    }

    body.work-page {
      background-color: #0D1838;
      position: relative;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }
    body.work-page::before,
    body.work-page::after {
      content: '';
      position: absolute;
      top: 0; 
      bottom: 0; 
      width: 1px;
      background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 15%,
        rgba(255, 255, 255, 0.08) 85%,
        rgba(255, 255, 255, 0) 100%
      );
      pointer-events: none;
      z-index: 1;
    }
    
    .stripe-grid-line {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 15%,
        rgba(255, 255, 255, 0.08) 85%,
        rgba(255, 255, 255, 0) 100%
      );
      z-index: 1;
      pointer-events: none;
    }

    body.work-page::before { left: calc(50% - 600px); }
    body.work-page::after { right: calc(50% - 600px); }

    @media (max-width: 1240px) {
      body.work-page::before,
      body.work-page::after { display: none; }
    }
    
    @media (max-width: 768px) {
      .stripe-grid-line { top: 0; }
    }

    /* Template Typography */
    .stripe-header-copy {
      font-family: 'Inter', 'Poppins', sans-serif;
      font-size: clamp(1.125rem, 3vw, 1.625rem); /* 18px to 26px */
      line-height: 1.5;
      font-weight: 400;
      color: #839BC8;
      letter-spacing: -0.015em;
      margin: 0;
      text-align: left;
    }
    .stripe-header-copy strong {
      display: block;
      font-size: clamp(2rem, 6vw, 4rem); /* 32px to 64px */
      line-height: 1;
      letter-spacing: -0.02em;
      margin-bottom: 0.5rem;
    }

    .stripe-body-copy {
      font-family: 'Inter', 'Poppins', sans-serif;
      font-size: clamp(1rem, 2vw, 1.25rem); /* 16px to 20px */
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: clamp(1rem, 4vw, 1.5rem);
    }
    
    .stripe-h3 {
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "SF Pro Display", "Segoe UI", sans-serif;
      font-size: clamp(1.5rem, 4vw, 2.5rem); /* 24px to 40px */
      font-weight: 600;
      color: #ffffff;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
    }

    /* Architectural Layout Blocks */
    .template-hero {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      aspect-ratio: 16 / 9;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(36px, 5vh, 84px) 24px 0 24px; /* 84px clears the navbar height */
    }
    .template-hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.08); /* Frosted glass horizontal line */
      z-index: 3;
    }

    .template-section {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      aspect-ratio: 16 / 9;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(32px, 5vh, 80px) 24px;
    }
    .template-section::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.08); /* Frosted glass horizontal line */
      z-index: 3;
    }

    @media (max-width: 768px) {
      .template-hero,
      .template-section {
        aspect-ratio: auto;
        min-height: 100svh;
        height: auto;
        padding: 80px 20px;
      }
      .template-hero {
        padding-top: 100px; /* Clear navbar on mobile */
      }
    }

    .template-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    @media (min-width: 768px) {
      .template-grid {
        display: grid;
        grid-template-columns: 1fr 2.5fr; /* Wider content column */
        gap: 80px; /* Massive premium gap between columns */
      }
    }

    /* Additional Grid Layout Variants */
    .template-grid-split {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    @media (min-width: 768px) {
      .template-grid-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(40px, 6vw, 80px);
        align-items: stretch;
      }
    }

    .template-grid-center {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      height: 100%;
      max-width: 800px;
      margin: 0 auto;
    }
    .template-grid-center .stripe-header-copy,
    .template-grid-center .stripe-body-copy,
    .template-grid-center .stripe-h3 {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .template-grid-gallery {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    .gallery-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      flex: 1;
      height: 100%;
    }
    @media (max-width: 768px) {
      .gallery-row {
        grid-auto-flow: column;
        grid-template-columns: 85% 85% 85%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
      }
      .gallery-row > div {
        scroll-snap-align: center;
      }
    }

    .template-grid-text-columns {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    @media (min-width: 768px) {
      .template-grid-text-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
      }
    }

    .template-section-longform {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 120px 24px; /* No aspect-ratio, grows naturally */
    }

    /* Presentation Slide Variants */
    .template-grid-chapter {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      height: 100%;
      padding: 0 24px;
    }
    .template-grid-chapter h2 {
      font-family: 'Playwrite DK Uloopet', cursive;
      font-size: clamp(3rem, 8vw, 6rem);
      color: #ffffff;
      line-height: 1.1;
      margin-bottom: 1rem;
    }
    .template-grid-chapter p {
      font-family: 'Poppins', sans-serif;
      font-size: clamp(1rem, 2vw, 1.25rem);
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #FF5A36;
      margin: 0;
    }

    .template-grid-metrics {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    @media (min-width: 768px) {
      .template-grid-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
      }
    }
    .metric-number {
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "SF Pro Display", sans-serif;
      font-size: clamp(4rem, 10vw, 8rem);
      font-weight: 700;
      color: #ffffff;
      line-height: 1;
      letter-spacing: -0.04em;
    }

    .template-grid-quote {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      height: 100%;
      max-width: 900px;
      margin: 0 auto;
      position: relative;
    }
    .quote-text {
      font-family: 'Inter', 'Poppins', sans-serif;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      color: #ffffff;
      line-height: 1.4;
      font-weight: 400;
      margin-bottom: 2rem;
      position: relative;
      z-index: 2;
    }
    .quote-author {
      font-family: 'Poppins', sans-serif;
      font-size: 1rem;
      color: #839BC8;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Before & After */
    .template-grid-before-after {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    @media (min-width: 768px) {
      .template-grid-before-after {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(40px, 6vw, 80px);
        align-items: stretch;
      }
    }

    /* Methodology */
    .template-grid-methodology {
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: center;
    }
    .methodology-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      margin-top: 40px;
    }
    .methodology-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 40px 32px;
      position: relative;
    }
    @media (min-width: 768px) {
      .methodology-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -32px;
        width: 32px;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
      }
    }
    @media (max-width: 768px) {
      .methodology-row {
        grid-auto-flow: column;
        grid-template-columns: auto;
        grid-auto-columns: 85vw;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 0 20px 24px 20px;
        margin: 40px -20px 0 -20px;
        scroll-padding-left: 20px;
      }
      .methodology-card {
        scroll-snap-align: center;
      }
    }

    /* Device Showcase */
    .template-grid-showcase {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
    }
    .showcase-placeholder {
      width: 100%;
      flex: 1;
      border-radius: 40px;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #839BC8;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      transform: translateZ(0);
      will-change: transform, backdrop-filter;
    }

    /* Learnings */
    .template-grid-learnings {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }
    .learnings-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 64px;
      flex: 1;
    }
    @media (max-width: 768px) {
      .learnings-row {
        grid-template-columns: 1fr;
        gap: 24px;
      }
    }

    /* Video and Figma Embeds */
    .video-wrapper, .figma-wrapper {
      position: relative;
      width: 100%;
      flex: 1;
      border-radius: 24px;
      overflow: hidden;
      background: #000;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 30px 60px rgba(0,0,0,0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .video-wrapper video, .figma-wrapper iframe {
      width: 100%;
      height: 100%;
      border: none;
      object-fit: cover;
    }
    @media (max-width: 768px) {
      .video-wrapper, .figma-wrapper {
        aspect-ratio: 16 / 9;
        flex: none;
        width: 100%;
      }
      .video-wrapper video, .figma-wrapper iframe {
        object-fit: contain;
        background: #000;
      }
    }
    
    .figma-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 24px;
      gap: 16px;
    }
    @media (max-width: 768px) {
      .figma-header {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    .methodology-card h4, .learnings-row h4 {
      color: #FF5A36;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: clamp(0.9rem, 2.5vw, 1.1rem);
      letter-spacing: 2px;
      text-transform: uppercase;
      margin: 0 0 8px 0;
    }
    .methodology-card p, .learnings-row p {
      color: rgba(255,255,255,0.8);
      font-size: clamp(1rem, 2vw, 1.125rem);
      line-height: 1.6;
      margin: 0;
    }
    .template-section-longform::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.08); /* Frosted glass horizontal line */
      z-index: 3;
    }
    .longform-content {
      max-width: 720px;
      margin: 0 auto;
    }

    .meta-col {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    @media (min-width: 768px) {
      .meta-col {
        padding-right: 24px;
      }
    }
    @media (max-width: 768px) {
      .meta-col {
        justify-content: flex-start !important;
        align-items: flex-start !important;
      }
    }
    
    .content-col {
      max-width: 65ch; /* Optimal reading measure */
      display: flex;
      flex-direction: column;
      height: 100%;
      overflow-y: auto; /* Handle rigid 16:9 box gracefully */
      padding-right: 12px;
    }
    @media (max-width: 768px) {
      .content-col {
        height: auto !important;
        overflow-y: visible !important;
        padding-right: 0 !important;
      }
    }
    /* Elegant inner scrollbar */
    .content-col::-webkit-scrollbar {
      width: 4px;
    }
    .content-col::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.02);
    }
    .content-col::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.2);
      border-radius: 4px;
    }

    .meta-item {
      width: 100%;
      text-align: left;
    }
    .meta-item h4 {
      font-family: 'Poppins', sans-serif;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #839BC8;
      margin-bottom: 4px;
      text-align: left;
    }
    .meta-item p {
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", sans-serif;
      font-size: clamp(1rem, 2vw, 1.25rem); /* 16px to 20px */
      color: #ffffff;
      font-weight: 500;
      margin-bottom: 0;
      text-align: left;
    }
    @media (min-width: 768px) {
      .meta-item p { margin-bottom: 32px; }
    }

    .media-placeholder {
      width: 100%;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 8px 32px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transform: translateZ(0);
      will-change: transform, backdrop-filter;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #839BC8;
      font-family: 'Poppins', sans-serif;
      margin: 40px 0;
    }

    /* Premium Case Study Navigator */
    .case-nav-section {
      background: var(--navy-dark);
      padding: 8rem 0;
      position: relative;
      overflow: hidden;
      border-radius: 0 !important;
      margin: 0 auto !important;
      max-width: 100% !important;
      box-shadow: none !important;
    }
    .case-nav-section::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 90, 54, 0.4), transparent);
    }
    .case-nav-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      z-index: 1;
      opacity: 0.15;
    }
    .case-nav-container {
      position: relative;
      z-index: 2;
      width: calc(100% - 24px);
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 12px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    @media (max-width: 768px) {
      .case-nav-container {
        grid-template-columns: 1fr;
      }
    }
    .case-nav-card {
      background: rgba(14, 21, 40, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 4.5rem 3rem;
      text-align: center;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transform: translateZ(0);
      will-change: transform, backdrop-filter;
    }
    .case-nav-card:hover {
      background: rgba(22, 32, 59, 0.85);
      border-color: rgba(255, 90, 54, 0.5);
      transform: translateY(-8px) translateZ(0);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 90, 54, 0.15);
    }
    .case-nav-label {
      font-family: 'Poppins', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--tan);
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      transition: color 0.3s ease;
    }
    .case-nav-card:hover .case-nav-label {
      color: var(--primary);
    }
    .case-nav-title {
      font-family: var(--font-serif);
      font-size: clamp(2rem, 3.5vw, 2.5rem);
      font-weight: 400;
      color: rgba(255,255,255,0.9);
      line-height: 1.25;
      margin-bottom: 1rem;
      transition: color 0.3s ease;
    }
    .case-nav-card:hover .case-nav-title {
      color: var(--white);
    }
    .case-nav-subtitle {
      font-family: var(--font-sans);
      font-size: 1.05rem;
      color: rgba(255,255,255,0.6);
      margin-bottom: 2.5rem;
      transition: color 0.3s ease;
    }
    .case-nav-card:hover .case-nav-subtitle {
      color: rgba(255,255,255,0.85);
    }
    .case-nav-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      height: 48px;
      padding: 0 2rem;
      background: linear-gradient(to bottom, rgba(255, 90, 54, 0.85) 0%, rgba(255, 74, 38, 0.90) 100%);
      border: 1px solid rgba(255, 90, 54, 0.80);
      border-radius: 30px;
      color: #FFFFFF;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .case-nav-card:hover .case-nav-btn {
      background: linear-gradient(to bottom, rgba(255, 110, 77, 0.90) 0%, rgba(255, 90, 54, 0.95) 100%);
      transform: translateY(-2px) scale(1.02);
    }

    /* --- CINEMATIC LAYOUTS EXPANSION --- */
    
    /* 1. Cinematic Feature Deep-Dive */
    .cinematic-bento-float {
      position: absolute;
      bottom: 40px;
      right: 40px;
      width: 380px;
      padding: 32px;
      background: rgba(13, 24, 56, 0.6);
      backdrop-filter: blur(40px);
      -webkit-backdrop-filter: blur(40px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 24px;
      box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.2);
      z-index: 3;
    }
    @media (max-width: 768px) {
      .cinematic-bento-float {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 24px;
      }
    }

    /* 2. Immersive Impact Metrics */
    .cinematic-impact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 32px;
      width: 100%;
      z-index: 2;
    }
    .cinematic-impact-card {
      background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 24px;
      padding: 48px 32px;
      text-align: center;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .cinematic-impact-card:hover {
      transform: translateY(-8px);
      background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
      border-color: rgba(255, 90, 54, 0.4);
    }
    .cinematic-metric-value {
      font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
      font-size: clamp(4rem, 8vw, 6rem);
      font-weight: 700;
      color: #fff;
      line-height: 1;
      margin-bottom: 16px;
      background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.5) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* 3. Editorial Magazine Overview */
    .editorial-spread {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      height: 100%;
    }
    @media (max-width: 768px) {
      .editorial-spread {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }
    .editorial-huge-title {
      font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
      font-size: clamp(5rem, 10vw, 8rem);
      font-weight: 800;
      line-height: 0.9;
      letter-spacing: -0.05em;
      color: rgba(255,255,255,0.03);
      -webkit-text-stroke: 1px rgba(255,255,255,0.15);
      margin: 0;
    }
    .editorial-columns {
      column-count: 2;
      column-gap: 40px;
    }
    @media (max-width: 768px) {
      .editorial-columns {
        column-count: 1;
      }
    }

    /* 4. Monumental Quote */
    .monumental-quote-wrapper {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
    }
    .monumental-watermark {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: Georgia, serif;
      font-size: clamp(200px, 40vw, 400px);
      line-height: 1;
      color: rgba(255,255,255,0.04);
      z-index: 0;
      pointer-events: none;
    }
    .monumental-text {
      font-family: 'Playwrite DK Uloopet', cursive;
      font-size: clamp(2rem, 5vw, 3.5rem);
      line-height: 1.3;
      color: #fff;
      position: relative;
      z-index: 1;
      margin-bottom: 40px;
    }

    /* 5. Glowing Vertical Timeline */
    .vertical-timeline {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
      padding: 40px 0;
      width: 100%;
    }
    .vertical-timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 32px;
      width: 2px;
      background: linear-gradient(to bottom, transparent, rgba(255, 90, 54, 0.8), rgba(255, 90, 54, 0.2), transparent);
      box-shadow: 0 0 20px rgba(255, 90, 54, 0.6);
    }
    .timeline-node {
      position: relative;
      padding-left: 80px;
      margin-bottom: 64px;
    }
    .timeline-node:last-child {
      margin-bottom: 0;
    }
    .timeline-node::before {
      content: '';
      position: absolute;
      left: 26px;
      top: 32px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #FF5A36;
      box-shadow: 0 0 15px rgba(255, 90, 54, 0.8);
      border: 2px solid #0D1838;
      transform: translateY(-50%);
    }
    .timeline-node-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 16px;
      padding: 32px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    /* --- CINEMATIC EXPANSION PART II --- */

    /* 6. Component Library Explosion */
    .blueprint-grid-bg {
      position: absolute;
      inset: 0;
      background-size: 40px 40px;
      background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
      z-index: 0;
    }
    .component-float-container {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 400px;
      z-index: 2;
      perspective: 1000px;
    }
    .floating-component {
      position: absolute;
      background: rgba(13, 24, 56, 0.5);
      border: 1px solid rgba(255,255,255,0.15);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 12px;
      padding: 16px 24px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
      color: #fff;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* 7. High-Empathy User Persona */
    .persona-split {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 60px;
      align-items: stretch;
      z-index: 2;
    }
    @media (max-width: 768px) {
      .persona-split {
        grid-template-columns: 1fr;
      }
    }
    .persona-portrait {
      position: relative;
      border-radius: 24px;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
      border: 1px solid rgba(255,255,255,0.08);
      backdrop-filter: blur(20px);
      display: flex;
      align-items: flex-end;
      padding: 32px;
      min-height: 300px;
      overflow: hidden;
    }
    .persona-portrait::before {
      content: '';
      position: absolute;
      inset: -50px;
      background: url('../../assets/images/background-poster.png') center/cover;
      filter: blur(20px) grayscale(100%) opacity(0.3);
      z-index: 0;
    }
    .pain-point-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .pain-point-item {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.04);
      padding: 24px;
      border-radius: 16px;
      transition: all 0.3s ease;
    }
    .pain-point-item:hover {
      background: rgba(255, 90, 54, 0.05);
      border-color: rgba(255, 90, 54, 0.2);
    }
    .pain-point-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(255, 90, 54, 0.15);
      color: #FF5A36;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: inset 0 0 10px rgba(255, 90, 54, 0.2);
    }

    /* 8. Blueprint Wireframe Architecture */
    .wireframe-ghost {
      background: rgba(255, 255, 255, 0.01);
      border: 1px dashed rgba(255, 90, 54, 0.4);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 90, 54, 0.8);
      font-family: 'Poppins', sans-serif;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      backdrop-filter: blur(5px);
      box-shadow: 0 0 30px rgba(255, 90, 54, 0.05);
      position: relative;
    }
    .wireframe-ghost::before {
      content: '';
      position: absolute;
      top: -4px; left: -4px; width: 8px; height: 8px; background: #FF5A36;
    }
    .wireframe-ghost::after {
      content: '';
      position: absolute;
      bottom: -4px; right: -4px; width: 8px; height: 8px; background: #FF5A36;
    }

    /* 9. Micro-Interaction Redline Callout */
    .redline-container {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 60px 0;
    }
    .redline-video {
      width: 320px;
      height: 568px; /* Classic mobile ratio */
      background: #000;
      border-radius: 40px;
      border: 8px solid rgba(255,255,255,0.05);
      box-shadow: 0 30px 60px rgba(0,0,0,0.6);
      position: relative;
      z-index: 2;
    }
    .redline-annotation {
      position: absolute;
      color: #FF5A36;
      font-family: 'Fira Code', monospace;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 1;
    }
    .redline-annotation.left {
      right: calc(50% + 180px); /* 160px (half video) + 20px gap */
      flex-direction: row-reverse;
      text-align: right;
    }
    .redline-annotation.right {
      left: calc(50% + 180px);
    }
    .redline-line {
      width: 120px;
      height: 1px;
      background: rgba(255, 90, 54, 0.5);
      position: relative;
    }
    .redline-line::after {
      content: '';
      position: absolute;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #FF5A36;
      top: -2.5px;
    }
    .redline-annotation.left .redline-line::after {
      right: -3px;
    }
    .redline-annotation.right .redline-line::after {
      left: -3px;
    }
    @media (max-width: 768px) {
      .redline-annotation {
        display: none; /* Hide complex redlines on narrow mobile screens */
      }
    }

    /* --- MOBILE REFINEMENTS (9:16 OPTIMIZATION) --- */
    @media (max-width: 768px) {
      /* 0. Global Mobile Gap Reduction */
      .template-hero,
      .template-section,
      .template-section-longform {
        padding: 64px 20px !important; /* Premium breathable mobile padding */
      }
      .template-hero,
      .template-section,
      .template-section-longform {
        min-height: auto !important; /* Remove 100svh entirely so everything shrink-wraps */
      }
      .template-hero {
        padding-top: 130px !important; /* Keep navbar clear and add breathing room */
      }
      .template-grid,
      .template-grid-split {
        gap: 32px !important; /* Reduce massive desktop gaps */
      }
      .stripe-h3 {
        margin-bottom: 16px !important; /* Tighter header gaps */
      }
      .media-placeholder {
        margin-bottom: 24px !important;
      }
      .editorial-spread {
        gap: 32px !important;
      }
      .cinematic-impact-grid {
        gap: 16px !important;
      }
      /* Crush inline padding outliers */
      .content-col[style*="padding-bottom"] {
        padding-bottom: 32px !important;
      }
      .template-hero[style*="padding-bottom"] {
        padding-bottom: 64px !important;
      }
      .redline-container {
        padding: 64px 0 !important;
      }
      
      /* 1. Cinematic Deep Dive Bento */
      .cinematic-bento-float {
        position: absolute !important;
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        margin-top: 0 !important;
        padding: 24px !important;
      }
      /* 5. Glowing Vertical Timeline */
      .vertical-timeline::before {
        left: 16px;
      }
      .timeline-node {
        padding-left: 48px;
        margin-bottom: 40px;
      }
      .timeline-node::before {
        left: 10px;
      }
      .timeline-node-card {
        padding: 24px;
      }
      /* 6. Component Library Explosion */
      .floating-component {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin-bottom: 16px;
        width: 100%;
        justify-content: flex-start;
      }
      .component-float-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        perspective: none;
      }
      /* 7. High-Empathy User Persona */
      .persona-split {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .persona-portrait {
        min-height: 250px;
      }
      /* 8. Blueprint Wireframe Architecture */
      .wireframe-ghost {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 120px !important;
        margin-bottom: 16px;
      }
      .template-grid .content-col {
        min-height: auto !important;
        display: flex;
        flex-direction: column;
      }
      /* 9. Redline Callout */
      .redline-video {
        width: 100%;
        max-width: 320px;
      }
    }

    /* Custom List Styles */
    .content-col ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 24px;
    }
    .content-col li.stripe-body-copy {
      position: relative;
      padding-left: 24px;
      margin-bottom: 12px;
    }
    .content-col li.stripe-body-copy::before {
      content: '•';
      color: #FF5A36; /* Brand accent color */
      position: absolute;
      left: 0;
      font-weight: bold;
    }


    