/* Hourvelle — public website. Immersive 3D hero (Clientes / Negocios), editorial sections.
   Self-hosted fonts and libraries: the site makes no third-party requests. */

@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-300.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-300-italic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope-800.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --ink: #07060B;
  --ink-2: #100E16;
  --ink-3: #18151F;
  --ivory: #F6F1E8;
  --ivory-2: #D8D1C6;
  --mute: #A39CAD;
  --mute-2: #7E778C;
  --line: rgba(246, 241, 232, .11);
  --line-2: rgba(246, 241, 232, .2);
  --glass: rgba(255, 255, 255, .07);
  --glass-2: rgba(255, 255, 255, .12);
  --glass-border: rgba(255, 255, 255, .16);
  --amber: #F2B54C;
  --lilac: #B9A6FF;

  /* Theme driven by the Clientes / Negocios switch (animated with GSAP). */
  --accent: #F2B54C;
  --on-accent: #1B1406;
  --bg-inner: #8A5A2B;
  --bg-mid: #3B2116;
  --bg-outer: #0B0708;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-hero: clamp(3.4rem, 6.5vw, 7.8rem);
  --fs-display: clamp(2.6rem, 6.4vw, 6.4rem);
  --fs-title: clamp(2.1rem, 4.2vw, 3.9rem);
  --fs-lead: clamp(1.06rem, 1.3vw, 1.26rem);
  --wrap: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header: 76px;
}
.theme-business { --accent: #B9A6FF; --on-accent: #120B2B; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--ink); color: var(--ivory); overflow-x: clip; font: 500 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(242, 181, 76, .55); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--amber); }
p { text-wrap: pretty; margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.028em; margin: 0; text-wrap: balance; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.amber { color: var(--amber); }

/* ---------------------------------------------------------------- Header (glass) */
.hd { position: fixed; inset: 0 0 auto; z-index: 150; height: var(--header); display: flex; align-items: center; transition: background .5s var(--ease), transform .6s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.hd.is-solid { background: rgba(7, 6, 11, .62); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: var(--line); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 400 1.36rem/1 var(--serif); letter-spacing: -.01em; }
.brand__mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(160deg, #3B2D52, #1C1530); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font: 600 18px/1 var(--serif); color: #F4E7CC; }
.brand__mark::after { content: ''; position: absolute; width: 19px; height: 19px; border-radius: 50%; background: var(--amber); bottom: -12px; left: 6.5px; }
.brand__mark span { position: relative; z-index: 1; margin-top: -2px; }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 32px rgba(0,0,0,.12), inset 0 0 0 1px rgba(255,255,255,.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav a { text-decoration: none; color: rgba(255,255,255,.74); font-size: .86rem; font-weight: 700; padding: 9px 17px; border-radius: 999px; transition: background .35s, color .35s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.hd__end { display: flex; align-items: center; gap: 10px; }
.lang { text-decoration: none; font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 10px 13px; transition: border-color .3s, color .3s, background .3s; background: rgba(255,255,255,.04); }
.lang:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-dark { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 12px 22px; font-size: .85rem; font-weight: 800; text-decoration: none; transition: background .3s, transform .4s var(--ease); white-space: nowrap; }
.btn-dark:hover { background: rgba(0,0,0,.7); transform: translateY(-2px); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }
.menu { position: fixed; inset: 0; z-index: 160; background: rgba(7,6,11,.97); display: flex; flex-direction: column; padding: calc(var(--header) + 24px) var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__link { font: 300 clamp(2.3rem, 10.5vw, 3.6rem)/1.1 var(--serif); letter-spacing: -.03em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .05s; } .menu.is-open .menu__link:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .15s; } .menu.is-open .menu__link:nth-child(5) { transition-delay: .2s; }
.menu__foot { margin-top: auto; padding-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.menu__close { position: absolute; top: 15px; right: var(--gutter); }
@media (max-width: 1080px) { .nav, .hd__end .btn-dark { display: none; } .burger { display: grid; } }

/* ---------------------------------------------------------------- Buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: .95rem; text-decoration: none; transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .5s var(--ease), border-color .3s; white-space: nowrap; border: 0; cursor: pointer; }
.pill--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 40px -12px var(--accent), inset 0 -2px 0 rgba(0,0,0,.12); }
.pill--accent:hover { transform: translateY(-2px); }
.pill--ghost { border: 1px solid var(--line-2); color: var(--ivory); background: transparent; }
.pill--ghost:hover { border-color: var(--ivory-2); transform: translateY(-2px); }
.pill--soon { border: 1px solid rgba(242,181,76,.45); color: var(--amber); background: rgba(242,181,76,.06); cursor: default; }
.pill--soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,181,76,.18); }
.pill--sm { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.pill svg { width: 18px; height: 18px; }
/* Soda-style CTA: dark capsule with a round accent "+" */
.cta { display: inline-flex; align-items: center; gap: 22px; background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.08); padding: 6px 6px 6px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; width: fit-content; transition: background .3s, transform .45s var(--ease); white-space: nowrap; }
.cta:hover { background: rgba(0,0,0,.7); transform: translateY(-3px); }
.cta__plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transition: transform .5s var(--ease), background .6s; }
.cta__plus svg { width: 18px; height: 18px; }
.cta:hover .cta__plus { transform: rotate(90deg); }

/* ---------------------------------------------------------------- Immersive hero */
.hx { position: relative; height: 100svh; min-height: 680px; overflow: clip; isolation: isolate;
  background: radial-gradient(circle at 50% 46%, var(--bg-inner) 0%, var(--bg-mid) 48%, var(--bg-outer) 100%); }
.hx::after { content: ''; position: absolute; inset: auto 0 0; height: 22vh; z-index: 120; pointer-events: none; background: linear-gradient(180deg, transparent, var(--ink)); }
.hx__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hx__halo { position: absolute; left: 50%; top: 50%; width: min(70vh, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent) 0%, transparent 62%); filter: blur(10px); opacity: .55; }
.hx__ring { position: absolute; left: 50%; top: 50%; width: min(92vh, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; opacity: .5; }
.hx__ring svg { width: 100%; height: 100%; animation: spin 220s linear infinite; }
.hx__ring circle { fill: none; stroke: rgba(255,255,255,.12); }
.hx__ring line { stroke: rgba(255,255,255,.28); stroke-width: 1.3; }
.hx__ring line.major { stroke: color-mix(in srgb, var(--accent) 70%, white); stroke-width: 2.4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scene box (no z-index, so its layers interleave with the text columns). */
.hx__scene { position: absolute; inset: 0; }
/* Phone stage: the WebGL canvas (or the CSS fallback phone) centred behind the text columns. */
.hx__stage { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.hx__stage canvas { width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.4s var(--ease) .2s; }
.hx__stage.is-ready canvas { opacity: 1; }
.hx__fallback { display: none; }
.no-webgl .hx__fallback { display: block; animation: floatY 6s ease-in-out infinite; }
.no-webgl .hx__fallback .phone { --w: clamp(220px, min(24vw, 34vh), 320px); transform: rotate(-8deg); }
.hx__fallback .scr { animation: none; }
@keyframes floatY { 50% { transform: translateY(-18px); } }

.hx__content { max-width: 1680px; position: relative; z-index: 100; height: 100%; display: flex; justify-content: space-between; align-items: stretch; padding-top: var(--header); pointer-events: none; }
.hx__left, .hx__right { display: flex; flex-direction: column; padding: clamp(28px, 6vh, 64px) 0 clamp(36px, 8vh, 80px); gap: clamp(18px, 3.4vh, 30px); pointer-events: none; }
.hx__left > *, .hx__right > * { pointer-events: auto; }
.hx__left { max-width: 520px; }
.hx__right { align-items: flex-end; text-align: right; width: 440px; justify-content: space-between; }
.hx__title { font: 300 var(--fs-hero)/.84 var(--serif); letter-spacing: -.055em; white-space: nowrap; }
.hx__title em { color: var(--accent); }
.hx__title .ln { display: block; width: max-content; overflow: hidden; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.hx__title .ln > span { display: block; }
.hx__desc { color: rgba(255,255,255,.76); font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.6; max-width: 25em; margin: 0; }
.hx__badge { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.hx__badge-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hx__badge-ic svg { width: 22px; height: 22px; color: var(--accent); }
.hx__badge small { display: block; font-size: .68rem; letter-spacing: .14em; color: rgba(255,255,255,.62); font-weight: 800; text-transform: uppercase; }
.hx__badge b { font-size: .9rem; }
.hx__side { font: 300 clamp(2.6rem, 5vw, 5.8rem)/.86 var(--serif); letter-spacing: -.05em; white-space: nowrap; }
.hx__side em { color: var(--accent); }
.hx__note { position: absolute; z-index: 100; left: 50%; bottom: clamp(18px, 4vh, 34px); transform: translateX(-50%); font-size: .72rem; color: rgba(255,255,255,.55); letter-spacing: .04em; white-space: nowrap; }
[data-swap] { will-change: transform, opacity; }

/* Mode carousel (Soda flavour cards) */
.modes { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.modes__cards { display: flex; gap: 14px; }
.mode-card { width: 146px; padding: 86px 14px 16px; border-radius: 28px; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: pointer; position: relative; text-align: center; color: #fff;
  transition: background .4s, border-color .4s, transform .5s cubic-bezier(.175, .885, .32, 1.275); }
.mode-card:hover { background: var(--glass-2); border-color: rgba(255,255,255,.4); }
.mode-card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px var(--accent); }
.mode-card img { width: 112px; height: auto; margin-top: -130px; filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)); transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.mode-card:hover img { transform: translateY(-22px) rotate(-10deg) scale(1.1); }
.mode-card[aria-pressed="false"] img { filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)) brightness(.72); }
.mode-card b { font-size: .86rem; display: block; }
.mode-card span { font-size: .72rem; color: rgba(255,255,255,.66); line-height: 1.35; display: block; }
.modes__nav { display: flex; gap: 10px; align-items: center; }
.modes__nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-border); cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.modes__nav button:hover { background: rgba(255,255,255,.14); }
.modes__nav svg { width: 16px; height: 16px; }
.modes__dots { display: flex; gap: 6px; margin-right: 6px; }
.modes__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .4s, width .4s var(--ease); }
.modes__dots i.on { width: 18px; border-radius: 4px; background: var(--accent); }

/* Floating booking objects (Soda's berries & leaves): three depth layers */
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx--far { z-index: 1; }
.fx--back { z-index: 1; }
.fx--front { z-index: 110; }
.fo { position: absolute; will-change: transform; }
.fo__in { transform-style: preserve-3d; transition: transform .8s var(--ease); }
.fx--far .fo { filter: blur(1.5px); opacity: .55; }
.fx--back .fo { opacity: .85; }
.ob { color: #fff; font-family: var(--sans); line-height: 1.25; white-space: nowrap; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -3px 0 rgba(0,0,0,.18) inset, 0 24px 50px -16px rgba(0,0,0,.55), 0 6px 14px rgba(0,0,0,.25); }
.ob--glass { background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; padding: 12px 14px; }
.ob--paper { background: #FFFDF8; color: #1C1825; border-radius: 18px; padding: 12px 14px; box-shadow: 0 -3px 0 #E4DACB inset, 0 24px 50px -16px rgba(0,0,0,.6), 0 6px 14px rgba(0,0,0,.25); }
.ob--plum { background: linear-gradient(160deg, #3A2A66, #241944); border-radius: 18px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.12); }
.ob small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; opacity: .7; }
.ob b { display: block; font: 600 1.02rem/1.15 var(--serif); letter-spacing: -.01em; }
.ob .row { display: flex; align-items: center; gap: 10px; }
.ob .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.ob .ic svg { width: 18px; height: 18px; }
.ob--slot { padding: 10px 16px; border-radius: 999px; font: 800 .86rem/1 var(--sans); background: #FFFDF8; color: #2E2152; }
.ob--slot.on { background: #2E2152; color: #fff; }
.ob--dot { width: 56px; height: 56px; border-radius: 50%; padding: 0; display: grid; place-items: center; }
.ob--dot svg { width: 24px; height: 24px; }
.ob-cal { width: 168px; }
.ob-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 8px; font: 700 .58rem/1 var(--sans); text-align: center; color: #8E8798; }
.ob-cal__grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.ob-cal__grid span.on { background: #2E2152; color: #fff; }
.ob-cal__grid span.f { color: #1C1825; }
.ob-ticket { display: flex; padding: 0; overflow: hidden; width: 236px; }
.ob-ticket > div:first-child { flex: 1; padding: 13px 14px; }
.ob-ticket__stub { width: 72px; display: grid; place-items: center; text-align: center; border-left: 2px dashed rgba(255,255,255,.25); }
.ob-ticket__stub b { font-size: 1.3rem; } .ob-ticket__stub small { color: #F2B54C; opacity: 1; }
.ob-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 8px; }
.ob-bars i { width: 12px; border-radius: 4px 4px 2px 2px; background: rgba(255,255,255,.35); }
.ob-bars i.hi { background: var(--lilac); }
.ob-avs { display: flex; margin-top: 8px; }
.ob-avs span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 .66rem/1 var(--sans); background: #EFE4D2; color: #2E2152; border: 2px solid #241944; margin-left: -8px; }
.ob-avs span:first-child { margin-left: 0; }
.ob-stars { color: #F2B54C; letter-spacing: 2px; font-size: .8rem; }
.ob-clock { width: 86px; height: 86px; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(255,255,255,.06) 60%); border: 1px solid rgba(255,255,255,.3); }
.ob-clock::before, .ob-clock::after { content: ''; position: absolute; left: 50%; bottom: 50%; width: 3px; border-radius: 3px; background: #fff; transform-origin: bottom; }
.ob-clock::before { height: 30%; transform: translateX(-50%) rotate(-50deg); }
.ob-clock::after { height: 38%; width: 2px; background: var(--accent); transform: translateX(-50%) rotate(70deg); animation: spin 14s linear infinite; }
.ob-ring { width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: inset 0 0 30px rgba(255,255,255,.08); }
.ob-ring--s { width: 70px; height: 70px; }

/* Scroll cue */
.hx__cue { position: absolute; z-index: 121; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 12px; font: 800 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); text-decoration: none; }
.hx__cue::before { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Entrance */
.hx [data-enter] { opacity: 0; transform: translateY(26px); }
.hx.is-in [data-enter] { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.hx .ln > span { transform: translateY(105%); }
.hx.is-in .ln > span { transform: none; transition: transform 1.5s var(--ease); transition-delay: var(--d, 0s); }
.no-js .hx [data-enter], .no-js .hx .ln > span { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .hx__right { width: 360px; }
  .hx__side { display: none; }
  .hx__left { max-width: 390px; }
  .hx__desc { max-width: 19em; }
}
/* Objects that need room: hidden on short or narrow screens so they never cover text. */
@media (max-height: 820px), (max-width: 1180px) { .fo--roomy { display: none; } }
@media (max-width: 900px) {
  /* Mobile: the hero flows — text, then the 3D scene (phone + objects), then the mode cards. */
  .hx { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 36px; }
  .hx__content { display: contents; }
  .hx__left { order: 1; align-items: center; text-align: center; max-width: none; padding: calc(var(--header) + 22px) var(--gutter) 0; gap: 16px; position: relative; z-index: 100; }
  .hx__title { font-size: clamp(3.1rem, 14.5vw, 5.4rem); }
  .hx__title .ln { margin-inline: auto; }
  .hx__desc { max-width: 22em; }
  .hx__badge, .hx__cue, .hx__side { display: none; }
  .hx__scene { order: 2; position: relative; height: min(122vw, 620px); margin-top: 6px; }
  .hx__ring { width: 118vw; }
  .hx__halo { width: 90vw; }
  .hx__right { order: 3; width: 100%; align-items: center; text-align: center; padding: 6px var(--gutter) 0; gap: 0; position: relative; z-index: 100; }
  .modes { align-items: center; }
  .modes__cards { gap: 10px; }
  .mode-card { width: 140px; padding-top: 70px; }
  .mode-card img { width: 92px; margin-top: -112px; }
  .hx__note { order: 4; position: static; transform: none; margin: 20px var(--gutter) 0; white-space: normal; text-align: center; }
  .fo.m-hide { display: none; }
  .fo .ob { zoom: .8; }
}

/* ---------------------------------------------------------------- Sections */
.sec { position: relative; padding: clamp(110px, 14vw, 190px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 800 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--amber); margin: 0 0 26px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow--lilac { color: var(--lilac); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ivory-2); max-width: 36em; }
.display { font-size: var(--fs-display); }
.title { font-size: var(--fs-title); }
.display em, .title em { color: var(--amber); }
.lilac em, em.lilac { color: var(--lilac); }
.note { font-size: .8rem; color: var(--mute-2); }
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } .d4 { --d: .32s; } .d5 { --d: .4s; } .d6 { --d: .48s; }

/* Intro statement with words that light up on scroll */
.intro { padding: clamp(90px, 13vw, 170px) 0 clamp(80px, 11vw, 140px); }
.intro__text { font: 300 clamp(2rem, 4.7vw, 4.5rem)/1.12 var(--serif); letter-spacing: -.03em; max-width: 19em; margin: 0; }
.intro__text .w { color: rgba(246,241,232,.16); transition: color .6s ease; }
.intro__text .w.lit { color: var(--ivory); }
.intro__text .w.a.lit { color: var(--amber); font-style: italic; }
.no-js .intro__text .w { color: var(--ivory); }
.intro__meta { margin-top: 56px; display: flex; gap: 14px 30px; flex-wrap: wrap; color: var(--mute); font-size: .92rem; }
.intro__meta span { display: inline-flex; gap: 10px; align-items: center; }
.intro__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* Discovery band with photography */
.discover { position: relative; overflow: clip; isolation: isolate; padding: clamp(110px, 14vw, 190px) 0; }
.discover__head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px 60px; align-items: end; }
.discover__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); margin-top: 60px; }
.tile { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate; }
.tile__img { position: absolute; inset: -8% 0; background-size: cover; background-position: center; z-index: -2; transform: translateY(calc(var(--py, 0) * 1px)) scale(1.04); transition: scale 1.8s var(--ease); }
.tile:hover .tile__img { scale: 1.05; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,6,11,0) 45%, rgba(7,6,11,.86)); }
.tile__label { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.tile__label b { font: 300 clamp(1.6rem, 2.6vw, 2.5rem)/1 var(--serif); letter-spacing: -.02em; }
.tile__label span { font-size: .68rem; color: var(--ivory-2); letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.bg-barber { background-image: url('img/barber-1536.jpg'); }
.bg-hair { background-image: url('img/hair-1536.jpg'); }
.bg-nails { background-image: url('img/nails-1536.jpg'); }
@media (max-width: 700px) { .bg-barber { background-image: url('img/barber-960.jpg'); } .bg-hair { background-image: url('img/hair-960.jpg'); } .bg-nails { background-image: url('img/nails-960.jpg'); } }
@media (max-width: 800px) { .discover__head { grid-template-columns: 1fr; } .discover__grid { grid-template-columns: 1fr 1fr; } .tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; } }
.marquee { margin-top: clamp(50px, 7vw, 90px); border-block: 1px solid var(--line); overflow: hidden; padding: 28px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font: 300 clamp(1.7rem, 3vw, 2.8rem)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; padding-right: 46px; color: var(--ivory-2); }
.marquee__track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); opacity: .8; }
.marquee__track span:nth-child(odd) { font-style: italic; color: var(--ivory); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Calendar & availability: live slot board */
.avail { padding: clamp(110px, 14vw, 190px) 0; position: relative; overflow: clip; }
.avail__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.board { border-radius: 30px; padding: clamp(22px, 3vw, 34px); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line-2); position: relative; }
.board__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.board__day { text-align: center; border-radius: 16px; padding: 12px 0; border: 1px solid var(--line); color: var(--mute); transition: background .5s, color .5s, border-color .5s; }
.board__day small { display: block; font: 800 .62rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.board__day b { display: block; font: 300 1.6rem/1.1 var(--serif); color: var(--ivory); }
.board__day.on { background: var(--amber); border-color: var(--amber); color: #1B1406; }
.board__day.on b { color: #1B1406; }
.board__day.off { opacity: .35; }
.board__slots { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.board__slot { border-radius: 14px; padding: 13px 0; text-align: center; font: 800 .86rem/1 var(--sans); border: 1px solid var(--line-2); color: var(--ivory); transition: opacity .6s var(--ease), transform .6s var(--ease), background .4s, color .4s; }
.board__slot.taken { opacity: .22; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.4); }
.board__slot.pick { background: var(--ivory); color: #1B1406; transform: scale(1.06); }
.board__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: .78rem; color: var(--mute); }
.board__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; border: 1px solid var(--line-2); }
.board__legend i.t { opacity: .3; } .board__legend i.p { background: var(--ivory); }
.board__toast { position: absolute; right: -14px; top: -26px; transform: rotate(3deg); }
@media (max-width: 900px) { .avail__grid { grid-template-columns: 1fr; } .board__slots { grid-template-columns: repeat(3, 1fr); } .board__toast { right: 8px; } }
@media (max-width: 480px) { .board__days { gap: 5px; } .board__day b { font-size: 1.25rem; } }

/* Stats panel (owners) */
.stats { padding: clamp(110px, 14vw, 190px) 0; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.chart { border-radius: 30px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); background: radial-gradient(80% 80% at 80% 0%, rgba(185,166,255,.14), transparent 60%), rgba(255,255,255,.03); }
.chart__bars { display: flex; align-items: flex-end; gap: clamp(8px, 1.4vw, 16px); height: 230px; border-bottom: 1px solid var(--line-2); padding-top: 30px; }
.chart__bars i { flex: 1; border-radius: 10px 10px 4px 4px; background: rgba(185,166,255,.38); transform-origin: bottom; transform: scaleY(.04); transition: transform 1.4s var(--ease); position: relative; }
.chart__bars i.hi { background: var(--lilac); }
.chart__bars i.hi::after { content: attr(data-v); position: absolute; top: -30px; left: 50%; transform: translateX(-50%); font: 800 .72rem/1 var(--sans); color: #120B2B; background: var(--lilac); padding: 6px 8px; border-radius: 8px; }
.in .chart__bars i { transform: none; }
.chart__bars i:nth-child(2) { transition-delay: .06s; } .chart__bars i:nth-child(3) { transition-delay: .12s; } .chart__bars i:nth-child(4) { transition-delay: .18s; }
.chart__bars i:nth-child(5) { transition-delay: .24s; } .chart__bars i:nth-child(6) { transition-delay: .3s; } .chart__bars i:nth-child(7) { transition-delay: .36s; }
.chart__labels { display: flex; gap: clamp(8px, 1.4vw, 16px); margin-top: 12px; font-size: .74rem; color: var(--mute); }
.chart__labels span { flex: 1; text-align: center; }
.chart__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.chart__kpis div { padding: 18px 12px 0 0; }
.chart__kpis b { display: block; font: 300 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--serif); }
.chart__kpis span { font-size: .78rem; color: var(--mute); }
.metric-list { margin-top: 34px; border-top: 1px solid var(--line); list-style: none; padding: 0; }
.metric-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; color: var(--ivory-2); }
.metric-list li::before { content: ''; width: 16px; height: 1px; background: var(--amber); flex: none; transform: translateY(-5px); }
.stats .metric-list li::before { background: var(--lilac); }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr; } .chart__bars { height: 180px; } }

/* Download invitation */
.finale { position: relative; padding: clamp(130px, 16vw, 220px) 0 0; overflow: clip; text-align: center; isolation: isolate; }
.finale::before { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -30vw; width: 110vw; height: 60vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(242,181,76,.2), transparent); }
.finale__title { font-size: var(--fs-display); max-width: 12em; margin: 0 auto; }
.finale__title em { color: var(--amber); }
.finale .lead { margin: 26px auto 0; }
.finale__cta { margin-top: 38px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wordmark { margin-top: clamp(80px, 10vw, 130px); font: 300 clamp(5rem, 25vw, 25rem)/.74 var(--serif); letter-spacing: -.07em; color: transparent; background: linear-gradient(180deg, rgba(246,241,232,.92) 0%, rgba(246,241,232,.3) 55%, rgba(246,241,232,0) 92%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; margin-bottom: -.05em; }

/* Business intro band */
.biz-band { position: relative; overflow: clip; isolation: isolate; background: linear-gradient(180deg, var(--ink) 0%, #0F0C22 22%, #150F33 55%, var(--ink) 100%); }
.biz-band::before { content: ''; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -24vw; top: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(140,116,240,.22), transparent); }

/* ---------------------------------------------------------------- Story (sticky phone) */
/* ---------------------------------------------------------------- Story (sticky phone) */
.story { position: relative; padding: 20px 0 120px; }
.story__head { margin-bottom: clamp(50px, 8vw, 100px); display: grid; gap: 28px 60px; grid-template-columns: 1.2fr .8fr; align-items: end; }
.story__grid { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(40px, 7vw, 120px); position: relative; }
.story__sticky { position: sticky; top: calc(var(--header) + 3vh); height: calc(100vh - var(--header) - 6vh); display: grid; place-items: center; }
.story__sticky .phone { --w: clamp(270px, min(25vw, 38vh), 340px); }
.chapters { position: relative; padding-left: clamp(24px, 3vw, 46px); }
.chapter { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; }
.chapter__n { font: 300 clamp(4.6rem, 10vw, 9.5rem)/.8 var(--serif); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(244,239,230,.2); margin-bottom: 30px; transition: -webkit-text-stroke-color .8s, color .8s; }
.chapter.is-active .chapter__n { color: rgba(242,181,76,.07); -webkit-text-stroke-color: rgba(242,181,76,.9); }
.chapter h3 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin-bottom: 20px; }
.chapter p { color: var(--ivory-2); font-size: var(--fs-lead); max-width: 29em; }
.chapter ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; color: var(--mute); }
.chapter li { display: flex; gap: 14px; align-items: baseline; }
.chapter li::before { content: ''; flex: none; width: 16px; height: 1px; background: var(--amber); transform: translateY(-5px); }
.chapter__phone { display: none; }
.rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rail i { position: absolute; left: -1px; width: 3px; top: 0; height: 100%; transform-origin: top; transform: scaleY(var(--rp, 0)); background: linear-gradient(var(--amber), rgba(242,181,76,.15)); border-radius: 2px; }
@media (max-width: 900px) {
  .story__head { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; }
  .story__sticky { display: none; }
  .chapters { padding-left: 22px; }
  .chapter { min-height: 0; padding: 60px 0; }
  .chapter__phone { display: flex; justify-content: center; margin-top: 44px; }
  .chapter__phone .phone { --w: min(290px, 74vw); }
}


/* ---------------------------------------------------------------- Owner duo */
/* ---------------------------------------------------------------- Owner spotlight */
.owner { position: relative; padding: clamp(120px, 15vw, 200px) 0; overflow: clip; isolation: isolate; background: linear-gradient(180deg, var(--ink) 0%, #120E1F 30%, #170F2A 60%, var(--ink) 100%); }
.owner::before { content: ''; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(140,116,240,.22), transparent); }
.owner__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.duo { position: relative; height: clamp(600px, 62vw, 780px); }
.duo .phone { --w: clamp(240px, 22vw, 310px); position: absolute; }
.duo .phone:first-child { left: 2%; top: 0; transform: rotate(-4deg) translateY(calc(var(--py, 0) * .25px)); }
.duo .phone:last-child { right: 0; bottom: 0; transform: rotate(4deg) translateY(calc(var(--py, 0) * -.25px)); }
.owner__list { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.owner__list div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.owner__list b { display: block; font: 400 1.22rem/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 6px; }
.owner__list span { color: var(--mute); font-size: .93rem; }
@media (max-width: 960px) { .owner__grid { grid-template-columns: 1fr; } .duo { height: 640px; max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) { .owner__list { grid-template-columns: 1fr; } .duo { height: 120vw; } .duo .phone { --w: 58vw; } }


/* ---------------------------------------------------------------- Inner page heroes */
.phero { position: relative; padding: calc(var(--header) + clamp(80px, 12vw, 150px)) 0 clamp(70px, 10vw, 120px); overflow: clip; isolation: isolate; }
.phero--img { min-height: 94svh; display: flex; align-items: flex-end; }
.phero__img { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center 30%; transform: translateY(calc(var(--py, 0) * 1px)); }
.phero__img::before { content: ''; position: absolute; inset: 0; background: inherit; animation: kenburns 24s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.phero--img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,8,12,.7) 0%, rgba(9,8,12,.2) 35%, rgba(9,8,12,.72) 74%, var(--ink) 100%); }
.phero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 82% 18%, rgba(140,116,240,.15), transparent 70%), radial-gradient(40% 50% at 8% 92%, rgba(242,181,76,.11), transparent 70%); }
.phero h1 { font-size: clamp(3.1rem, 9vw, 9.2rem); line-height: .92; letter-spacing: -.045em; max-width: 11em; }
.phero h1 em { color: var(--amber); }
.phero .lead { margin-top: 30px; }

/* Feature chapters on inner pages */
.fchap { padding: clamp(90px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.fchap__grid { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: clamp(40px, 8vw, 130px); align-items: center; }
.fchap--flip .fchap__grid { grid-template-columns: minmax(280px, 380px) 1fr; }
.fchap--flip .fchap__media { order: -1; }
.fchap__n { font: 300 italic 1rem/1 var(--serif); color: var(--amber); margin-bottom: 24px; display: block; }
.fchap h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); margin-bottom: 24px; }
.fchap h2 em { color: var(--amber); }
.fchap p { color: var(--ivory-2); font-size: var(--fs-lead); max-width: 30em; }
.fchap ul { list-style: none; margin: 28px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding: 24px 0 0; max-width: 32em; }
.fchap li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ivory-2); }
.fchap li svg { width: 18px; height: 18px; color: var(--amber); margin-top: 4px; }
.fchap__media { display: flex; justify-content: center; }
.fchap__media .phone { --w: clamp(260px, 24vw, 330px); }
@media (max-width: 880px) { .fchap__grid, .fchap--flip .fchap__grid { grid-template-columns: 1fr; } .fchap--flip .fchap__media { order: 0; } .fchap__media .phone { --w: min(290px, 74vw); } }

/* Steps (how it works) */
.steps { padding: clamp(90px, 12vw, 160px) 0; }
.steps + .steps { border-top: 1px solid var(--line); }
.steps__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: s; list-style: none; padding: 0; }
.step { padding: 36px 28px 30px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font: 300 clamp(3rem, 5vw, 4.6rem)/1 var(--serif); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(242,181,76,.8); margin-bottom: 26px; }
.step h3 { font-size: 1.55rem; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--mute); margin: 0; font-size: .97rem; }
.step__bar { position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--amber); transition: width 1.4s var(--ease); }
.step + .step .step__bar { left: 28px; }
.in .step__bar { width: 46%; }
@media (max-width: 900px) { .steps__grid { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } .step:nth-child(3) .step__bar { left: 0; } }
@media (max-width: 560px) { .steps__grid { grid-template-columns: 1fr; } .step, .step + .step { padding: 30px 0; border-right: 0; border-top: 1px solid var(--line); } .step + .step .step__bar { left: 0; } }

