/* ==========================================================================
   OI by SmartHospitality.AI
   Direction: "the pass ticket" — two-colour print (ink + ticket red) on cool
   white paper; Caslon for the front-of-house voice, a grotesk for the work,
   a mono for anything with a time stamp.
   ========================================================================== */

:root {
  --paper: #F4F5F6;
  --surface: #FFFFFF;
  --sunken: #E9ECEE;
  --ink: #12161A;
  --ink-2: #363E46;
  --muted: #555E67;
  --rule: #D3D8DC;
  --rule-strong: #12161A;
  --red: #B3202A;
  --red-soft: #F8E5E4;
  --amber: #875800;
  --green: #1C6145;
  --nr: #77818A;
  --btn: #12161A;
  --btn-ink: #F4F5F6;
  --btn-hover: #B3202A;
  --band: #12161A;
  --band-ink: #F4F5F6;
  --band-muted: #A9B1B8;
  --band-rule: #2E353C;
  --device: #1A1F24;
  --device-edge: #3A424A;
  --screen: #FFFFFF;
  --screen-2: #F1F3F4;
  --chit: #FFFFFF;
  --chit-ink: #17191B;
  --focus: #12161A;
  --shadow: 0 1px 0 rgba(18, 22, 26, .04), 0 18px 40px -24px rgba(18, 22, 26, .35);

  --f-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --f-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --f-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1114;
    --surface: #161A1F;
    --sunken: #0A0C0E;
    --ink: #ECEEF0;
    --ink-2: #C7CDD2;
    --muted: #9BA4AD;
    --rule: #2A3138;
    --rule-strong: #ECEEF0;
    --red: #FF7F73;
    --red-soft: #3A1D1C;
    --amber: #E6B450;
    --green: #63C99C;
    --nr: #8F99A3;
    --btn: #ECEEF0;
    --btn-ink: #0E1114;
    --btn-hover: #FF7F73;
    --band: #262D35;
    --band-ink: #ECEEF0;
    --band-muted: #A3ACB4;
    --band-rule: #333B43;
    --device: #262C33;
    --device-edge: #48515A;
    --screen: #121619;
    --screen-2: #1B2025;
    --chit: #DADDE0;
    --chit-ink: #15171A;
    --focus: #ECEEF0;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0E1114;
  --surface: #161A1F;
  --sunken: #0A0C0E;
  --ink: #ECEEF0;
  --ink-2: #C7CDD2;
  --muted: #9BA4AD;
  --rule: #2A3138;
  --rule-strong: #ECEEF0;
  --red: #FF7F73;
  --red-soft: #3A1D1C;
  --amber: #E6B450;
  --green: #63C99C;
  --nr: #8F99A3;
  --btn: #ECEEF0;
  --btn-ink: #0E1114;
  --btn-hover: #FF7F73;
  --band: #262D35;
  --band-ink: #ECEEF0;
  --band-muted: #A3ACB4;
  --band-rule: #333B43;
  --device: #262C33;
  --device-edge: #48515A;
  --screen: #121619;
  --screen-2: #1B2025;
  --chit: #DADDE0;
  --chit-ink: #15171A;
  --focus: #ECEEF0;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
strong { font-weight: 650; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
h1, h2 { font-family: var(--f-display); letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.55rem + 4.6vw, 5.75rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 1.45rem + 2.7vw, 3.9rem); line-height: 1.05; }
h3 { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; font-weight: 500; }
h4 { font-family: var(--f-sans); font-size: 1rem; font-weight: 650; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--btn); color: var(--btn-ink); padding: 12px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: .875em; letter-spacing: 0; }
.red { color: var(--red); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7rem 1.3rem;
  border: 1px solid var(--btn); border-radius: 3px;
  background: var(--btn); color: var(--btn-ink);
  font: 600 1rem/1.2 var(--f-sans); text-decoration: none; text-align: center; overflow-wrap: anywhere;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .9375rem; }
.btn svg { width: 1em; height: 1em; flex: none; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-top: 2px;
}
.arrow-link svg { width: .95em; height: .95em; transition: transform .15s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--rule);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--paper); } }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-oi { font-family: var(--f-display); font-size: 2rem; line-height: 1; letter-spacing: .02em; padding-top: 4px; }
.brand-sep { width: 1px; height: 26px; background: var(--rule-strong); opacity: .5; }
.brand-co { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; line-height: 1.15; }

.nav-main { display: none; }
.nav-main ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav-main a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .45em; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--rule); border-radius: 3px; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.header-book { display: inline-flex; }
@media (max-width: 379px) { .header-book { padding-inline: .7rem; font-size: .875rem; } .brand-co { display: none; } .brand-sep { display: none; } }
@media (max-width: 519px) {
  .site-header .wrap { gap: 10px; }
  .site-header .wrap > .theme-btn { display: none; }
  .brand-co { font-size: .75rem; }
  .brand { gap: 10px; }
  .header-book { padding-inline: .8rem; }
}
.panel-theme { display: none; }
@media (max-width: 519px) { .panel-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--ink-2); font-size: .9375rem; } }

.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }

.nav-mobile {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: 8px var(--gutter) 24px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile ul { list-style: none; }
.nav-mobile li { border-bottom: 1px solid var(--rule); }
.nav-mobile a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--f-serif); font-size: 1.3rem; text-decoration: none;
}
.nav-mobile .btn { width: 100%; margin-top: 20px; }
.nav-mobile a:not(.btn) svg { width: 18px; height: 18px; color: var(--red); flex: none; }

