/* nav + shared motion language */
  .nav-link { color: #5e5d54; text-decoration: none; position: relative; transition: color 0.25s ease; }
  .nav-link::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: #b85c2e; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
  .nav-link:hover { color: #1f1d18; }
  .nav-link:hover::after { transform: scaleX(1); }
  /* ---- header Contact us button ---- */
  .nav-contact { border: 0.5px solid #1f1d18; color: #1f1d18; background: transparent; padding: 7px 16px; border-radius: 22px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
  .nav-contact:hover { background: #1f1d18; color: #f5f2ea; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(31, 29, 24, 0.25); }
  .nav-contact-m { display: none; }
  @media (max-width: 900px) {
    .nav-contact { display: none; }
    .nav-links.open .nav-contact-m { display: block; }
    /* closing CTA row: 3 buttons need ~381px in a 331px container on mobile */
    div[style*="display: flex; gap: 12px; justify-content: center"] { flex-wrap: wrap !important; }
  }
  .nav-link.on { color: #1f1d18; font-weight: 500; }
  .cta-btn { transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease; }
  .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(31, 29, 24, 0.35); }
  .cta-arrow { display: inline-block; max-width: 0; margin-left: 0; opacity: 0; overflow: hidden; vertical-align: middle; transform: translateX(-4px); transition: max-width 0.3s ease, margin-left 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
  .cta-btn:hover .cta-arrow { max-width: 16px; margin-left: 7px; opacity: 1; transform: translateX(0); }
  .cta-copper:hover { box-shadow: 0 12px 30px -8px rgba(184, 92, 46, 0.55) !important; }
  @keyframes ftLogoClimb { 0% { cy: 44; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { cy: 5; opacity: 0; } }
  .ft-logo-dot { animation: ftLogoClimb 3.6s ease-in-out infinite; }
  .ft-link { color: #d4cebe; text-decoration: none; position: relative; transition: color 0.25s ease; }
  .ft-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: #b85c2e; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
  .ft-link:hover { color: #f5f2ea; }
  .ft-link:hover::after { transform: scaleX(1); }
  .logo-peak { animation: lpPulse 3.6s ease-in-out infinite; }
  @keyframes lpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal.delay-1 { transition-delay: 0.1s; }
  .reveal.delay-2 { transition-delay: 0.22s; }
  @keyframes stDust { 0%, 100% { transform: translateY(0); opacity: 0.2; } 50% { transform: translateY(-16px); opacity: 0.5; } }
  .ft-dust { position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; animation: stDust 7s ease-in-out infinite; }
  @keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
  .hint-bob { display: inline-block; animation: hintBob 1.8s ease-in-out infinite; }

  /* ============ THE FILM ============ */
  #tfilm-stage { background: var(--t-bg, #f5f2ea); }
  .t-copy { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
  .t-badge { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #b85c2e; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
  .t-h3 { font-size: 28px; font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; color: var(--t-ink, #1f1d18); }
  .t-p { font-size: 13.5px; line-height: 1.6; color: var(--t-sub, #5e5d54); margin: 0 0 12px; }
  .t-copy .t-badge, .t-copy .t-h3, .t-copy .t-p, .t-copy .t-stats { opacity: 0; transform: translateY(14px); transition: opacity 0.55s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.65, 0.2, 1); }
  .t-copy.on .t-badge { opacity: 1; transform: none; transition-delay: 0.02s; }
  .t-copy.on .t-h3 { opacity: 1; transform: none; transition-delay: 0.1s; }
  .t-copy.on .t-p { opacity: 1; transform: none; transition-delay: 0.18s; }
  .t-copy.on .t-stats { opacity: 1; transform: none; transition-delay: 0.28s; }
  .t-stats { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; padding-top: 16px; border-top: 0.5px solid var(--t-line, #d4cebe); }
  .t-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 23px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: #6b7a5a; }
  .t-stat-num.warm { color: #b85c2e; }
  .t-stat-lab { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-sub, #5e5d54); margin-top: 5px; }
  .t-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--t-bg, #f5f2ea); border: 1px solid var(--t-line, #d4cebe); transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
  .t-dot.on { background: #b85c2e; border-color: #b85c2e; box-shadow: 0 0 10px rgba(184, 92, 46, 0.45); }
  @keyframes tChipPop { 0% { opacity: 0.15; transform: translateY(-4px); } 100% { opacity: 1; transform: translateY(0); } }

  /* ============ CINEMA PACKAGE ============ */
  #t-grain { position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0.5; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.05 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"); }
  #t-vig { position: absolute; inset: 0; pointer-events: none; z-index: 4; background: radial-gradient(ellipse 105% 85% at 50% 46%, transparent 55%, rgba(12, 11, 9, 0.5) 130%); }
  .t-fog { position: absolute; border-radius: 50%; filter: blur(46px); background: radial-gradient(circle, rgba(122, 112, 96, 0.10), transparent 65%); pointer-events: none; z-index: 1; }
  @keyframes tFogA { 0% { transform: translate(-12%, 4%); } 50% { transform: translate(10%, -5%); } 100% { transform: translate(-12%, 4%); } }
  @keyframes tFogB { 0% { transform: translate(8%, -3%); } 50% { transform: translate(-9%, 6%); } 100% { transform: translate(8%, -3%); } }
  #t-shafts { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; overflow: hidden; }
  .t-shaft { position: absolute; top: -25%; width: 130px; height: 150%; background: linear-gradient(to bottom, rgba(184, 92, 46, 0.10), rgba(184, 92, 46, 0)); transform: skewX(-16deg); filter: blur(8px); }
  @keyframes tShaftDrift { 0%, 100% { transform: skewX(-16deg) translateX(0); opacity: 0.7; } 50% { transform: skewX(-14deg) translateX(34px); opacity: 1; } }
  .t-shaft { animation: tShaftDrift 14s ease-in-out infinite; }
  .t-dofp { position: absolute; border-radius: 50%; background: #b85c2e; pointer-events: none; z-index: 3; }
  @keyframes tDofA { 0% { transform: translate(0, 0); } 50% { transform: translate(46px, -60px); } 100% { transform: translate(0, 0); } }
  @keyframes tDofB { 0% { transform: translate(0, 0); } 50% { transform: translate(-58px, 44px); } 100% { transform: translate(0, 0); } }
  .t-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; pointer-events: none; z-index: 4; opacity: 0; }
  .tt-k { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.34em; color: #b85c2e; text-transform: uppercase; }
  .tt-t { font-family: 'Iowan Old Style', 'Charter', Georgia, serif; font-style: italic; font-size: 36px; color: var(--t-ink, #1f1d18); letter-spacing: 0.01em; }
  #t-finale { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; pointer-events: none; z-index: 4; opacity: 0; }

  /* cinematic camera */
  #t-cam3d { perspective: 1500px; width: 100%; }
  #t-cam { will-change: transform; transform-style: preserve-3d; }

  /* orbiting memory glyphs (real elliptical paths) */
  @keyframes tOrbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
  .tb-orb { offset-rotate: 0deg; animation: tOrbit linear infinite; }

  /* department power-up spin (ch7) */
  @keyframes tDeptSpin { from { transform: perspective(600px) rotateY(0deg); } to { transform: perspective(600px) rotateY(360deg); } }
  .tm-dept { transform-box: fill-box; transform-origin: center; }
  .tm-dept.spun { animation: tDeptSpin 0.9s cubic-bezier(0.3, 0.65, 0.25, 1) both, tBob 5s ease-in-out infinite 0.95s; }

  /* floating unanswered questions (ch2) */
  @keyframes tQBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
  .tm-qb { animation: tQBob 4.6s ease-in-out infinite; }
  .tm-qb2 { animation-delay: 1.5s; } .tm-qb3 { animation-delay: 3s; }

  /* map life */
  @keyframes tBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
  .tm-dept { animation: tBob 5s ease-in-out infinite; }
  .tm-d2 { animation-delay: 1.2s; } .tm-d3 { animation-delay: 2.4s; } .tm-d4 { animation-delay: 3.6s; }
  @keyframes tCrawl { to { stroke-dashoffset: -64; } }
  .tm-thread { animation: tCrawl 8s linear infinite; }
  @keyframes tXPulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
  .tm-x { transform-box: fill-box; transform-origin: center; animation: tXPulse 2.6s ease-in-out infinite; }
  @keyframes tBeam { to { stroke-dashoffset: -60; } }
  .tm-beam { stroke-dasharray: 1 9; stroke-linecap: round; animation: tBeam 1.6s linear infinite; }
  .tm-beam2 { animation-delay: 0.4s; } .tm-beam3 { animation-delay: 0.8s; } .tm-beam4 { animation-delay: 1.2s; }
  @keyframes tRing { 0% { r: 3; opacity: 0.85; } 100% { r: 26; opacity: 0; } }
  .tm-ring { fill: none; stroke: #b85c2e; stroke-width: 1; animation: tRing 2.4s ease-out infinite; }
  .tm-ring2 { animation-delay: 1.2s; }
  @keyframes tGlowB { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.95; } }
  .tm-glow { animation: tGlowB 4.5s ease-in-out infinite; }

  /* a packet gets dropped between handoffs (ch2) */
  @keyframes tDrop {
    0% { cx: 222; cy: 152; opacity: 0; } 6% { opacity: 1; }
    40% { cx: 420; cy: 196; opacity: 1; }
    52% { cx: 438; cy: 212; opacity: 1; }
    72% { cx: 446; cy: 300; opacity: 0.5; }
    82% { cx: 448; cy: 340; opacity: 0; } 100% { cx: 448; cy: 340; opacity: 0; }
  }
  .tm-droppkt { fill: #b85c2e; animation: tDrop 4.2s ease-in infinite; }

  /* ===== THE BRAIN ===== */
  @keyframes tSpinCW { to { transform: rotate(360deg); } }
  @keyframes tSpinCCW { to { transform: rotate(-360deg); } }
  .tb-ring-g { transform-box: fill-box; transform-origin: center; }
  .tb-r1 { animation: tSpinCW 26s linear infinite; }
  .tb-r2 { animation: tSpinCCW 40s linear infinite; }
  .tb-r3 { animation: tSpinCW 58s linear infinite; }
  @keyframes tCorePulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
  .tb-core { animation: tCorePulse 3s ease-in-out infinite; }
  @keyframes tCoreRing { 0% { r: 14; opacity: 0.7; } 100% { r: 56; opacity: 0; } }
  .tb-corering { fill: none; stroke: #b85c2e; stroke-width: 1; animation: tCoreRing 3.2s ease-out infinite; }
  .tb-corering2 { animation-delay: 1.6s; }

  /* knowledge flowing in (per-department keyframes) */
  @keyframes tIn1 { 0% { cx: 200; cy: 160; opacity: 0; } 10% { opacity: 0.9; } 86% { cx: 436; cy: 306; opacity: 0.9; } 100% { cx: 440; cy: 310; opacity: 0; } }
  @keyframes tIn2 { 0% { cx: 680; cy: 160; opacity: 0; } 10% { opacity: 0.9; } 86% { cx: 444; cy: 306; opacity: 0.9; } 100% { cx: 440; cy: 310; opacity: 0; } }
  @keyframes tIn3 { 0% { cx: 200; cy: 450; opacity: 0; } 10% { opacity: 0.9; } 86% { cx: 436; cy: 314; opacity: 0.9; } 100% { cx: 440; cy: 310; opacity: 0; } }
  @keyframes tIn4 { 0% { cx: 680; cy: 450; opacity: 0; } 10% { opacity: 0.9; } 86% { cx: 444; cy: 314; opacity: 0.9; } 100% { cx: 440; cy: 310; opacity: 0; } }
  .tb-in1 { animation: tIn1 2.8s linear infinite; } .tb-in2 { animation: tIn2 2.8s linear infinite 0.7s; }
  .tb-in3 { animation: tIn3 2.8s linear infinite 1.4s; } .tb-in4 { animation: tIn4 2.8s linear infinite 2.1s; }
  .tb-in5 { animation: tIn1 2.8s linear infinite 1.05s; } .tb-in6 { animation: tIn4 2.8s linear infinite 0.35s; }

  /* the console (ch6) */
  #t-console { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: min(470px, 90%); background: var(--t-card, rgba(236, 231, 216, 0.92)); border: 0.5px solid var(--t-line, #d4cebe); border-radius: 8px; padding: 16px 18px 14px; opacity: 0; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .t-q { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--t-ink, #1f1d18); letter-spacing: 0.01em; margin-bottom: 6px; min-height: 16px; }
  .t-q .pfx { color: #b85c2e; }
  .t-caret { display: inline-block; width: 6px; height: 12px; background: #b85c2e; vertical-align: -1px; animation: tCaret 0.9s steps(1) infinite; }
  @keyframes tCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
  .t-a { display: inline-flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #6b7a5a; letter-spacing: 0.04em; background: rgba(107, 122, 90, 0.09); border: 0.5px solid rgba(107, 122, 90, 0.35); border-radius: 5px; padding: 5px 10px; margin: 0 0 12px; opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; }
  .t-a.on { opacity: 1; transform: none; }
  .t-a .adot { width: 5px; height: 5px; border-radius: 50%; background: #6b7a5a; flex-shrink: 0; }
  #t-console .t-hdr { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.1em; color: var(--t-sub, #5e5d54); text-transform: uppercase; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 0.5px solid var(--t-line, #d4cebe); }

  /* ============ MOBILE ============ */
  .nav-burger { display: none; background: none; border: none; font-size: 20px; color: inherit; cursor: pointer; padding: 4px 8px; line-height: 1; }
  @media (max-width: 900px) {
    .section-inner { padding-left: 22px !important; padding-right: 22px !important; }
    h1 { font-size: clamp(30px, 8.5vw, 40px) !important; }
    h2 { font-size: clamp(23px, 6.5vw, 32px) !important; }
    .nav-bar { position: relative; }
    .nav-burger { display: block; }
    .nav-links { display: none !important; }
    .nav-links.open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #f5f2ea; border-bottom: 0.5px solid #d4cebe; padding: 16px 24px 20px; gap: 15px; z-index: 80; font-size: 15px; }
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
    /* footer cols must be allowed to shrink, and the email must be breakable —
       otherwise min-content of hello@thoughtscapeai.com (167px) blows the column out */
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] > div { min-width: 0; }
    .ft-link { overflow-wrap: anywhere; }
    div[style*="grid-template-columns: 1.4fr 1fr;"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }
  }

  @media (max-width: 900px) {
    html, body { overflow-x: hidden; overflow-x: clip; }
    .t-fog, .t-shaft, .t-dofp, #t-grain, #t-vig, #t-shafts { display: none !important; }
    #tfilm-stage div[style*="290px 1fr 28px"] { display: flex !important; flex-direction: column !important; gap: 18px !important; align-items: stretch !important; }
    #tfilm-stage div[style*="height: 440px"] { height: auto !important; min-height: 238px; }
    .t-copy.on { position: relative; } /* phones only ever show the last chapter, so let it size the box */
    #tfilm { height: 100vh !important; }
    .t-h3 { font-size: 19px !important; margin-bottom: 8px !important; }
    .t-p { font-size: 12px !important; margin-bottom: 8px !important; }
    .t-copy .t-p + .t-p { display: none; }
    .t-stats { gap: 9px !important; margin-top: 10px !important; padding-top: 10px !important; }
    .t-stat-num { font-size: 17px !important; }
    #tfilm-stage div[style*="height: 100%; display: flex"] { height: auto !important; }
    #t-cam3d, #t-cam { width: 100%; }
    #t-svg { width: 100% !important; height: 33vh !important; max-height: 33vh !important; }
    #tfilm-stage div[style*="width: 28px"] { display: none !important; }
    #t-cards { transform: scale(0.58); }
    #t-console { width: min(420px, 94%); bottom: 1.5%; padding: 11px 13px 9px; }
    .t-q { font-size: 10px; }
    .t-a { font-size: 9px; }
    .tt-t { font-size: 23px !important; }
  }

  /* ============ LIVING HEADER ============ */
  .site-nav { position: sticky; top: 0; z-index: 100; background: rgba(245, 242, 234, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow 0.35s ease; }
  .site-nav.scrolled { box-shadow: 0 10px 30px -14px rgba(31, 29, 24, 0.18); }
  .nav-bar { transition: padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .site-nav.scrolled .nav-bar { padding-top: 13px !important; padding-bottom: 13px !important; }
  .brand svg polygon { transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .brand:hover svg g polygon:nth-child(-n+3) { transform: translateY(2.5px); }
  .brand:hover svg g polygon:nth-child(n+7) { transform: translateY(-2.5px); }
  .brand:hover svg > .logo-peak { transform: translateY(-4px); }
  .nav-link.live { color: #1f1d18; }
  .nav-link.live::after { transform: scaleX(1); }
  @media (max-width: 900px) {
    .site-nav { background: #f5f2ea; -webkit-backdrop-filter: none; backdrop-filter: none; }
  }
  /* ---- nav: industries dropdown ---- */
  .nav-dd { position: relative; display: inline-flex; }
  .nav-dd-btn { background: none; border: none; padding: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
  .nav-dd-car { font-size: 8px; line-height: 1; display: inline-block; transition: transform 0.25s ease; }
  .nav-dd-item { display: block; text-decoration: none; }
  .nav-dd-t { display: block; font-size: 13.5px; font-weight: 500; color: #1f1d18; letter-spacing: -0.005em; }
  .nav-dd-s { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.04em; color: #5e5d54; margin-top: 3px; }
  @media (min-width: 1081px) {
    .nav-dd-menu { position: absolute; top: calc(100% + 16px); left: 50%; min-width: 260px; background: #fbf9f1; border: 0.5px solid #d4cebe; border-radius: 12px; padding: 7px; box-shadow: 0 24px 48px -24px rgba(31, 29, 24, 0.35); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 120; }
    .nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
    .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav-dd:hover .nav-dd-car, .nav-dd:focus-within .nav-dd-car, .nav-dd.open .nav-dd-car { transform: rotate(180deg); }
    .nav-dd:hover .nav-dd-btn, .nav-dd.open .nav-dd-btn { color: #1f1d18; }
    .nav-dd:hover .nav-dd-btn::after, .nav-dd.open .nav-dd-btn::after { transform: scaleX(1); }
    .nav-dd-item { padding: 11px 13px; border-radius: 8px; transition: background 0.2s ease; }
    .nav-dd-item:hover, .nav-dd-item:focus-visible { background: #ece7d8; outline: none; }
    .nav-dd-item:hover .nav-dd-t { color: #b85c2e; }
  }
  @media (max-width: 1080px) {
    .nav-dd { display: block; }
    .nav-dd-btn { cursor: default; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #b85c2e; }
    .nav-dd-btn::after, .nav-dd-car { display: none; }
    .nav-dd-menu { margin-top: 10px; padding-left: 14px; border-left: 0.5px solid #d4cebe; display: flex; flex-direction: column; gap: 12px; }
    .nav-dd-t { font-size: 15px; font-weight: 400; }
  }
  /* nav: the link row doesn't fit below ~1080px, so fold it into the burger menu early (buttons stay visible) */
  @media (min-width: 901px) and (max-width: 1080px) {
    .nav-burger { display: block; margin-left: auto; margin-right: 16px; }
    .nav-links { display: none !important; }
    .nav-links.open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #f5f2ea; border-bottom: 0.5px solid #d4cebe; padding: 18px 56px 22px; gap: 15px; z-index: 80; font-size: 15px; }
  }
  /* touch targets: bigger tap areas on the phone menu without changing its spacing */
  @media (max-width: 1080px) {
    .nav-burger { min-width: 44px; min-height: 44px; }
    .nav-links.open > a { padding: 10px 0; margin: -10px 0; }
  }
  .nav-actions .cta-btn { white-space: nowrap; }
  @media (max-width: 380px) { .nav-actions .cta-btn { padding: 7px 12px !important; } }
  @media (max-width: 350px) { .nav-actions .cta-btn { padding: 6px 10px !important; letter-spacing: 0.02em !important; } .nav-actions .cta-btn .cta-arrow { display: none; } .nav-burger { min-width: 38px; margin-left: auto; margin-right: 4px !important; } .brand { gap: 8px !important; } .brand > span { font-size: 16px !important; } }