/* Interactive demo */
.demo { padding: clamp(100px, 13vw, 180px) 0; border-top: 1px solid var(--line); background: radial-gradient(50% 50% at 75% 50%, rgba(140,116,240,.12), transparent 70%); }
.demo__grid { display: grid; grid-template-columns: 1fr minmax(290px, 380px); gap: clamp(40px, 8vw, 120px); align-items: center; }
.demo__phone { display: flex; justify-content: center; }
.demo__phone .phone { --w: clamp(280px, 26vw, 350px); }
.demo [data-pick] { cursor: pointer; }
.demo [data-pick]:hover { border-color: var(--app-primary); }
.demo .u-btn[data-go] { cursor: pointer; }
.demo__log { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.demo__log li { display: flex; gap: 14px; align-items: center; color: var(--mute-2); transition: color .5s; }
.demo__log li.done { color: var(--ivory); }
.demo__log li i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: background .5s, border-color .5s; color: transparent; }
.demo__log li.done i { background: var(--amber); border-color: var(--amber); color: #1B1406; }
.demo__log svg { width: 12px; height: 12px; }
.demo__actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.demo__actions button { font: inherit; cursor: pointer; background: none; }
@media (max-width: 860px) { .demo__grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding: clamp(30px, 5vw, 70px) 0 clamp(100px, 13vw, 170px); }
.faq__group { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 40px; padding: 54px 0; border-top: 1px solid var(--line); }
.faq__group h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); position: sticky; top: calc(var(--header) + 30px); align-self: start; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 400 clamp(1.15rem, 1.8vw, 1.45rem)/1.3 var(--serif); letter-spacing: -.01em; transition: color .3s; }
.qa summary:hover { color: var(--amber); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--ivory), var(--ivory)) center / 12px 1.5px no-repeat, linear-gradient(var(--ivory), var(--ivory)) center / 1.5px 12px no-repeat; transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.qa[open] summary::after { transform: rotate(135deg); background-color: rgba(242,181,76,.14); border-color: rgba(242,181,76,.5); }
.qa__a { color: var(--ivory-2); max-width: 44em; padding: 0 0 26px; }
.qa[open] .qa__a { animation: fadeUp .6s var(--ease); }
.qa__a p:last-child { margin: 0; }
@media (max-width: 800px) { .faq__group { grid-template-columns: 1fr; gap: 10px; } .faq__group h2 { position: static; } }

