
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    /* in-page anchor offsets. Contact tucks its green block flush under the fixed nav (no white gap). */
    #technology, #applications, #team { scroll-margin-top: 110px; }
    #contact { scroll-margin-top: 84px; }
    :root {
      --bg-oat: #ECE5D2;          /* warm beige — natural, premium materials feel */
      --bg-charcoal: #1a1f1f;
      --bg-white: #ffffff;
    }
    body {
      font-family: 'Instrument Sans', sans-serif;
      background: var(--bg-oat);
      color: #1a1f1f;
      overflow-x: clip;
    }
    html { overflow-x: clip; }   /* belt-and-braces: clip horizontal overflow at the root without forming a scroll container */

    /* Respect users who prefer reduced motion — keep opacity fades for
       comprehension, kill all transform-based motion. */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .reveal-up, .reveal-left, .reveal-right { transform: none !important; opacity: 1 !important; }
      .split-heading .word-inner { transform: none !important; }
      .para-reveal { transform: none !important; opacity: 1 !important; }
    }

    /* ─── NAV ─── */
    #nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
      padding: 1.5rem 0;
    }
    #nav.scrolled {
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.06);
      padding: 1rem 0;
    }
    #nav.scrolled .nav-link { color: #1a1f1f; }
    #nav.scrolled .nav-link:hover { color: #254D4F; }
    /* Logo swap on scroll: white-text for dark hero → dark-text for cream nav.
       Both images sit in the DOM so the swap is instant (no flash, no JS). */
    .logo-img.logo-on-light { display: none; }
    #nav.scrolled .logo-img.logo-on-dark  { display: none; }
    #nav.scrolled .logo-img.logo-on-light { display: block; }
    #nav.scrolled .nav-cta { background: #254D4F; color: #fff; border-color: #254D4F; }
    .nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .nav-links { display: flex; align-items: center; gap: 2.5rem; }
    .nav-right  { display: flex; align-items: center; gap: 1rem; }
    .nav-link { color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; text-decoration: none; }
    .nav-link:hover { color: #fff; }
    /* Hamburger — proper touch target, hidden on desktop */
    .hamburger-btn {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      width: 44px; height: 44px;       /* 44×44 minimum touch target */
      padding: 0;
      background: none;
      border: none;
      cursor: pointer;
      margin: -10px;                    /* extend hit area without changing visual */
      padding: 10px;
    }
    .hamburger-btn span {
      display: block;
      width: 22px; height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: background 0.3s, transform 0.3s;
    }
    .hamburger-btn span:nth-child(3) { width: 14px; }
    #nav.scrolled .hamburger-btn span { background: #1a1f1f; }
    @media (max-width: 899px) {
      .nav-links { display: none; }
      .hamburger-btn { display: flex; }
    }
    .nav-cta {
      background: rgba(255,255,255,0.15);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.3);
      padding: 0.55rem 1.4rem;
      border-radius: 2rem;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.25s ease;
      white-space: nowrap;
      text-decoration: none;
      display: inline-block;
    }
    .nav-cta:hover { background: #254D4F; border-color: #254D4F; }
    .logo-img {
      height: 72px; width: auto;
      transition: filter 0.4s, height 0.3s;
      display: block;
      image-rendering: -webkit-optimize-contrast;
      -webkit-backface-visibility: hidden;
      transform: translateZ(0);
      will-change: transform;
    }
    #nav.scrolled .logo-img { height: 56px; }
    @media (max-width: 768px) {
      .logo-img { height: 54px; }
      #nav.scrolled .logo-img { height: 44px; }
    }

    /* ─── NAV DROPDOWNS ─── */
    .nav-item { position: relative; display: flex; align-items: center; padding: 0.6rem 0; }
    .nav-item > .nav-link { display: inline-flex; align-items: center; gap: 0.3rem; }
    .nav-caret { width: 9px; height: 9px; opacity: 0.7; transition: transform 0.2s; }
    .nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
    .nav-dropdown {
      position: absolute; top: 100%; left: -0.5rem;
      background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 0.85rem;
      box-shadow: 0 14px 34px rgba(13,38,38,0.14); padding: 0.5rem; min-width: 210px;
      opacity: 0; visibility: hidden; transform: translateY(6px);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 120;
    }
    .nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
      opacity: 1; visibility: visible; transform: translateY(0);
    }
    .nav-dropdown a {
      display: block; padding: 0.6rem 0.85rem; border-radius: 0.55rem;
      color: #1a1f1f; font-size: 0.9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }
    .nav-dropdown a:hover { background: #f3efe2; color: #254D4F; }
    .nav-dropdown .dd-all {
      color: #254D4F; font-weight: 600; margin-top: 0.3rem; padding-top: 0.7rem;
      border-top: 1px solid rgba(0,0,0,0.07);
    }
    .nav-dropdown .dd-all + .dd-all { border-top: none; margin-top: 0; padding-top: 0.5rem; }
    @media (max-width: 899px) { .nav-dropdown { display: none; } }

    /* mobile menu — grouped links */
    #mobile-menu .mm-label { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.5rem; }

    /* ─── HERO ─── */

    #hero {
      min-height: 100dvh;
      background: url('New%20header.jpg') center/cover no-repeat;
      position: relative;
      display: flex;
      /* overflow-safe vertical centering: clears the fixed nav at ANY window size */
      padding-top: 110px;
      padding-bottom: 2rem;
      box-sizing: border-box;
    }
    #hero::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(10,26,26,0.9) 0%, rgba(37,77,79,0.6) 55%, rgba(10,26,26,0.4) 100%);
    }
    .hero-content { position: relative; z-index: 1; max-width: 1280px; margin: auto; padding: 0 1.5rem; width: 100%; }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 0.5rem;
      color: #8dbfbf; font-size: 0.78rem; font-weight: 600;
      letter-spacing: 0.18em; text-transform: uppercase;
      margin-bottom: 1.5rem;
    }
    .hero-h1 {
      font-size: clamp(3rem, 7vw, 6.5rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.0;
      letter-spacing: -0.025em;
      margin-bottom: 1.5rem;
    }
    .hero-sub {
      font-size: clamp(1rem, 1.5vw, 1.15rem);
      color: rgba(255,255,255,0.72);
      line-height: 1.7;
      max-width: 480px;
      margin-bottom: 2.5rem;
    }
    .btn-solid {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: #254D4F; color: #fff;
      padding: 0.85rem 2rem;
      border-radius: 2rem;
      font-weight: 600; font-size: 0.95rem;
      transition: background 250ms cubic-bezier(0.23,1,0.32,1), transform 200ms cubic-bezier(0.23,1,0.32,1);
      text-decoration: none;
    }
    @media (hover: hover) and (pointer: fine) {
      .btn-solid:hover { background: #3a7a7d; transform: translateY(-1px); }
    }
    .btn-solid:active { transform: scale(0.97); transition-duration: 120ms; }
    .btn-ghost {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: transparent; color: rgba(255,255,255,0.85);
      padding: 0.85rem 2rem;
      border-radius: 2rem;
      border: 1px solid rgba(255,255,255,0.3);
      font-weight: 600; font-size: 0.95rem;
      transition: border-color 250ms cubic-bezier(0.23,1,0.32,1), color 250ms cubic-bezier(0.23,1,0.32,1), transform 200ms cubic-bezier(0.23,1,0.32,1);
      text-decoration: none;
    }
    @media (hover: hover) and (pointer: fine) {
      .btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: #fff; }
    }
    .btn-ghost:active { transform: scale(0.97); transition-duration: 120ms; }
    .nav-cta:active,
    .magnetic-btn:active,
    .demo-footer-cta:active,
    .feat-item:active { transform: scale(0.97); transition-duration: 120ms; }
    .hero-badge {
      position: absolute; bottom: 5rem; right: 2rem;
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 1rem;
      padding: 1.25rem 1.75rem;
      color: #fff; text-align: right;
    }
    .scroll-indicator {
      position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
      color: rgba(255,255,255,0.45); font-size: 0.65rem; letter-spacing: 0.15em;
      text-transform: uppercase;
    }
    .scroll-line {
      width: 1px; height: 44px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
      animation: scrollPulse 2s ease-in-out infinite;
    }
    @keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

    @keyframes statePulse { 0%,100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }

    /* State chip — top-left */
    .demo-chip {
      position: absolute;
      top: 1.5rem; left: 1.5rem;
      z-index: 5;
      display: inline-flex; align-items: center; gap: 0.7rem;
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 14px;
      padding: 0.7rem 1.1rem;
      color: #fff;
    }
    .demo-chip-dot {
      width: 9px; height: 9px; border-radius: 50%;
      background: #8dbfbf;
      box-shadow: 0 0 12px rgba(141,191,191,0.8);
      transition: background 0.3s, box-shadow 0.3s;
    }
    .demo-chip.state-warming .demo-chip-dot { background: #e8c66b; box-shadow: 0 0 14px rgba(232,198,107,0.8); }
    .demo-chip.state-switching .demo-chip-dot { background: #e89f6b; box-shadow: 0 0 16px rgba(232,159,107,0.9); }
    .demo-chip.state-opaque .demo-chip-dot { background: #ffffff; box-shadow: 0 0 18px rgba(255,255,255,1); }
    .demo-chip-label {
      font-size: 0.78rem; font-weight: 700;
      letter-spacing: 0.18em; text-transform: uppercase;
    }

    /* Temperature readout — top-right */
    .demo-temp-readout {
      position: absolute;
      top: 1.5rem; right: 1.5rem;
      z-index: 5;
      background: rgba(255,255,255,0.1);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 14px;
      padding: 0.75rem 1.25rem;
      color: #fff;
      text-align: right;
      min-width: 140px;
    }
    .demo-temp-big {
      font-size: 2rem; font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }
    .demo-temp-label {
      font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      margin-top: 0.25rem;
    }

    /* Footnote under demo */
    .demo-footer {
      max-width: 1280px; margin: 1.5rem auto 0;
      padding: 0 1.5rem;
      display: flex; justify-content: space-between; gap: 2rem;
      color: #5a6666;
      font-size: 0.85rem;
      font-style: italic;
    }
    .demo-footer-cta { color: #254D4F; font-weight: 600; font-style: normal; }

    /* Hero heat-bloom cursor effect */
    .hero-bloom {
      position: absolute;
      width: 400px; height: 400px;
      background: radial-gradient(circle,
        rgba(255,255,255,0.35) 0%,
        rgba(255,255,255,0.15) 25%,
        transparent 60%);
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      transition: opacity 0.8s ease;
      opacity: 0;
      mix-blend-mode: screen;
      z-index: 2;
      filter: blur(24px);
    }

    @media (max-width: 768px) {
      .demo-temp-readout { top: 1rem; right: 1rem; min-width: 100px; padding: 0.5rem 0.85rem; }
      .demo-temp-big { font-size: 1.4rem; }
      .demo-chip { top: 1rem; left: 1rem; padding: 0.5rem 0.8rem; }
      .demo-chip-label { font-size: 0.68rem; }
    }

    /* ─── FLIPBOOK SCROLL DEMO (real frames, scroll-driven) ─── */
    .flip-header {
      max-width: 1280px; margin: 0 auto 3rem;
      padding: 0 1.5rem;
      display: flex; justify-content: space-between;
      align-items: flex-start; flex-wrap: wrap; gap: 2rem;
    }
    .flip-badge {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: #0d2626; color: #fff;
      font-size: 0.72rem; font-weight: 700;
      letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.45rem 0.9rem;
      border-radius: 2rem;
      margin-bottom: 1.25rem;
    }
    .flip-badge-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #e89f6b;
      box-shadow: 0 0 12px #e89f6b;
      animation: statePulse 1.8s ease-in-out infinite;
    }

    /* Outer wrapper — gives scroll runway for the pinned animation */
    .flip-pin-wrapper { position: relative; height: 320vh; }
    .flip-pin-sticky {
      position: sticky; top: 0;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 1.5rem;
    }

    .flip-stage {
      position: relative;
      width: 100%;
      max-width: 1100px;
      aspect-ratio: 4/3;
      border-radius: 2rem;
      overflow: hidden;
      background: #ECE5D2;
      box-shadow: 0 40px 100px -30px rgba(37,77,79,0.4), 0 0 0 1px rgba(37,77,79,0.08);
    }
    .flip-frame {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      user-select: none;
      -webkit-user-drag: none;
    }

    /* Reuse demo-chip + demo-temp-readout — but recolor so they sit
       over a light photo instead of a dark one. */
    #flip-stage .demo-chip {
      background: rgba(13, 38, 38, 0.78);
      border-color: rgba(255,255,255,0.16);
    }
    #flip-stage .demo-temp-readout {
      background: rgba(13, 38, 38, 0.78);
      border-color: rgba(255,255,255,0.16);
    }

    /* Office variant — bare on white, status pills as green buttons
       above the image (not overlaid). Image is 3:4 portrait. */
    #flip-stage-of {
      background: transparent;
      border-radius: 0;
      box-shadow: none;
      aspect-ratio: 3/4;
      width: auto;
      max-width: none;
      height: min(72vh, 760px);
      flex-shrink: 0;
    }
    #flip-stage-of .flip-frame { object-fit: contain; }
    #flip-stage-of.loading::after { display: none; }

    #flip-wrapper-of .flip-pin-sticky {
      flex-direction: column;
      gap: 1.25rem;
    }

    .flip-status-of {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      flex-shrink: 0;
    }
    .flip-pill-of {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: #254D4F;
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 0.6rem 1.05rem;
      border-radius: 2rem;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
      transition: background 0.4s ease;
    }
    .flip-pill-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #8dbfbf;
      box-shadow: 0 0 10px rgba(141,191,191,0.7);
      transition: background 0.3s, box-shadow 0.3s;
    }
    .flip-pill-of.state-warming .flip-pill-dot { background: #e8c66b; box-shadow: 0 0 12px rgba(232,198,107,0.8); }
    .flip-pill-of.state-switching .flip-pill-dot { background: #e89f6b; box-shadow: 0 0 14px rgba(232,159,107,0.9); }
    .flip-pill-of.state-opaque .flip-pill-dot { background: #ffffff; box-shadow: 0 0 16px rgba(255,255,255,1); }

    @media (max-width: 768px) {
      #flip-stage-of { height: min(60vh, 600px); }
      .flip-pill-of { font-size: 0.65rem; padding: 0.5rem 0.85rem; letter-spacing: 0.14em; }
      .flip-status-of { gap: 0.5rem; }
    }

    .flip-footer {
      max-width: 1280px;
      margin: 2rem auto 0;
      padding: 0 1.5rem;
      display: flex; justify-content: space-between;
      align-items: center;
      font-size: 0.92rem; color: #5a6666;
      flex-wrap: wrap; gap: 1rem;
    }
    .flip-footer em { color: #3d4646; }

    /* Looping video container — rounded inset frame, breathes from the page edges. */
    .flip-video-wrap {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    .flip-video {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      border-radius: 1.75rem;
      overflow: hidden;
      background: var(--bg-oat, #ECE5D2);
      box-shadow: 0 40px 100px -30px rgba(37,77,79,0.4), 0 0 0 1px rgba(37,77,79,0.08);
    }
    @media (max-width: 768px) {
      .flip-video-wrap { padding: 0 1rem; }
      .flip-video { border-radius: 1rem; }
    }

    /* Loading shimmer — visible until the 121 frames have preloaded */
    .flip-stage.loading::after {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
      background-size: 200% 100%;
      animation: flipShimmer 1.4s linear infinite;
      z-index: 10;
      pointer-events: none;
    }
    @keyframes flipShimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -100% 0; }
    }

    @media (max-width: 768px) {
      .flip-stage { aspect-ratio: 4/5; border-radius: 1.25rem; }
      .flip-pin-wrapper { height: 250vh; }
    }

    /* ─── HERO ENTRANCE — pure CSS (immune to rAF throttling) ─── */
    @keyframes heroIn {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes heroInX {
      from { opacity: 0; transform: translateX(28px); }
      to { opacity: 1; transform: translateX(0); }
    }
    #h-eyebrow { animation: heroIn 0.7s cubic-bezier(.19,1,.22,1) 0.15s both; }
    #h-title   { animation: heroIn 0.9s cubic-bezier(.19,1,.22,1) 0.32s both; }
    #h-sub     { animation: heroIn 0.75s cubic-bezier(.19,1,.22,1) 0.5s both; }
    #h-ctas    { animation: heroIn 0.65s cubic-bezier(.19,1,.22,1) 0.65s both; }
    #h-badge   { animation: heroInX 0.8s cubic-bezier(.19,1,.22,1) 0.6s both; }

    /* Section-label system retired — keep tombstone rules so any stragglers vanish */
    .section-label, .sec-rule, .sec-num, .sec-slash, .sec-title, .label-dot { display: none; }

    /* ─── FEATURE STRIP ─── */
    #features { background: var(--bg-charcoal); position: relative; overflow: hidden; color: #f7f7f5; }
    #features::before {
      content: ''; position: absolute;
      top: 0; left: 50%; transform: translateX(-50%);
      width: 90%; height: 1px;
      background: linear-gradient(to right, transparent, rgba(141,191,191,0.35), transparent);
    }
    /* Frosted-glass panes — clear/translucent at rest, frost toward opaque
       on hover. Mirrors the old "How thermochromic coatings work" .step-card
       (rgba white film + backdrop blur), pushed a little further so the
       "glass goes opaque" read is obvious. */
    .feat-item {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 1.75rem;
      border: 1px solid rgba(141,191,191,0.18);
      border-radius: 1.25rem;
      background: rgba(255,255,255,0.04);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      cursor: default;
      transition: background 0.45s ease, border-color 0.45s ease,
                  transform 0.45s cubic-bezier(.19,1,.22,1), box-shadow 0.45s ease;
    }
    .feat-item:hover {
      background: rgba(255,255,255,0.17);
      border-color: rgba(255,255,255,0.42);
      transform: translateY(-4px);
      box-shadow: 0 26px 55px -24px rgba(0,0,0,0.5);
    }
    .feat-number { display: none; }  /* numbers removed per design direction */
    .feat-icon-wrap {
      width: 56px; height: 56px; border-radius: 0.875rem;
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.5rem;
      box-shadow: 0 1px 0 rgba(37,77,79,0.04), 0 6px 16px -8px rgba(37,77,79,0.12);
      transition: transform 0.5s cubic-bezier(.34,1.56,.64,1), background 0.3s;
      position: relative; overflow: hidden;
    }
    .feat-icon-wrap::after {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(circle at center, rgba(37,77,79,0.12), transparent 70%);
      opacity: 0; transition: opacity 0.4s;
    }
    .feat-item:hover .feat-icon-wrap { transform: translateY(-4px) rotate(-4deg); }
    .feat-item:hover .feat-icon-wrap::after { opacity: 1; }
    .feat-item:hover .feat-arrow { transform: translateX(4px); opacity: 1; }
    .feat-arrow {
      display: inline-flex; align-items: center; gap: 0.3rem;
      margin-top: auto; padding-top: 1rem;
      font-size: 0.78rem; font-weight: 600;
      color: #8dbfbf; opacity: 0.75;
      transition: transform 0.3s, opacity 0.3s;
    }
    /* Draw-on SVG stroke animation */
    .feat-icon-wrap svg path,
    .feat-icon-wrap svg rect,
    .feat-icon-wrap svg circle {
      stroke-dasharray: 200;
      stroke-dashoffset: 200;
      transition: stroke-dashoffset 1.6s cubic-bezier(.65,0,.35,1) 0.2s;
    }
    .feat-item.visible .feat-icon-wrap svg path,
    .feat-item.visible .feat-icon-wrap svg rect,
    .feat-item.visible .feat-icon-wrap svg circle {
      stroke-dashoffset: 0;
    }

    /* ─── ABOUT ─── */
    .photo-stack { position: relative; padding-bottom: 3rem; }
    .photo-stack .img-a {
      width: 72%; border-radius: 1.5rem; display: block;
      box-shadow: 0 24px 60px -16px rgba(37,77,79,0.25);
      object-fit: cover; aspect-ratio: 4/5;
    }
    .photo-stack .img-b {
      position: absolute;
      bottom: 0; right: 0;
      width: 52%; border-radius: 1.25rem;
      box-shadow: 0 16px 40px -10px rgba(37,77,79,0.2);
      border: 4px solid #fff;
      object-fit: cover; aspect-ratio: 1/1;
      display: block;
    }
    .stat-pill {
      background: #ECE5D2; border-radius: 0.75rem;
      padding: 1rem 1.25rem;
    }
    .stat-pill .num { font-size: 2.2rem; font-weight: 700; color: #254D4F; line-height: 1; letter-spacing: -0.03em; }
    .stat-pill .lbl { font-size: 0.8rem; color: #5a6666; margin-top: 0.25rem; }

    /* ─── TEAM section ─── */
    .team-intro {
      max-width: 600px;
      margin: 0 0 4rem;
    }
    .founders-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-bottom: 5rem;
    }
    @media (min-width: 768px) {
      .founders-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    }
    .founder-tile {
      background: #f6f4ed;
      border-radius: 1.25rem;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      perspective: 1000px;
    }
    .founder-photo {
      position: relative;
      aspect-ratio: 4/5;
      overflow: hidden;
      transform-style: preserve-3d;
    }
    .founder-photo img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      will-change: transform;
      transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
    }
    /* JS-driven 3D tilt takes over on hover-capable devices —
       the CSS scale below only kicks in for touch / no-JS fallback. */
    @media (hover: none), (pointer: coarse) {
      .founder-tile:hover .founder-photo img { transform: scale(1.02); }
    }
    .founder-body { padding: 2rem 2rem 2.25rem; }
    .founder-name {
      font-size: clamp(1.4rem, 2.4vw, 1.75rem);
      font-weight: 700;
      color: #1a1f1f;
      letter-spacing: -0.02em;
      margin: 0 0 0.4rem;
      line-height: 1.15;
    }
    .founder-role {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #5a6666;
      margin-bottom: 1.1rem;
    }
    .founder-bio {
      font-size: 0.95rem;
      line-height: 1.6;
      color: #5a6666;
      margin: 0;
      max-width: 420px;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
      margin-bottom: 3rem;
    }
    @media (min-width: 768px) {
      .team-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    }
    .team-tile {
      position: relative;
      aspect-ratio: 4/5;
      margin: 0;
      border-radius: 0.85rem;
      overflow: hidden;
      background: #f6f4ed;
      transition: transform 0.3s cubic-bezier(0.23,1,0.32,1);
    }
    .team-tile:hover { transform: translateY(-4px); }
    .team-tile img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
    }
    .team-tile:hover img { transform: scale(1.04); }
    .team-tile figcaption {
      position: absolute;
      bottom: 0.6rem; left: 0.6rem; right: 0.6rem;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #fff;
      background: rgba(13,38,38,0.55);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      padding: 0.45rem 0.6rem;
      border-radius: 6px;
    }

    .team-tile.placeholder {
      background: #fafaf6;
      border: 1px dashed rgba(26,31,31,0.18);
    }
    .team-tile.placeholder:hover { transform: none; }
    .placeholder-inner {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center;
      padding: 1rem;
    }
    .placeholder-plus {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: 1px dashed rgba(26,31,31,0.3);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      color: rgba(26,31,31,0.4);
      margin-bottom: 0.85rem;
    }
    .placeholder-text {
      font-size: 0.95rem;
      font-weight: 700;
      color: #1a1f1f;
      letter-spacing: -0.01em;
      margin-bottom: 0.3rem;
      line-height: 1.2;
    }
    .placeholder-sub {
      font-size: 0.62rem;
      font-weight: 700;
      color: rgba(26,31,31,0.5);
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .team-panorama {
      position: relative;
      margin: 0 auto;
      max-width: 1024px;
      border-radius: 1.25rem;
      overflow: hidden;
      background: #f6f4ed;
      aspect-ratio: 3/2;
    }
    /* ─── Team photo frame — v2 text-on-image treatment ─── */
    .team-photo-frame {
      position: relative;
      margin: 0 auto;
      max-width: 1024px;
      border-radius: 1.25rem;
      overflow: hidden;
      aspect-ratio: 3/2;
      box-shadow: 0 30px 60px -25px rgba(31,69,56,0.28);
    }
    .team-photo-frame img {
      width: 100%; height: 100%; object-fit: cover;
      display: block;
    }
    .team-photo-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.78) 100%);
      pointer-events: none;
    }
    .team-photo-content {
      position: absolute; inset: auto 0 0 0;
      padding: 2.5rem 2.75rem;
      color: #fff;
      z-index: 1;
    }
    .team-photo-eyebrow {
      display: inline-block;
      font-family: 'Instrument Sans', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #e8c66b;
      margin-bottom: 1rem;
    }
    .team-photo-heading {
      font-family: 'Instrument Sans', sans-serif;
      font-weight: 700;
      font-size: clamp(2rem, 4vw, 3.25rem);
      line-height: 1.05;
      letter-spacing: -0.025em;
      color: #fff;
      margin: 0 0 1.5rem;
    }
    .team-photo-cta {
      display: inline-flex; align-items: center; gap: 0.55rem;
      background: #fff;
      color: #1a1f1f;
      padding: 0.85rem 1.7rem;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: transform 0.25s ease, background 0.25s ease;
    }
    .team-photo-cta:hover { background: #ECE5D2; transform: translateY(-2px); }
    @media (max-width: 768px) {
      .team-photo-frame { aspect-ratio: 4/5; }
      .team-photo-content { padding: 1.5rem 1.5rem 1.75rem; }
    }
    .team-panorama img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center 60%;
      display: block;
    }
    .team-panorama figcaption {
      position: absolute;
      bottom: 1.25rem; left: 1.25rem;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(26,31,31,0.78);
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      padding: 0.5rem 0.85rem;
      border-radius: 999px;
    }
    @media (max-width: 768px) {
      .founder-body { padding: 1.5rem 1.5rem 1.75rem; }
      .team-panorama figcaption { bottom: 0.75rem; left: 0.75rem; font-size: 0.55rem; }
    }

    /* ─── STATS CARDS ─── */
    #stats { background: var(--bg-white); }
    .stat-card {
      border-radius: 1.5rem; overflow: hidden;
      position: relative; aspect-ratio: 3/4;
      display: flex; flex-direction: column; justify-content: flex-end;
    }
    .stat-card > img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
    }
    .stat-card::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(8,22,22,0.88) 0%, rgba(8,22,22,0.1) 50%, transparent 100%);
    }
    .stat-card-body { position: relative; z-index: 1; padding: 1.75rem; }
    .stat-card .big-num {
      font-size: clamp(3rem, 5vw, 5rem);
      font-weight: 700; color: #fff;
      line-height: 1; letter-spacing: -0.04em;
    }
    .stat-card .big-num span { color: #8dbfbf; }
    .stat-card .stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.35rem; line-height: 1.5; }
    .stat-card .stat-tag {
      display: inline-block;
      background: rgba(37,77,79,0.85); color: #8dbfbf;
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; padding: 0.28rem 0.7rem;
      border-radius: 2rem; margin-bottom: 0.75rem;
    }

    /* ─── HOW IT WORKS ─── */
    #technology {
      background: url('buildings%20option%202.jpg') center/cover no-repeat;
      position: relative;
    }
    #technology::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(8,22,22,0.93), rgba(37,77,79,0.78));
    }
    .step-card {
      border: 1px solid rgba(141,191,191,0.18);
      border-radius: 1.25rem;
      padding: 1.75rem;
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(8px);
      transition: background 0.3s, border-color 0.3s;
    }
    .step-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(141,191,191,0.38); }
    .step-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #8dbfbf; margin-bottom: 0.75rem; }

    /* ─── APPLICATIONS ─── */
    #applications { background: var(--bg-white); }
    .app-card {
      border-radius: 1.5rem; overflow: hidden;
      position: relative;
      display: flex; flex-direction: column; justify-content: flex-end;
      transition: transform 240ms cubic-bezier(0.23,1,0.32,1);
      will-change: transform;
    }
    .app-card > img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 700ms cubic-bezier(0.23,1,0.32,1);
    }
    @media (hover: hover) and (pointer: fine) {
      .app-card:hover > img { transform: scale(1.05); }
      .app-card:hover { transform: translateY(-3px); }
    }
    .app-card:active { transform: translateY(0) scale(0.995); transition-duration: 140ms; }
    .app-card::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(8,22,22,0.92) 0%, rgba(8,22,22,0.2) 55%, transparent 100%);
    }
    .app-card-body { position: relative; z-index: 1; padding: 2rem; pointer-events: none; }
    .app-card-body a { pointer-events: auto; }
    .app-tag {
      display: inline-block;
      background: rgba(37,77,79,0.9); color: #8dbfbf;
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; padding: 0.28rem 0.75rem;
      border-radius: 2rem; margin-bottom: 0.75rem;
    }

    /* ─── TEAM ─── */
    #team { background: #ECE5D2; }
    .team-stack { position: relative; padding-bottom: 3rem; }
    .team-stack .ph1 { width: 68%; border-radius: 1.5rem; display: block; object-fit: cover; aspect-ratio: 4/5; box-shadow: 0 20px 50px -12px rgba(37,77,79,0.2); }
    .team-stack .ph2 { position: absolute; bottom: 0; right: 0; width: 50%; border-radius: 1.25rem; border: 4px solid #ECE5D2; object-fit: cover; aspect-ratio: 1/1; display: block; box-shadow: 0 16px 40px -10px rgba(37,77,79,0.15); }

    /* ─── PARTNERS — single-row colour layout (replaces old marquee) ─── */
    #partners { background: var(--bg-white); border-top: 1px solid rgba(37,77,79,0.08); border-bottom: 1px solid rgba(37,77,79,0.08); }
    /* Partner logos — infinite horizontal marquee */
    .partner-marquee {
      width: 100%;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
              mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    }
    .partner-track {
      display: flex;
      align-items: center;
      width: max-content;
      animation: partner-scroll 40s linear infinite;
      will-change: transform;
    }
    .partner-marquee:hover .partner-track { animation-play-state: paused; }
    @keyframes partner-scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }   /* -50% = exactly one logo set (content is duplicated) */
    }
    .partner-logo {
      height: 64px;
      width: auto;
      margin: 0 2.75rem;
      object-fit: contain;
      flex: 0 0 auto;
      opacity: 1;
      transition: opacity 0.3s ease;
    }
    .partner-logo:hover { opacity: 0.6; }
    @media (min-width: 1024px) { .partner-logo { height: 78px; margin: 0 3.5rem; } }
    @media (prefers-reduced-motion: reduce) {
      .partner-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: 2rem 3rem; }
      .partner-dup { display: none; }
    }

    /* ─── CONTACT ─── */
    #contact { background: #0d2626; }
    .magnetic-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: #254D4F; color: #fff;
      padding: 1.1rem 2.5rem;
      border-radius: 3rem;
      font-weight: 700; font-size: 1rem;
      box-shadow: 0 12px 32px rgba(37,77,79,0.5);
      transition: background 0.25s, box-shadow 0.25s;
      will-change: transform;
      text-decoration: none;
    }
    .magnetic-btn:hover { background: #3a7a7d; box-shadow: 0 16px 40px rgba(37,77,79,0.6); }

    /* ─── UNIFIED CONTACT FORM ─── */
    .contact-grid {
      display: grid;
      gap: 3.5rem;
      align-items: start;
    }
    @media (min-width: 1024px) {
      .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
    }
    .contact-intro { padding-top: 0.5rem; }
    .contact-heading {
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.0;
      letter-spacing: -0.035em;
      margin: 0 0 1.5rem;
    }
    .contact-sub {
      font-size: 1.05rem;
      color: rgba(255,255,255,0.62);
      line-height: 1.65;
      margin: 0 0 2.25rem;
      max-width: 38ch;
    }
    .contact-linkedin {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      color: rgba(255,255,255,0.55);
      font-size: 0.875rem;
      font-weight: 500;
      text-decoration: none;
      transition: color 0.2s;
    }
    .contact-linkedin:hover { color: #8dbfbf; }

    /* White form card sitting on the dark teal section bg */
    .contact-form-card {
      background: #fff;
      border-radius: 1.5rem;
      padding: 2.25rem 2rem;
      box-shadow: 0 30px 80px -30px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
    }
    @media (min-width: 640px) {
      .contact-form-card { padding: 2.5rem 2.5rem; }
    }
    .form-row { margin-bottom: 1.1rem; }
    .form-row label {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: #1a1f1f;
      margin-bottom: 0.45rem;
    }
    .form-req { color: #b34141; font-weight: 700; margin-left: 0.15rem; }
    .form-row input,
    .form-row select,
    .form-row textarea {
      width: 100%;
      padding: 0.8rem 0.95rem;
      border: 1px solid rgba(0,0,0,0.14);
      border-radius: 0.65rem;
      background: #fafafa;
      font: inherit;
      font-size: 0.95rem;
      color: #1a1f1f;
      transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
      -webkit-appearance: none;
      appearance: none;
    }
    .form-row input::placeholder,
    .form-row textarea::placeholder { color: rgba(26,31,31,0.42); }
    .form-row input:focus,
    .form-row select:focus,
    .form-row textarea:focus {
      outline: none;
      border-color: #254D4F;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(37,77,79,0.12);
    }
    .form-row select {
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231a1f1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      padding-right: 2.5rem;
      cursor: pointer;
    }
    .form-row textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
    .form-row input:invalid:not(:placeholder-shown),
    .form-row textarea:invalid:not(:placeholder-shown) {
      border-color: rgba(179,65,65,0.45);
    }

    .form-submit {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      width: 100%;
      justify-content: center;
      padding: 1rem 1.5rem;
      background: #1a1f1f;
      color: #fff;
      border: none;
      border-radius: 0.7rem;
      font: inherit;
      font-size: 0.98rem;
      font-weight: 600;
      letter-spacing: -0.005em;
      cursor: pointer;
      margin-top: 0.4rem;
      transition: background 0.2s, transform 0.1s;
    }
    .form-submit:hover { background: #254D4F; }
    .form-submit:active { transform: scale(0.99); }
    .form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

    .form-careers {
      margin: 1.1rem 0 0;
      text-align: center;
      font-size: 0.85rem;
      color: #5a6666;
    }
    .form-careers a {
      color: #254D4F;
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid rgba(37,77,79,0.25);
      padding-bottom: 1px;
    }
    .form-careers a:hover { border-bottom-color: #254D4F; }

    /* Success state */
    .form-success {
      text-align: center;
      padding: 1rem 0.5rem;
    }
    .form-success-tick {
      width: 56px;
      height: 56px;
      margin: 0 auto 1.25rem;
      border-radius: 50%;
      background: #ECE5D2;
      color: #254D4F;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .form-success h3 {
      font-size: 1.35rem;
      font-weight: 700;
      color: #1a1f1f;
      letter-spacing: -0.015em;
      margin: 0 0 0.5rem;
    }
    .form-success p {
      font-size: 0.95rem;
      color: #5a6666;
      line-height: 1.6;
      margin: 0;
      max-width: 32ch;
      margin-left: auto;
      margin-right: auto;
    }

    /* ─── FOOTER ─── */
    #footer { background: #ECE5D2; }
    .footer-link { color: #5a6666; font-size: 0.875rem; transition: color 0.2s; text-decoration: none; display: block; }
    .footer-link:hover { color: #254D4F; }

    /* ─── MOBILE MENU ─── */
    #mobile-menu {
      position: fixed; inset: 0; z-index: 200;
      background: #0d2626;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center; gap: 2rem;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    #mobile-menu.open { transform: translateX(0); }
    #mobile-menu a { color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; }

    /* ─── WORD REVEAL HEADINGS ─── */
    .split-heading .word-outer {
      display: inline-block; overflow: hidden;
      vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em;
    }
    .split-heading .word-inner {
      display: inline-block;
      transform: translateY(105%);
      transition: transform 0.9s cubic-bezier(.19,1,.22,1);
    }
    .split-heading.visible .word-inner { transform: translateY(0); }
    .split-heading .word-inner.d1 { transition-delay: 0.05s; }
    .split-heading .word-inner.d2 { transition-delay: 0.15s; }
    .split-heading .word-inner.d3 { transition-delay: 0.25s; }
    .split-heading .word-inner.d4 { transition-delay: 0.35s; }
    .split-heading .word-inner.d5 { transition-delay: 0.45s; }
    .split-heading .word-inner.d6 { transition-delay: 0.55s; }

    /* ─── PARAGRAPH FADE ─── */
    .para-reveal {
      opacity: 0; transform: translateY(18px);
      transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
    }
    .para-reveal.visible { opacity: 1; transform: none; }
    .para-reveal.d2 { transition-delay: 0.35s; }

    /* ─── STAT PILLS STAGGER ─── */
    .stat-pill.anim { opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity 0.6s, transform 0.6s cubic-bezier(.34,1.56,.64,1); }
    .stat-pill.anim.visible { opacity: 1; transform: none; }
    .stat-pill.anim:nth-child(1) { transition-delay: 0.05s; }
    .stat-pill.anim:nth-child(2) { transition-delay: 0.18s; }
    .stat-pill.anim:nth-child(3) { transition-delay: 0.31s; }
    .stat-pill.anim:nth-child(4) { transition-delay: 0.44s; }

    /* ─── STAT CARD METER RING ─── */
    .meter-ring {
      position: absolute;
      top: 1.75rem; right: 1.75rem;
      width: 48px; height: 48px;
      z-index: 2;
    }
    .meter-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
    .meter-ring circle { fill: none; stroke-width: 3; }
    .meter-ring .track { stroke: rgba(255,255,255,0.15); }
    .meter-ring .fill {
      stroke: #8dbfbf;
      stroke-linecap: round;
      stroke-dasharray: 126;
      stroke-dashoffset: 126;
      transition: stroke-dashoffset 2.2s cubic-bezier(.19,1,.22,1) 0.3s;
    }
    .stat-card.visible .meter-ring .fill { stroke-dashoffset: var(--meter-end, 25); }
    .meter-ring .pct {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.62rem; font-weight: 700; color: #fff;
      letter-spacing: 0.05em;
    }

    /* Counter span init */
    .count { display: inline-block; font-variant-numeric: tabular-nums; }

    /* ─── MISSION CROSSFADE PHOTOS ─── */
    .mission-stage {
      position: relative;
      aspect-ratio: 4/5;
      border-radius: 1.75rem;
      overflow: hidden;
      isolation: isolate;
      box-shadow: 0 30px 80px -20px rgba(37,77,79,0.3);
    }
    .mission-stage img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      border-radius: inherit;
      transition: opacity 0.6s ease;
    }
    .mission-stage .ms-1 { opacity: 1; }
    .mission-stage .ms-2 { opacity: 0; }
    .mission-stage .ms-caption {
      position: absolute; left: 1.5rem; bottom: 1.5rem; right: 1.5rem;
      z-index: 2; color: #fff;
      padding: 1rem 1.25rem;
      background: rgba(13,38,38,0.55);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 0.875rem;
      display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    }
    .mission-stage .ms-caption .cap-name {
      font-size: 1.05rem; font-weight: 700;
      transition: opacity 0.4s, transform 0.4s;
    }
    .mission-stage .ms-caption .cap-role {
      font-size: 0.78rem; color: rgba(255,255,255,0.7);
      letter-spacing: 0.08em; text-transform: uppercase;
    }
    .mission-stage .cap-alt { position: absolute; opacity: 0; }
    .mission-stage.flipped .ms-1 { opacity: 0; }
    .mission-stage.flipped .ms-2 { opacity: 1; }
    .mission-stage.flipped .cap-main { opacity: 0; transform: translateY(-8px); }
    .mission-stage.flipped .cap-alt { opacity: 1; position: relative; }
    .mission-stage .ms-dots {
      position: absolute; top: 1.25rem; right: 1.25rem;
      z-index: 2; display: flex; gap: 6px;
    }
    .mission-stage .ms-dot {
      width: 28px; height: 3px; border-radius: 2px;
      background: rgba(255,255,255,0.3);
      transition: background 0.35s;
    }
    .mission-stage.flipped .ms-dot.d1 { background: rgba(255,255,255,0.3); }
    .mission-stage.flipped .ms-dot.d2 { background: rgba(255,255,255,0.95); }
    .mission-stage .ms-dot.d1 { background: rgba(255,255,255,0.95); }
    .mission-stage .ms-progress {
      position: absolute; left: 0; bottom: 0;
      height: 3px; background: #8dbfbf;
      width: 0%; z-index: 3;
      transition: width 0.08s linear;
    }

    /* Founder cards active state */
    .founder-card {
      background: #fff; border-radius: 1rem; padding: 1.25rem;
      position: relative; overflow: hidden;
      transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s;
      border: 1px solid transparent;
    }
    .founder-card::before {
      content: ''; position: absolute;
      left: 0; top: 0; bottom: 0; width: 3px;
      background: #254D4F;
      transform: scaleY(0); transform-origin: top;
      transition: transform 0.4s ease;
    }
    .founder-card.active {
      transform: translateY(-3px);
      box-shadow: 0 14px 34px -12px rgba(37,77,79,0.25);
    }
    .founder-card.active::before { transform: scaleY(1); }

    /* Parallax hint: photos move slightly with scroll via JS */
    .parallax-item { will-change: transform; }

    /* ─── REVEAL INIT STATES ─── */
    .reveal-up {
      opacity: 0; transform: translateY(44px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }
    .reveal-left {
      opacity: 0; transform: translateX(-55px);
      transition: opacity 0.85s ease, transform 0.85s ease;
    }
    .reveal-right {
      opacity: 0; transform: translateX(55px);
      transition: opacity 0.85s ease, transform 0.85s ease;
    }
    .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
      opacity: 1; transform: none;
    }
    /* Stagger delays for groups */
    .reveal-up:nth-child(2) { transition-delay: 0.1s; }
    .reveal-up:nth-child(3) { transition-delay: 0.2s; }
    .reveal-up:nth-child(4) { transition-delay: 0.3s; }
    .reveal-up:nth-child(5) { transition-delay: 0.4s; }
    .reveal-up:nth-child(6) { transition-delay: 0.5s; }

    /* ─── UTILS ─── */
    .section-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
    @media (max-width: 768px) {
      .hero-badge { display: none; }
      .photo-stack .img-b { right: -0.5rem; }
      .team-stack .ph2 { right: -0.5rem; }
    }

    /* ═══════════════════════════════════════════════════════════════════════
       MOBILE POLISH — additive only, no design changes
       Tightens spacing + neutralises desktop-only flourishes on small screens.
       ═══════════════════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      /* Section padding: 6rem → 3.5rem; sections breathe less on phone */
      #hero { /* hero already 100dvh */ }
      #applications,
      #technology,
      #features,
      #stats,
      #team,
      #why,
      #partners,
      #contact,
      #flipbook {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
      }

      /* Hero h1 — drop the floor from 3rem to 2.4rem so it doesn't wrap awkwardly on 320-360px phones */
      .hero-h1 { font-size: clamp(2.4rem, 9vw, 6.5rem); }
      .hero-sub { font-size: 0.98rem; }

      /* Stats card #2 has an inline transform that staggers it on desktop —
         neutralise it when cards stack, otherwise it shows as a mystery gap */
      #stats .stat-card { transform: none !important; }

      /* Contact form section — single-column needs tighter gap + reduced left
         column padding so the form card has more room */
      .contact-grid { gap: 2rem; }
      .contact-heading { font-size: clamp(2.25rem, 8vw, 3rem); }
      .contact-form-card { padding: 1.75rem 1.5rem; }

      /* Flipbook section header: when it wraps below 768, the headline + side
         paragraph need slightly tighter rhythm */
      .flip-header { margin-bottom: 2rem; gap: 1.25rem; }
      .flip-video-wrap { padding: 0 1rem; }

      /* Team photo overlay — smaller phones need tighter overlay padding */
      .team-photo-content { padding: 1.5rem 1.25rem !important; }
      .team-photo-heading { font-size: clamp(1.75rem, 6vw, 2.5rem) !important; }

      /* Why section: typography rhythm tightens */
      .split-heading { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }
    }

    /* Very small phones (≤ 480px) — extra tightening */
    @media (max-width: 480px) {
      .section-inner { padding: 0 1rem; }
      .hero-content { padding: 0 1rem; }
      .flip-header { padding: 0 1rem; }
      .flip-footer { padding: 0 1rem; }
      .nav-inner { padding: 0 1rem; }
      /* Hero CTAs stack vertically on smallest phones to avoid overflow */
      #h-ctas { flex-direction: column; align-items: flex-start; }
      #h-ctas a { width: 100%; justify-content: center; }
    }
  
    /* ─── Laptop-size scale (client: 14" 1920x1200 @100% felt too big; shrink ~12%) ─── */
    @media (min-width: 1100px) and (max-width: 1680px) {
      html { font-size: 14px; }
      .hero-h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
      .flip-video { max-width: 900px; }
    }
  
/* --- WP integration: reset interior nav bar on the homepage ---
   The shared theme stylesheet (style.css) styles #nav as a solid white bar for
   interior pages. On the homepage the nav must start TRANSPARENT over the hero
   (its links are white), otherwise it renders white-on-white and the menu
   disappears. #nav.scrolled above re-applies the solid bar on scroll. */
#nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }

/* --- "What makes it different" cards: whole card is a link --- */
.feat-item { cursor: pointer; }
.feat-item .feat-cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; text-indent: -9999px; overflow: hidden; }
.feat-item:focus-within { border-color: rgba(141,191,191,0.5); }

/* Tablet band 821-1120px: keep desktop nav within viewport (matches style.css fix; home.css re-declares nav selectors so the fix must live here too) */
@media (max-width: 1120px) {
  .nav-links { gap: 1.1rem; }
  .nav-inner { gap: 0.75rem; }
  .nav-cta { padding: 0.55rem 1rem; }
}
@media (max-width: 940px) {
  .nav-links { gap: 0.8rem; }
  .nav-link { font-size: 0.85rem; }
  .logo-img { height: 44px; }
}

/* Desktop CTA pill hides when the hamburger takes over (moved out of the 768px mobile-polish block) */
@media (max-width: 899px) { #nav-cta-desktop { display: none !important; } }

/* Visible human-verification checkbox on the contact forms */
.human-check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; margin: 0 0 1.1rem; cursor: pointer; user-select: none; }
.human-check input { width: 1.15rem; height: 1.15rem; accent-color: #254D4F; cursor: pointer; }
.form-submit:disabled { opacity: 0.45; cursor: not-allowed; }