@media (min-width: 1000px) {
  .nav-main { display: block; }
  .menu-btn, .nav-mobile { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 128px); border-top: 1px solid var(--rule); scroll-margin-top: var(--header-h); }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.section-head { display: grid; gap: 20px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { margin: 0; }
.section-head .lead { max-width: 40em; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.hero h1 { max-width: 11.5em; }
.hero h1 em { font-style: italic; font-family: var(--f-serif); font-size: .92em; }
.hero .lead { margin-top: 28px; }
.hero .actions { margin-top: 36px; }
.hero-by { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); max-width: 38em; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.hero-by a { font-weight: 600; }

.hero-stage { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; padding-top: 8px; }
.hero-stage .phone { position: relative; z-index: 2; }
.hero-stage .chit { position: absolute; z-index: 3; left: 0; bottom: 64px; width: 170px; transform: rotate(-3deg); }
.hero-stage + .illus { justify-content: flex-end; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .hero-stage { flex-direction: column; align-items: flex-end; }
  .hero-stage .chit { position: relative; left: auto; bottom: auto; margin: -26px 150px 0 0; transform: rotate(-2deg); }
}
@media (max-width: 999px) {
  .hero-stage { flex-direction: column; align-items: center; gap: 0; }
  .hero-stage + .illus { justify-content: center; }
  .hero-stage .chit { position: relative; left: auto; bottom: auto; margin: -26px 0 0 -120px; transform: rotate(-2deg); }
}
@media (max-width: 520px) {
  .hero-stage .chit { margin: -24px auto 0 0; }
}

/* Proof strip under hero */

/* ---------- Illustrative label ---------- */
.illus {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); text-align: center;
}
.illus::before { content: ""; width: 10px; height: 10px; border: 1px dashed var(--muted); flex: none; }
.illus--left { justify-content: flex-start; text-align: left; }

/* ---------- Drawn devices ---------- */
.phone {
  width: min(100%, 332px); flex: none;
  background: var(--device); border-radius: 42px; padding: 9px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--device-edge);
}
.screen {
  background: var(--screen); color: var(--ink); border-radius: 34px; overflow: hidden;
  font-size: .875rem; line-height: 1.45; min-height: 560px; display: flex; flex-direction: column;
}
.phone--short .screen { min-height: 0; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 6px; font: 500 .75rem/1 var(--f-mono); }
.statusbar .notch { width: 84px; height: 22px; background: var(--device); border-radius: 12px; }
.statusbar .batt { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.statusbar .batt::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.appbar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 18px 12px; border-bottom: 1px solid var(--rule); }
.appbar b { font-family: var(--f-serif); font-weight: 500; font-size: 1.05rem; }
.appbar span { font: .6875rem/1.2 var(--f-mono); color: var(--muted); }
.screen-body { padding: 14px 14px 18px; display: grid; gap: 12px; align-content: start; flex: 1; }

/* chat */
.msg { max-width: 88%; padding: 10px 12px; border-radius: 14px; }
.msg-meta { display: block; font: .6875rem/1.3 var(--f-mono); color: var(--muted); margin-bottom: 4px; }
.msg--staff { justify-self: end; background: var(--screen-2); border-bottom-right-radius: 4px; }
.msg--oi { justify-self: start; max-width: 96%; background: var(--screen); border: 1px solid var(--rule); border-bottom-left-radius: 4px; }
.msg--oi p { margin: 0 0 .5em; }
.msg--oi p:last-child { margin-bottom: 0; }
.understood { display: block; padding: 6px 8px; margin-bottom: 8px; background: var(--screen-2); border-left: 2px solid var(--ink); font-size: .8125rem; }
.understood i { font-style: normal; font: .6875rem/1.3 var(--f-mono); color: var(--muted); display: block; }
.flag { color: var(--red); font-weight: 650; }
.source { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--rule); font: .6875rem/1.4 var(--f-mono); color: var(--muted); }
.composer { margin: 0 12px 16px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 22px; color: var(--muted); font-size: .8125rem; display: flex; justify-content: space-between; align-items: center; }
.composer i { font-style: normal; font: .6875rem var(--f-mono); }

/* desk window */
.desk {
  background: var(--screen); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: var(--shadow); overflow: hidden; font-size: .875rem; line-height: 1.45;
}
.desk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--rule); background: var(--screen-2); flex-wrap: wrap; }
.desk-bar b { font-family: var(--f-serif); font-weight: 500; font-size: 1rem; }
.desk-bar span { font: .6875rem/1.3 var(--f-mono); color: var(--muted); }
.desk-body { padding: 16px; }