/* Support / contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: start; padding-bottom: clamp(80px, 10vw, 130px); }
.contact__card { border-radius: 28px; padding: clamp(28px, 4vw, 46px); background: linear-gradient(160deg, rgba(242,181,76,.11), rgba(140,116,240,.07)); border: 1px solid var(--line-2); }
.contact__card h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 14px; }
.contact__mail { font: 300 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--serif); margin: 22px 0 8px; word-break: break-word; }
.quick { border-top: 1px solid var(--line); }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.quick a:hover { padding-left: 10px; color: var(--amber); }
.quick b { font: 400 1.3rem/1.2 var(--serif); display: block; }
.quick span { display: block; color: var(--mute); font-size: .9rem; margin-top: 4px; }
.quick svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Legal */
.doc { padding: calc(var(--header) + clamp(60px, 9vw, 120px)) 0 clamp(90px, 12vw, 150px); position: relative; }
.doc__head { max-width: 920px; margin-bottom: clamp(40px, 6vw, 70px); }
.doc__head h1 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -.045em; line-height: .95; }
.doc__head .lead { margin-top: 24px; }
.doc__meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 22px; color: var(--mute); font-size: .86rem; }
.doc__grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.toc { position: sticky; top: calc(var(--header) + 30px); font-size: .9rem; }
.toc summary { font: 800 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; text-decoration: none; color: var(--mute); margin-left: -1px; border-left: 1px solid transparent; transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-here { color: var(--ivory); border-left-color: var(--amber); }
.prose { max-width: 70ch; }
.prose section { padding: 34px 0; border-top: 1px solid var(--line); }
.prose section:first-of-type { border-top: 0; padding-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.025em; margin-bottom: 16px; }
.prose p, .prose li { color: var(--ivory-2); line-height: 1.78; }
.prose ul { padding-left: 0; list-style: none; margin: 0; display: grid; gap: 10px; }
.prose li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.prose li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-top: .74em; }
.notice { border-radius: 18px; border: 1px solid rgba(242,181,76,.35); background: rgba(242,181,76,.07); padding: 18px 22px; color: var(--ivory-2); font-size: .95rem; margin-bottom: 40px; max-width: 70ch; display: flex; gap: 14px; }
.notice svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 3px; }
mark.pending { background: rgba(242,181,76,.13); color: var(--amber); border: 1px dashed rgba(242,181,76,.65); border-radius: 6px; padding: 1px 6px; font-weight: 700; font-size: .92em; }
.docnav { margin-top: 70px; }
.docnav h2 { font: 800 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.docnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 30px; border-top: 1px solid var(--line); }
.docnav a { padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ivory-2); transition: color .3s; }
.docnav a:hover { color: var(--amber); }
.docnav svg { width: 16px; height: 16px; flex: none; }
.docindex { border-top: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.docindex a { display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease); }
.docindex a:hover { padding-left: 12px; }
.docindex a:hover b { color: var(--amber); }
.docindex i { font: 300 italic 1rem/1 var(--serif); color: var(--amber); }
.docindex b { font: 400 clamp(1.4rem, 2.6vw, 2.1rem)/1.1 var(--serif); letter-spacing: -.02em; display: block; transition: color .3s; }
.docindex span { color: var(--mute); font-size: .95rem; display: block; margin-top: 6px; }
.docindex svg { width: 22px; height: 22px; color: var(--mute); }
@media (max-width: 900px) { .doc__grid { grid-template-columns: 1fr; gap: 10px; } .toc { position: static; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; } .toc summary { margin: 0; cursor: pointer; display: flex; justify-content: space-between; } .toc summary::after { content: '+'; font-size: 1rem; color: var(--amber); } .toc details[open] summary::after { content: '−'; } .toc details[open] summary { margin-bottom: 12px; } }
@media (max-width: 520px) { .toc ol { columns: 1; } .docindex a { grid-template-columns: 34px 1fr; } .docindex svg { display: none; } }

