/* Apron website · story-led direction. Brand v1.0: Rani Pink, Kohl Black, Marigold (sparingly); Bricolage Grotesque
   for display, Geist for text, Geist Mono for labels; Remix icons. Light pages with one Kohl band and one Rani band. */

@font-face { font-family: "Bricolage Grotesque Variable"; font-style: normal; font-display: swap; font-weight: 680 800; font-stretch: 96% 100%;
  src: url(/assets/fonts/bricolage-display.woff2) format("woff2-variations"); unicode-range: U+0020-007E, U+00A0, U+00B7, U+00E9, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2212; }
@font-face { font-family: "Bricolage Grotesque Variable"; font-style: normal; font-display: swap; font-weight: 680 800; font-stretch: 96% 100%;
  src: url(/assets/fonts/bricolage-display-rupee.woff2) format("woff2-variations"); unicode-range: U+20B9; }
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/geist-text.woff2) format("woff2-variations"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/geist-text-rupee.woff2) format("woff2-variations"); unicode-range: U+20B9; }
@font-face { font-family: "Geist Mono Variable"; font-style: normal; font-display: swap; font-weight: 400 600;
  src: url(/assets/fonts/geist-mono-tags.woff2) format("woff2-variations"); unicode-range: U+0020-007E, U+00B7, U+2013-2014; }

:root {
  --rani: #E0016C; --rani-hover: #C4005E; --rani-strong: #A10A4C; --rani-soft: #FFF3F6; --rani-wash: #FFE5EA; --rani-line: #FFA7BC; --rani-on-dark: #FD6B97;
  --marigold: #FEB938; --marigold-soft: #FFF4DC;
  --kohl: #120B15; --kohl-2: #1D1722; --kohl-3: #2A2330; --kohl-line: #3A3241; --kohl-ink: #CFC6D2; --kohl-head: #F6F1F6;
  --page: #FCFAFD; --page-2: #F7F2F6; --surface: #FFFFFF; --line: #E2DEE4; --line-soft: #EFEAF0;
  --ink: #120B15; --ink-soft: #47414A; --muted: #6A636D;
  --green: #1E8A4C;
  --font-display: "Bricolage Grotesque Variable", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-ui: "Geist Variable", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono Variable", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --radius: 18px;
  --shadow-shot: 0 1px 0 rgba(18, 11, 21, .04), 0 24px 60px -18px rgba(18, 11, 21, .32), 0 8px 18px -10px rgba(18, 11, 21, .18);
  --shadow-soft: 0 18px 50px -24px rgba(18, 11, 21, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, figure, h1, h2, h3, h4 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible, .foot :focus-visible, .cta-band :focus-visible { outline-color: var(--marigold); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--kohl); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
.d-xl, .d-l, .d-m, .d-s { font-family: var(--font-display); font-weight: 740; font-stretch: 96%; letter-spacing: -.035em; text-wrap: balance; }
.d-xl { font-size: clamp(52px, 8.4vw, 136px); line-height: .9; letter-spacing: -.048em; }
.d-l { font-size: clamp(38px, 5.2vw, 80px); line-height: .96; letter-spacing: -.042em; }
.d-m { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.02; }
.d-s { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.025em; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rani-strong); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--rani); flex: none; }
.eyebrow .num { color: var(--ink); }
.on-dark .eyebrow { color: var(--rani-on-dark); }
.tag { display: inline-flex; align-items: center; font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--kohl); color: #fff; margin-right: 10px; vertical-align: 1px; white-space: nowrap; }

/* ---------- buttons, links, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1 var(--font-ui); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn .ico { transition: transform .22s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-primary { background: var(--rani); color: #fff; box-shadow: 0 10px 24px -12px rgba(224, 1, 108, .7); }
.btn-primary:hover { background: var(--rani-hover); }
.btn-ghost { border-color: rgba(18, 11, 21, .16); color: var(--kohl); background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--kohl); background: #fff; }
.btn-kohl { background: var(--kohl); color: #fff; }
.btn-kohl:hover { background: var(--kohl-3); }
.btn-white { background: #fff; color: var(--kohl); }
.btn-white:hover { background: var(--marigold-soft); }
.btn-ghost-white { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--rani-strong); text-decoration: none; }
.arrow-link .ico { transition: transform .22s var(--ease); }
.arrow-link:hover .ico { transform: translateX(4px); }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link { color: var(--rani-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--rani); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.chips .ico { color: var(--rani); }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--rani-wash);
  box-shadow: inset 0 0 0 5px var(--rani-wash), inset 0 0 0 8px var(--rani); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .35s var(--ease); }
.nav.solid { background: rgba(252, 250, 253, .86); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; transition: background-color .15s; }
.nav-links a:hover { background: rgba(18, 11, 21, .05); }
.nav-links a[aria-current="page"] { color: var(--rani-strong); background: var(--rani-soft); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-signin { font-weight: 500; font-size: 15px; text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav-signin:hover { background: rgba(18, 11, 21, .05); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.menu-btn .ico { width: 22px; height: 22px; }
.sheet { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--page); padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px; overflow: auto; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font: 740 34px/1.1 var(--font-display); letter-spacing: -.03em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.sheet-cta { align-self: stretch; }
body.sheet-open { overflow: hidden; }
main { display: block; }
body:not(.home) main { padding-top: var(--nav-h); }

/* ---------- frames (real screens) ---------- */
.frame { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid rgba(18, 11, 21, .08); box-shadow: var(--shadow-shot); }
.frame img { width: 100%; }
.frame-btn { padding: 0; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.frame-btn:hover .frame-zoom, .frame-btn:focus-visible .frame-zoom { opacity: 1; transform: none; }
.frame-zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--kohl); color: #fff; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s var(--ease); }
.phone { position: relative; display: block; padding: 9px; border-radius: 38px; background: var(--kohl); box-shadow: var(--shadow-shot); border: 0; }
.phone picture, .phone img { border-radius: 30px; overflow: hidden; width: 100%; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ======================================================================
   HOME · the film. One full-screen restaurant pinned under the page while the reader scrolls through one service;
   the words sit in their own negative space over it (left on wide screens, below the subject on tall ones), and the
   camera frames each shot around them. The section is as tall as the timeline (--screens, set from timeline.js).
   ====================================================================== */
.film { position: relative; background: var(--kohl); color: #fff; isolation: isolate; overflow-anchor: none; }
.has-film .film { height: calc(var(--screens, 12.9) * 100vh); height: calc(var(--screens, 12.9) * 100lvh); }
.film-pin { position: relative; height: 100vh; height: 100lvh; overflow: hidden; contain: layout paint; }
.has-film .film-pin { position: sticky; top: 0; }
.film-stage { position: absolute; inset: 0; background: #1a1411; }
.film-stage picture, .film-poster, .film-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-poster { object-fit: cover; transition: opacity .9s var(--ease); }
.film-stage canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.film-stage.is-live canvas { opacity: 1; }
.film.past-hero:not(.is-live) .film-poster { opacity: 0; }
/* the stills, when the live scene can't run (film.js): each chapter's photograph, cross-faded as the words change */
.film-stills { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.film.is-still .film-stills { opacity: 1; }
.film-stills img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.film-stills img.is-on { opacity: 1; }
.film.is-still.past-hero .film-poster { opacity: 1; }
/* legibility: a soft Kohl shade where the words sit, a lens vignette, and the veil the page rises over */
.film-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 11, 21, .7) 0%, rgba(18, 11, 21, .52) 22%, rgba(18, 11, 21, .2) 40%, rgba(18, 11, 21, 0) 55%),
    linear-gradient(180deg, rgba(18, 11, 21, .5) 0%, rgba(18, 11, 21, 0) 13%, rgba(18, 11, 21, 0) 80%, rgba(18, 11, 21, .38) 100%),
    radial-gradient(130% 100% at 64% 46%, rgba(18, 11, 21, 0) 62%, rgba(18, 11, 21, .26) 100%); }
.film-veil { position: absolute; inset: 0; z-index: 1; background: var(--kohl); opacity: var(--veil, 0); pointer-events: none; }

/* the words: one chapter at a time; between chapters the camera travels */
.film-copy { position: absolute; z-index: 2; top: 0; height: 100vh; height: 100svh; width: min(46vw, 660px);
  left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.chap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 2vh) 0 clamp(76px, 12vh, 132px); pointer-events: none; }