/* chit — the kitchen ticket */
.chit {
  width: 190px; background: var(--chit); color: var(--chit-ink);
  font: .75rem/1.5 var(--f-mono); padding: 14px 14px 22px;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45);
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
}
.chit hr { border: 0; border-top: 1px dashed currentColor; opacity: .5; margin: 8px 0; }
.chit .big { font-size: .9375rem; font-weight: 500; letter-spacing: .04em; }
.chit .allergy { color: #B3202A; font-weight: 500; }

/* ---------- Evening timeline ---------- */
.evening { list-style: none; position: relative; }
.moment { display: grid; gap: 20px 48px; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.moment:first-child { border-top-color: var(--rule-strong); }
.moment:last-child { padding-bottom: 0; }
.moment-time { font-family: var(--f-display); font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); line-height: 1; color: var(--ink); }
.moment-time small { display: block; margin-top: 10px; font: .8125rem/1.3 var(--f-mono); color: var(--muted); }
.moment-text h3 { margin-bottom: 14px; }
.moment-text p { color: var(--ink-2); max-width: 34em; }
.moment-text ul { list-style: none; margin-top: 8px; border-top: 1px solid var(--rule); }
.moment-text li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--rule); position: relative; font-size: .9688rem; color: var(--ink-2); }
.moment-text li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 1px; background: var(--red); }
.moment-visual { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.moment-visual .desk { width: 100%; }
@media (min-width: 1000px) {
  .moment { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
  .moment-visual { align-items: stretch; }
  .moment-visual .phone { align-self: center; }
}

/* briefing */
.brief-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .brief-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.brief-col h4 { font: 500 .6875rem/1.3 var(--f-mono); color: var(--muted); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.brief-col dl { margin: 0; display: grid; gap: 8px; }
.brief-col dt { font-weight: 650; font-size: .8125rem; }
.brief-col dd { margin: 0; color: var(--ink-2); font-size: .8125rem; }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; font: .6875rem/1 var(--f-mono); }
.lang span { padding: 5px 8px; }
.lang .on { background: var(--ink); color: var(--screen); }
.readbar { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.readbar-top { display: flex; justify-content: space-between; font: .6875rem/1.3 var(--f-mono); color: var(--muted); }
.meter { height: 6px; background: var(--screen-2); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 78%; background: var(--ink); }
.who { display: flex; flex-wrap: wrap; gap: 6px; }
.who span { font: .6875rem/1 var(--f-mono); padding: 5px 7px; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); }
.who span.read::before { content: "\2713\00a0"; color: var(--green); }
.who span.unread { color: var(--muted); border-style: dashed; }

/* checklist */
.check-list { list-style: none; display: grid; gap: 8px; }
.check-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 10px; border: 1px solid var(--rule); border-radius: 10px; }
.box { width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 4px; display: grid; place-items: center; margin-top: 1px; }
.box.done { background: var(--ink); }
.box.done::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--screen); border-bottom: 2px solid var(--screen); transform: rotate(-45deg) translate(1px, -1px); }
.check-item b { display: block; font-weight: 600; font-size: .8125rem; }
.check-item small { display: block; font: .6875rem/1.4 var(--f-mono); color: var(--muted); }
.temp { font-family: var(--f-mono); font-weight: 500; }
.photo-thumb { display: inline-block; width: 28px; height: 22px; border-radius: 3px; vertical-align: middle; margin-right: 6px; background: linear-gradient(135deg, var(--screen-2) 0 45%, var(--rule) 45% 55%, var(--screen-2) 55%); border: 1px solid var(--rule); }
.offline { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--screen-2); font: .6875rem/1.3 var(--f-mono); color: var(--ink-2); }
.offline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--amber); flex: none; }

/* reservations */
.station { padding: 10px 12px; border: 1px solid var(--ink); border-radius: 10px; }
.station small { display: block; font: .6875rem/1.3 var(--f-mono); color: var(--muted); }
.station b { font-family: var(--f-serif); font-weight: 500; font-size: 1rem; }
.res-head { display: flex; justify-content: space-between; font: .6875rem/1.3 var(--f-mono); color: var(--muted); padding: 4px 2px 0; }
.res { list-style: none; border-top: 1px solid var(--rule); }
.res li { display: grid; grid-template-columns: 44px 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--rule); font-size: .8125rem; }
.res .t { font-family: var(--f-mono); font-size: .75rem; }
.res .tb { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.tag { font: 500 .625rem/1 var(--f-mono); padding: 4px 6px; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap; }
.tag--red { color: var(--red); }

/* weekly summary */
.summary-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.summary-table th, .summary-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--rule); }
.summary-table th { font: 500 .6875rem/1.3 var(--f-mono); color: var(--muted); }
.summary-table td + td, .summary-table th + th { text-align: right; font-family: var(--f-mono); }
.summary-table tbody td:first-child { font-family: var(--f-serif); font-size: .9375rem; }

