
    :root {
      --black: #050505;
      --near-black: #0b0b0b;
      --deep-red: #7d0000;
      --blood: #a00000;
      --text: #f6f4ef;
      --muted: rgba(255,255,255,0.65);
      --border: rgba(255,255,255,0.08);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body { margin: 0; padding: 0; background: #000; color: var(--text); font-family: "Inter", system-ui, sans-serif; }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }

    .reveal {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.7s ease, transform 0.7s ease;
      will-change: transform, opacity;
    }
    .reveal.is-in { opacity: 1; transform: translateY(0); }
    .reveal.delay-1 { transition-delay: 0.08s; }
    .reveal.delay-2 { transition-delay: 0.16s; }
    .reveal.delay-3 { transition-delay: 0.24s; }

    /* ── NAV PILL ── */
    .nav-pill {
      position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
      width: min(605px, calc(100% - 44px)); height: 58px;
      display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
      padding: 7px 16px; border-radius: 24px;
      background: rgba(160, 0, 0, 0.65); box-shadow: none; border: 0; z-index: 100; opacity: 0;
      transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1), top 0.6s cubic-bezier(0.16,1,0.3,1), width 0.6s cubic-bezier(0.16,1,0.3,1), height 0.6s cubic-bezier(0.16,1,0.3,1), border-radius 0.6s cubic-bezier(0.16,1,0.3,1), padding 0.6s cubic-bezier(0.16,1,0.3,1), background 0.4s cubic-bezier(0.16,1,0.3,1);
      backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%);
    }
    body.is-loaded .nav-pill { opacity: 1; transform: translate(-50%, 0); }
    .nav-pill .pill-btn { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; cursor: pointer; }
    .nav-pill .pill-btn img { height: 44px; width: auto; filter: brightness(0) saturate(100%); }
    .nav-pill .pill-btn.menu img { height: 29px; }
    .nav-pill .pill-btn.build img { height: 50px; }
    .nav-pill .pill-btn.build .email { height: 30px; }
    .nav-pill .logo { display: flex; justify-content: center; position: relative; z-index: 3; }
    .nav-pill .logo img { width: 112px; filter: none; }
    .nav-pill .right { display: flex; justify-content: flex-end; position: relative; z-index: 3; }
    .nav-pill .pill-btn.build { gap: 10px; position: relative; justify-content: flex-end; min-width: 220px; }
    .nav-pill .pill-btn.build .build-link { display: inline-flex; align-items: center; line-height: 0; order: 2; z-index: 2; }
    .nav-pill .pill-btn.build .build-text { order: 1; opacity: 0; transform: translateX(16px); transition: opacity 0.34s cubic-bezier(0.22,1,0.36,1), transform 0.34s cubic-bezier(0.22,1,0.36,1); pointer-events: none; }
    .nav-pill .pill-btn.build:hover .build-text, .nav-pill .pill-btn.build:focus-within .build-text { opacity: 1; transform: translateX(0); }
    .menu-open-trigger { gap: 8px; position: relative; z-index: 3; }
    .menu-open-trigger .menu-default, .menu-open-trigger .menu-close { transition: opacity 0.32s cubic-bezier(0.16,1,0.3,1), transform 0.38s cubic-bezier(0.16,1,0.3,1); }
    .menu-open-trigger .menu-close { position: absolute; left: 0; top: 50%; transform: translateY(-50%) translateX(-12px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 6px; }
    .menu-open-trigger .menu-close-x { height: 24px !important; }
    .menu-open-trigger .menu-close-text { height: 20px !important; }
    .menu-shell { position: absolute; inset: 92px 40px 36px; opacity: 0; pointer-events: none; transform: translateY(26px); transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); display: block; overflow: hidden; z-index: 1; }
    .menu-left { position: relative; z-index: 3; width: min(340px, 34vw); display: grid; align-content: start; gap: 18px; padding-top: 40px; }
    .menu-main-links { display: grid; gap: 18px; margin-bottom: 14px; }
    .menu-main-links a { font-size: clamp(16px,1.45vw,23px); color: rgba(255,255,255,0.96); line-height: 1.05; transition: color 0.3s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease; width: max-content; opacity: 0; transform: translateX(-20px); }
    .menu-main-links a:hover, .menu-main-links a:focus-visible, .menu-main-links a.is-active { color: #fff; text-decoration: underline; text-underline-offset: 8px; transform: translateX(2px); opacity: 1 !important; }
    .menu-case-title { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,0.64); font-weight: 400; opacity: 0; transform: translateX(-16px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1); }
    .menu-case-links { display: grid; gap: 10px; align-content: start; margin-top: 6px; }
    .menu-case-links a { display: inline-flex; width: max-content; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.94); font-size: 15px; font-weight: 400; line-height: 1; transition: background 0.25s ease, color 0.25s ease, opacity 0.35s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1); opacity: 0; transform: translateX(-16px); }
    .menu-case-links a:hover, .menu-case-links a:focus-visible, .menu-case-links a.is-active { background: rgba(255,255,255,0.26); color: #fff; opacity: 1 !important; }
    .menu-hero { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
    .menu-hero-mask {
      position: relative;
      width: clamp(420px, 44vw, 720px);
      max-height: calc(100vh - 120px);
      aspect-ratio: 0.62 / 1;
      -webkit-mask-image: url("assets/images/brush.svg");
      mask-image: url("assets/images/brush.svg");
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: contain;
      mask-size: contain;
      opacity: 0;
      transform: translateY(-24px) scale(0.92);
      transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }

    .menu-hero-mask .mask-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 30%;
      transition: opacity 0.32s ease;
    }

    .menu-hero-mask .mask-img.is-fading {
      opacity: 0;
    }
    body.menu-opening, body.menu-open { overflow: hidden; }
    body.menu-opening .nav-pill { top: 22px; width: 100vw; height: 58px; border-radius: 24px; padding: 7px 40px; background: #a00000; backdrop-filter: none; -webkit-backdrop-filter: none; grid-template-columns: 1fr auto 1fr; }
    body.menu-open .nav-pill { top: 0; width: 100vw; height: 100vh; border-radius: 0; padding: 24px 40px 16px; align-content: start; background: #a00000; backdrop-filter: none; -webkit-backdrop-filter: none; grid-template-rows: auto 1fr; grid-template-columns: 1fr auto 1fr; row-gap: 10px; }
    body.menu-opening .menu-open-trigger .menu-default, body.menu-open .menu-open-trigger .menu-default { opacity: 0; transform: translateX(10px); }
    body.menu-opening .menu-open-trigger .menu-close, body.menu-open .menu-open-trigger .menu-close { opacity: 1; transform: translateY(-50%) translateX(0); }
    body.menu-open .menu-shell { opacity: 1; transform: translateY(0); pointer-events: auto; }
    body.menu-open .menu-hero-mask { opacity: 1; transform: translateY(-24px) scale(1); }
    body.menu-opening .nav-pill .right, body.menu-open .nav-pill .right { transform: none; padding-right: 100px; transition: padding-right 0.6s cubic-bezier(0.16,1,0.3,1); }
    body.menu-open .menu-main-links a, body.menu-open .menu-case-title, body.menu-open .menu-case-links a { transform: translateX(0); }
    body.menu-open .menu-main-links a { opacity: 0.7; }
    body.menu-open .menu-case-title { opacity: 0.7; }
    body.menu-open .menu-case-links a { opacity: 0.7; }

    body.menu-open .menu-main-links a:hover,
    body.menu-open .menu-main-links a:focus-visible,
    body.menu-open .menu-main-links a.is-active,
    body.menu-open .menu-case-links a:hover,
    body.menu-open .menu-case-links a:focus-visible,
    body.menu-open .menu-case-links a.is-active {
      opacity: 1 !important;
    }
    body.menu-open .menu-main-links:hover a:not(:hover):not(.is-active) { opacity: 0.25; }
    body.menu-open .menu-case-links:hover a:not(:hover):not(.is-active) { opacity: 0.25; }
    body.menu-open .menu-main-links a:nth-child(1) { transition-delay: 0.04s; }
    body.menu-open .menu-main-links a:nth-child(2) { transition-delay: 0.08s; }
    body.menu-open .menu-main-links a:nth-child(3) { transition-delay: 0.12s; }
    body.menu-open .menu-main-links a:nth-child(4) { transition-delay: 0.16s; }
    body.menu-open .menu-case-title { transition-delay: 0.19s; }
    body.menu-open .menu-case-links a:nth-child(1) { transition-delay: 0.22s; }
    body.menu-open .menu-case-links a:nth-child(2) { transition-delay: 0.245s; }
    body.menu-open .menu-case-links a:nth-child(3) { transition-delay: 0.27s; }
    body.menu-open .menu-case-links a:nth-child(4) { transition-delay: 0.295s; }
    body.menu-open .menu-case-links a:nth-child(5) { transition-delay: 0.32s; }
    body.menu-open .menu-case-links a:nth-child(6) { transition-delay: 0.345s; }
    body.menu-open .menu-case-links a:nth-child(7) { transition-delay: 0.37s; }
    body.menu-open .menu-case-links a:nth-child(8) { transition-delay: 0.395s; }
    body.menu-open .menu-case-links a:nth-child(9) { transition-delay: 0.42s; }
    body.menu-open .menu-case-links a:nth-child(10) { transition-delay: 0.445s; }

    /* ── PAGE ── */
    .page { padding-top: 110px; background: #000; }
    .content { width: min(1280px, 94vw); margin: 0 auto; }
    .content-left { width: min(1440px, calc(100% - 100px)); margin-left: 100px; margin-right: auto; }

    /* ── HERO ── */
    .hero-full { position: relative; width: 100%; height: 100vh; min-height: 680px; overflow: hidden; }
    .hero-full-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.04); transition: transform 1.4s cubic-bezier(0.16,1,0.3,1); }
    .hero-full.is-in .hero-full-img { transform: scale(1); }
    .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 40%, transparent 70%); display: flex; align-items: center; justify-content: flex-end; }
    .hero-overlay-content { padding: 0 clamp(40px,6vw,100px); text-align: right; max-width: 680px; }
    .hero-headline { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(52px,7.5vw,112px); line-height: 0.88; text-transform: uppercase; color: #fff; margin: 0 0 20px; letter-spacing: -0.01em; }
    .hero-sub { font-size: clamp(14px,1.3vw,20px); color: rgba(255,255,255,0.88); line-height: 1.4; max-width: 480px; margin-left: auto; }
    .hero-sub strong { color: #fff; border-bottom: 2px solid var(--blood); padding-bottom: 1px; }
    .hero-nav-row {
      display: flex;
      justify-content: flex-start; align-items: center;
      padding: 32px 120px 32px 100px;
      gap: 0;
      width: 100vw; max-width: 100%;
      margin-left: 0; margin-right: 0;
      box-sizing: border-box;
      z-index: 5;
    }
    .hero-nav-row .next { margin-left: auto; margin-right: 0; }
    .project-nav-btn { display: inline-block; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease; opacity: 0.85; }
    .project-nav-btn img { height: 78px; width: auto; }
    .project-nav-btn:hover { transform: translateX(-4px); opacity: 1; }
    .project-nav-btn.next:hover { transform: translateX(4px); }

    /* ── VIDEO FULL ── */
    .video-full { width: 100%; background: #000; overflow: hidden; position: relative; }
    .video-full iframe { display: block; width: 100%; height: 56.25vw; border: none; opacity: 0; transition: opacity 0.6s ease; }
    .video-full.is-in iframe { opacity: 1; }

    /* ── POST-VIDEO ── */
    .post-video { padding: 52px 0 102px; background: #000; }

    /* ── SCROLL MOTION ── */
    .drift-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
    .drift-up.is-in { opacity: 1; transform: translateY(0); }
    .drift-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
    .drift-left.is-in { opacity: 1; transform: translateX(0); }
    .drift-right { opacity: 0; transform: translateX(36px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
    .drift-right.is-in { opacity: 1; transform: translateX(0); }
    .scale-in { opacity: 0; transform: scale(0.94); transition: opacity 0.7s ease, transform 1s cubic-bezier(0.16,1,0.3,1); }
    .scale-in.is-in { opacity: 1; transform: scale(1); }

    /* ── INTRO ── */
    .intro-section { padding: 100px 0 15px; }
    .hero-top { display: grid; grid-template-columns: 1.28fr 1fr; gap: 72px; align-items: end; }
    .hero-top > div:first-child { transform: translateY(-100px); }
    .hero-title { font-size: clamp(44px,4.8vw,66px); font-weight: 500; line-height: 1.04; margin: 0 0 14px; }
    .eyebrow { font-size: 13px; letter-spacing: 0.12em; color: rgba(255,255,255,0.85); }
    .eyebrow .pipe { color: #b10000; font-weight: 700; margin: 0 8px; }
    .hero-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 84px; font-size: 12px; letter-spacing: 0.08em; color: #fff; margin-top: 22px; }
    .hero-top > div:last-child { justify-self: stretch; width: 100%; align-self: end; transform: translateX(100px); }
    .hero-meta .label { font-weight: 600; margin-bottom: 4px; }
    .hero-meta .value { color: var(--muted); letter-spacing: 0; line-height: 1.4; font-size: 13px; font-weight: 500; white-space: nowrap; }
    .hero-meta .value .pipe { color: #b10000; font-weight: 700; }

    /* ── POST-HERO ── */
    .post-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; padding: 56px 0 62px; background: #000; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .hero-text p { margin: 0; color: var(--muted); line-height: 1.6; }
    .hero-text .lead { font-weight: 700; font-size: clamp(28px,2.05vw,38px); line-height: 1.12; color: #fff; max-width: 30ch; }
    .hero-text .body { margin: 26px 0 0; color: rgba(255,255,255,0.72); line-height: 1.45; font-size: 15px; max-width: 62ch; }
    .next-under-hero { display: flex; justify-content: flex-end; margin-top: 18px; justify-self: end; }
    .next-under-hero img { height: 78px; width: auto; }

    /* ── PLACEHOLDER ── */
    .placeholder-section { padding: 120px 0; text-align: center; border-bottom: 1px solid var(--border); }
    .placeholder-section h3 { font-family: "Inter", sans-serif; font-weight: 700; font-size: clamp(28px,2.5vw,42px); text-transform: uppercase; color: rgba(255,255,255,0.15); margin: 0 0 12px; letter-spacing: 0.04em; }
    .placeholder-section p { color: rgba(255,255,255,0.3); font-size: 14px; margin: 0; }

    /* ── FOOTER ── */
    .pre-footer { padding: 20px 0 24px; width: min(1600px, calc(100% - 100px)); margin-left: 100px; margin-right: 40px; }
    .pre-footer-links { display: grid; gap: 8px; width: max-content; font-size: 11px; line-height: 1.2; color: rgba(255,255,255,0.75); font-weight: 400; }
    .footer { background: #a00000; border-top: 1px solid rgba(0,0,0,0.35); padding: 28px 0; }
    .footer-inner { width: min(1600px, calc(100% - 100px)); margin-left: 100px; margin-right: 40px; display: grid; grid-template-columns: auto auto auto; align-items: end; justify-content: flex-start; gap: 24px; }
    .footer-brand img { width: 84px; filter: brightness(0) saturate(100%); }
    .footer-brand small { display: block; margin-top: 8px; font-size: 10px; line-height: 1.2; font-weight: 400; color: rgba(0,0,0,0.8); }
    .footer-nav { display: grid; gap: 8px; font-size: 12px; line-height: 1.2; align-content: end; color: rgba(0,0,0,0.85); }

    /* ── RESPONSIVE ── */
    
    @media (prefers-reduced-motion: reduce) {
      .reveal, .reveal.is-in, .nav-pill, .hero-full-img { transition: none !important; transform: none !important; opacity: 1 !important; }
    }

    /* ========== ENHANCED MOBILE RESPONSIVENESS ========== */
    
  
/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   Apply to all case study pages
   ======================================== */

/* Tablet breakpoint (768px - 980px) */
@media (max-width: 980px) and (min-width: 768px) {
  .intro-section { padding: 80px 0 0; }
  .hero-title { font-size: clamp(48px, 6vw, 60px); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .post-hero { padding: 40px 0 50px; }
}

/* Mobile breakpoint (under 768px) */
@media (max-width: 767px) {

  /* Reduce page top padding — nav pill ends at ~80px, 84px gives tight but safe clearance */
  .page { padding-top: 84px; }

  /* Intro section: pull title/meta up so it sits centered in the black space above the video */
  .intro-section { padding: 22px 0 28px !important; }

  /* Navigation adjustments */
  .nav-pill {
    grid-template-columns: auto auto;
    gap: 12px;
    width: calc(100% - 32px);
    padding: 6px 12px;
  }
  .nav-pill .logo {
    order: -1;
    grid-column: span 2;
    margin-bottom: 4px;
  }
  .nav-pill .logo img { width: 90px; }
  .nav-pill .right { justify-content: flex-start; }
  .nav-pill .pill-btn.build { min-width: auto; }
  .nav-pill .pill-btn img { height: 36px; }
  .nav-pill .pill-btn.menu img { height: 24px; }

  /* Menu shell mobile */
  .menu-shell { inset: 80px 16px 16px; overflow-y: auto; }
  .menu-left { width: 100%; padding-top: 8px; gap: 12px; }
  .menu-main-links { gap: 12px; margin-bottom: 10px; }
  .menu-main-links a { font-size: clamp(20px, 6vw, 28px); }
  .menu-case-title { font-size: 14px; margin-top: 8px; }
  .menu-case-links { gap: 8px; margin-top: 4px; }
  .menu-case-links a { font-size: 16px; min-height: 32px; padding: 6px 12px; }
  .menu-hero { display: none; }
  .menu-hero-mask { display: none; }

  body.menu-opening .nav-pill { height: 60px; padding: 10px 16px; }
  body.menu-open .nav-pill {
    padding: 16px 16px 12px;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto 1fr;
  }
  body.menu-open .nav-pill .right { padding-right: 0; }

  /* Hero section mobile */
  .hero-full {
    height: 75vh;
    min-height: 500px;
    margin-bottom: 0;
  }
  .hero-full-img { object-position: center; }
  .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    align-items: flex-end;
    padding-bottom: 80px;
  }
  .hero-overlay-content {
    padding: 0 20px;
    text-align: center;
    max-width: 100%;
  }
  .hero-headline {
    font-size: clamp(36px, 10vw, 56px);
    line-height: 0.9;
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
  }
  .hero-nav-row {
    padding: 16px 20px 20px;
    gap: 12px;
  }
  .project-nav-btn img { height: 40px; }

  /* Intro section mobile — padding set at top of this media query; kept here for reference */
  /* .intro-section padding overridden above */
  .content-left { width: 90vw; margin: 0 auto; }
  .hero-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-top > div:first-child,
  .hero-top > div:last-child {
    transform: none;
  }
  .hero-title {
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1;
    margin-bottom: 12px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .hero-meta .label { font-size: 11px; margin-bottom: 3px; }
  .hero-meta .value {
    font-size: 12px;
    white-space: normal;
  }

  /* Post-hero copy mobile */
  .post-hero {
    grid-template-columns: 1fr;
    padding: 32px 0 36px;
  }
  .hero-text .lead {
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.1;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .hero-text .body {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }
  .next-under-hero { margin-top: 24px; justify-content: center; }
  .next-under-hero img { height: 56px; }

  /* Content sections mobile */
  .demand-section,
  .social-section,
  .node-section {
    padding: 50px 0;
  }
  .demand-layout,
  .social-layout,
  .node-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .demand-copy h2,
  .social-copy h3 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1;
    margin-bottom: 16px;
  }
  .demand-copy p,
  .demand-copy .callout,
  .social-copy p,
  .node-copy p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }
  .demand-copy .callout {
    padding-left: 14px;
    border-left-width: 3px;
    margin-top: 20px;
  }
  .social-copy .tag {
    font-size: 12px;
    padding: 3px 12px;
    margin-bottom: 14px;
  }
  .node-copy h3 { font-size: clamp(20px, 6vw, 28px); margin-bottom: 12px; }
  .node-copy .stat-row {
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  .node-copy .stat-value { font-size: 28px; }
  .node-copy .stat-label { font-size: 11px; }

  /* Scale section mobile */
  .scale-section { padding: 50px 0 0; }
  .scale-header { margin-bottom: 32px; }
  .scale-header h2 {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 0.95;
    margin-bottom: 10px;
  }
  .scale-header p { font-size: 14px; }
  .swatch-bar {
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .swatch-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
  .scale-viewer { border-radius: 6px; }

  /* Footer mobile */
  .pre-footer,
  .footer-inner {
    width: 90vw;
    margin: 0 auto;
  }
  .pre-footer { padding: 16px 0 20px; }
  .pre-footer-links { font-size: 11px; gap: 6px; }
  .footer { padding: 24px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-brand img { width: 72px; }
  .footer-brand small { font-size: 9px; margin-top: 6px; }
  .footer-nav { gap: 6px; font-size: 11px; }
}

/* Extra small mobile (under 480px) */
@media (max-width: 479px) {
  .hero-full { height: 65vh; min-height: 450px; }
  .hero-headline { font-size: clamp(32px, 11vw, 48px); }
  .hero-sub { font-size: 14px; }
  .hero-title { font-size: clamp(32px, 10vw, 44px); }
  .eyebrow { font-size: 10px; }
  .hero-text .lead { font-size: clamp(20px, 7vw, 28px); }
  .demand-copy h2 { font-size: clamp(24px, 9vw, 36px); }
  .swatch-btn { width: 52px; height: 52px; }
  .nav-pill .logo img { width: 80px; }
  .content-left { width: 92vw; }
}

/* Landscape mobile orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-full { height: 85vh; min-height: 400px; }
  .hero-overlay { padding-bottom: 60px; }
  .hero-headline { font-size: clamp(28px, 8vw, 44px); }
  .menu-hero-mask { width: min(60vw, 280px); }
}

/* Prevent text selection on touch devices */
@media (hover: none) and (pointer: coarse) {
  .nav-pill .pill-btn,
  .project-nav-btn,
  .swatch-btn {
    -webkit-tap-highlight-color: transparent;
  }
}

  
