/* AXOW v3. Bou-inspired structure, AXOW identity: white + soft champagne-gold gradients, Geist light display.
   Light by default, adapts to system dark mode. Tokens documented in DESIGN.md. */

/* ---------- Font (self-hosted, latin, variable 300-700) ---------- */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../assets/fonts/geist-latin.woff2) format('woff2');
}

:root {
  --canvas: #FFFFFF;
  --ivory: #F7F4EE;
  --ink: #111111;
  --ink-2: #555555;          /* 7.5:1 on white */
  --ink-3: #6A6A6A;          /* 5.4:1 on white, AA for small text */
  --line: #E6E1D8;
  --gold: #C9A96E;           /* decorative accent, large type on dark */
  --gold-ink: #866830;       /* gold as small text on light (AA 5.2:1) */
  --gold-display: #A8864A;   /* gold as large text on light (AA large) */
  --chip: #F1EDE5;
  --dark: #0F0F0F;
  --dark-2: #1A1A1A;
  --on-dark: #FFFFFF;
  --on-dark-2: #B5B1AA;
  --glow-1: rgba(201, 169, 110, .20);
  --glow-2: rgba(201, 169, 110, .12);

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* radius system: pills for actions/chips, 8px for media/cards, 14px for large panels, 10px inputs */
  --r-media: 8px;
  --r-panel: 14px;
  --r-input: 10px;
  --r-pill: 9999px;

  --section: clamp(96px, 12vw, 168px);
  --gutter: clamp(20px, 4.2vw, 60px);
  --container: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
  --dark-bg: #0B0B0C;      /* luxury black */
  --sunset: radial-gradient(70% 60% at 50% 0%, #26221C 0%, #121110 45%, #0B0B0C 75%);
  --rose: #C9A96E;         /* champagne accent (decorative) */
  --rose-ink: #8A6D3B;     /* deep champagne for text on light (AA) */
  --rose-light: #E6D3AE;   /* champagne for text on black (AA 12:1) */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-display); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- Accessibility utilities ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--canvas); padding: 12px 18px; border-radius: var(--r-input);
  font-weight: 600; font-size: 15px; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html[lang="es"] [data-only="en"], html:not([lang="es"]) [data-only="es"] { display: none !important; }

/* ---------- Dark tone sections: tokens re-scoped so every component adapts ---------- */
.tone-dark {
  --canvas: #0B0B0C; --ivory: #161513; --ink: #FFFFFF; --ink-2: #D9D4CB; --ink-3: #B3ADA3;
  --line: #2A2723; --chip: #1C1A17; --gold-ink: #E6D3AE; --gold-display: #E6D3AE; --rose-light: #E6D3AE;
  --glow-1: rgba(230, 211, 174, .08); --glow-2: rgba(201, 169, 110, .12);
  color: var(--ink);
}
.tone-dark .h-lg b, .tone-dark .statement b, .tone-dark .h-xl b { color: var(--rose-light); }
/* key words in titles: soft red on light sections */
.statement b, .h-lg b { color: var(--rose-ink); }
.hero .h-xl b, .page-head .h-xl b { color: inherit; }
.tone-dark .btn-dark:hover { background: #F3E7E4; }
.tone-dark .tool img { filter: grayscale(1) brightness(0) invert(1); }
.tone-dark .tool:hover img { filter: none; }
.tone-dark .arrow-link::after { background: var(--gold); color: #111; }
/* seamless light -> black -> light: eased blend through warm ivory and espresso tones (no flat gray, no hard edge) */
.blend {
  --b: 340px;
  position: relative; isolation: isolate;
  padding-top: calc(var(--section) + 150px); padding-bottom: calc(var(--section) + 150px);
  background: linear-gradient(180deg, #FFFFFF 0, #FBF9F5 calc(var(--b) * .1), #F2EEE7 calc(var(--b) * .2), #E2DCD2 calc(var(--b) * .3), #C9C1B4 calc(var(--b) * .4), #A69E91 calc(var(--b) * .5), #7E776D calc(var(--b) * .6), #57524B calc(var(--b) * .7), #36332F calc(var(--b) * .8), #1C1B19 calc(var(--b) * .9), var(--dark-bg) var(--b), var(--dark-bg) calc(100% - var(--b)), #1C1B19 calc(100% - var(--b) * .9), #36332F calc(100% - var(--b) * .8), #57524B calc(100% - var(--b) * .7), #7E776D calc(100% - var(--b) * .6), #A69E91 calc(100% - var(--b) * .5), #C9C1B4 calc(100% - var(--b) * .4), #E2DCD2 calc(100% - var(--b) * .3), #F2EEE7 calc(100% - var(--b) * .2), #FBF9F5 calc(100% - var(--b) * .1), #FFFFFF 100%);
}
.blend::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 34% at 88% 64%, rgba(201,169,110,.16), transparent 70%), radial-gradient(55% 32% at 22% 40%, rgba(230,211,174,.07), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--b), #000 calc(100% - var(--b)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--b), #000 calc(100% - var(--b)), transparent 100%);
}
.blend-top {
  --b: 480px;
  background: radial-gradient(70% 40% at 90% 92%, rgba(201,169,110,.14), transparent 70%), linear-gradient(180deg, #FFFFFF 0, #FBF9F5 calc(var(--b) * .1), #F2EEE7 calc(var(--b) * .2), #E2DCD2 calc(var(--b) * .3), #C9C1B4 calc(var(--b) * .4), #A69E91 calc(var(--b) * .5), #7E776D calc(var(--b) * .6), #57524B calc(var(--b) * .7), #36332F calc(var(--b) * .8), #1C1B19 calc(var(--b) * .9), var(--dark-bg) var(--b));
}
.footer.blend-top { padding-top: calc(clamp(80px, 9vw, 130px) + 380px); }

/* ---------- Soft gold atmosphere (Bou-style gradient wash) ---------- */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  background:
    radial-gradient(55% 60% at 12% 18%, var(--glow-1), transparent 70%),
    radial-gradient(45% 55% at 88% 70%, var(--glow-2), transparent 72%),
    radial-gradient(35% 40% at 60% 100%, rgba(232, 160, 106, .10), transparent 70%);
}

/* ---------- Type ---------- */
/* three pillars under the manifesto */
.method-head { margin: 72px auto 0; max-width: 62ch; text-align: center; }
.method-head .lead { margin-top: 12px; }
.method-head + .pillars { margin-top: 36px; }
.pillars { list-style: none; padding: 0; margin: 56px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillars li { padding: 28px 28px 8px 0; }
.pillars li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.pillars .k { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--rose-ink); }
.pillars h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.02em; margin: 10px 0 8px; }
.pillars p { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 34ch; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 22px 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
}

.statement {
  font-weight: 300; letter-spacing: -0.022em; line-height: 1.12;
  font-size: clamp(34px, 4.4vw, 64px);
}
.statement b, .statement strong, .h-xl b, .h-lg b { font-weight: 600; }
.h-xl { font-weight: 300; letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(44px, 6.6vw, 104px); }
.h-lg { font-weight: 300; letter-spacing: -0.022em; line-height: 1.1; font-size: clamp(32px, 3.8vw, 56px); }
.h-md { font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; font-size: clamp(22px, 2vw, 28px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 8px 0 24px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:active { transform: scale(0.97); }
.btn .arw {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  transition: transform .4s var(--ease);
}
.btn .arw::before { content: "→"; font-size: 15px; line-height: 1; }
.btn:hover .arw { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--canvas); }
.btn-dark .arw { background: var(--canvas); color: var(--ink); }
.btn-dark:hover { background: #2A2A2A; }
.btn-light { background: #FFFFFF; color: #111111; }
.btn-light .arw { background: #111111; color: #FFFFFF; }
.btn-gold { background: #0B0B0C; color: #FFFFFF; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(230, 211, 174, .18); }
.btn-gold .arw { background: #FFFFFF; color: #0B0B0C; }
.btn-gold:hover { background: #26231F; }
.tone-dark .btn-gold, .hero-bou .btn-gold { background: #FFFFFF; color: #0B0B0C; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.tone-dark .btn-gold .arw, .hero-bou .btn-gold .arw { background: #0B0B0C; color: #FFFFFF; }
.tone-dark .btn-gold:hover, .hero-bou .btn-gold:hover { background: #EFEAE1; }
.btn-line { border: 1px solid currentColor; padding-right: 24px; }
.btn-line .arw { display: none; }

/* text link with circle arrow, like "About us (→)" */
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.arrow-link::after {
  content: "→"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--canvas); font-size: 13px; transition: transform .4s var(--ease);
}
.arrow-link:hover::after { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--r-pill); background: var(--chip); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 76px;
  --nav-ink: #FFFFFF;
  color: var(--nav-ink);
  transition: background-color .4s var(--ease), color .4s, box-shadow .4s;
}
.nav.is-solid {
  --nav-ink: var(--ink);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav .container { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--nav-ink, var(--ink)); justify-self: start; }
.wordmark .lm, .wordmark .lw { display: block; background: currentColor; }
.wordmark .lm { width: 30px; height: 30px; -webkit-mask: url(../assets/brand/axow-mark.png) center / contain no-repeat; mask: url(../assets/brand/axow-mark.png) center / contain no-repeat; }
.wordmark .lw { width: 92px; height: 20px; -webkit-mask: url(../assets/brand/axow-word.png) left center / contain no-repeat; mask: url(../assets/brand/axow-word.png) left center / contain no-repeat; }
.footer .wordmark .lm { width: 40px; height: 40px; }
.footer .wordmark .lw { width: 118px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav-links a { opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 18px; justify-self: end; }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; padding: 6px 6px 6px 16px; border-radius: var(--r-pill); color: #FFFFFF;
  background: #0B0B0C; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .5); }
.nav:not(.is-solid) .nav-cta { background: #FFFFFF; color: #0B0B0C; }
.nav:not(.is-solid) .nav-cta::after { background: #0B0B0C; color: #FFFFFF; }
.nav-cta::after {
  content: "→"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #FFFFFF; color: #0B0B0C; font-size: 13px; transition: transform .4s var(--ease);
}
.nav-cta:hover::after { transform: translateX(3px); }
.lang { display: inline-flex; border: 1px solid color-mix(in srgb, var(--nav-ink) 30%, transparent); border-radius: var(--r-pill); overflow: hidden; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lang a { display: inline-grid; place-items: center; padding: 0 11px; min-height: 30px; min-width: 38px; color: var(--nav-ink); opacity: .7; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { background: var(--nav-ink); color: var(--canvas); opacity: 1; pointer-events: none; }
.nav:not(.is-solid) .lang a[aria-current="true"] { color: #111111; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--nav-ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .35s var(--ease), background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

/* ---------- Hero: full-screen film, centered statement ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100dvh; display: grid; place-items: center; text-align: center;
  color: #FFFFFF; background: var(--canvas);
}
.hero-film { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0B0A09; transform-origin: 50% 0; }
.hero-film video, .hero-film img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); animation: film-drift 18s var(--ease) forwards;
}
.hero-film .is-temp { filter: blur(14px) saturate(1.15) brightness(.8); object-position: 50% 15%; }
.hero-film::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,.45) 0%, rgba(10,9,8,.25) 40%, rgba(10,9,8,.55) 100%);
}
@keyframes film-drift { to { transform: scale(1); } }
.hero-inner { padding: 120px 0 96px; max-width: 980px; }
.hero .h-xl { text-wrap: balance; font-size: clamp(40px, 5.4vw, 84px); }
.hero-inner { max-width: 1120px; }
.hero-sub { margin: 26px auto 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.86); }
.hero-pill {
  margin: 36px auto 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-pill .btn { min-height: 44px; }
.hero-pill .ghost { padding: 0 18px; font-size: 15px; color: rgba(255,255,255,.9); }
.hero-pill .ghost:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.film-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.film-toggle[hidden] { display: none; }
.film-toggle span { width: 12px; height: 14px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.film-toggle[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.hero [data-in] { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero [data-in="1"] { animation-delay: .15s; }
.hero [data-in="2"] { animation-delay: .35s; }
.hero [data-in="3"] { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-film { animation: film-out linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-inner, .film-toggle { animation: copy-out linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
  }
}
@keyframes film-out { to { transform: scale(.9); border-radius: 18px; filter: brightness(.6); } }
@keyframes copy-out { to { transform: translateY(-80px); opacity: 0; } }

.hero-collage { color: var(--ink); background: var(--canvas); }
.hero-collage { text-align: left; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 128px; padding-bottom: 88px; }
.hero-collage .hero-inner { padding: 0; max-width: 640px; }
.hero-collage .h-xl { font-size: clamp(42px, 5vw, 80px); }
.hero-collage .hero-sub { color: var(--ink-2); margin-left: 0; }
.hero-ctas { margin-top: 36px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* floating creatives: outer wrap drifts with scroll, inner card follows the pointer */
.float-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fc-wrap { position: absolute; }
.fw-1 { left: 47%; top: 9%; width: clamp(110px, 9vw, 150px); }
.fw-2 { left: 51%; bottom: 7%; width: clamp(90px, 7vw, 116px); }
.fw-3 { right: 1.5%; top: 9%; width: clamp(110px, 9vw, 140px); }
.fw-4 { right: 2%; bottom: 5%; width: clamp(110px, 9vw, 148px); }
.fw-5 { left: 2%; bottom: 6%; width: clamp(80px, 6.5vw, 104px); }
.fw-6 { left: 56.5%; top: 40%; width: clamp(70px, 5.5vw, 88px); }
.fw-7 { left: 1.5%; top: 11%; width: clamp(70px, 5.5vw, 90px); }
.fc {
  position: relative; border-radius: 12px; overflow: hidden; background: var(--ivory);
  box-shadow: 0 30px 60px -28px rgba(20, 16, 10, .45);
  translate: var(--px, 0) var(--py, 0); transition: translate .6s var(--ease);
}
.fw-1 .fc { rotate: -7deg; } .fw-2 .fc { rotate: 5deg; } .fw-3 .fc { rotate: 4deg; } .fw-4 .fc { rotate: 6deg; }
.fw-5 .fc { rotate: -9deg; } .fw-6 .fc { rotate: -5deg; } .fw-7 .fc { rotate: 9deg; }
.fc img { width: 100%; height: 100%; object-fit: cover; }
.fc.ph { background: radial-gradient(90% 90% at 25% 15%, var(--glow-2), transparent 70%), radial-gradient(80% 80% at 80% 90%, var(--glow-1), transparent 70%), var(--ivory); }
.fw-2 .fc.ph, .fw-6 .fc.ph { background: radial-gradient(80% 60% at 50% 30%, rgba(201,169,110,.35), transparent 70%), #17140F; }
.fw-5 .fc.ph { background: radial-gradient(90% 90% at 70% 20%, var(--glow-1), transparent 70%), #EFE7D8; }
.fc-chip { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); color: #111; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.play-s { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255,255,255,.92); }
.play-s::before { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #111; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .fc-wrap { animation: float-up linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .fw-2, .fw-5, .fw-7 { animation-name: float-up-more; }
  }
}
@keyframes float-up { to { transform: translateY(-110px); } }
@keyframes float-up-more { to { transform: translateY(-190px); } }

/* AI chat demo (illustrative, labeled "Example") */
.chat-card {
  position: relative; z-index: 3; justify-self: end; width: min(380px, 100%);
  background: var(--canvas); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 80px -36px rgba(20, 16, 10, .5); text-align: left; overflow: hidden;
}
.chat-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.chat-head .chat-tag { margin-left: auto; }
.chat-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); background: var(--ink); color: var(--canvas); }
.chat-tabs { display: flex; gap: 4px; flex: 1; min-width: 0; }
.chat-tab { font-size: 12px; padding: 4px 9px; border-radius: var(--r-pill); color: var(--ink-2); white-space: nowrap; transition: background-color .3s, color .3s; }
.chat-tab:hover { color: var(--ink); }
.chat-tab[aria-current="true"] { background: var(--canvas); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.chat-pause { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--canvas); flex: none; }
.chat-pause span { width: 8px; height: 10px; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.chat-pause[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--ink); margin-left: 2px; }
.chat-pause:hover { color: var(--ink); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: #111; background: radial-gradient(circle at 30% 30%, #FBE6D2, #E8A06A 70%, #C9A96E); flex: none; }
.who { display: grid; line-height: 1.25; }
.who b { font-size: 14px; font-weight: 600; }
.who span { font-size: 12px; color: var(--ink-3); }
.chat-body { position: relative; padding: 14px; height: 392px; overflow: hidden; }
.chat-body .chat-head { margin: -14px -14px 12px; }
.chat { list-style: none; display: grid; gap: 8px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
.msg.user { justify-self: end; background: var(--ink); color: var(--canvas); border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: var(--chip); color: var(--ink); border-bottom-left-radius: 4px; }
.qrs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.qr { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: var(--canvas); transition: background-color .3s, color .3s, border-color .3s; }
.qr.is-picked { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.confirm { justify-self: stretch; display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--canvas), color-mix(in srgb, var(--gold) 12%, var(--canvas))); font-size: 13px; position: relative; padding-left: 46px; }
.confirm .ok { position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: #1F7A4D; }
.confirm .ok::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.confirm .ct { font-size: 14px; font-weight: 600; }
.confirm .row { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.confirm .row b { color: var(--ink); font-weight: 600; }
.confirm .note { font-size: 12px; color: var(--ink-3); }
.chat-card.is-animated .step:not(.is-on) { display: none; }
.chat-card.is-animated .step.is-on { animation: msg-in .45s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing { display: none; gap: 4px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--chip); width: max-content; }
.chat-card.is-typing .typing { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; color: var(--ink-3); }
.chat-input .send { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; }
.chat-input .send::after { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--canvas); font-size: 13px; }

/* ---------- Hero (Bou-style): mosaic of creatives behind a centered statement ---------- */
.hero-bou { background: var(--dark-bg); color: #FFFFFF; }
.hero-bou .hero-film { background: var(--sunset) !important; }
.hero-bou .hero-film { background: var(--dark-bg); }
.hero-bou .hero-film::after {
  background:
    radial-gradient(ellipse 50% 50% at 50% 46%, rgba(11, 11, 12, .45) 0%, rgba(11, 11, 12, .15) 70%, rgba(11, 11, 12, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%);
}
.mosaic { position: absolute; inset: -18% -12%; display: grid; gap: 18px; align-content: center; rotate: -7deg; }
.mrow { display: flex; gap: 18px; width: max-content; animation: rail 90s linear infinite; }
.mrow:nth-child(2) { animation-direction: reverse; animation-duration: 110s; margin-left: -120px; }
.mrow:nth-child(3) { animation-duration: 100s; margin-left: -60px; }
.hero-bou.is-paused .mrow { animation-play-state: paused; }
.mtile { flex: none; width: clamp(150px, 14vw, 230px); aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.mtile img { width: 100%; height: 100%; object-fit: cover; transform: none; animation: none; filter: saturate(.85) brightness(.82); }
.hero-title .nw { white-space: nowrap; }
.hero-title b { display: block; }

/* still ads at the sides of the hero: no autoplay motion, only a small pointer drift */
.hero-sides { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sc { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; rotate: var(--rot, 0deg);
  translate: var(--px, 0px) var(--py, 0px); transition: translate .9s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(230, 211, 174, .1); animation: sc-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.sc img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* empty flyer slot (until new flyers are generated) */
.sc.is-empty, .fan-card.is-empty, .strip-tile.ad.is-empty { display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(230, 211, 174, .12), rgba(201, 169, 110, .05) 55%, rgba(0, 0, 0, .2));
  border: 1px solid rgba(230, 211, 174, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sc.is-empty span, .strip-tile.ad.is-empty span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(230, 211, 174, .55); }
.strip-tile.ad.is-empty { width: auto; }
.sc-l1 { left: -2.5%; top: 11%; width: 15vw; animation-delay: .15s; }
.sc-l2 { left: 7%; top: 42%; width: 12vw; animation-delay: .3s; }
.sc-l3 { left: -1%; top: 70%; width: 14vw; animation-delay: .45s; }
.sc-r1 { right: -2%; top: 10%; width: 15vw; animation-delay: .2s; }
.sc-r2 { right: 7%; top: 38%; width: 11vw; animation-delay: .35s; }
.sc-r3 { right: -2.5%; top: 70%; width: 11vw; animation-delay: .5s; }
@keyframes sc-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.hero-fan { display: none; }
@media (max-width: 1240px) { .sc-l2, .sc-r2 { display: none; } .sc-l1, .sc-r1 { width: 13vw; } }
@media (max-width: 900px) {
  .hero-sides { display: none; }
  .hero-fan { display: flex; justify-content: center; margin-top: 36px; }
  .fan-card { display: block; width: 28vw; max-width: 150px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; rotate: var(--rot); margin: 0 -12px;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); }
  .fan-card img { width: 100%; height: 100%; object-fit: cover; }
  .fan-card:nth-child(2) { position: relative; z-index: 1; translate: 0 -10px; }
}
@media (prefers-reduced-motion: reduce) { .sc { animation: none; transition: none; } }

.hero-bou .hero-inner { position: relative; z-index: 2; max-width: 1040px; padding: 140px 0 120px; display: grid; justify-items: center; }
.hero-title { font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(40px, 5.6vw, 88px); max-width: 17ch; text-wrap: balance; }
.hero-lede { margin-top: 22px; font-size: clamp(18px, 1.7vw, 23px); color: rgba(255, 248, 242, .88); max-width: 40ch; text-wrap: balance; }
.hero-title b { font-weight: 500; color: var(--rose-light); }
.hero-bou .hero-pill { margin-top: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 7px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pchip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.14);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; }
.psep { width: 1px; height: 22px; background: rgba(255,255,255,.3); margin: 0 6px; }
.hero-bou .hero-pill .btn { min-height: 42px; }
.hero-pill-solo { padding: 8px !important; }
.btn-xl { min-height: 62px !important; padding: 0 10px 0 32px; font-size: 18px; font-weight: 600; gap: 16px; }
.btn-xl .arw { width: 44px; height: 44px; }
.btn-xl .arw::before { font-size: 18px; }
.hero-more { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.35); }
.hero-more:hover { color: #FFFFFF; text-decoration-color: #FFFFFF; }
.hero-bou .film-toggle { bottom: 28px; }
/* soft landing from the wine hero into the white page (no hard edge) */
.hero-bou::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(252,237,223,.28) 40%, rgba(255,249,243,.82) 75%, #FFFFFF 100%);
}
.hero-bou .hero-inner { z-index: 2; }
.hero-bou .film-toggle { z-index: 3; bottom: 220px; }
.hero-bou .hero-inner { padding-bottom: 230px; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto .statement { max-width: 22ch; margin: 0 auto; text-wrap: balance; }
.manifesto .arrow-link { margin-top: 36px; }

/* ---------- What changes (pain -> outcome) ---------- */
.changes { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.changes .lead { margin-top: 22px; }
.chg-list { list-style: none; border-top: 1px solid var(--line); }
.chg { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr); gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.chg .was { color: var(--ink-3); font-size: 16px; }
.chg .arrow { color: var(--rose-ink); font-size: 18px; }
.chg .now { color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -.005em; }
.cta-bar p b { font-weight: 600; }

/* ---------- Work grid ---------- */
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
.work-card { display: block; }
.work-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden; background: var(--ivory); }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-media.ph {
  display: grid; place-items: center;
  background: radial-gradient(80% 90% at 20% 10%, var(--glow-2), transparent 70%), radial-gradient(70% 80% at 90% 90%, var(--glow-1), transparent 70%), var(--ivory);
}
.work-media.ph span { font-size: 13px; color: var(--ink-3); }
.work-card h3 { font-size: 18px; font-weight: 600; margin-top: 16px; letter-spacing: -.01em; }
.work-card p { color: var(--ink-3); font-size: 16px; margin: 2px 0 12px; }
.badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.92); color: #111111; }

/* ---------- Tools grid (logo wall) ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { display: grid; place-items: center; gap: 10px; aspect-ratio: 1 / .62; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px; }
.tool img { width: 34px; height: 34px; filter: grayscale(1) brightness(0); opacity: .85; transition: opacity .3s, filter .3s; }
.tool:hover img { filter: none; opacity: 1; }
.tool .word { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tool .name { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ---------- Testimonial card ---------- */
.quote-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); background: var(--ivory); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 54px); align-items: center; }
.quote-card blockquote p { font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; line-height: 1.25; letter-spacing: -.015em; }
.quote-card cite { display: block; margin-top: 20px; font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Offers (DFY / DWY / Hybrid) ---------- */
.offers { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.offers .lead { margin-top: 24px; }
.offers .arrow-link { margin-top: 32px; }
.offer-list { list-style: none; border-top: 1px solid var(--line); }
.offer-list li { border-bottom: 1px solid var(--line); }
.offer-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: baseline; padding: 26px 0; }
.offer-list .k { font-size: 13px; font-weight: 600; color: var(--rose-ink); letter-spacing: .06em; min-width: 46px; }
.offer-list h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.offer-list p { color: var(--ink-2); font-size: 16px; margin-top: 8px; max-width: 48ch; }
.offer-list .go { font-size: 22px; transition: transform .4s var(--ease); }
.offer-list a:hover .go { transform: translateX(6px); }
.offer-list a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- Moving rows (photo strip + team cards) ---------- */
.rail { position: relative; overflow: hidden; }
.rail-track { display: flex; gap: 22px; width: max-content; animation: rail 60s linear infinite; }
.rail.reverse .rail-track { animation-direction: reverse; }
.rail:hover .rail-track, .rail:focus-within .rail-track, .rail-group.is-paused .rail-track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }
.strip-tile { width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--ivory); flex: none; }
.strip-tile.ph { background: radial-gradient(90% 90% at 30% 20%, var(--glow-2), transparent 70%), radial-gradient(80% 80% at 80% 90%, var(--glow-1), transparent 70%), var(--ivory); display: grid; place-items: center; color: var(--ink-3); font-size: 13px; }
.strip-tile img { width: 100%; height: 100%; object-fit: cover; }
.strip-tile.ad { width: auto; aspect-ratio: auto; height: clamp(300px, 30vw, 420px); background: none; }
.strip-tile.ad img { width: auto; height: 100%; object-fit: contain; }
.rail-toggle {
  min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--canvas);
}
.rail-toggle:hover { color: var(--ink); }
.rail-bar { display: flex; justify-content: flex-end; margin: 18px auto 0; max-width: var(--container); padding: 0 var(--gutter); }

.team-card { background: linear-gradient(140deg, #FCEEE2 0%, #FFFDFA 45%, #F5E6CF 100%); color: var(--ink); border-radius: var(--r-panel); overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; position: relative; isolation: isolate; border: 1px solid #EADFC8; }
.team-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(201,169,110,.22), transparent 70%); }
.team-card .label { color: var(--gold-ink); }
.team-card .statement { margin: 14px auto 0; max-width: 20ch; }
.team-card .lead { color: var(--ink-2); margin: 20px auto 0; text-align: center; }
.team-rows { margin-top: 56px; display: grid; gap: 14px; }
.role { flex: none; width: 260px; border: 1px solid #E6DAC2; border-radius: var(--r-media); padding: 18px 20px; background: rgba(255,255,255,.75); }
.role strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.role span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.team-card .rail-toggle { background: rgba(255,255,255,.7); border-color: #E0D3B8; color: var(--ink-2); }
.team-card .rail-bar { padding: 0 var(--gutter); }
.founder { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; color: var(--ink-2); font-size: 15px; text-align: left; }
.founder .avatar { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #E8D6B0, #8A6E3C); flex: none; }
.founder b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ (details/summary) ---------- */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 300; transition: transform .35s var(--ease); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Quick links + CTA bar ---------- */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quick a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ink); font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; }
.quick a::after { content: "→"; transition: transform .4s var(--ease); }
.quick a:hover::after { transform: translateX(6px); }
.cta-bar { --x: 0; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-radius: var(--r-panel); padding: 28px 32px; background: linear-gradient(110deg, #FFFFFF 0%, #FDF5EC 55%, #F9E7D6 100%); border: 1px solid #F0DFCD; }
.cta-bar p { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -.015em; }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 9vw, 130px) 0 24px; }
.footer-hello { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.footer-hello .h-lg { font-size: clamp(30px, 3.2vw, 46px); }
.footer-hello .h-lg a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; }
.contact-card .label { margin-bottom: 8px; display: block; }
.contact-card a { font-size: 18px; }
.footer-panel { margin-top: clamp(64px, 8vw, 110px); background: var(--ivory); border-radius: var(--r-panel); padding: clamp(28px, 4vw, 48px); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .wordmark { color: var(--ink); font-size: 26px; }
.footer .foot-h { font-size: 17px; font-weight: 600; margin-bottom: 14px; letter-spacing: -.01em; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a, .footer-links button { color: var(--ink-3); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color .2s, color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Inner page header ---------- */
.page-head { padding: 168px 0 72px; }
.page-head .lead { margin-top: 24px; }
.page-head .meta { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.page-head .h2, .page-head .h-xl { margin-top: 10px; }
.page-head.legal-head { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.page-head.legal-head .h2 { font-weight: 300; letter-spacing: -.025em; line-height: 1.05; font-size: clamp(40px, 5vw, 72px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Services page ---------- */
.model { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.model:first-of-type { border-top: 0; }
.model .k { font-size: 13px; font-weight: 600; color: var(--gold-ink); letter-spacing: .1em; text-transform: uppercase; }
.model .h-lg { margin-top: 12px; }
.model .lead { margin-top: 20px; }
.model .btn { margin-top: 32px; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.inc > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.inc h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.inc p { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
.fit { margin-top: 28px; background: var(--ivory); border-radius: var(--r-panel); padding: 20px 22px; font-size: 15.5px; color: var(--ink-2); }
.fit b { color: var(--ink); font-weight: 600; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.steps-row > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.steps-row h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.steps-row p { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
.niches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.niches span { padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 16px; }

/* ---------- Apply (funnel) page ---------- */
.vsl { max-width: 980px; margin: 44px auto 0; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; background: #0B0A09; position: relative; display: grid; place-items: center; color: #FFFFFF; box-shadow: 0 40px 80px -40px rgba(20,16,10,.5); }
.vsl::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 40%, rgba(201,169,110,.28), transparent 70%); }
.vsl .inner { position: relative; text-align: center; padding: 24px; }
.vsl .play { width: 76px; height: 76px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; margin: 0 auto 16px; }
.vsl .play::before { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #111111; margin-left: 5px; }
.vsl p { color: rgba(255,255,255,.8); font-size: 15px; }
.apply-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.next-steps { list-style: none; counter-reset: s; margin-top: 28px; display: grid; gap: 20px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.next-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--canvas); font-size: 14px; font-weight: 600; }
.next-steps b { display: block; font-weight: 600; }
.next-steps span { color: var(--ink-2); font-size: 15.5px; }
.calendar-slot { margin-top: 40px; border: 1px dashed var(--line); border-radius: var(--r-panel); padding: 28px; text-align: center; color: var(--ink-3); font-size: 15px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 70px -40px rgba(20,16,10,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--canvas); border: 1px solid #8C877F; border-radius: var(--r-input);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #B42318; }
.field .err { display: none; font-size: 13px; color: #B42318; }
.field input:user-invalid ~ .err, .field textarea:user-invalid ~ .err, .field select:user-invalid ~ .err { display: block; }
fieldset.field { border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 15px; cursor: pointer; }
.radio-row input { accent-color: var(--ink); width: 16px; height: 16px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.form .btn { width: 100%; justify-content: space-between; }

/* ---------- Legal / long-form pages ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(32px, 6vw, 88px); padding: 56px 0 var(--section); }
.toc { position: sticky; top: 104px; align-self: start; font-size: 14px; }
.toc p { font-weight: 600; margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { font-size: 17px; line-height: 1.7; }
.prose h2 { font-weight: 500; font-size: 26px; letter-spacing: -.015em; line-height: 1.2; margin: 52px 0 14px; scroll-margin-top: 96px; }
.prose section:first-of-type h2 { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.plain { background: var(--ivory); border-left: 3px solid var(--gold); border-radius: 0 var(--r-input) var(--r-input) 0; padding: 14px 18px; margin: 0 0 18px; font-size: 15.5px; }
.plain b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; background: var(--ivory); }
.prose .table-wrap { overflow-x: auto; margin-bottom: 14px; }
.link-btn { font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.notice { font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-input); padding: 14px 16px; margin-bottom: 28px; }

/* ---------- Cookie consent banner ---------- */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 520px; margin-left: auto; background: var(--canvas); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: 0 24px 60px -20px rgba(0,0,0,.35); padding: 22px 22px 18px; }
.cc[hidden] { display: none; }
.cc h2 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cc p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cc p a { color: var(--ink); text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cc-actions .btn { flex: 1 1 140px; min-height: 44px; font-size: 14px; padding: 0 20px; justify-content: center; }
.cc-actions .btn .arw { display: none; }
.cc .btn-line { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-line { opacity: 1; transform: translateY(.4em); clip-path: inset(100% 0 -15% 0); transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal-line.is-in { clip-path: inset(-15% 0 -15% 0); transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax { animation: drift-y linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes drift-y { from { translate: 0 30px; } to { translate: 0 -30px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-line, .hero [data-in] { opacity: 1; transform: none; transition: none; animation: none; clip-path: none; }
  .hero-film video, .hero-film img { animation: none; transform: none; }
  .rail-track { animation: none; flex-wrap: wrap; width: auto; }
  .mrow { animation: none; }
  .rail-track [aria-hidden="true"] { display: none; }
  .rail-toggle, .chat-pause { display: none; }
  .fc-wrap { animation: none; }
  .typing i { animation: none; }
  .work-media img, .btn, .arrow-link::after { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .hero-collage { display: block; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 64px; }
  .hero-collage .hero-inner { margin: 0 auto; text-align: center; }
  .hero-collage .hero-sub { margin-left: auto; }
  .hero-ctas { justify-content: center; }
  .chat-card { justify-self: center; }
  .fw-2, .fw-3, .fw-5, .fw-6, .fw-7 { display: none; }
  .fw-1 { left: 2%; top: 9%; } .fw-4 { right: 2%; top: 9%; }
  .fw-1, .fw-4 { width: clamp(90px, 14vw, 140px); opacity: .55; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .changes, .offers, .faq-wrap, .model, .apply-grid, .footer-hello, .quote-card { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--r-input); padding: 16px 18px; }
  .nav-links { gap: 24px; }
}

/* ---------- Phone ---------- */
@media (max-width: 820px) {
  .nav .container { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto; z-index: 99; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--canvas); color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 1px 0 var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; font-size: 20px;
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-end .lang, .nav-end .nav-cta { display: none; }
  .nav-links .m-only { display: flex; }
  .nav.is-open { background: var(--canvas); --nav-ink: var(--ink); }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .menu-btn span { background: transparent; }
  .nav.is-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .work-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool { aspect-ratio: auto; padding: 22px 12px; }
  .quick { grid-template-columns: 1fr; }
  .contact-cards, .form-row, .inc, .steps-row, .footer-cols { grid-template-columns: 1fr; }
  .float-layer { display: none; }
  .hero-bou .hero-pill { flex-direction: row; flex-wrap: wrap; justify-content: center; border-radius: 24px; max-width: 340px; }
  .hero-title { font-size: clamp(34px, 9.6vw, 44px); }
  .hero-bou .film-toggle { top: 92px; bottom: auto; right: var(--gutter); }
  .hero-bou .hero-inner { padding: 120px 0 96px; }
  .hero-bou .psep { display: none; }
  .hero-bou .hero-pill .btn { width: 100%; justify-content: space-between; }
  .hero-pill-solo { width: 100%; max-width: 340px; }
  .mtile { width: 120px; }
  .hero-pill { flex-direction: column; border-radius: 22px; width: 100%; max-width: 360px; }
  .hero-pill .btn { width: 100%; justify-content: space-between; }
  .hero-pill .ghost { padding: 10px; }
  .offer-list a { grid-template-columns: 1fr auto; }
  .chg { grid-template-columns: 1fr; gap: 4px; }
  .chg .arrow { display: none; }
  .offer-list .k { grid-column: 1 / -1; }
}
.m-only { display: none; }

/* ---------- More booking CTAs ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.cta-row.center { justify-content: center; }
.cta-row.stack { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }
.btn-sm { min-height: 44px; font-size: 15px; }
/* phone: booking button that slides in after the first screen */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60;
    justify-content: space-between; min-height: 54px; translate: 0 140%; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(230, 211, 174, .35); transition: translate .45s cubic-bezier(.2, .7, .2, 1); }
  .sticky-cta.is-on { translate: 0 0; }
  .cta-row .btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.cta-row .arrow-link { margin-top: 0 !important; }

/* ---------- AXOW Method: big numbered steps (inside the dark band) ---------- */
.steps-big { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.steps-big li { border-top: 1px solid var(--line); padding-top: 26px; }
.steps-big .n { display: block; font-size: clamp(64px, 8vw, 116px); font-weight: 300; line-height: .9; letter-spacing: -.04em; color: var(--gold-ink); }
.steps-big h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; margin: 18px 0 8px; }
.steps-big p { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 32ch; }
.band-gap { height: clamp(96px, 11vw, 160px); }
@media (max-width: 760px) { .steps-big { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Before / After cards ---------- */
.ba-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ba { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.ba .was { font-size: 15px; color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.ba .now { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; letter-spacing: -.01em; font-weight: 500; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
.ba .now::before { content: "→ "; color: var(--rose-ink); }
@media (max-width: 1080px) { .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ba-grid { grid-template-columns: 1fr; } }