/* ---------- Allergens ---------- */
.allergen-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .allergen-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.rules { list-style: none; counter-reset: r; border-top: 1px solid var(--rule-strong); margin-top: 32px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.rules li::before { content: counter(r, decimal-leading-zero); font: .8125rem/1.9 var(--f-mono); color: var(--red); }
.rules b { color: var(--ink); }

.allergen-visual { display: grid; gap: 20px; }
.allergen-side { display: grid; gap: 20px; align-items: start; justify-items: center; }
@media (min-width: 700px) { .allergen-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-items: stretch; } .allergen-side .phone { justify-self: center; } }
.dish { background: var(--screen); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.dish-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--rule); }
.dish-head h3 { font-size: 1.2rem; }
.dish-head small { display: block; margin-top: 6px; font: .6875rem/1.4 var(--f-mono); color: var(--muted); }
.algs { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); padding: 6px 16px 10px; }
@media (min-width: 420px) { .algs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; } }
.algs li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: .8125rem; }
.algs li span:last-child { font: .6875rem/1.2 var(--f-mono); white-space: nowrap; }
.mk { width: 13px; height: 13px; border: 1.5px solid var(--nr); display: inline-block; }
.mk-c { background: var(--red); border-color: var(--red); }
.mk-m { border-color: var(--amber); background: linear-gradient(135deg, var(--amber) 0 50%, transparent 50%); }
.mk-f { border-color: var(--green); }
.mk-n { border-color: var(--nr); background: repeating-linear-gradient(135deg, var(--nr) 0 1.5px, transparent 1.5px 4px); }
.st-c { color: var(--red); } .st-m { color: var(--amber); } .st-f { color: var(--green); } .st-n { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px 16px; font: .6875rem/1.3 var(--f-mono); color: var(--muted); border-top: 1px solid var(--rule); background: var(--screen-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.stale { margin-top: 0; padding: 12px 16px; border: 1px dashed var(--nr); border-radius: 10px; background: var(--screen); font-size: .8125rem; color: var(--ink-2); }
.stale b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: .9375rem; color: var(--ink); }
.stale small { display: block; margin-top: 4px; font: .6875rem/1.4 var(--f-mono); color: var(--muted); }


/* ---------- Drop it as it is ---------- */
.drop { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1000px) { .drop { grid-template-columns: minmax(0, 4fr) 72px minmax(0, 5fr) minmax(0, 3fr); gap: 32px; } }
.files { list-style: none; display: grid; gap: 10px; }
.file { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; }
.file .ext { display: grid; place-items: center; height: 40px; border: 1px solid var(--ink); border-radius: 3px; font: 500 .6875rem/1 var(--f-mono); position: relative; }
.file .ext::after { content: ""; position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; background: linear-gradient(225deg, var(--paper) 0 50%, var(--ink) 50% calc(50% + 1px), var(--surface) calc(50% + 1px)); }
.file b { display: block; font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.file small { display: block; font: .75rem/1.4 var(--f-mono); color: var(--muted); }
.file small s { color: var(--red); text-decoration-color: var(--red); }
.drop-arrow { display: grid; place-items: center; color: var(--red); }
.drop-arrow svg { width: 56px; height: 56px; }
@media (max-width: 999px) { .drop-arrow svg { transform: rotate(90deg); width: 40px; height: 40px; } }
.draft .desk-body { display: grid; gap: 12px; }
.draft .field small { display: block; font: .6875rem/1.3 var(--f-mono); color: var(--muted); margin-bottom: 2px; }
.draft .field p { margin: 0; }
.draft .dishname { font-family: var(--f-serif); font-size: 1.15rem; }
.draft .algs { padding: 0; grid-template-columns: minmax(0, 1fr); }
.draft-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.fake-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 3px; font-weight: 600; font-size: .8125rem; border: 1px solid var(--ink); }
.fake-btn--solid { background: var(--ink); color: var(--screen); }
.draft-note { font: .6875rem/1.4 var(--f-mono); color: var(--muted); }
.promises { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.promises li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.35; }

/* ---------- Carte: what OI does today ---------- */
.carte { display: grid; gap: 0 72px; }
@media (min-width: 900px) { .carte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.carte-item { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.carte-row { display: flex; align-items: baseline; gap: 10px; }
.carte-row h3 { flex: none; max-width: 75%; }
.carte-row .leader { flex: 1; min-width: 20px; border-bottom: 1.5px dotted var(--muted); transform: translateY(-5px); }
.carte-row .status { flex: none; font: .75rem/1 var(--f-mono); color: var(--ink-2); }
.carte-item p { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; }
.coming { margin-top: 56px; padding: clamp(20px, 3vw, 36px); border: 1px dashed var(--nr); border-radius: 4px; }
.coming h3 { margin-bottom: 6px; }
.coming > p { color: var(--muted); margin-bottom: 8px; font-size: 1rem; }
.coming .carte-item:last-child { border-bottom: 0; }
.coming .status { color: var(--muted); }

/* ---------- Groups ---------- */
.groups { display: grid; gap: 48px; }
@media (min-width: 1000px) { .groups { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.tree { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 20px clamp(14px, 2.5vw, 28px); box-shadow: var(--shadow); }
.tree ul { list-style: none; }
.tree ul ul { margin-left: 13px; padding-left: 16px; border-left: 1px solid var(--rule); }
.node { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); position: relative; }
.tree ul ul .node::before { content: ""; position: absolute; left: -16px; top: 1.2em; width: 11px; border-top: 1px solid var(--rule); }
.node b { font-family: var(--f-serif); font-weight: 500; font-size: 1rem; }
.node i { font-style: normal; font: .6875rem/1.3 var(--f-mono); color: var(--muted); white-space: nowrap; }
.node--here b { color: var(--red); }
.node--closed b { color: var(--muted); }
.titles { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 12px; }
.titles span { font-size: .8125rem; padding: 4px 9px; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); background: var(--paper); }
.group-points { list-style: none; border-top: 1px solid var(--rule-strong); margin-top: 32px; }
.group-points li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.group-points b { color: var(--ink); }

/* ---------- Security ---------- */
.sec-grid { display: grid; gap: 0 48px; border-top: 1px solid var(--rule-strong); }
@media (min-width: 700px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sec-item { padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.sec-item h3 { margin-bottom: 10px; font-size: 1.25rem; }
.sec-item ul { list-style: none; display: grid; gap: 6px; }
.sec-item li { color: var(--ink-2); font-size: 1rem; padding-left: 18px; position: relative; }
.sec-item li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--ink); }
.sec-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.sec-foot p { margin: 0; color: var(--ink-2); }
.sec-foot p a { font-weight: 600; display: inline-block; padding-block: 10px; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 40px; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.portrait { margin: 0; }
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; background: var(--band); color: var(--band-ink);
  display: grid; place-items: center; overflow: hidden; border-radius: 2px;
}
.portrait-frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--band-rule); }
.portrait-frame .mono-gh { font-family: var(--f-display); font-size: clamp(5rem, 3rem + 7vw, 9rem); line-height: 1; letter-spacing: .02em; }
.portrait-frame .mono-gh span { color: var(--red); }
.portrait-frame .place { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; gap: 12px; font: .6875rem/1.3 var(--f-mono); color: var(--band-muted); }
.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.portrait figcaption b { font-family: var(--f-serif); font-weight: 500; }
.portrait figcaption span { color: var(--muted); }
@media (max-width: 899px) { .portrait { max-width: 340px; } }

.career { list-style: none; border-top: 1px solid var(--rule-strong); margin-top: 28px; }
.career li { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .career li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.career b { font-family: var(--f-serif); font-weight: 500; font-size: 1.0625rem; }
.career span { color: var(--ink-2); font-size: .9688rem; }
.cities { margin-top: 20px; font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }

/* ---------- Pilot ---------- */
.pilot-track { position: relative; display: grid; gap: 0; list-style: none; }
.pilot-step { position: relative; padding: 0 0 36px 40px; }
.pilot-step::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: -6px; width: 1px; background: var(--rule-strong); }
.pilot-step:last-child::before { display: none; }
.pilot-step::after { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border: 1.5px solid var(--ink); background: var(--paper); border-radius: 50%; }
.pilot-step--key::after { background: var(--red); border-color: var(--red); }
.pilot-when { font: .8125rem/1.3 var(--f-mono); color: var(--muted); display: block; margin-bottom: 6px; }
.pilot-step h3 { margin-bottom: 8px; }
.pilot-step p { color: var(--ink-2); margin: 0; max-width: 30em; }
.pilot-span { display: none; }
@media (min-width: 1000px) {
  .pilot-track { grid-template-columns: 1fr 1fr 2fr 1fr; gap: 0 32px; padding-top: 56px; }
  .pilot-step { padding: 0; }
  .pilot-step::before { left: 0; right: -32px; top: -42px; bottom: auto; width: auto; height: 1px; }
  .pilot-step:last-child::before { display: block; right: 0; }
  .pilot-step::after { top: -49px; left: 0; }
  .pilot-span { display: block; position: absolute; top: -43px; left: 15px; right: -32px; height: 30px; border-top: 3px solid var(--red); }
  .pilot-span span { display: block; padding: 12px 0 0 12px; font: 500 .75rem/1 var(--f-mono); color: var(--red); }
}
.pilot-proof { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-2); max-width: 46em; }

