/* ZoomApps 2026 — Mobile (≤899px). Editorial dark luxury · Linear / Anthropic / Apple iPhone-page level. */

.hm { display: none; }
.mobile-cta-bar { display: none; }
.snap-rail, .snap-pill { display: none; }

/* === CINEMA MANDATORY SNAP — глобально (desktop + mobile, как /portfolio) === */
/* Иван 10.05: «целым экраном поменялся, второй слайд целым экраном» — full-screen presentation everywhere */
html.is-home { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
html.is-home [data-snap],
html.is-home [data-snap-strict] {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100svh;
}
/* Длинные секции — внутренний скролл */
html.is-home section[data-snap],
html.is-home section[data-snap-strict] {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Reduced motion — без mandatory чтобы accessibility */
@media (prefers-reduced-motion: reduce) {
  html.is-home { scroll-snap-type: none; scroll-behavior: auto; }
  html.is-home [data-snap], html.is-home [data-snap-strict] { min-height: 0; }
}

@media (max-width: 899px) {
  .hero--v4 { display: none !important; }

  /* === Hero — full-bleed dark luxury === */
  .hm {
    display: block;
    position: relative;
    min-height: calc(100svh);
    background: #0A0A0C;
    color: white;
    overflow: hidden;
    isolation: isolate;
  }
  /* Subtle ambient indigo glow at bottom-left (kept for balance) */
  .hm::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -20%;
    width: 70%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
  }

  /* === Right-side gold aurora (animated) === */
  .hm__aurora {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 75%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    /* Mask to fade aurora towards left edge so it stays "right side" effect */
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
    mask-image: linear-gradient(to left, black 30%, transparent 100%);
  }
  .hm__aurora-blob {
    position: absolute;
    will-change: transform, opacity;
    pointer-events: none;
  }
  /* Blob 1 — large rotating conic (golden whirl) */
  .hm__aurora-blob--1 {
    top: -30%; right: -40%;
    width: 130%; aspect-ratio: 1;
    border-radius: 50%;
    background:
      conic-gradient(from 0deg at 50% 50%,
        transparent 0deg,
        rgba(229, 200, 150, 0.0) 40deg,
        rgba(229, 200, 150, 0.30) 90deg,
        rgba(232, 184, 95, 0.42) 130deg,
        rgba(229, 200, 150, 0.20) 180deg,
        transparent 240deg,
        transparent 360deg);
    filter: blur(40px);
    opacity: 0.85;
    animation: hmBlobSpin 18s linear infinite;
    mix-blend-mode: screen;
  }
  /* Blob 2 — pulsing core warmth */
  .hm__aurora-blob--2 {
    top: 20%; right: -25%;
    width: 90%; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(248, 215, 145, 0.35) 0%,
      rgba(200, 168, 118, 0.20) 30%,
      transparent 60%);
    filter: blur(50px);
    animation: hmBlobBreath 7s ease-in-out infinite;
    mix-blend-mode: screen;
  }
  /* Blob 3 — drifting amber accent */
  .hm__aurora-blob--3 {
    bottom: -10%; right: -10%;
    width: 70%; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(229, 200, 150, 0.32) 0%,
      transparent 55%);
    filter: blur(60px);
    animation: hmBlobDrift 11s ease-in-out infinite alternate;
    mix-blend-mode: screen;
  }
  /* Diagonal sweeping gold beam over the right side (the main "shimmer") */
  .hm__aurora-beam {
    position: absolute;
    top: -20%; right: -15%;
    width: 75%; height: 140%;
    background: linear-gradient(115deg,
      transparent 0%,
      transparent 35%,
      rgba(229, 200, 150, 0.16) 45%,
      rgba(248, 215, 145, 0.42) 50%,
      rgba(229, 200, 150, 0.16) 55%,
      transparent 65%,
      transparent 100%);
    filter: blur(20px);
    transform: rotate(8deg) translateY(-100%);
    animation: hmBeamSweep 6s cubic-bezier(0.22, 1, 0.36, 1) 2s infinite;
    mix-blend-mode: screen;
    pointer-events: none;
  }

  @keyframes hmBlobSpin {
    from { transform: rotate(0deg)   scale(1);    }
    50%  { transform: rotate(180deg) scale(1.08); }
    to   { transform: rotate(360deg) scale(1);    }
  }
  @keyframes hmBlobBreath {
    0%, 100% { transform: scale(1)    translate(0, 0);   opacity: 0.65; }
    50%      { transform: scale(1.18) translate(-3%, 4%); opacity: 1;    }
  }
  @keyframes hmBlobDrift {
    0%   { transform: translate(0, 0)    scale(1);    }
    100% { transform: translate(-12%, 7%) scale(1.1); }
  }
  @keyframes hmBeamSweep {
    0%   { transform: rotate(8deg) translateY(-110%); opacity: 0;   }
    20%  { opacity: 0.9; }
    50%  { transform: rotate(8deg) translateY(0%);    opacity: 1;   }
    80%  { opacity: 0.9; }
    100% { transform: rotate(8deg) translateY(110%);  opacity: 0;   }
  }

  /* Top + bottom gold hairlines */
  .hm__hairline {
    position: absolute;
    top: 60px; left: 22px; right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 168, 118, 0.42) 50%, transparent 100%);
    z-index: 2;
  }
  .hm__hairline--bottom {
    top: auto;
    bottom: 32px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.10) 50%, transparent 100%);
  }

  .hm__inner {
    position: relative;
    z-index: 1;
    padding: 110px 24px 32px;
    min-height: calc(100svh);
    display: flex;
    flex-direction: column;
  }

  /* === Brand pill — sits on case-mark baseline (right side) === */
  .hm__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    position: relative;
    flex-shrink: 0;
    z-index: 4;
    background:
      linear-gradient(135deg, rgba(232, 184, 95, 0.14) 0%, rgba(200, 168, 118, 0.04) 100%);
    border: 1px solid rgba(229, 200, 150, 0.42);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #F0DDB4;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    animation:
      hmBrandIn 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both,
      hmBrandFloat 4.5s cubic-bezier(0.45, 0, 0.55, 1) 1.5s infinite,
      hmBrandColorShift 6s ease-in-out 1.5s infinite;
    box-shadow:
      0 14px 32px -10px rgba(229, 200, 150, 0.45),
      0 4px 10px -2px rgba(232, 184, 95, 0.30),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
  /* Shimmer sweep across pill (more intense, faster) */
  .hm__brand::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -80%;
    width: 80%;
    background: linear-gradient(115deg,
      transparent 0%,
      rgba(248, 215, 145, 0.0) 30%,
      rgba(248, 215, 145, 0.55) 50%,
      rgba(248, 215, 145, 0.0) 70%,
      transparent 100%);
    transform: skewX(-22deg);
    animation: hmBrandShimmer 3.2s ease-in-out 2s infinite;
    pointer-events: none;
  }
  /* Gold halo behind pill */
  .hm__brand::before {
    content: '';
    position: absolute;
    inset: -12px;
    background: radial-gradient(ellipse at center, rgba(232, 184, 95, 0.32) 0%, transparent 70%);
    z-index: -1;
    filter: blur(14px);
    animation: hmBrandHalo 4s ease-in-out 1s infinite;
    border-radius: 999px;
    pointer-events: none;
  }
  @keyframes hmBrandHalo {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50%      { opacity: 1;   transform: scale(1.08); }
  }
  @keyframes hmBrandColorShift {
    0%, 100% { border-color: rgba(229, 200, 150, 0.42); }
    33%      { border-color: rgba(248, 215, 145, 0.78); }
    66%      { border-color: rgba(232, 184, 95, 0.62); }
  }
  .hm__brand-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #C8A876;
    box-shadow: 0 0 12px rgba(229, 200, 150, 0.85);
    animation: hmBrandPulse 1.6s ease-in-out infinite;
    flex-shrink: 0;
  }
  .hm__brand-label { color: #F0DDB4; font-weight: 800; letter-spacing: 1.8px; }
  .hm__brand-sep { color: rgba(229, 200, 150, 0.40); margin: 0 1px; }
  .hm__brand-year { color: rgba(229, 200, 150, 0.85); font-weight: 600; }

  @keyframes hmBrandIn {
    from { opacity: 0; transform: translateX(20px) scale(0.86); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
  }
  @keyframes hmBrandFloat {
    0%, 100% { transform: translateY(0)   rotate(0deg);   }
    33%      { transform: translateY(-4px) rotate(0.6deg); }
    66%      { transform: translateY(-2px) rotate(-0.4deg); }
  }
  @keyframes hmBrandShimmer {
    0%   { left: -80%; }
    50%  { left: 110%; }
    100% { left: 110%; }
  }
  @keyframes hmBrandPulse {
    0%, 100% { opacity: 1;   transform: scale(1);   box-shadow: 0 0 8px rgba(248, 215, 145, 0.85); }
    50%      { opacity: 0.4; transform: scale(1.6); box-shadow: 0 0 18px rgba(248, 215, 145, 1);   }
  }

  /* === Big editorial statement (light weight, tight) === */
  .hm__statement {
    margin: 0 0 14px;
    font-family: var(--font-display, 'Inter', system-ui);
    font-size: clamp(40px, 10.6vw, 56px);
    font-weight: 200;        /* Light — premium fashion-editorial */
    letter-spacing: -2px;
    line-height: 1.0;
    color: white;
    animation: hmFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }
  .hm__sublead {
    margin: 0 0 32px;
    max-width: 28ch;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 400;
    letter-spacing: -0.1px;
    animation: hmFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
  }
  .hm__statement em {
    font-style: normal;
    font-weight: 300;
    background: linear-gradient(135deg, #E5C896 0%, #C8A876 50%, #8C7A52 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* === Centered Castly device (NO plastic frame — just rounded screen with deep shadow) === */
  .hm__device {
    margin: auto auto 28px;       /* push to vertical center */
    max-width: 230px;
    width: 60%;
    animation: hmFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  }
  .hm__device-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19.5;       /* iPhone 17 Pro Max actual aspect */
    border-radius: 32px;
    overflow: hidden;
    background: #0E0E10;
    box-shadow:
      0 40px 100px -20px rgba(0, 0, 0, 0.85),
      0 16px 36px -8px rgba(200, 168, 118, 0.18),
      0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .hm__shot {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    animation: hmShotFade 22s infinite;
  }
  .hm__shot:nth-child(1) { animation-delay: 0s; }
  .hm__shot:nth-child(2) { animation-delay: 4.4s; }
  .hm__shot:nth-child(3) { animation-delay: 8.8s; }
  .hm__shot:nth-child(4) { animation-delay: 13.2s; }
  .hm__shot:nth-child(5) { animation-delay: 17.6s; }
  @keyframes hmShotFade {
    0%   { opacity: 0; }
    3%   { opacity: 1; }
    18%  { opacity: 1; }
    22%  { opacity: 0; }
    100% { opacity: 0; }
  }

  /* === Case tag (above device, editorial 3-line) === */
  .hm__case-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 4px 0 22px;
    animation: hmFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  }
  .hm__case-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
  }
  .hm__case-tag-mark {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #C8A876;
    padding: 4px 10px;
    border: 1px solid rgba(200, 168, 118, 0.45);
    border-radius: 4px;
    background: rgba(200, 168, 118, 0.05);
    flex-shrink: 0;
  }
  .hm__case-tag-name {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.7px;
    color: white;
    line-height: 1;
  }
  .hm__case-tag-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 400;
    letter-spacing: 0.05px;
    max-width: 38ch;
  }

  /* === Mini caption under device (compact) === */
  .hm__device-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    text-align: center;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
  }
  .hm__device-cap-mini-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #C8A876;
    box-shadow: 0 0 8px rgba(200, 168, 118, 0.70);
    animation: hmDeviceCapDot 2s ease-in-out infinite;
  }
  @keyframes hmDeviceCapDot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
  }

  /* === Mono-stat row (LCD-display feel) === */
  .hm__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px 0 26px;
    animation: hmFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
  }
  .hm__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    text-align: center;
  }
  .hm__stat b {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: white;
    line-height: 1;
  }
  .hm__stat span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
  }
  .hm__stat-line {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
  }

  /* === Single text-link CTA (NOT a button — premium link with gold underline) === */
  .hm__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.2px;
    cursor: pointer;
    background: transparent;
    transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
    animation: hmFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
  }
  .hm__link svg {
    color: #C8A876;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .hm__link:active svg { transform: translateX(8px); }
  .hm__link:active { color: #E5C896; }

  /* === Animations === */
  @keyframes hmFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ====== Premium Snap Rail (vertical right) ====== */
  .snap-rail {
    display: block;
    position: fixed;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 70;
    height: 56vh;
    max-height: 360px;
    pointer-events: none;
  }

  /* Arrow buttons (top/bottom of rail) — premium thin */
  .snap-rail__arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px; height: 22px;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s, opacity 0.4s;
    opacity: 0.85;
  }
  .snap-rail__arrow svg {
    width: 14px; height: 14px;
    animation: railArrowBob 2.4s ease-in-out infinite;
  }
  .snap-rail__arrow:active { transform: translateX(-50%) scale(0.85); }
  .snap-rail__arrow:hover { color: #C8A876; opacity: 1; }
  .snap-rail__arrow--up   { top: -28px; }
  .snap-rail__arrow--down { bottom: -28px; }
  .snap-rail__arrow--down svg { animation-delay: -1.2s; }
  @keyframes railArrowBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
  }
  .snap-rail__arrow--down svg {
    animation-name: railArrowBobDown;
  }
  @keyframes railArrowBobDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(3px); }
  }
  /* Hide arrow at edge — top arrow when at top, down arrow at bottom */
  .snap-rail.is-at-top    .snap-rail__arrow--up   { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-6px); }
  .snap-rail.is-at-bottom .snap-rail__arrow--down { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(6px); }

  .snap-rail__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    pointer-events: auto;
    position: relative;
  }
  .snap-rail__item {
    position: relative;
    width: 24px; height: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .snap-rail__item::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.30);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .snap-rail__item.is-active::before {
    width: 8px; height: 8px;
    background: #C8A876;
    box-shadow: 0 0 0 5px rgba(200, 168, 118, 0.14), 0 0 14px rgba(200, 168, 118, 0.55);
  }

  /* === Auto-invert rail on LIGHT backgrounds === */
  body[data-rail-bg="light"] .snap-rail__item::before {
    background: rgba(10, 10, 16, 0.32);
  }
  body[data-rail-bg="light"] .snap-rail__line {
    background: rgba(10, 10, 16, 0.08);
  }
  body[data-rail-bg="light"] .snap-rail__arrow {
    color: rgba(10, 10, 16, 0.42);
  }
  body[data-rail-bg="light"] .snap-rail__arrow:hover {
    color: #8C7A52;
  }
  body[data-rail-bg="light"] .snap-rail__item-label {
    background: rgba(255, 255, 255, 0.96);
    color: #0A0A0C;
    box-shadow: 0 8px 22px rgba(10, 10, 16, 0.12);
  }
  /* Smooth transition between bg modes */
  .snap-rail__item::before,
  .snap-rail__line,
  .snap-rail__arrow,
  .snap-rail__item-label {
    transition-property: background, color, box-shadow, opacity, transform;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  .snap-rail__item-label {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(10, 10, 16, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: white;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .snap-rail__item.is-active .snap-rail__item-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  .snap-rail__line {
    position: absolute;
    top: 6px; bottom: 6px;
    right: 11px;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    z-index: -1;
  }
  .snap-rail__line-fill {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0%;
    background: linear-gradient(180deg, #E5C896 0%, #8C7A52 100%);
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 6px rgba(200, 168, 118, 0.65);
  }

  /* Adjust rail dot color when over light sections */
  body.is-light-section .snap-rail__item::before { background: rgba(10, 10, 16, 0.30); }

  /* ====== Snap Pill ====== */
  .snap-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: calc(86px + max(8px, env(safe-area-inset-bottom)));
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    z-index: 95;
    padding: 9px 16px;
    background: rgba(10, 10, 16, 0.85);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.1px;
    box-shadow: 0 14px 38px rgba(10, 10, 16, 0.30);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .snap-pill.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .snap-pill__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.50);
  }
  .snap-pill__num i { font-style: normal; color: #C8A876; font-weight: 700; }
  .snap-pill__sep { margin: 0 4px; color: rgba(255, 255, 255, 0.30); }
  .snap-pill__name {
    font-size: 13px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.1px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  /* ====== Sticky bottom CTA bar (frosted glass) ====== */
  body { padding-bottom: 76px; }
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    padding: 10px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-top: 1px solid rgba(10, 10, 10, 0.06);
    box-shadow: 0 -10px 28px rgba(10, 10, 10, 0.08);
    align-items: center;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mobile-cta-bar.is-hidden { transform: translateY(105%); }
  .mcta__icon {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 14px;
    background: rgba(10, 10, 10, 0.05);
    color: #0A0A0C;
    display: grid;
    place-items: center;
    transition: all 0.18s ease-out;
  }
  .mcta__icon:active { transform: scale(0.92); background: rgba(10, 10, 10, 0.10); }
  .mcta__icon--wa { background: rgba(37, 211, 102, 0.12); color: #1FAE52; }
  .mcta__main {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: #0A0A0C;
    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1px;
    box-shadow: 0 6px 18px rgba(10, 10, 16, 0.35);
    cursor: pointer;
    transition: transform 0.18s ease-out;
  }
  .mcta__main:active { transform: scale(0.97); }

  @media (prefers-reduced-motion: reduce) {
    .hm__brand, .hm__statement, .hm__device, .hm__stats, .hm__link, .hm__shot {
      animation: none !important;
    }
    .hm__shot:first-child { opacity: 1; }
  }

  /* === Animated burger button (3 lines → X) === */
  .header__burger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(232, 184, 95, 0.06);
    border: 1px solid rgba(229, 200, 150, 0.32);
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .header__burger:active { transform: scale(0.92); }
  .header__burger span {
    position: absolute;
    left: 9px; right: 9px;
    height: 1.6px;
    background: #C8A876;
    border-radius: 2px;
    transition: all 0.45s cubic-bezier(0.65, -0.4, 0.35, 1.4);
    transform-origin: center;
  }
  .header__burger span:nth-child(1) { top: 13px; }
  .header__burger span:nth-child(2) { top: 50%; margin-top: -0.8px; }
  .header__burger span:nth-child(3) { bottom: 13px; }
  .header__burger[aria-expanded="true"] {
    background: rgba(232, 184, 95, 0.18);
    border-color: rgba(229, 200, 150, 0.6);
  }
  .header__burger[aria-expanded="true"] span:nth-child(1) {
    top: 50%; margin-top: -0.8px;
    transform: rotate(45deg);
  }
  .header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .header__burger[aria-expanded="true"] span:nth-child(3) {
    bottom: auto; top: 50%; margin-top: -0.8px;
    transform: rotate(-45deg);
  }

  /* ============= MOBILE MENU TAKEOVER (full-screen) ============= */
  .mm-take {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #0A0A0C;
    color: white;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
  }
  .mm-take[hidden] { display: block; opacity: 0; pointer-events: none; }
  body.is-mm-open .mm-take {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Background ambience */
  .mm-take__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .mm-take__bg-orb {
    position: absolute;
    top: -20%; right: -30%;
    width: 90%; aspect-ratio: 1;
    border-radius: 50%;
    background:
      conic-gradient(from 0deg,
        transparent 0deg,
        rgba(229, 200, 150, 0.0) 40deg,
        rgba(229, 200, 150, 0.30) 90deg,
        rgba(232, 184, 95, 0.40) 130deg,
        rgba(229, 200, 150, 0.18) 180deg,
        transparent 240deg);
    filter: blur(50px);
    animation: hmBlobSpin 18s linear infinite;
    mix-blend-mode: screen;
  }
  .mm-take__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(rgba(229, 200, 150, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  }

  /* Head row inside menu */
  .mm-take__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    gap: 12px;
  }
  .mm-take__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    background: rgba(232, 184, 95, 0.08);
    border: 1px solid rgba(229, 200, 150, 0.32);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #F0DDB4;
  }
  .mm-take__brand b { color: #F0DDB4; font-weight: 800; }
  .mm-take__brand-sep { opacity: 0.45; }
  .mm-take__brand-year { color: rgba(229, 200, 150, 0.85); font-weight: 600; }
  .mm-take__brand-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #C8A876;
    box-shadow: 0 0 10px rgba(229, 200, 150, 0.85);
    animation: hmBrandPulse 1.6s ease-in-out infinite;
  }
  .mm-take__close {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(232, 184, 95, 0.08);
    border: 1px solid rgba(229, 200, 150, 0.32);
    color: #C8A876;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mm-take__close:active { transform: scale(0.92); background: rgba(232, 184, 95, 0.18); }

  /* Nav stack */
  .mm-take__nav {
    position: relative;
    z-index: 1;
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mm-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(14px);
  }
  body.is-mm-open .mm-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--mi, 0) * 0.05s + 0.15s);
  }
  .mm-link:active {
    transform: scale(0.98);
    background: rgba(232, 184, 95, 0.08);
    border-color: rgba(229, 200, 150, 0.32);
  }
  .mm-link__icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #C8A876;
    background: linear-gradient(160deg, rgba(232, 184, 95, 0.10) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(229, 200, 150, 0.30);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 8px 18px -4px rgba(10, 10, 16, 0.30);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mm-link__icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(229, 200, 150, 0.18) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
  }
  .mm-link__icon svg {
    width: 22px; height: 22px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(229, 200, 150, 0.30));
  }
  .mm-link:active .mm-link__icon {
    border-color: rgba(229, 200, 150, 0.65);
    background: linear-gradient(160deg, rgba(232, 184, 95, 0.20) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      0 10px 24px -4px rgba(232, 184, 95, 0.28);
    color: #F0DDB4;
  }
  /* All variants share the same monochrome gold scheme */
  .mm-link__icon--mobile,
  .mm-link__icon--web,
  .mm-link__icon--games,
  .mm-link__icon--ai { background: inherit; }
  .mm-link__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .mm-link__title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: white;
    line-height: 1.2;
  }
  .mm-link__sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.50);
    font-weight: 500;
    letter-spacing: 0.05px;
  }
  .mm-link__arrow {
    color: rgba(255, 255, 255, 0.35);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
    flex-shrink: 0;
  }
  .mm-link:active .mm-link__arrow { transform: translateX(4px); color: #C8A876; }

  /* Alt links (text-only, secondary nav) */
  .mm-link--alt {
    padding: 12px 14px;
    border: none;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: space-between;
  }
  .mm-link--alt:active {
    background: transparent;
    border-color: rgba(229, 200, 150, 0.32);
  }
  .mm-link--alt .mm-link__title {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.3px;
  }
  .mm-link__count {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: #C8A876;
    background: rgba(232, 184, 95, 0.08);
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(229, 200, 150, 0.32);
  }

  .mm-take__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 200, 150, 0.32), transparent);
    margin: 18px 0;
  }

  /* Footer block: phone, CTA, socials */
  .mm-take__foot {
    position: relative;
    z-index: 1;
    padding: 12px 22px max(28px, calc(28px + env(safe-area-inset-bottom)));
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mm-take__phone,
  .mm-take__cta,
  .mm-take__socials {
    opacity: 0;
    transform: translateY(14px);
  }
  body.is-mm-open .mm-take__phone,
  body.is-mm-open .mm-take__cta,
  body.is-mm-open .mm-take__socials {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--mi, 0) * 0.05s + 0.15s),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--mi, 0) * 0.05s + 0.15s);
  }

  .mm-take__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 16px;
    border: 1px solid rgba(229, 200, 150, 0.32);
    border-radius: 14px;
    background: rgba(232, 184, 95, 0.05);
    color: #F0DDB4;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.1px;
    text-decoration: none;
    font-feature-settings: 'tnum';
  }
  .mm-take__phone svg { color: #C8A876; }
  .mm-take__phone:active { background: rgba(232, 184, 95, 0.14); transform: scale(0.98); }

  .mm-take__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #E5C896 0%, #C8A876 50%, #8C7A52 100%);
    color: #0A0A0C;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.1px;
    cursor: pointer;
    box-shadow: 0 18px 40px -8px rgba(229, 200, 150, 0.55);
    position: relative;
    overflow: hidden;
  }
  .mm-take__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
  }
  .mm-take__cta:hover::before { transform: translateX(100%); }
  .mm-take__cta:active { transform: scale(0.98); }

  .mm-take__socials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 4px;
  }
  .mm-take__socials a {
    display: grid;
    place-items: center;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 184, 95, 0.06);
    border: 1px solid rgba(229, 200, 150, 0.18);
    color: #C8A876;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mm-take__socials a:active {
    background: rgba(232, 184, 95, 0.18);
    border-color: rgba(229, 200, 150, 0.55);
    transform: scale(0.95);
    color: #F0DDB4;
  }
  .mm-take__socials svg { width: 18px; height: 18px; }

  body.is-mm-open { overflow: hidden; }
}