.chap.is-on { pointer-events: auto; }
.chap-still { display: none; }
.has-film .chap-in > * { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.has-film .chap.is-on .chap-in > * { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform 1.05s var(--ease); }
.has-film .chap.is-on .chap-in > :nth-child(2) { transition-delay: .06s; }
.has-film .chap.is-on .chap-in > :nth-child(3) { transition-delay: .12s; }
.has-film .chap.is-on .chap-in > :nth-child(4) { transition-delay: .18s; }
.has-film .chap.is-on .chap-in > :nth-child(5) { transition-delay: .24s; }
.film .eyebrow { color: var(--kohl-head); margin-bottom: clamp(16px, 2.6vh, 26px); }
/* over the scene the small labels sit on a dark glass chip, so they read on the brightest wall and across lamp cords */
.film .eyebrow, .chap-kick { width: fit-content; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(18, 11, 21, .8);
  -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
@media (max-width: 480px) { /* one line on a phone (and room to breathe if a very narrow one still wraps it) */
  .film .eyebrow { font-size: 11px; letter-spacing: .08em; line-height: 1.35; padding-block: 7px; } }
.film-h1 { font-family: var(--font-display); font-weight: 760; font-stretch: 96%; font-size: clamp(54px, min(7.6vw, 13.5vh), 136px); line-height: .9;
  letter-spacing: -.05em; max-width: 7.6ch; margin-bottom: clamp(18px, 3vh, 30px); text-wrap: balance; text-shadow: 0 2px 40px rgba(18, 11, 21, .35); }
.film-lede { font-size: clamp(17px, 1.32vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .9); max-width: 34ch; margin-bottom: clamp(24px, 4vh, 38px); text-wrap: pretty; text-shadow: 0 1px 18px rgba(18, 11, 21, .55); }
.film .cta-row { gap: 12px; }
.film .btn-lg { padding: 0 26px; }
.btn-glass { border-color: rgba(255, 255, 255, .34); color: #fff; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: #fff; color: var(--kohl); border-color: #fff; }
.film .hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(26px, 4.4vh, 44px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 500; max-width: 520px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.film .hero-facts .ico { color: var(--rani-on-dark); }
.chap-kick { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rani-on-dark); margin-bottom: clamp(14px, 2.4vh, 22px); }
.chap-kick .num { color: rgba(255, 255, 255, .72); padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .28); }
.chap-h { font-family: var(--font-display); font-weight: 740; font-stretch: 96%; font-size: clamp(38px, min(4.7vw, 8.6vh), 84px); line-height: .95; letter-spacing: -.042em;
  max-width: 12.5ch; margin-bottom: clamp(14px, 2.6vh, 24px); text-wrap: balance; text-shadow: 0 2px 30px rgba(18, 11, 21, .35); }
.chap-p { font-size: clamp(16px, 1.22vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 40ch; margin-bottom: clamp(18px, 3.2vh, 28px); text-wrap: pretty; text-shadow: 0 1px 18px rgba(18, 11, 21, .55); }
.chap-p b { color: #fff; font-weight: 650; }
.chap-p em { color: #fff; }
.chap-beats { font: 680 clamp(20px, 1.7vw, 28px)/1.3 var(--font-display); letter-spacing: -.02em; color: rgba(255, 255, 255, .62); max-width: 24ch; margin-bottom: clamp(14px, 2.4vh, 22px); }
.chap-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: clamp(14px, 1.6vw, 24px); }
.chap-ui { width: clamp(190px, min(18vw, 30vh), 320px); margin: 0; }
.chap-ui-tall { width: clamp(120px, min(10vw, 17vh), 180px); }
.chap-ui .frame { border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.chap-ui figcaption { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.chap-ui .tag { background: rgba(255, 255, 255, .14); }
.chap .act-quiet { margin-top: 16px; }

/* the action each chapter offers (glass, over the scene) */
.act { display: inline-grid; grid-template-columns: 44px auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left;
  padding: 8px 22px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .09); color: #fff; font: 650 16px/1.15 var(--font-ui);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.act-ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--rani); color: #fff; transition: transform .3s var(--ease); }
.act-note { grid-column: 2; font: 500 12.5px/1.3 var(--font-ui); color: rgba(255, 255, 255, .7); }
.act:hover { background: #fff; color: var(--kohl); border-color: #fff; }
.act:hover .act-note { color: var(--muted); }
.act:hover .act-ico { transform: rotate(-12deg) scale(1.05); }
.act.done .act-ico { background: var(--green); }
.act-quiet { padding: 6px 18px 6px 6px; font-size: 14.5px; grid-template-columns: 36px auto; }
.act-quiet .act-ico { width: 36px; height: 36px; background: rgba(255, 255, 255, .16); }
.film :focus-visible { outline-color: var(--marigold); }

/* the chapter rail (bottom right), the scroll cue (bottom left, on the hero only), the loader */
.film-rail { position: absolute; z-index: 3; bottom: clamp(22px, 4.2vh, 40px); right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: clamp(10px, 1.4vw, 22px); }
.film-rail a { display: grid; gap: 9px; padding: 6px 0; text-decoration: none; color: rgba(255, 255, 255, .62); font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em;
  text-transform: uppercase; text-shadow: 0 1px 12px rgba(18, 11, 21, .8); transition: color .3s var(--ease); }
.film-rail .lbl { display: flex; gap: 7px; white-space: nowrap; }
.film-rail .num { color: rgba(255, 255, 255, .42); }
.film-rail .bar { position: relative; display: block; width: clamp(44px, 5vw, 76px); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.film-rail .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.film-rail a.is-on .bar i { background: var(--rani-on-dark); }
.film-rail a:hover, .film-rail a.is-on { color: #fff; }
.film-rail a.is-on .num { color: var(--rani-on-dark); }
.film-cue { position: absolute; z-index: 3; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: clamp(26px, 4.6vh, 44px);
  display: flex; align-items: center; gap: 12px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66);
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.film[data-on="arrival"] .film-cue { opacity: 1; }
.film:not([data-on="arrival"]) .cue-line::after { animation-play-state: paused; } /* (out of sight: nothing to animate) */
.cue-line { position: relative; width: 1px; height: 30px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: #fff; transform: translate3d(0, -100%, 0); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { transform: translate3d(0, 250%, 0); } } /* (by transform, not top: no layout every frame) */
/* the loading screen: from the first paint until the restaurant is ready; then it lifts and the words rise in */
.film-loader { display: none; }
.has-film .film-loader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; color: var(--kohl-ink);
  background: radial-gradient(120% 90% at 50% 44%, #26171f 0%, var(--kohl) 64%);
  transition: opacity .8s var(--ease), visibility 0s linear .8s; }
html:not(.is-loading) .film-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-in { display: grid; justify-items: center; gap: 26px; transition: transform .9s var(--ease); }
html:not(.is-loading) .loader-in { transform: translate3d(0, -14px, 0); }
.loader-logo { width: clamp(124px, 12vw, 156px); height: auto; }
.loader-bar { width: min(260px, 62vw); height: 2px; border-radius: 2px; background: rgba(246, 241, 246, .14); overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--rani-on-dark); transform: scaleX(0); transform-origin: 0 50%; }
.loader-line { display: flex; gap: 16px; margin: 0; font: 500 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 241, 246, .68); }
.loader-line .num { min-width: 4ch; text-align: right; color: var(--kohl-head); letter-spacing: .08em; }
.loader-skip { position: absolute; left: 50%; bottom: max(28px, 6vh); transform: translate3d(-50%, 6px, 0); padding: 10px 18px; border: 1px solid rgba(246, 241, 246, .22);
  border-radius: 999px; background: transparent; color: rgba(246, 241, 246, .78); font: 500 13px/1 var(--font-ui); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .2s, color .2s; }
.loader-skip.is-on { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); }
.loader-skip:hover { border-color: rgba(246, 241, 246, .5); color: #fff; }
.loader-skip:focus-visible { outline-color: var(--marigold); }
html.has-film.is-loading { overflow: hidden; }
html.has-film.is-loading .chap .chap-in > * { opacity: 0; transform: translate3d(0, 16px, 0); transition: none; }

/* the page rises over the scene at the end of the film */
.has-film .after-film { z-index: 3; margin-top: -100vh; margin-top: -100lvh; background: var(--page); border-radius: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) 0 0;
  box-shadow: 0 -40px 80px -40px rgba(0, 0, 0, .55); }

/* the nav over the film: light on dark */
.brand-on-dark { display: none; }
.nav.on-film { color: #fff; background: linear-gradient(180deg, rgba(18, 11, 21, .55), rgba(18, 11, 21, 0)); }
.nav.on-film .brand img { display: none; }
.nav.on-film .brand .brand-on-dark { display: block; }
.nav.on-film .nav-links a:hover, .nav.on-film .nav-signin:hover { background: rgba(255, 255, 255, .12); }
.nav.on-film .menu-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.nav.on-film :focus-visible { outline-color: var(--marigold); }
html.has-film { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* tall screens (phones, tablets upright): the subject above, the words below it */
@media (max-aspect-ratio: 4/5) {
  .film-copy { left: var(--gutter); right: var(--gutter); width: auto; }
  .chap { justify-content: flex-end; padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + clamp(24px, 4.4vh, 48px)); }
  .film-shade { background:
    linear-gradient(180deg, rgba(18, 11, 21, .62) 0%, rgba(18, 11, 21, 0) 17%, rgba(18, 11, 21, 0) 34%, rgba(18, 11, 21, .62) 56%, rgba(18, 11, 21, .9) 76%, rgba(18, 11, 21, .94) 100%); }
  .film-h1 { font-size: clamp(46px, min(13.4vw, 8.4vh), 104px); max-width: 8ch; }
  .film-lede { font-size: clamp(16px, 2.2vw, 20px); max-width: 36ch; }
  .film .hero-facts { display: none; }
  .chap-h { font-size: clamp(31px, min(8.4vw, 6vh), 64px); max-width: 14ch; }
  .chap-p { font-size: clamp(15.5px, 2vw, 18px); max-width: 44ch; }
  .chap-beats { font-size: clamp(18px, 4.6vw, 26px); }
  .chap-row { flex-wrap: nowrap; align-items: center; }
  .chap-ui { width: clamp(108px, 30vw, 240px); flex: none; }
  .chap-ui-tall { width: clamp(72px, 18vw, 140px); }
  .chap-ui figcaption { display: none; }
  .act { padding: 6px 16px 6px 6px; font-size: 15px; grid-template-columns: 38px auto; column-gap: 10px; }
  .act-ico { width: 38px; height: 38px; }
  .act-note { font-size: 11.5px; }
  .film-rail { top: calc(var(--nav-h) + 6px); bottom: auto; left: var(--gutter); right: var(--gutter); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .film-rail a { gap: 7px; font-size: 10px; letter-spacing: .06em; }
  .film-rail .bar { width: 100%; }
  .film-rail .num { display: none; }
  .film-cue { display: none; }
}
@media (max-aspect-ratio: 4/5) and (max-width: 520px) {
  .film .cta-row { flex-direction: column; align-items: stretch; }
  .film .cta-row .btn { width: 100%; }
}
@media (max-height: 700px) and (min-aspect-ratio: 4/5) {
  .film .hero-facts { display: none; }
  .chap-ui { width: clamp(160px, 15vw, 240px); }
}

/* without the live film: a storyboard, the same words over stills of the scene */
.no-film .film-pin { height: auto; overflow: visible; contain: none; }
.no-film .film-stage { bottom: auto; height: 100vh; height: 100svh; }
.no-film .film-stage canvas, .no-film .film-rail, .no-film .film-cue, .no-film .film-veil { display: none; }
.no-film .film-shade { bottom: auto; height: 100vh; height: 100svh; }
.no-film .film-copy { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; }
.no-film .chap { position: relative; inset: auto; pointer-events: auto; }
.no-film .film-hero { min-height: 100vh; min-height: 100svh; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.no-film .film-hero .chap-still { display: none; }
.no-film .chap:not(.film-hero) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter); border-top: 1px solid rgba(255, 255, 255, .08); }
.no-film .chap:not(.film-hero) .chap-still { display: block; width: 100%; height: auto; border-radius: 22px; }
@media (max-width: 899px) { .no-film .chap:not(.film-hero) { grid-template-columns: 1fr; } }

/* ======================================================================
   sections after the story
   ====================================================================== */
.sec { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.sec-tint { background: linear-gradient(180deg, var(--page) 0%, var(--rani-soft) 18%, var(--rani-soft) 82%, var(--page) 100%); }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 860px; }
.sec-head .d-l { margin-bottom: 22px; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.sec-head-split .d-l { margin-bottom: 0; }

/* 05 · questions */
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.qa-list { border-top: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-item h3 { margin: 0; }
.qa-q { width: 100%; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 10px; padding: 24px 0; border: 0; background: none; text-align: left; color: var(--muted); }
.qa-q .num { font-size: 13px; color: var(--muted); }
.qa-q .q { font: 700 clamp(22px, 2.2vw, 32px)/1.12 var(--font-display); letter-spacing: -.028em; transition: color .25s var(--ease); }
.qa-arrow { width: 22px; height: 22px; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s var(--ease); color: var(--rani); }
.qa-q:hover .q { color: var(--ink); }
.qa-item.is-on .qa-q .q { color: var(--ink); }
.qa-item.is-on .qa-q .num { color: var(--rani-strong); }
.qa-item.is-on .qa-arrow { opacity: 1; transform: none; }
.qa-a { padding: 0 0 26px 54px; color: var(--ink-soft); font-size: 17px; max-width: 52ch; }
.qa-a b { color: var(--ink); font-weight: 600; }
.qa-m { display: none; margin-top: 18px; }
.qa-view { position: sticky; top: calc(var(--nav-h) + 40px); }
.qa-stack { position: relative; aspect-ratio: 16 / 10.4; }
.qa-v { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.qa-v.is-on { opacity: 1; transform: none; z-index: 1; }
.qa-v picture, .qa-v img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.qa-tag { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* 06 · roles */
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.role-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15.5px; color: var(--ink-soft); transition: all .2s var(--ease); }
.role-tabs [role="tab"] .ico { color: var(--rani); }
.role-tabs [role="tab"]:hover { border-color: var(--kohl); color: var(--kohl); }
.role-tabs [role="tab"][aria-selected="true"] { background: var(--kohl); border-color: var(--kohl); color: #fff; }
.role-tabs [role="tab"][aria-selected="true"] .ico { color: var(--rani-on-dark); }
.role-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; min-height: 460px; }
.role-panel:focus-visible { outline-offset: 12px; }
.role-copy .d-m { margin-bottom: 26px; }
.role-copy .ticks { margin-bottom: 18px; }
.role-media .frame-dialog { max-width: 620px; margin-inline: auto; }
.role-phones { display: flex; gap: clamp(16px, 3vw, 36px); justify-content: center; align-items: flex-start; }
.role-phones .phone { width: min(260px, 44%); }
.role-phones .phone:nth-child(2) { margin-top: 56px; }
@media (prefers-reduced-motion: no-preference) {
  .role-panel:not([hidden]) .role-copy > * { animation: rise .5s var(--ease) both; }
  .role-panel:not([hidden]) .role-copy > *:nth-child(2) { animation-delay: .05s; }
  .role-panel:not([hidden]) .role-copy > *:nth-child(3) { animation-delay: .1s; }
  .role-panel:not([hidden]) .role-media { animation: rise .6s var(--ease) .05s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}

/* 07 · why (Kohl band) */
.on-dark { background: var(--kohl); color: var(--kohl-head); }
.why { border-radius: clamp(24px, 3vw, 40px); margin-inline: clamp(8px, 1.4vw, 20px); overflow: hidden; }
.why .lede, .why p { color: var(--kohl-ink); }
.why .d-l { color: #fff; }
.threadlist { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-top: 52px; margin-bottom: 64px; }
.threadlist::before, .threadlist::after { content: ""; position: absolute; left: 11px; right: 0; top: 11px; height: 2px; background: var(--kohl-line); }
.threadlist::after { background: linear-gradient(90deg, var(--rani), var(--rani-on-dark)); transform-origin: left; transform: scaleX(var(--thread, 0)); transition: transform .1s linear; }
.threadlist li { position: relative; }
.tl-node { position: absolute; top: -52px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--kohl); border: 2px solid var(--kohl-line); z-index: 1; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.threadlist li.lit .tl-node { border-color: var(--rani); background: var(--rani); box-shadow: 0 0 0 6px rgba(224, 1, 108, .22); }
.threadlist h3 { font: 700 21px/1.15 var(--font-display); letter-spacing: -.02em; color: #fff; margin-bottom: 10px; }
.threadlist p { font-size: 15.5px; line-height: 1.55; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--kohl-line); border: 1px solid var(--kohl-line); border-radius: 20px; overflow: hidden; margin-bottom: 36px; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: var(--kohl-2); font-weight: 500; color: var(--kohl-head); font-size: 15.5px; }
.facts .ico { color: var(--marigold); width: 22px; height: 22px; }
.on-dark-link { color: var(--rani-on-dark); }

/* 08 · gallery */
.g-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.g-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.g-filters button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.g-filters button:hover { border-color: var(--kohl); color: var(--kohl); }
.g-filters button[aria-pressed="true"] { background: var(--kohl); color: #fff; border-color: var(--kohl); }
.g-nav { display: flex; gap: 8px; }
.g-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.g-nav button:hover:not(:disabled) { background: var(--kohl); color: #fff; border-color: var(--kohl); }
.g-nav button:disabled { opacity: .35; cursor: default; }
.g-track { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding: 12px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 40px; scrollbar-width: none; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-card { flex: none; width: min(640px, 80vw); scroll-snap-align: start; transition: opacity .3s; }
.g-card.g-phone { width: min(280px, 56vw); }
.g-card .frame-btn, .g-card .phone { width: 100%; }
.g-card:not(.g-phone) .frame { aspect-ratio: 16 / 10; }
.g-card:not(.g-phone) .frame picture, .g-card:not(.g-phone) .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.g-card.g-phone .phone picture { aspect-ratio: 9 / 15.5; }
.g-card.g-phone .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-card h3 { font: 700 20px/1.2 var(--font-display); letter-spacing: -.02em; margin-top: 18px; }
.g-card p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.g-card[hidden] { display: none !important; }

/* 09 · CTA (Rani band) */
.cta-band { --band-pad: clamp(8px, 1.4vw, 20px); padding: 0 var(--band-pad) var(--band-pad); }
.cta-box { position: relative; background: var(--rani); color: #fff; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; }
/* the box is inset by --band-pad, so take it off the wrap's width and gutter: the content then starts in line with the nav logo */
.cta-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; max-width: calc(var(--maxw) - 2 * var(--band-pad));
  padding: clamp(56px, 8vw, 128px) max(20px, calc(var(--gutter) - var(--band-pad))); }
.cta-in .d-xl { font-size: clamp(44px, 6.4vw, 104px); color: #fff; margin-bottom: 24px; max-width: 12ch; }
.cta-in .lede { color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.cta-emblem { width: clamp(140px, 18vw, 260px); }
@media (prefers-reduced-motion: no-preference) { .cta-emblem { animation: spin 40s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }

/* ---------- footer ---------- */
.foot { background: var(--kohl); color: var(--kohl-ink); padding: clamp(56px, 7vw, 96px) 0 32px; margin-top: clamp(8px, 1.4vw, 20px); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--kohl-line); }
.foot-brand img { height: 34px; width: auto; margin-bottom: 26px; }
.foot-line { font: 740 clamp(30px, 3.4vw, 48px)/1 var(--font-display); letter-spacing: -.04em; color: #fff; margin-bottom: 14px; }
.foot-sub { max-width: 40ch; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h2 { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rani-on-dark); margin-bottom: 18px; }
.foot-cols a { display: block; text-decoration: none; color: var(--kohl-head); padding: 7px 0; font-size: 15px; overflow-wrap: anywhere; }
.foot-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: #A79FAA; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1500px, 96vw); width: 100%; max-height: 94vh; }
.lightbox::backdrop { background: rgba(18, 11, 21, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-in { position: relative; }
.lightbox img { width: auto; max-width: 100%; max-height: 84vh; margin-inline: auto; border-radius: 14px; background: #fff; }
.lb-cap { color: #fff; text-align: center; margin-top: 14px; font-size: 15px; }
.lb-x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--kohl); color: #fff; display: grid; place-items: center; z-index: 1; }
.lb-x .ico { width: 22px; height: 22px; }

/* ---------- scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-reveal="2"] { transition-delay: .08s; }
  .js [data-reveal="3"] { transition-delay: .16s; }
}

/* ======================================================================
   inner pages
   ====================================================================== */
.p-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.p-hero .d-xl { font-size: clamp(46px, 7vw, 112px); margin-bottom: 26px; max-width: 14ch; }
.p-hero .lede { max-width: 46ch; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.subnav { position: sticky; top: var(--nav-h); z-index: 20; background: rgba(252, 250, 253, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line-soft); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.subnav a .num { font-size: 11px; color: var(--muted); }
.subnav a:hover { background: rgba(18, 11, 21, .05); color: var(--kohl); }
.subnav a.is-on { background: var(--kohl); color: #fff; }
.subnav a.is-on .num { color: var(--rani-on-dark); }

/* flow diagram (product hero) */
.flowmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; margin-top: clamp(40px, 5vw, 64px); }
.flowmap::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 2px; background: repeating-linear-gradient(90deg, var(--rani) 0 10px, transparent 10px 18px); opacity: .55; }
.flowmap li { position: relative; text-align: left; }
.flowmap a { display: block; text-decoration: none; padding: 0 6px; }
.fm-ico { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); margin-bottom: 18px; position: relative; transition: transform .3s var(--ease), background-color .3s; }
.fm-ico .ico { width: 30px; height: 30px; color: var(--rani); }
.flowmap a:hover .fm-ico { transform: translateY(-4px); background: var(--kohl); }
.flowmap a:hover .fm-ico .ico { color: #fff; }
.flowmap .num { font-size: 12px; color: var(--rani-strong); }
.flowmap b { display: block; font: 700 24px/1.1 var(--font-display); letter-spacing: -.02em; margin: 6px 0; }
.flowmap span.d { color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .flowmap::before { animation: march 1.2s linear infinite; }
  @keyframes march { to { background-position: 18px 0; } }
}

/* product chapters */
.chapter { padding-block: clamp(72px, 9vw, 136px); border-top: 1px solid var(--line-soft); scroll-margin-top: calc(var(--nav-h) + 60px); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.chapter-head .d-l { font-size: clamp(36px, 4.6vw, 72px); }
.chapter-num { font: 500 13px/1 var(--font-mono); color: var(--rani-strong); letter-spacing: .1em; display: block; margin-bottom: 18px; }
.chapter-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.chapter-body.flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.chapter-body.flip .chapter-media { order: 2; }
.chapter-media { display: grid; gap: 20px; }
.chapter-media .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.chapter-media .with-phone { position: relative; padding-right: clamp(60px, 10vw, 140px); }
.chapter-media .with-phone .phone { position: absolute; right: 0; bottom: -40px; width: clamp(130px, 17vw, 230px); }
.feat { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feat li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat .ico { color: var(--rani); width: 22px; height: 22px; margin-top: 2px; }
.feat b { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 2px; }
.feat span { color: var(--muted); font-size: 15px; }
.chapter.alt { background: var(--page-2); }

/* back office: editorial strips */
.bo { display: grid; gap: clamp(56px, 7vw, 104px); }
.bo-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.bo-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.bo-row:nth-child(even) .bo-copy { order: 2; }
.bo-copy .q { font: 700 clamp(26px, 2.6vw, 38px)/1.08 var(--font-display); letter-spacing: -.03em; margin-bottom: 16px; }
.bo-copy p { color: var(--ink-soft); font-size: 17px; margin-bottom: 14px; }
.bo-copy .eyebrow { margin-bottom: 14px; }

/* devices strip */
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.device { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.device .ico { width: 28px; height: 28px; color: var(--rani); margin-bottom: 18px; }
.device b { display: block; font: 700 22px/1.15 var(--font-display); letter-spacing: -.02em; margin-bottom: 8px; }
.device p { color: var(--muted); font-size: 15.5px; }

/* who: restaurant types */
.types { display: grid; gap: clamp(20px, 2vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.type { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.type-media { aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--page-2); position: relative; }
.type-media picture, .type-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.type-media.phone-crop { display: flex; justify-content: center; align-items: flex-start; padding-top: 28px; background: linear-gradient(160deg, var(--rani-soft), var(--page-2)); }
.type-media.phone-crop .phone { width: 46%; }
.type-copy { padding: 28px clamp(22px, 2.6vw, 36px) 32px; }
.type-copy .eyebrow { margin-bottom: 12px; }
.type-copy h3 { margin-bottom: 12px; }
.type-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }

/* who: roles in depth */
.roles-deep { display: grid; gap: 14px; }
.rd { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding: clamp(28px, 3vw, 44px); border-radius: 26px; background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.rd-who .ico { width: 34px; height: 34px; color: var(--rani); margin-bottom: 16px; }
.rd-who h3 { margin-bottom: 8px; }
.rd-who p { color: var(--muted); font-size: 15px; }
.rd .ticks li { font-size: 16px; }
.rd-media .frame, .rd-media .phone { max-width: 100%; }
.rd-media .phone { width: 62%; margin-inline: auto; }

/* why: principles */
.principles { display: grid; gap: clamp(64px, 8vw, 120px); }
.pr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pr:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pr:nth-child(even) .pr-copy { order: 2; }
.pr-copy .chapter-num { margin-bottom: 14px; }
.pr-copy h2 { margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 56px); }
.pr-copy p { color: var(--ink-soft); font-size: 17.5px; margin-bottom: 16px; max-width: 46ch; }
.proofline { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--rani-soft); color: var(--ink); font-size: 15.5px; max-width: 46ch; }
.proofline .ico { color: var(--rani); margin-top: 2px; }
.crop { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-shot); border: 1px solid rgba(18, 11, 21, .08); background: #fff; }
.crop picture, .crop img { width: 100%; height: 100%; object-fit: cover; }
.crop.top-left img { object-position: top left; }
.crop.tall { aspect-ratio: 4 / 5; }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust { padding: 26px; border-radius: 20px; background: var(--kohl-2); border: 1px solid var(--kohl-line); }
.trust .ico { color: var(--marigold); width: 24px; height: 24px; margin-bottom: 14px; }
.trust b { display: block; color: #fff; font: 700 20px/1.2 var(--font-display); letter-spacing: -.02em; margin-bottom: 8px; }
.trust p { color: var(--kohl-ink); font-size: 15px; }

/* support */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); min-height: 260px; }
.path .ico-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--rani-soft); margin-bottom: 22px; }
.path .ico-badge .ico { color: var(--rani); width: 24px; height: 24px; }
.path h2, .path h3 { font: 700 24px/1.15 var(--font-display); letter-spacing: -.02em; margin-bottom: 10px; }
.path p { color: var(--ink-soft); margin-bottom: 22px; }
.path .btn, .path .arrow-link { margin-top: auto; align-self: flex-start; }
.path.dark { background: var(--kohl); border-color: var(--kohl); color: #fff; }
.path.dark p { color: var(--kohl-ink); }
.path.dark .ico-badge { background: var(--kohl-3); }
.path.dark .ico-badge .ico { color: var(--rani-on-dark); }
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 clamp(19px, 1.7vw, 23px)/1.25 var(--font-display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--rani); border-bottom: 2px solid var(--rani); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 24px; color: var(--ink-soft); font-size: 16.5px; max-width: 64ch; }
.faq details > div p + p { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.need { display: grid; gap: 12px; }
.need li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.need .ico-badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--page-2); }
.need .ico-badge .ico { color: var(--rani); }
.need b { display: block; font-weight: 600; margin-bottom: 2px; }
.need span { color: var(--muted); font-size: 15px; }

/* book a demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 6vw, 96px) clamp(64px, 8vw, 120px); }
.demo-copy .d-xl { font-size: clamp(46px, 6vw, 92px); margin-bottom: 24px; }
.demo-copy .d-xl em { font-style: normal; color: var(--rani); }
.timeline { margin: 36px 0 32px; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 26px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px; background: repeating-linear-gradient(var(--rani-line) 0 6px, transparent 6px 11px); }
.timeline .tn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--kohl); color: #fff; font: 600 14px/1 var(--font-mono); }
.timeline b { display: block; font: 700 20px/1.2 var(--font-display); letter-spacing: -.02em; margin: 9px 0 4px; }
.timeline p { color: var(--ink-soft); font-size: 15.5px; }
.note { display: flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: 15.5px; }
.note .ico { color: var(--rani); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 40px 80px -40px rgba(18, 11, 21, .35); position: relative; }
.form-card::before { content: ""; position: absolute; inset: -1px -1px auto -1px; height: 6px; border-radius: 28px 28px 0 0; background: linear-gradient(90deg, var(--rani), var(--rani-on-dark) 60%, var(--marigold)); }
.form-title { font: 700 26px/1.15 var(--font-display); letter-spacing: -.025em; margin-bottom: 6px; }
.form-sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; }
.req { color: var(--rani-strong); }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--page); font-size: 16px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9C2CC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rani); background: #fff; box-shadow: 0 0 0 4px rgba(224, 1, 108, .14); }
.field [aria-invalid="true"] { border-color: #CB2526; background: #FFF4F2; }
.err { color: #B3141F; font-size: 13.5px; font-weight: 500; }
.err:empty { display: none; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px; background: var(--page-2); font-weight: 600; color: var(--ink-soft); }
.prefix input { border-radius: 0 14px 14px 0; }
.check { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400 !important; font-size: 15px !important; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--rani); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err-summary { border: 1.5px solid #CB2526; background: #FFF4F2; border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; }
.err-summary h2 { font: 700 18px/1.2 var(--font-display); margin-bottom: 8px; color: #8E0F18; }
.err-summary ul { list-style: disc; padding-left: 20px; }
.err-summary a { color: #8E0F18; font-weight: 600; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.success { text-align: left; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--rani); color: #fff; margin-bottom: 22px; }
.success .tick .ico { width: 28px; height: 28px; }
.success h2 { font: 740 clamp(30px, 3vw, 40px)/1.05 var(--font-display); letter-spacing: -.035em; margin-bottom: 16px; }
.success p { color: var(--ink-soft); margin-bottom: 14px; }
.success .lead { font-size: 17px; color: var(--ink); }

/* privacy */
.prose { max-width: 760px; }
.prose h2 { font: 700 clamp(24px, 2.2vw, 30px)/1.15 var(--font-display); letter-spacing: -.025em; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.prose a { color: var(--rani-strong); font-weight: 600; }
.prose .updated { color: var(--muted); font-size: 15px; }
.gap { background: #FFF1C9; color: #6B4300; border-radius: 6px; padding: 1px 6px; font-weight: 600; box-shadow: inset 0 0 0 1px #F2C14E; }

/* closing CTA on inner pages */
.page-cta { padding: clamp(72px, 9vw, 136px) 0; }
.page-cta-in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.page-cta .d-l { max-width: 16ch; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .d-xl { margin-bottom: 20px; }
.nf .lede { margin: 0 auto 32px; }

/* ======================================================================
   responsive
   ====================================================================== */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 10px; }
  .threadlist { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .threadlist::before, .threadlist::after { display: none; }
  .tl-node { top: -38px; }
  .threadlist { padding-top: 38px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rd-media { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
  .menu-btn { display: inline-flex; }
  .sec-head-split, .chapter-head, .p-hero-grid, .two-col { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .paths, .devices, .trust-grid { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .types { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 819px) {
  :root { --nav-h: 64px; }
  .nav-cta { display: none; }

  .qa { grid-template-columns: 1fr; }
  .qa-view { display: none; }
  .qa-m { display: block; }
  .qa-a { padding-left: 0; }
  .qa-q { grid-template-columns: 34px 1fr 24px; padding: 20px 0; }
  .role-panel { grid-template-columns: 1fr; min-height: 0; }
  .role-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .role-tabs [role="tab"] { flex: none; }
  .threadlist { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 40px; }
  .threadlist li { padding-bottom: 28px; }
  .threadlist li::before { content: ""; position: absolute; left: -29px; top: 26px; bottom: -2px; width: 2px; background: var(--kohl-line); }
  .threadlist li:last-child::before { display: none; }
  .tl-node { top: 0; left: -40px; }
  .facts { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-emblem { width: 110px; }
  .chapter-body, .chapter-body.flip, .bo-row, .bo-row:nth-child(even), .pr, .pr:nth-child(even) { grid-template-columns: 1fr; }
  .chapter-body.flip .chapter-media, .bo-row:nth-child(even) .bo-copy, .pr:nth-child(even) .pr-copy { order: 0; }
  .chapter-media .with-phone { padding-right: 0; padding-bottom: 0; }
  .chapter-media .with-phone .phone { position: relative; right: auto; bottom: auto; width: 52%; margin: -60px 0 0 auto; }
  .chapter-media .pair { grid-template-columns: 1fr; }
  .flowmap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .flowmap::before { display: none; }
  .rd { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-cta-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .cta-row .btn { flex: 1 1 auto; }
  .hero-copy .cta-row .btn { flex: 0 1 auto; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.prose .gap-p { background: #FFF1C9; color: #6B4300; border-radius: 10px; padding: 10px 14px; box-shadow: inset 0 0 0 1px #F2C14E; }

/* ---------- Apron homepage (home.html, body.hub) ----------
   The product hub is built from the app's own design system (frontend/src/index.css, tailwind.config.js): its page and
   surface colours, 1px line borders, 9px controls, 12px cards and 14px panels, Geist text with Bricolage titles, Remix
   icons, rani for the one primary action. Marigold stays a marketing accent. */
body.hub {
  --app-page: #F8F5F9; --app-surface: #FFFFFF; --app-subtle: #FCFAFD; --app-muted: #F0ECF1; --app-line: #E2DEE4;
  --app-line-input: #918993; --app-ink-muted: #5E5860; --app-brand-line: #FFA7BC; --app-info-soft: #F1F8FF; --app-info-ink: #015A9D;
  --r-control: 9px; --r-card: 12px; --r-panel: 14px;
  background: var(--app-page);
}
body.hub .nav.solid { background: rgba(248, 245, 249, .9); }
.hub-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hub-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--app-surface); border: 1px solid var(--app-line);
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); margin-bottom: 22px; }
.hub-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); }
.hub-h1 { font: 740 clamp(38px, 5vw, 68px)/1 var(--font-display); font-stretch: 96%; letter-spacing: -.04em; text-wrap: balance; margin-bottom: 20px; }
.hub-lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
.hub-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hub-note { margin-top: 14px; font-size: 13.5px; color: var(--app-ink-muted); }

/* buttons: the app's Button (components/ui/Button.tsx), lg size */
.hub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--r-control); border: 1px solid transparent;
  font: 600 16px/1 var(--font-ui); text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.hub-btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.hub-btn-primary { background: var(--rani); border-color: var(--rani); color: #fff; }
.hub-btn-primary:hover { background: var(--rani-strong); border-color: var(--rani-strong); }
.hub-btn-secondary { background: var(--app-surface); border-color: var(--app-line-input); color: var(--ink); }
.hub-btn-secondary:hover { background: var(--app-muted); }
.hub-btn-on-dark { border-color: rgba(255, 255, 255, .5); color: #fff; }
.hub-btn-on-dark:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hub-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--rani-strong); text-decoration: none; }
.hub-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the hero's real screen, in a browser window */
.hub-window { border-radius: var(--r-panel); background: var(--app-surface); border: 1px solid var(--app-line); overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .06); }
.hub-window-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--app-line); background: var(--app-subtle); }
.hub-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--app-line); }
.hub-window-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: var(--app-muted); font: 500 12px/1.3 var(--font-mono); color: var(--app-ink-muted); }
.hub-window img { width: 100%; }

/* sections */
.hub-sec { padding: clamp(56px, 7vw, 104px) 0; scroll-margin-top: var(--nav-h); }
.hub-sec-alt { background: var(--app-surface); border-block: 1px solid var(--app-line); }
.hub-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.hub-head-left { margin: 0; text-align: left; }
.hub-eyebrow { font: 500 12.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rani-strong); margin-bottom: 14px; }
.hub-h2 { font: 740 clamp(30px, 3.4vw, 48px)/1.04 var(--font-display); font-stretch: 96%; letter-spacing: -.035em; text-wrap: balance; }
.hub-sub { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.hub-head .hub-sub { margin-inline: auto; max-width: 58ch; }
.hub-head-left .hub-sub { margin-inline: 0; }
.hub-h3 { font: 700 22px/1.15 var(--font-display); letter-spacing: -.02em; margin-bottom: 10px; }
.hub-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-card); background: var(--rani-soft); border: 1px solid var(--app-brand-line); color: var(--rani-strong); flex: none; }
.hub-badge .ico { width: 22px; height: 22px; }
.hub-badge-soft { background: var(--app-muted); border-color: var(--app-line); color: var(--ink); }

/* products */
.hub-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-product { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-card); background: var(--app-surface); border: 1px solid var(--app-line); transition: border-color .15s, box-shadow .15s; }
.hub-product:hover { border-color: var(--app-brand-line); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.hub-product-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hub-product-for { font-size: 13px; font-weight: 500; color: var(--app-ink-muted); }
.hub-product-line { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 18px; }
.hub-list { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--app-muted); margin-bottom: 24px; }
.hub-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.hub-list .ico { color: var(--rani); margin-top: 2px; }
.hub-product-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* benefits */
.hub-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-benefit { padding: 22px; border-radius: var(--r-card); background: var(--app-subtle); border: 1px solid var(--app-line); }
.hub-benefit h3 { font-size: 16px; font-weight: 600; margin: 16px 0 6px; }
.hub-benefit p { font-size: 14.5px; color: var(--ink-soft); }

/* solutions */
.hub-solutions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hub-solution { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-card); background: var(--app-surface); border: 1px solid var(--app-line);
  text-decoration: none; transition: border-color .15s, background-color .15s; }
.hub-solution:hover { border-color: var(--app-brand-line); background: var(--rani-soft); }
.hub-solution-ico { width: 28px; height: 28px; color: var(--rani); margin-bottom: 10px; }
.hub-solution-name { font-weight: 600; font-size: 16px; }
.hub-solution-line { font-size: 14.5px; color: var(--ink-soft); }
.hub-solution-with { margin-top: auto; padding-top: 14px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--app-ink-muted); }

/* one Apron */
.hub-eco { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hub-eco-map { padding: 24px; border-radius: var(--r-panel); background: var(--app-page); border: 1px solid var(--app-line); }
.hub-eco-products { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px dashed var(--app-line-input); }
.hub-eco-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-control); background: var(--app-surface); border: 1px solid var(--app-line); font-weight: 600; font-size: 14.5px; }
.hub-eco-chip .ico { color: var(--rani); }
.hub-eco-shared { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hub-eco-shared li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-card); background: var(--app-surface); border: 1px solid var(--app-line); font-size: 14px; color: var(--ink-soft); }
.hub-eco-shared .ico { color: var(--ink); margin-top: 2px; }
.hub-eco-shared b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }

/* pricing (plans come from the platform admin: GET /api/v1/public/plans, site.js) */
.hub-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hub-plans-status { grid-column: 1 / -1; text-align: center; color: var(--app-ink-muted); padding: 24px; border-radius: var(--r-card); border: 1px dashed var(--app-line-input); }
.hub-plan { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-card); background: var(--app-surface); border: 1px solid var(--app-line); }
.hub-plan.featured { border-color: var(--rani); box-shadow: 0 0 0 1px var(--rani); }
.hub-plan-tag { font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--rani-strong); min-height: 12px; margin-bottom: 10px; }
.hub-plan h3 { font-size: 18px; font-weight: 600; }
.hub-plan-price { font: 740 32px/1.1 var(--font-display); letter-spacing: -.03em; margin: 10px 0 16px; }
.hub-plan-price small { font: 400 14px/1 var(--font-ui); letter-spacing: 0; color: var(--app-ink-muted); }
.hub-plan ul { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--app-muted); margin-bottom: 22px; font-size: 14px; color: var(--ink-soft); }
.hub-plan li { display: flex; gap: 8px; }
.hub-plan li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rani); margin-top: .6em; }
.hub-plan .hub-btn { margin-top: auto; }

/* final call to action: the Kohl band, as on the kitchen display */
.hub-final { padding: 0 0 clamp(8px, 1.4vw, 20px); }
.hub-final-box { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--kohl); color: var(--kohl-head); text-align: center; padding: clamp(48px, 7vw, 96px) 24px; }
.hub-final-box .hub-h2 { color: #fff; position: relative; }
.hub-final-box .hub-sub { color: var(--kohl-ink); position: relative; }
.hub-final-box .hub-cta { justify-content: center; position: relative; }
.hub-final-emblem { position: absolute; right: -90px; bottom: -120px; width: 320px; opacity: .14; }
.hub-final :focus-visible { outline-color: var(--marigold); }

/* the header's Products menu (all pages) */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-btn .dd-chev { width: 18px; height: 18px; transition: transform .15s; }
.nav-dd-btn[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 340px; padding: 6px; border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1), 0 0 0 1px rgba(30, 32, 33, .1); }
.nav-links .dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 9px; text-decoration: none; }
.nav-links .dd-item:hover, .nav.on-film .nav-links .dd-item:hover { background: #F0ECF1; }
.dd-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--rani-soft); color: var(--rani-strong); flex: none; }
.dd-item b { display: block; font-weight: 600; font-size: 15px; }
.dd-item small { display: block; font-size: 13px; color: #5E5860; line-height: 1.35; margin-top: 2px; }

@media (max-width: 1100px) {
  .hub-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hub-hero-grid, .hub-eco { grid-template-columns: 1fr; }
  .hub-products, .hub-benefits { grid-template-columns: 1fr; }
  .hub-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hub-benefits, .hub-solutions, .hub-eco-shared { grid-template-columns: 1fr; }
  .hub-cta .hub-btn { flex: 1 1 auto; }
  .hub-head { text-align: left; }
  .hub-head .hub-sub { margin-inline: 0; }
}

/* ---------- coming soon: Apron Retail and Apron AI (retail.html, ai.html), and their tags elsewhere ---------- */
.soon { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--marigold-soft, #FFF1D6); color: #7A4B00;
  font: 600 11px/1.4 var(--font-ui); letter-spacing: .02em; vertical-align: 2px; }
.hub-tag { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--app-info-soft); color: var(--app-info-ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.hub-eco-chip small { font-size: 11px; font-weight: 600; color: var(--app-ink-muted); }
.hub-soon-in { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hub-soon-in .hub-lede { margin-inline: auto; }
.hub-soon-in .hub-cta { justify-content: center; }
.hub-badge-lg { width: 64px; height: 64px; border-radius: var(--r-panel); margin-bottom: 18px; }
.hub-badge-lg .ico { width: 30px; height: 30px; }
.hub-ea { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hub-ea-list { margin-top: 24px; border-top: 0; padding-top: 0; }
body.hub .hub-form { border-radius: var(--r-panel); border-color: var(--app-line); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }
body.hub .hub-form::before { display: none; }
body.hub .hub-form .field input:not([type="checkbox"]), body.hub .hub-form .field select { border-radius: var(--r-control); border-width: 1px; border-color: var(--app-line-input); background: var(--app-surface); min-height: 48px; }
body.hub .hub-form .prefix span { border-radius: var(--r-control) 0 0 var(--r-control); border-width: 1px; border-color: var(--app-line-input); background: var(--app-muted); }
body.hub .hub-form .prefix input { border-radius: 0 var(--r-control) var(--r-control) 0; }
.hub-btn-block { width: 100%; }
@media (max-width: 960px) {
  .hub-ea { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hub-form .form-grid { grid-template-columns: 1fr; }
}