/* ---------- Booking ---------- */
.book { display: grid; gap: 48px; }
@media (min-width: 1000px) { .book { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.book-points { list-style: none; border-top: 1px solid var(--rule-strong); margin-top: 32px; }
.book-points li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.book-points li > span:first-child { font: .8125rem/1.8 var(--f-mono); color: var(--muted); }
.booking-panel { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.booking-panel-head { order: -2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.booking-panel-head h3 { font-size: 1.25rem; }
.booking-panel-head span { font: .75rem/1.3 var(--f-mono); color: var(--muted); }
.booking-embed { padding: 22px; display: grid; gap: 16px; }
.booking-fallback { padding: 22px; border-top: 1px solid var(--rule); background: var(--paper); display: grid; gap: 14px; }
.booking-fallback p { margin: 0; color: var(--ink-2); font-size: .9688rem; }
.booking-fallback .btn { justify-self: start; }
.email-line { font-family: var(--f-mono); font-size: .875rem; overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Closing band ---------- */
.closing { background: var(--band); color: var(--band-ink); padding-block: clamp(72px, 10vw, 150px); }
.closing-grid { display: block; }
.closing h2 { color: var(--band-ink); max-width: none; font-size: clamp(2.4rem, 1.2rem + 4.6vw, 6.25rem); line-height: 1.04; }
.closing h2 em { font-style: italic; font-family: var(--f-serif); color: inherit; }
.closing p { color: var(--band-muted); margin-top: 28px; max-width: 34em; }
.closing .btn { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); margin-top: 12px; }
.closing .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
:root[data-theme="dark"] .closing .btn:hover { color: var(--band); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .closing .btn:hover { color: var(--band); } }
.closing a:not(.btn) { color: var(--band-ink); }
.closing :focus-visible { outline-color: var(--band-ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 48px 40px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); } }
.site-footer .email-line { font-size: .8125rem; }
.site-footer h2 { font-family: var(--f-sans); font-size: .9375rem; font-weight: 650; letter-spacing: 0; margin-bottom: 8px; }
.site-footer ul { list-style: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.site-footer li a:hover { color: var(--red); text-decoration: underline; }
.footer-brand p { color: var(--muted); max-width: 26em; margin-top: 12px; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 112px) clamp(40px, 5vw, 72px); }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { margin-top: 24px; }
.quote-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.9vw, 5rem); max-width: 15em; }
.quote-hero h1 .q { color: var(--red); }
.quote-hero .by { margin-top: 28px; font-family: var(--f-mono); font-size: .875rem; color: var(--muted); }

.prose { max-width: 40em; }
.prose p { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); margin: 0 0 20px; }
.prose h3 { margin: 32px 0 10px; }