/* ---------------------------------------------------------------- Footer */
.ft { border-top: 1px solid var(--line); padding: 74px 0 calc(40px + env(safe-area-inset-bottom)); position: relative; z-index: 2; background: var(--ink); }
.ft__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.ft h2 { font: 800 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft a { text-decoration: none; color: var(--ivory-2); font-size: .95rem; transition: color .3s; }
.ft a:hover { color: var(--amber); }
.ft__tag { font: 300 1.55rem/1.25 var(--serif); letter-spacing: -.02em; margin-top: 18px; max-width: 13em; color: var(--ivory-2); }
.ft__base { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; color: var(--mute-2); font-size: .82rem; }
@media (max-width: 860px) { .ft__grid { grid-template-columns: 1fr 1fr; } .ft__grid > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.nf h1 { font-size: clamp(6rem, 22vw, 16rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(242,181,76,.8); }
.nf h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 30px 0 30px; }


/* ---------------------------------------------------------------- Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .rv, .hx [data-enter] { opacity: 1; transform: none; }
  .hx .ln > span { transform: none; }
  .tile__img, .phero__img, .duo .phone { transform: none !important; }
  .chart__bars i, .u-chart i, .u-ev { transform: none; opacity: 1; }
  .intro__text .w { color: var(--ivory); }
  .marquee__track { animation: none; }
}
.hx__fallback .u-chart i { transform: none; }