.principles { list-style: none; display: grid; gap: 0 72px; border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principles li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.principles .num { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--red); }
.principles h3 { margin-bottom: 8px; }
.principles p { margin: 0; color: var(--ink-2); }

.doc-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; } }
.doc-toc { position: relative; }
@media (min-width: 1000px) { .doc-toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.doc-toc h2 { font-family: var(--f-sans); font-size: .9375rem; font-weight: 650; letter-spacing: 0; margin-bottom: 8px; }
.doc-toc ol { list-style: none; border-top: 1px solid var(--rule-strong); }
.doc-toc li { border-bottom: 1px solid var(--rule); }
.doc-toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink-2); font-size: .9688rem; }
.doc-toc a span { font: .75rem var(--f-mono); color: var(--muted); width: 20px; }
.doc-toc a:hover { color: var(--red); }
@media (max-width: 999px) { .doc-toc ol { columns: 2; column-gap: 24px; } .doc-toc li { break-inside: avoid; } }
@media (max-width: 480px) { .doc-toc ol { columns: 1; } }

.doc-section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--rule); }
.doc-section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-section h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 18px; display: flex; gap: 16px; align-items: baseline; }
.doc-section h2 .n { font: .875rem var(--f-mono); color: var(--red); letter-spacing: 0; }
.doc-section > p { color: var(--ink-2); max-width: 40em; }
.facts-list { list-style: none; border-top: 1px solid var(--rule); margin-top: 8px; max-width: 46em; }
.facts-list li { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .facts-list li { grid-template-columns: 200px minmax(0, 1fr); } }
.facts-list b { font-weight: 650; }
.facts-list span { color: var(--ink-2); }

/* separation diagram */
.sep-diagram { margin-top: 24px; max-width: 46em; display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 0; align-items: stretch; }
.tenant { border: 1px solid var(--ink); border-radius: 6px; padding: 14px; background: var(--surface); min-width: 0; }
.tenant > b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: 1rem; margin-bottom: 10px; }
.tenant > small { display: block; font: .6875rem/1.3 var(--f-mono); color: var(--muted); margin: -6px 0 10px; }
.dept { border: 1px solid var(--rule); border-radius: 4px; padding: 8px 10px; margin-top: 8px; font-size: .875rem; background: var(--paper); overflow-wrap: anywhere; }
.dept small { display: block; font: .6875rem/1.3 var(--f-mono); color: var(--muted); }
.wall { position: relative; }
.wall::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--red); }

.notice { border: 1px solid var(--rule-strong); border-radius: 4px; padding: clamp(20px, 3vw, 32px); max-width: 46em; background: var(--surface); }
.notice h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 12px; }
.notice p { color: var(--ink-2); }
.notice p:last-child { margin-bottom: 0; }

.cta-strip { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .cta-strip { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-strip h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); }
.cta-strip p { margin: 10px 0 0; color: var(--ink-2); }

/* ---------- Small-screen safety ---------- */
.groups > *, .allergen-grid > *, .founder > *, .book > *, .hero-grid > *, .drop > *, .doc-layout > *, .closing-grid > * { min-width: 0; }
@media (max-width: 480px) {
  .tree ul ul { margin-left: 6px; padding-left: 11px; }
  .tree ul ul .node::before { left: -11px; width: 7px; }
  .node i { white-space: normal; text-align: right; }
  .titles span { font-size: .75rem; padding: 3px 7px; }
}
.nav-mobile a[aria-current="page"] { color: var(--red); }

@media (min-width: 1100px) { .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Roadmap fixes ---------- */
@media (max-width: 700px) {
  .carte-item { padding: 14px 0; }
}
.nav-main a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav-mobile a[aria-current="true"] { color: var(--red); }
.small-note { margin: 0; font-size: .875rem; color: var(--muted); }
.copy-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin-left: 8px; border: 1px solid var(--rule); border-radius: 3px; background: transparent; color: var(--ink); font: 500 .8125rem var(--f-sans); cursor: pointer; vertical-align: middle; }
.copy-btn:hover { border-color: var(--ink); }
.copy-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.to-top { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.illus { justify-content: center; text-align: left; }
@media (max-width: 1199px) { .hero-stage + .illus { justify-content: center; } }
.moment { scroll-margin-top: calc(var(--header-h) + 12px); }
.booking-fallback .copy-btn { justify-self: start; margin-left: 0; }

/* Pilot quotes */
.pilot-quotes { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.pilot-quotes-title { grid-column: 1 / -1; font: 500 .75rem/1.2 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.pq { margin: 0; display: grid; gap: 16px; align-content: start; }
.pq blockquote { margin: 0; }
.pq blockquote p { margin: 0; font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; color: var(--ink); }
.pq blockquote p::before { content: "\201C"; color: var(--red); }
.pq blockquote p::after { content: "\201D"; color: var(--red); }
.pq figcaption { font-size: .9375rem; color: var(--ink-2); display: grid; gap: 2px; }
.pq figcaption span { font: .75rem/1.3 var(--f-mono); color: var(--muted); }
@media (max-width: 700px) { .pilot-quotes { grid-template-columns: 1fr; margin-top: 40px; } }

/* ---------- Round 3 ---------- */
.lbl-short { display: none; }
@media (max-width: 519px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
#evening { padding-top: clamp(24px, 3vw, 48px); }
.hero--v2 + #how { border-top: 0; }
.hero h1 em { padding-inline-start: .06em; }
.book-steps { list-style: none; counter-reset: st; display: grid; gap: 10px; margin: 0; padding: 0; }
.book-steps li { counter-increment: st; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: .9688rem; }
.book-steps li::before { content: counter(st); font: 500 .8125rem/1.6 var(--f-mono); color: var(--red); }
.book-cta { justify-self: start; }
.book .book-points { margin-top: 0; }
@media (min-width: 1000px) {
  .book { grid-template-areas: "intro panel" "points panel"; grid-template-rows: auto 1fr; row-gap: 32px; }
  .book-intro { grid-area: intro; } .book-points { grid-area: points; } .booking-panel { grid-area: panel; }
}
@media (max-width: 999px) { .book-intro { order: 1; } .booking-panel { order: 2; } .book-points { order: 3; } }
.sec-grid--two { }
@media (min-width: 1100px) { .sec-grid.sec-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section--cta { padding-block: clamp(24px, 3vw, 40px); border-top: 0; }
.site-footer li a { min-width: 44px; }
.pq--founder { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.pq--founder blockquote p { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
@media (max-width: 700px) {
  .section { padding-block: 48px; }
  .allergen-side .phone { display: none; }
  .drop-arrow { display: none; }
  .portrait { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-block: 36px 28px; }
}
.algs-free-sum { display: none !important; }
@media (max-width: 700px) {
  .dish .algs li:has(.st-f):not(.algs-free-sum) { display: none; }
  .dish .algs .algs-free-sum { display: grid !important; }
  .drop .files { display: none; }
}
@media (min-width: 1000px) and (max-width: 1199px) { .site-header .lbl-long { display: none; } .site-header .lbl-short { display: inline; } .nav-main a { padding-inline: 8px; } }

/* ---------- Round 5: new homepage ---------- */
.eyebrow { margin: 0 0 18px; font: 500 .8125rem/1.4 var(--f-mono); color: var(--ink-2); letter-spacing: .01em; }
.hero--v2 h1 { max-width: 13em; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.6rem); line-height: 1.05; }
.hero--v2 h1 em { font-size: 1em; }
.proofs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; max-width: 38em; }
.proofs li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.proofs li::before { content: ""; width: 10px; height: 10px; margin-top: .42em; border: 1.5px solid var(--red); transform: rotate(45deg); }
.founder-line { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 38em; font-size: .9375rem; color: var(--ink-2); }
.founder-line a { font-weight: 600; }

.hero-flow { display: grid; gap: 14px; max-width: 440px; margin-inline: auto; }
.flow-card { position: relative; background: var(--screen); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px 16px; box-shadow: var(--shadow); font-size: .875rem; display: grid; gap: 8px; }
.flow-card:nth-child(2) { margin-left: 28px; }
.flow-card:nth-child(3) { margin-left: 8px; }
.flow-n { font: 500 .6875rem/1.2 var(--f-mono); color: var(--red); letter-spacing: .02em; }
.flow-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.flow-head b { font-family: var(--f-serif); font-weight: 500; font-size: 1rem; }
.flow-head span, .flow-row small, .flow-foot { font: .6875rem/1.3 var(--f-mono); color: var(--muted); }
.flow-row { display: grid; gap: 2px; }
.flow-row small { display: block; }
.flow-foot { display: flex; justify-content: space-between; }
.flow-score { font-size: .9375rem; color: var(--ink-2); }
.flow-score b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 400; color: var(--ink); margin-right: 4px; }
.flow-card--ask { gap: 10px; background: var(--screen-2); }
.flow-card--ask .msg--staff { background: var(--screen); }
.js .flow-card { animation: flowIn .6s cubic-bezier(.2,.7,.2,1) both; }
.js .flow-card:nth-child(2) { animation-delay: .7s; }
.js .flow-card:nth-child(3) { animation-delay: 1.4s; }
@keyframes flowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 999px) { .hero--v2 .hero-grid > div:nth-child(2) { margin-top: 8px; } }
@media (max-width: 480px) { .flow-card:nth-child(2), .flow-card:nth-child(3) { margin-left: 0; } }

.how-grid { display: grid; gap: 20px 48px; }
@media (min-width: 800px) { .how-grid { grid-template-columns: 1fr 1fr; } }
.how-item { border-top: 1px solid var(--rule-strong); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.how-item p { margin: 0; color: var(--ink-2); }
.how-item .arrow-link { justify-self: start; }

.fcards { display: grid; gap: 16px; }
@media (min-width: 760px) { .fcards { grid-template-columns: 1fr 1fr; gap: 20px; } }
.fcard { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; }
.fcard-k { font: 500 .75rem/1.2 var(--f-mono); color: var(--red); }
.fcard h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.fcard p { margin: 0; color: var(--ink-2); }
.fcard .arrow-link { justify-self: start; margin-top: 4px; }
.loop { margin: 36px 0 0; max-width: 44em; font-family: var(--f-serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; color: var(--ink); }
.also { margin: 20px 0 0; max-width: 60em; color: var(--ink-2); font-size: .9375rem; line-height: 1.8; }
.also b { font: 500 .75rem/1 var(--f-mono); color: var(--muted); margin-right: 8px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.split .arrow-link { display: inline-flex; }

.founder--short .portrait { max-width: 300px; }
@media (min-width: 900px) { .founder.founder--short { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); } }
.said { margin: 28px 0 24px; padding-left: 16px; border-left: 2px solid var(--red); max-width: 40em; font-family: var(--f-serif); font-size: 1.125rem; line-height: 1.5; color: var(--ink); }
.said--wide { margin-top: 48px; }

.faq { border-top: 1px solid var(--rule-strong); max-width: 56em; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-family: var(--f-serif); font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-sans); color: var(--red); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 46em; color: var(--ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.facts-list--wide { max-width: 60em; }
@media (min-width: 700px) { .facts-list--wide li { grid-template-columns: 240px minmax(0, 1fr); } }
.quiz-sum { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rule); font-size: .8125rem; color: var(--ink-2); }
.quiz-sum b { color: var(--ink); }
.tree-wrap { margin-top: 28px; }
.page-hero .eyebrow { margin-bottom: 16px; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: revealIn linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes revealIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .flow-card { animation: none; } }
@media (max-width: 520px) {
  .summary-table th, .summary-table td { white-space: nowrap; font-size: .75rem; padding-inline: 4px; }
  .summary-table td:first-child { white-space: normal; }
  .founder--short .portrait { max-width: 220px; }
}
.hero--v2 { padding-bottom: clamp(32px, 4vw, 56px); }
.split > * { min-width: 0; }
.desk-body { overflow-x: auto; }
.stale small { font-size: .75rem; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation-fill-mode: forwards; }
  }
}

/* ---- hero v3 + footer v2 (draft 21-10-2026) ---- */
.hero--v3 h1 { max-width: 12em; }
.hero--v3 .h1-turn { display: block; }
.hero-sub { margin: 26px 0 0; max-width: 31em; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.hero--v3 .actions { margin-top: 32px; }
.hero--v3 .founder-line { margin-top: 28px; padding-top: 14px; font-size: .875rem; color: var(--muted); }
@media (min-width: 800px) { .footer-grid--v2 { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); } }
@media (pointer: fine) and (min-width: 800px) { .footer-grid--v2 li a { min-height: 34px; } }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--red); }
@media (max-width: 799px) { .footer-grid--v2 > div:last-child { grid-column: 1 / -1; } }
.footer-base { align-items: center; }
.footer-legal { align-items: center; }
.footer-legal a, .footer-legal .to-top { min-height: 44px; display: inline-flex; align-items: center; }
/* ---- guides (draft 22-10-2026) ---- */
.page-hero .eyebrow a { color: inherit; }
.guide-body p { max-width: 40em; }
.guide-list { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 8px; max-width: 40em; }
.guide-list li { line-height: 1.55; }
.guide-note { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--muted); }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-card > a, .guide-card > div { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 22px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; text-decoration: none; color: var(--ink); }
.guide-card > a:hover { border-color: var(--ink); }
.guide-card b { font-family: var(--f-display, var(--f-serif)); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.guide-card span { color: var(--ink-2); line-height: 1.5; }
.guide-card i { margin-top: auto; padding-top: 8px; font: 500 .8125rem var(--f-mono); font-style: normal; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.guide-card i svg { width: 14px; height: 14px; }
.guide-card--soon > div { background: transparent; border-style: dashed; }
.guide-card--soon i { color: var(--muted); }
/* ---- guide pages v2 (23-10-2026) ---- */
.guide-meta { margin-top: 18px; font: 400 .8125rem var(--f-mono); color: var(--muted); }
.guide-body h3 { margin: 28px 0 8px; font-family: var(--f-serif); font-weight: 600; font-size: 1.125rem; }
.guide-body ol.guide-list { padding-left: 1.4em; }
.guide-table { margin: 20px 0; overflow-x: auto; max-width: 100%; }
.guide-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .9375rem; }
.guide-table th { text-align: left; font: 600 .8125rem var(--f-sans); border-bottom: 1px solid var(--ink); padding: 8px 12px 8px 0; }
.guide-table td { vertical-align: top; border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; line-height: 1.5; }
.guide-more { margin-top: 28px; }
.guide-body ul.guide-list, .guide-body ol.guide-list { margin-bottom: 18px; }
/* 23-10-2026: no scroll-linked reveal; content is simply there while scrolling */
.reveal { animation: none !important; opacity: 1; transform: none; }
/* 23-10-2026: logo E as the site mark */
.brand-logo { display: block; height: 34px; width: auto; color: var(--ink); }
.brand-logo--mark { display: none; }
.site-footer .brand-logo { height: 30px; }
@media (max-width: 999px) { .brand-logo { height: 28px; } }
@media (max-width: 379px) { .brand-logo--full { display: none; } .brand-logo--mark { display: block; } }
