/* Chef Hai-Gil Montesinos. Paper and ink: the chef and his kitchen in black-and-white, his food the only colour on the page.
   v3 (28 Nov 2026), one evening scroll by scroll: the scroll pushes into the steam at his stove and the steam becomes the
   page; the thumb plays the eggplant reel; at night his plates wait on a stone table and the scroll turns them.
   Pinned scenes exist only under .motion (scripts on, motion allowed); without them every scene is a plain block.
   Logical properties only (RTL mirrors itself). GSAP + ScrollTrigger + Lenis (desktop), three.js for the pass only. */
@layer tokens, reset, base, layout, components, motion, utilities;

/* The ground moves with the reader. The page is paper; it turns to night for the evening at Fish Royal, to stone for the
   consulting room, and to night again to close (app.js sets data-ground on <html> from the section under the reading line).
   The colours are registered so they glide from one ground to the next; a browser without @property switches at once. */
@property --paper { syntax: "<color>"; inherits: true; initial-value: #f4f1eb; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #161412; }
@property --ink-2 { syntax: "<color>"; inherits: true; initial-value: #5e584f; }
@property --rule { syntax: "<color>"; inherits: true; initial-value: rgb(22 20 18 / 0.14); }
@property --rule-strong { syntax: "<color>"; inherits: true; initial-value: rgb(22 20 18 / 0.32); }
@property --open { syntax: "<color>"; inherits: true; initial-value: #3e5a47; }

@layer tokens {
  :root {
    --paper: #f4f1eb;
    --ink: #161412;
    --ink-2: #5e584f;
    --rule: rgb(22 20 18 / 0.14);
    --rule-strong: rgb(22 20 18 / 0.32);
    --open: #3e5a47;
    --lit: #f4f1eb; --dark: #161412;                              /* fixed: type and controls that sit on a picture, on any ground */
    --field: #f4f1eb;                                             /* form fields stay paper on every ground */

    --font-display: "Bellefair", "Times New Roman", serif;
    --font-text: "Assistant", "Segoe UI", Arial, sans-serif;
    /* One type scale. Phone: 17 px text, each step 1.272 (the square root of the golden ratio) above the last.
       Desktop: 18 px text, each step a perfect fourth (1.333). Every size on the page is one of these steps. */
    --step--1: clamp(0.9375rem, 0.92rem + 0.08vw, 1rem);          /* 15 -> 16: smallest functional text */
    --step-0: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);        /* 17 -> 18 */
    --step-1: clamp(1.35rem, 1.294rem + 0.229vw, 1.5rem);         /* 21.6 -> 24 */
    --step-2: clamp(1.72rem, 1.614rem + 0.429vw, 2rem);           /* 27.5 -> 32 */
    --step-3: clamp(2.1875rem, 2.009rem + 0.733vw, 2.667rem);     /* 35 -> 42.7 */
    --step-4: clamp(2.78rem, 2.494rem + 1.181vw, 3.556rem);       /* 44.5 -> 56.9 */
    --step-5: clamp(3.5375rem, 3.092rem + 1.829vw, 4.74rem);      /* 56.6 -> 75.8 */
    --measure: 60ch;                                              /* a line of text: 45 to 75 characters reads best */

    /* The stove, the header and the pinned scenes keep their own tuned spacing (golden: 13, 21, 34, 55, 89, 144),
       measured from CSS boxes. Everything else uses the --sp-* roles below. */
    --space-gap: clamp(0.8125rem, 0.6rem + 0.9vw, 1.3125rem);     /* 13 -> 21: inside a group */
    --space-group: clamp(1.3125rem, 1rem + 1.3vw, 2.125rem);      /* 21 -> 34: between groups */
    --space-block: clamp(2.125rem, 1.65rem + 2vw, 3.4375rem);     /* 34 -> 55: between blocks, and between columns */
    --space-section: clamp(3.4375rem, 2.6rem + 3.4vw, 5.5625rem); /* 55 -> 89: above and below a section */
    --space-air: clamp(5.5625rem, 4.3rem + 5.2vw, 9rem);          /* 89 -> 144: the air around a statement */
    /* The page after the stove (30 Nov 2026) is spaced by what the eye sees: text is trimmed to its letters (text-box,
       below), so every gap is measured from the top of the Hebrew letters or a picture's edge to the baseline above.
       Six values, all on the scale; the small ones stay fixed, the large ones grow one step from phone (390) to laptop
       (1440). Things that belong together sit at least two steps (x2.6) closer than the next thing out, and a heading
       has at least 2.6x more space above it than below. Set against 12 luxury and editorial sites measured the same way
       (reports/luxury-spacing-2026-11-30: title to text 34/35, picture to caption 25/30, caption to next picture 64/100,
       biggest gaps 110/148) and the chef study of 24 Nov. */
    --sp-bond: 0.8125rem;                                         /* 13: a label and its title, a list entry's two lines, a legend and its choices */
    --sp-near: 1.3125rem;                                         /* 21: a small caption under its picture; a dish's name and its line; a row's text from its hairline */
    --sp-para: 2.125rem;                                          /* 34: a heading to its text; paragraph to paragraph; a picture and the text that is its own */
    --sp-group: clamp(3.4375rem, 2.648rem + 3.238vw, 5.5625rem);  /* 55 -> 89: between groups and blocks inside a section; dish to dish; text to a picture below */
    --sp-section: clamp(5.5625rem, 4.286rem + 5.238vw, 9rem);     /* 89 -> 144: between sections */
    --sp-pause: clamp(9rem, 6.934rem + 8.476vw, 14.5625rem);      /* 144 -> 233: once, where night falls before the plates */
    --sp-col: 3.4375rem;                                          /* 55: the one column gap on a laptop, text to picture and picture to picture */
    --gutter: clamp(1.3125rem, 0.52rem + 3.2vw, 3.4375rem);       /* 21 -> 55: the page margin */
    --content: 74rem;
    --fill: calc(100vw - 2 * var(--gutter));                      /* the width a display line may fill */

    --hit: 44px;
    --header-h: 4rem;
    --dock-h: calc(4.2rem + env(safe-area-inset-bottom, 0px));    /* the phone's bottom bar: two 3rem buttons and their padding */
    --peek: clamp(2.25rem, 1.9rem + 1.6vw, 3.25rem);              /* how much of the next sheet shows under the first screen */
    --ease: cubic-bezier(0.28, 0.11, 0.32, 1);                    /* arrivals: starts gently, lands softly */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);                   /* small controls: quick off the mark */
    --dur-press: 140ms; --dur-ui: 220ms; --dur-panel: 360ms; --dur-reveal: 1000ms;
  }
}

@layer tokens {
  html { transition: --paper 0.65s var(--ease), --ink 0.65s var(--ease), --ink-2 0.65s var(--ease), --rule 0.65s var(--ease), --rule-strong 0.65s var(--ease), --open 0.65s var(--ease); }
  html[data-ground="night"] { --paper: #161412; --ink: #f4f1eb; --ink-2: #b9b1a5; --rule: rgb(244 241 235 / 0.14); --rule-strong: rgb(244 241 235 / 0.26); --open: #9fc2a8; }
  html[data-ground="stone"] { --paper: #ebe6dd; }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: none; text-size-adjust: none; scroll-padding-block-start: calc(var(--header-h) + 1.5rem); scroll-behavior: smooth; }
  body { min-block-size: 100svh; -webkit-font-smoothing: antialiased; }
  img, picture, video, svg { display: block; max-inline-size: 100%; block-size: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  ul, ol { padding: 0; list-style: none; }
  fieldset { border: 0; padding: 0; min-inline-size: 0; }
  :lang(he) { font-synthesis: none; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  }
}

@layer base {
  body { background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font-text); font-kerning: normal; }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
  h2 { font-size: var(--step-3); line-height: 1.1; }   /* phone 35 px: top chef sites 22-34 (median 28); laptop below */
  @media (min-width: 60rem) { h2 { font-size: var(--step-4); line-height: 1.06; } }
  h3 { font-size: var(--step-1); line-height: 1.2; }
  p { text-wrap: pretty; max-inline-size: var(--measure); }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
  strong { font-weight: 600; }
  ::selection { background: var(--ink); color: var(--paper); }
  :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  .label { font: 500 var(--step--1)/1.35 var(--font-text); color: var(--ink-2); }
  .muted { color: var(--ink-2); }
  /* Cut the line-height's invisible space above the first line and below the last, so a gap is the space the eye sees.
     In Bellefair and Assistant the Hebrew letters stand at about the Latin x-height (0.46 and 0.56 em; ex is 0.36 and
     0.50), so text trims to ex; lines that start with numerals trim to the capital height. shortcut: a browser without
     text-box (Samsung Internet in 2026) shows every gap about 10-20 px larger; add Capsize-style margins if it matters. */
  @supports (text-box: trim-both ex alphabetic) {
    :where(.flow, .site-footer) :where(h2, h3, p, dt, dd, figcaption, legend, .field label, .offer__detail li, .offer__name,
      .work__list span, .ledger span, .press__list span, .notes span, .door__text > :not(.door__go)) { text-box: trim-both ex alphabetic; }
    :where(.flow, .site-footer) :where(.pareto__row, .work__when, .notes strong, .press__list span:last-child, .site-footer__latin) { text-box: trim-both cap alphabetic; }
  }
}

@layer layout {
  /* a section carries the space above it and none below, so two never add up to an unplanned gap */
  .section { padding-block: var(--sp-section) 0; padding-inline: var(--gutter); }
  .section > * { max-inline-size: var(--content); margin-inline: auto; }
  .section-head { display: grid; gap: var(--sp-para); margin-block-end: var(--sp-para); }
  .section-head .intro { color: var(--ink-2); max-inline-size: 46ch; }
  .actions { display: flex; flex-wrap: wrap; gap: var(--sp-bond); }
  /* everything after the first screen is one sheet of paper that rises over the stage */
  .flow { position: relative; z-index: 1; background: var(--paper); }
}

@layer components {
  /* ---- buttons: square, hairline; the fill wipes in from the bottom edge. --b is the ink of the button, --f the colour on a filled one */
  .btn { --b: var(--ink); --f: var(--paper);
    display: inline-flex; align-items: center; justify-content: center; min-block-size: 3rem; padding-inline: 1.5em;
    border: 1px solid var(--b); border-radius: 0; color: var(--b);
    background: linear-gradient(var(--b) 0 0) 50% 100% / 100% 0 no-repeat;
    font: 500 var(--step-0)/1 var(--font-text); text-decoration: none; white-space: nowrap;
    transition: background-size 0.32s var(--ease-out), color var(--dur-ui) var(--ease-out), border-color 0.5s var(--ease-out), scale var(--dur-press) var(--ease-out); }
  .btn--solid { background-size: 100% 100%; color: var(--f); }
  .btn--quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 0.3em; }
  .btn:active { scale: 0.97; }
  @media (hover: hover) and (pointer: fine) {
    .btn:hover { background-size: 100% 100%; color: var(--f); }
    .btn--solid:hover { background-size: 100% 0; color: var(--b); }
    .btn--quiet:hover { background-size: 100% 0; color: var(--b); text-decoration-thickness: 2px; }
  }
  .link, .door__go { display: inline-flex; align-items: center; gap: 0.5em; min-block-size: var(--hit); font-weight: 500; text-decoration: none;
    background: linear-gradient(currentColor 0 0) 100% 82% / 100% 1px no-repeat; }
  .link::after, .door__go::after { content: "\2190"; transition: translate 0.3s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .link:hover::after, .door:hover .door__go::after { translate: -0.4em 0; } }
  /* a text link keeps its 44 px tap area, but its box is pulled in to its letters, so the space around it is what is seen */
  .flow :is(.link, .door__go) { margin-block: calc((1.6em - var(--hit)) / 2 - 0.6em) calc((1.6em - var(--hit)) / 2 - 0.435em); }

  /* ---- header: clear over the first screen, where the name and the two doors are already in view, large. Once the sheet
     has covered them, the small name and the booking button take over here (desktop). On a phone the bottom bar holds the
     doors, so the header is only the name and the menu: one booking button on screen, never two. */
  .site-header { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 20; block-size: var(--header-h); padding-inline: var(--gutter);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-group);
    color: var(--ink); background-color: var(--paper); box-shadow: 0 1px 0 var(--rule);   /* opaque: on the night ground, text showed through at 94% */
    transition: translate var(--dur-panel) var(--ease-out), background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
  .site-header[data-hidden]:not(:focus-within) { translate: 0 -100%; }
  .wordmark { justify-self: start; font: 400 1.375rem/1 var(--font-display); text-decoration: none; white-space: nowrap; }
  .wordmark, .header-actions .btn { transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out), visibility 0s, background-size 0.32s var(--ease-out), color var(--dur-ui) var(--ease-out), scale var(--dur-press) var(--ease-out); }
  [data-top] .site-header { background-color: transparent; box-shadow: none; }
  [data-top] .wordmark, [data-top] .header-actions .btn { opacity: 0; translate: 0 0.4em; visibility: hidden; transition: opacity 0.25s var(--ease-out), translate 0.25s var(--ease-out), visibility 0s 0.25s; }
  .site-header nav { display: flex; gap: var(--space-group); justify-content: center; font-size: var(--step--1); }
  .site-header nav a { text-decoration: none; padding-block: 0.75em; background: linear-gradient(currentColor 0 0) 100% 100% / 0 1px no-repeat; transition: background-size 0.32s var(--ease-out); }
  .site-header nav a[aria-current] { background-size: 100% 1px; }
  @media (hover: hover) and (pointer: fine) { .site-header nav a:hover { background-size: 100% 1px; } }
  .header-actions { justify-self: end; display: flex; align-items: center; gap: 0.75rem; }
  .header-actions .btn { min-block-size: 2.5rem; padding-inline: 1.1em; }
  .menu-btn { display: none; inline-size: var(--hit); block-size: var(--hit); place-items: center; margin-inline-end: -0.6rem; }   /* the icon, not its tap area, sits on the margin line */
  /* two hairlines; open, they cross into a close mark */
  .menu-btn__icon { position: relative; inline-size: 1.35rem; block-size: 0.5rem; }
  .menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; inset-inline: 0; block-size: 1px; background: currentColor; transition: translate var(--dur-ui) var(--ease-out), rotate var(--dur-ui) var(--ease-out); }
  .menu-btn__icon::before { inset-block-start: 0; }
  .menu-btn__icon::after { inset-block-end: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__icon::before { translate: 0 calc(0.25rem - 0.5px); rotate: 45deg; }
  .menu-btn[aria-expanded="true"] .menu-btn__icon::after { translate: 0 calc(0.5px - 0.25rem); rotate: -45deg; }
  @media (max-width: 59.99rem) {
    .site-header { grid-template-columns: 1fr auto; }
    .site-header nav, .header-actions [data-book] { display: none; }   /* the bottom bar books; other pages keep their own header button */
    .menu-btn { display: grid; }
    .wordmark { font-size: 1.2rem; }
  }
  .sheet { position: fixed; inset: var(--header-h) 0 0; z-index: 19; background: var(--paper); padding: var(--space-block) var(--gutter) calc(var(--dock-h) + var(--space-block)); overflow-y: auto; overscroll-behavior: contain; }
  .sheet nav { display: grid; gap: 0.35rem; }
  .sheet a { font: 400 var(--step-3)/1.25 var(--font-display); text-decoration: none; padding-block: 0.35rem; border-block-end: 1px solid var(--rule); }
  [data-menu-open] .site-header { color: var(--ink); background-color: var(--paper); }
  [data-menu-open] .wordmark { opacity: 1; translate: none; visibility: visible; }

  /* ---- the stove: his name, the line that says what he does, and his picture under them. With motion on, the stage holds
     (sticky) while the scroll pushes the camera into the steam: the canvas draws the frames into a window that grows from the
     picture's own box to the whole screen; the steam turns to paper (the veil) and his rule is on it. The pinned stage is
     100lvh (a full-bleed picture never shows a gap when Safari folds its bars); words sit inside 100svh. */
  .hero { position: relative; background: var(--paper); }
  .hero__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; padding-block-start: calc(var(--header-h) - 0.75rem); }
  .hero__words { display: contents; }
  .hero__head { padding: 0.25rem var(--gutter) 0; }
  .hero h1 { font-size: calc(var(--fill) / 5.5); line-height: 1; white-space: nowrap; }   /* the name is 5.34 em wide in Bellefair: it fills the line at any width */
  .hero__sub { display: none; }
  .latin { font: 400 0.875rem/1.2 var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
  .hero__body { display: grid; gap: var(--space-group); padding: var(--space-gap) var(--gutter) var(--space-group); }
  .hero__body .actions { display: none; }   /* phone: the bottom bar */
  .hero__photo { position: relative; overflow: hidden; background: #2b2926; block-size: min(125vw, 70svh); }
  .hero__photo picture, .hero__photo img { inline-size: 100%; block-size: 100%; }
  .hero__photo img { object-fit: cover; object-position: 50% 30%; }
  .hero__seq, .hero__veil { display: none; }
  .hero__credo { padding: var(--space-air) var(--gutter) 0; }
  .lede { font: 400 min(var(--step-2), 6.2vw)/1.3 var(--font-display); max-inline-size: none; }   /* 6.2vw: the long sentence still fits at 320 px */
  .lede span { display: block; white-space: nowrap; }   /* each sentence on its own line, never broken unevenly */
  @media (min-width: 60rem) {
    .hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: var(--space-block); padding-block-start: var(--header-h); padding-inline-start: var(--gutter); }
    .hero__head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-block); padding-block: var(--space-gap) var(--space-group); padding-inline: 0 var(--gutter); }
    .hero h1 { font-size: calc(var(--fill) * 0.7 / 5.5); line-height: 0.95; }
    .hero__sub { display: block; max-inline-size: none; white-space: nowrap; }
    .hero__photo { grid-area: 2 / 2; block-size: calc(100svh - var(--header-h) - 10rem); min-block-size: 24rem; }
    .hero__photo img { object-position: 28% 24%; }
    .hero__body { grid-area: 2 / 1; align-self: start; padding: var(--space-gap) 0 0; }
    .hero__body .actions { display: flex; }
    .hero__credo { grid-column: 1 / -1; padding-inline: 0 var(--gutter); }
    .lede { font-size: min(var(--step-3), 2.55vw); line-height: 1.22; }   /* 2.55vw: the long sentence fits the narrow column down to 960 px */
  }
  /* motion: the stage holds while the scroll runs (app.js sets --hero-run from the viewport) */
  .motion .hero { block-size: calc(100lvh + var(--hero-run, 170lvh)); }
  .motion .hero__stage { position: sticky; inset-block-start: 0; block-size: 100lvh; overflow: hidden; grid-template-rows: auto auto minmax(0, 1fr);
    padding-block-end: calc(var(--dock-h) + 100lvh - 100svh); }
  .motion .hero__photo { block-size: auto; min-block-size: 0; }
  .motion .hero__seq { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%; z-index: 2; pointer-events: none; }
  .motion .hero__veil { display: block; position: absolute; inset: 0; z-index: 3; background: var(--paper); opacity: 0; pointer-events: none; }
  .motion .hero__credo { position: absolute; inset: 0 0 auto; block-size: 100svh; z-index: 4; display: grid; place-content: center start; padding-block: 0 var(--dock-h); padding-inline: var(--gutter); opacity: 0; pointer-events: none; }
  @media (min-width: 60rem) {
    .motion .hero__stage { grid-template-rows: auto minmax(0, 1fr); padding-block-end: var(--space-block); }
    .motion .hero__credo { padding-block-end: 0; padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2)); }
  }

  /* ---- the chef: his line first, at the size of a title; then the portrait beside the story */
  .chef { display: grid; gap: var(--sp-group); }
  .motion .chef { padding-block-start: 0; }   /* his rule is the last thing the stove shows; this line follows it */
  .manifesto__big { font: 400 calc(var(--fill) / 4.55) / 1.04 var(--font-display); max-inline-size: none; white-space: nowrap; }
  .manifesto__big .line { display: block; }
  .manifesto__more { font: 400 var(--step-2)/1.3 var(--font-display); color: var(--ink-2); max-inline-size: 24ch; }
  .chef__row { display: grid; gap: var(--sp-para); }
  .shot { overflow: hidden; background: #2b2926; }
  .shot img { inline-size: 100%; block-size: 100%; object-fit: cover; }
  .chef__photo { aspect-ratio: 4 / 5; }
  .bio { display: grid; gap: var(--sp-para); align-content: start; max-inline-size: 34rem; }   /* one measure for the whole block, lead and text alike */
  .bio p { max-inline-size: none; }
  .bio p:first-child { font-size: var(--step-1); line-height: 1.45; }
  @media (min-width: 60rem) {
    .manifesto__big { font-size: calc(min(var(--content), var(--fill)) / 8.75); }
    .manifesto__big .line { display: inline; }
    .manifesto__more { max-inline-size: 36ch; }
    .chef__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); column-gap: var(--sp-col); align-items: end; }   /* the story ends on the portrait's foot: top-aligned, it left 314 px empty beside the picture */
  }

  /* ---- film: the frame, a stop button, and under it a line that follows the loop */
  .film { position: relative; }
  .film__frame { position: relative; overflow: hidden; background: #1d1a17; }
  .film video { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .film figcaption { margin-block-start: var(--sp-near); font-size: var(--step--1); color: var(--ink-2); }
  /* the film's shots, by name: the one on screen is inked, a tap jumps to it */
  .beats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0.5rem; margin-block-start: 0.85rem; }
  .beats button { display: grid; row-gap: 0.65rem; align-content: start; inline-size: 100%; min-block-size: var(--hit); text-align: start;
    font: 400 var(--step-0)/1.25 var(--font-text); color: var(--ink-2); transition: color 0.4s var(--ease); }
  /* each shot's own line fills while it plays (--f, 0 to 1, from app.js). It fills from the right: the page is RTL. */
  .beats button::before { content: ""; block-size: 2px; background: linear-gradient(var(--ink) 0 0) 100% 0 / calc(var(--f, 0) * 100%) 100% no-repeat var(--rule-strong); }
  .beats button[aria-current] { color: var(--ink); font-weight: 600; }   /* the names stay readable when it is not their shot */
  @media (hover: hover) and (pointer: fine) { .beats button:hover { color: var(--ink); } }
  .film__ctl { position: absolute; inset-block-start: 0.9rem; inset-inline-end: 0.9rem; inline-size: var(--hit); block-size: var(--hit); display: grid; place-items: center;
    border: 1px solid rgb(244 241 235 / 0.7); background: rgb(22 20 18 / 0.35); color: var(--lit); }
  .film__icon { inline-size: 0.75rem; block-size: 0.85rem; border-inline: 3px solid currentColor; }
  .film__ctl[aria-pressed="false"] .film__icon { border: 0; block-size: 0; inline-size: 0; border-block: 0.45rem solid transparent; border-inline-end: 0.75rem solid currentColor; }
  .film[data-blocked] .film__ctl { inset: 50% auto auto 50%; translate: -50% -50%; inline-size: 4.5rem; block-size: 4.5rem; }

  /* ---- the eggplant: one dish, followed through his kitchens */
  .eggplant { display: grid; gap: var(--sp-group); }
  .eggplant > * { margin-inline: 0; max-inline-size: none; }
  .eggplant__head { display: grid; gap: var(--sp-para); }
  .eggplant__head h2 { font-size: var(--step-4); line-height: 1; }   /* a chapter title: under his name, never above it */
  @media (min-width: 60rem) { .eggplant__head h2 { font-size: var(--step-5); } }
  .eggplant__head .intro { font-size: var(--step-1); line-height: 1.4; color: var(--ink-2); max-inline-size: 30ch; }
  /* phone: food runs edge to edge, like every dish on the page; the names of its four shots sit under it, on the margin */
  @media (max-width: 59.99rem) { .eggplant__film .film__frame { margin-inline: calc(-1 * var(--gutter)); } }
  .reel__seq { display: none; }
  @media (min-width: 60rem) {
    .eggplant { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); grid-template-areas: "film head"; column-gap: var(--sp-col); align-items: start;
      max-inline-size: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; }
    .eggplant__head { grid-area: head; }
    .eggplant__run { grid-area: film; }
  }
  @media (min-width: 60rem) and (min-height: 46rem) { .eggplant__pin { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); } }

  /* motion: the reel holds and the thumb plays it, frame by frame (app.js draws them on the canvas). Phone: the film runs
     the full width between the header and the names of its shots; laptop: the film on one side, the four shots large on the
     other, the shot on screen inked. */
  /* the pinned film sits a header and a bottom bar inside its own screen: the margins take that back, so the words
     before it are a group's gap from the picture, and the next section's own space starts at the shot names
     (--reel-tail: the empty band under the shot names) */
  .motion .eggplant { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 0; --reel-tail: calc(var(--dock-h) + 6.75rem - 3.6rem); }
  .motion .eggplant__run { margin-block: calc(var(--sp-group) - var(--header-h) - 0.5rem) calc(-1 * var(--reel-tail)); }
  .motion .eggplant__run { block-size: calc(100lvh + var(--reel-run, 220lvh)); margin-inline: calc(-1 * var(--gutter)); grid-area: auto; }
  .motion .eggplant__pin { position: sticky; inset-block-start: 0; block-size: 100svh; display: grid; align-content: start; padding-block: calc(var(--header-h) + 0.5rem) var(--dock-h); }
  .motion .eggplant__film .film__frame { margin-inline: 0; block-size: calc(100svh - var(--header-h) - 0.5rem - var(--dock-h) - 6.75rem); }
  .motion .eggplant__film video, .motion .eggplant__film .film__ctl { display: none; }
  .motion .reel__seq { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
  .motion .eggplant__film .beats, .motion .eggplant__film figcaption { padding-inline: var(--gutter); }
  .motion .eggplant__film figcaption { display: none; }
  .motion .eggplant__head { grid-area: auto; }
  @media (min-width: 60rem) {
    .motion .eggplant { max-inline-size: none; padding-inline: var(--gutter); }
    .motion .eggplant__head { inline-size: 100%; max-inline-size: var(--content); margin-inline: auto; }
    .motion .eggplant__pin { padding-block: calc(var(--header-h) + var(--space-group)) var(--space-group); }
    .motion .eggplant__run { margin-block: calc(var(--sp-group) - var(--header-h) - var(--space-group)) calc(-1 * var(--space-group)); }
    .motion .eggplant__film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); grid-template-rows: minmax(0, 1fr);
      column-gap: var(--space-block); block-size: calc(100svh - var(--header-h) - 2 * var(--space-group)); max-inline-size: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); inline-size: 100%; }
    .motion .eggplant__film .film__frame { grid-area: 1 / 2; block-size: 100%; }
    .motion .eggplant__film .beats { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: var(--space-group); padding-inline: 0; margin: 0; }
    .motion .eggplant__film .beats button { font: 400 var(--step-4)/1.1 var(--font-display); row-gap: 1rem; }
    .motion .eggplant__film .beats button[aria-current] { font-weight: 400; }
  }

  /* ---- his plates, at night. First the title alone on the dark ground (the quiet before the pass), then the pass: his three
     plates shot from above, on a counter under the lamps (three.js, assets/pass.js). Without WebGL or with reduced motion
     the pass is a plain list of the same three pictures. Then the three dishes photographed at the table, set the way the top
     chef sites set food (measured 24 Nov 2026): one calm sequence, caption close under its picture, much more air to the next. */
  /* night falls: the one long pause on the page, then the title alone, then the pass */
  .plates { padding-block: 0; }
  .plates__title { display: grid; gap: var(--sp-para); justify-items: center; text-align: center; padding: var(--sp-pause) var(--gutter) var(--sp-section); }
  .plates__title h2 { font-size: var(--step-4); line-height: 1.05; }
  .plates__title .intro { color: var(--ink-2); max-inline-size: 34ch; }
  @media (min-width: 60rem) { .plates__title h2 { font-size: var(--step-5); } }
  .pass { position: relative; }
  .pass__gl, .pass__frame { display: none; }
  .pass__list, .served { display: grid; gap: var(--sp-group) var(--sp-para); padding-inline: var(--gutter); max-inline-size: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; }
  .served { padding-block: var(--sp-group) 0; }
  @media (min-width: 40rem) { .pass__list, .served { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 60rem) { .pass__list, .served { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .dish, .plate { display: grid; gap: var(--sp-para); align-content: start; }   /* the dish's name is its own text, not a small caption */
  .dish__flat, .plate img { inline-size: 100%; aspect-ratio: 1; object-fit: cover; background: #2b2926; }
  /* each plate whole in its square: the plate, not the hands around it */
  .served .plate:nth-child(2) img { object-position: 50% 78%; }
  .served .plate:nth-child(3) img { object-position: 50% 88%; }
  .dish__text, .plate__text { display: grid; row-gap: var(--sp-near); align-content: start; justify-items: start; }
  .dish__text h3, .plate__text h3 { font-size: var(--step-2); line-height: 1.15; }
  .dish__text p, .plate__text p { color: var(--ink-2); max-inline-size: 36ch; }

  /* the pass on WebGL: the stage holds (100lvh) while the camera walks along the counter; the dish under the lamp names
     itself at the foot of the visible screen (100svh), its words moving with the scroll, never on a clock */
  :is(.gl, .pf) .pass { block-size: calc(100lvh + var(--pass-run, 340lvh)); }
  :is(.gl, .pf) .pass__stage { position: sticky; inset-block-start: 0; block-size: 100lvh; overflow: hidden; }
  /* the table: one picture (tools/pass-pano.py) in a plain frame with clean edges, like every picture on the page; app.js
     moves it with one transform. Phone: the screen's full width under the header, as tall as fits above its dish's name
     and the bottom bar (dvh: the screen that is really showing). Laptop: the whole height of its side of the room. The
     picture is laid out at its closest zoom (128%) and only ever scaled down, so it never goes soft. */
  .pf .pass__stage { display: grid; align-content: start; padding-block-start: var(--header-h); --pass-cap: 8rem; }
  .pf .pass__frame { display: block; position: relative; overflow: clip; inline-size: 100%; background: #2b231e;
    block-size: min(118vw, 100svh - var(--header-h) - var(--pass-cap) - var(--dock-h)); }
  @supports (height: 100dvh) { .pf .pass__frame { block-size: min(118vw, 100dvh - var(--header-h) - var(--pass-cap) - var(--dock-h)); } }
  .pf .pass__table { position: absolute; inset-block-start: 0; left: 0; block-size: 128%; inline-size: auto; max-inline-size: none;
    transform-origin: 0 0; will-change: transform; }
  .gl .pass__gl { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none;
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 70%, transparent 96%); mask-image: linear-gradient(transparent, #000 16%, #000 70%, transparent 96%); }
  /* the table has no edges: the room behind it fades out of the night above, and its near side melts into the night
     below, so the pass arrives and leaves without a seam */
  :is(.gl, .pf) .pass__list { position: absolute; inset: 0 0 auto; block-size: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-areas: "d"; align-content: end;
    padding: 0 var(--gutter) calc(var(--dock-h) + var(--space-group)); max-inline-size: none; pointer-events: none; }
  :is(.gl, .pf) .dish { grid-area: d; opacity: var(--o, 0); translate: 0 calc((1 - var(--o, 0)) * 0.9rem); }
  :is(.gl, .pf) .dish__flat { display: none; }
  :is(.gl, .pf) .dish__text h3 { font-size: var(--step-3); }
  .pf .pass__list { position: static; block-size: auto; align-content: start; padding: var(--sp-para) var(--gutter) 0; }   /* right under the picture */
  @media (max-width: 59.99rem) { .pf .plates__title { padding-block-end: calc(var(--sp-section) - var(--header-h)); } }   /* the table pins under the header */
  @media (min-width: 60rem) {
    :is(.gl, .pf) .pass__list { padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2)) var(--space-block); }
    :is(.gl, .pf) .dish__text h3 { font-size: var(--step-4); }
    /* laptop: the table fills the left 61.8% edge to edge and top to bottom; the names hold the right 38.2% */
    .pf .pass__stage { display: block; padding: 0; }
    .pf .pass__frame { position: absolute; inset-block: 0; left: 0; inline-size: 61.8vw; block-size: auto; }
    .pf .pass__list { position: absolute; inset-block: 0; left: auto; right: 0; margin: 0; inline-size: 38.2vw; align-content: center;
      padding: var(--header-h) max(var(--gutter), calc((100vw - var(--content)) / 2)) 0 var(--space-block); }
    .pf .dish { max-inline-size: 24rem; }
  }

  /* ---- Fish Royal: the evening (the ground turns to night). The restaurant's own film of a plate arriving fills its side of the room. */
  .fishroyal { display: grid; padding-block-start: var(--sp-section); }
  .fishroyal .intro, .fishroyal dt, .fishroyal figcaption { color: var(--ink-2); }
  .fishroyal__links { display: flex; flex-wrap: wrap; gap: var(--sp-para); max-inline-size: none; }   /* wrapped, the two 44 px tap areas just meet */
  .fishroyal__film figcaption { padding-inline: var(--gutter); }
  /* the words in order: title, what the place is, today's hours over the facts, the button, the two links */
  .fishroyal__text { display: grid; align-content: start; padding: var(--sp-group) var(--gutter) 0; }
  .fishroyal__text > * + * { margin-block-start: var(--sp-para); }
  .fishroyal__text h2 + .intro { margin-block-start: var(--sp-para); }
  .fishroyal__text .open-now + .facts { margin-block-start: var(--sp-bond); }
  @media (min-width: 60rem) { .fishroyal__text .actions + .fishroyal__links { margin-block-start: var(--sp-near); } }   /* phone: the bottom bar books */
  .fishroyal__text h2 { line-height: 1.05; }
  .fishroyal__text .intro { max-inline-size: 44ch; }
  .open-now { font-size: var(--step--1); color: var(--ink-2); }
  .open-now[data-open] { color: var(--open); }
  /* every table on the page: a hairline, the words 21 px inside it on both sides */
  .facts { display: grid; border-block-start: 1px solid var(--rule-strong); }
  .facts > div { display: grid; grid-template-columns: 6rem 1fr; gap: var(--sp-bond); align-items: baseline; padding-block: var(--sp-near); border-block-end: 1px solid var(--rule); }
  .facts dt { font-size: var(--step--1); }
  /* the address opens the map and the number dials: they look like links, and the whole line is the tap target */
  .facts a { display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-ui) var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .facts a:hover { text-decoration-color: currentColor; } }
  @media (max-width: 59.99rem) { .fishroyal .actions { display: none; } }   /* phone: the same button is already in the bottom bar */
  @media (min-width: 60rem) {
    .fishroyal { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); }
    .fishroyal__text { grid-area: 1 / 1; align-content: center; min-block-size: 100svh; padding-block: var(--sp-group);
      padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2)) var(--sp-group); }
    .fishroyal .actions { display: flex; }
    .fishroyal__film { grid-area: 1 / 2; position: sticky; inset-block-start: 0; align-self: start; block-size: 100svh; }
    .fishroyal__film .film__frame { block-size: 100%; }
    .fishroyal__film video { block-size: 100%; aspect-ratio: auto; }
    .fishroyal__film .film__ctl { inset-block-start: calc(var(--header-h) + 0.9rem); }
    .fishroyal__film figcaption { position: absolute; inset-block-end: 0; inset-inline: 0; margin: 0; padding: 3.5rem 1.25rem 1rem; background: linear-gradient(to top, rgb(22 20 18 / 0.82), rgb(22 20 18 / 0)); color: var(--lit); }
  }

  /* ---- consulting: a second room (the ground turns to stone: data-world on the section) */
  .consulting__intro { display: grid; gap: var(--sp-para); }
  /* label, title, the line under it, then the text: each a step further from the one before */
  .consulting__words { display: grid; align-content: start; }
  .consulting__words > * + * { margin-block-start: var(--sp-para); }
  .consulting__words .label + h2 { margin-block-start: var(--sp-near); }   /* a bond looked cramped over a title this size */
  .consulting__words h2 { line-height: 1.06; max-inline-size: 15ch; }
  .consulting__sub { font: 400 var(--step-2)/1.3 var(--font-display); color: var(--ink-2); }
  .consulting__photo { aspect-ratio: 4 / 5; }
  @media (min-width: 60rem) { .consulting__intro { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); column-gap: var(--sp-col); align-items: start; } }

  /* his rule as the figure it is: 20 gives 80 */
  .pareto { margin-block-start: var(--sp-group); padding-block-start: var(--sp-para); border-block-start: 1px solid var(--rule-strong); display: grid; gap: var(--sp-para); }
  .pareto__row { display: grid; justify-items: start; row-gap: 0.1em; max-inline-size: none; font: 400 var(--step-2)/1.1 var(--font-display); }   /* phone: three even rows */
  @media (min-width: 48rem) { .pareto__row { display: flex; align-items: baseline; gap: 0 0.7em; } }
  .pareto__part { display: inline-flex; align-items: baseline; gap: 0.3em; white-space: nowrap; }
  .pareto__n { font-size: clamp(4.75rem, 22vw, 11rem); line-height: 0.9; font-variant-numeric: lining-nums tabular-nums; }
  .pareto__gives, .pareto__more { color: var(--ink-2); }
  @media (max-width: 47.99rem) { .pareto__gives { margin-block-end: var(--sp-bond); } }   /* the numerals' tall box above and their short one below: this evens the two gaps */
  .pareto__more { font: 400 var(--step-2)/1.3 var(--font-display); }

  /* the three ways to work with him. Phone: one opens, the others fold. Desktop: three panels, the open one takes the room.
     With motion the scroll opens them (app.js): on a phone each unfolds as its name reaches the reading line and stays
     open; on a desktop the row holds still while the scroll widens each panel in turn. */
  .offers-run { margin-block-start: var(--sp-group); }
  .offers { display: grid; border-block-start: 1px solid var(--rule-strong); }
  .offer { border-block-end: 1px solid var(--rule-strong); }
  .offer__tab { display: grid; grid-template-columns: 1fr auto; align-items: center; inline-size: 100%; min-block-size: 4.75rem; padding-block: var(--sp-near); text-align: start; }
  .offer__name { font: 400 var(--step-2)/1.1 var(--font-display); }
  .offer__mark { align-self: center; inline-size: 1.1rem; block-size: 1.1rem; background: linear-gradient(currentColor 0 0) 50% 50% / 100% 1px no-repeat, linear-gradient(currentColor 0 0) 50% 50% / 1px 100% no-repeat; transition: rotate 0.45s var(--ease), background-size 0.45s var(--ease); }
  .offer.is-open .offer__mark { rotate: 180deg; background-size: 100% 1px, 1px 0; }
  .offer__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease); }
  .js .offer:not(.is-open) .offer__panel { grid-template-rows: 0fr; }
  .offer__in { min-block-size: 0; overflow: hidden; display: grid; gap: var(--sp-near); align-content: start; }
  .js .offer:not(.is-open) .offer__in { visibility: hidden; transition: visibility 0s 0.5s; }
  .offer__in > img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #2b2926; }
  .offer__detail { display: grid; gap: var(--sp-near); justify-items: start; padding-block-end: var(--sp-para); }
  .offer__detail p { font-size: var(--step-1); line-height: 1.4; }
  .offer__detail ul { inline-size: 100%; border-block-start: 1px solid var(--rule-strong); }
  .offer__detail li { padding-block: var(--sp-bond); border-block-end: 1px solid var(--rule); font-size: var(--step--1); }
  @media (min-width: 60rem) {
    .offers { display: flex; gap: var(--sp-bond); border: 0; block-size: clamp(36rem, 86svh, 48rem); }
    .offer { flex: 1 1 0; min-inline-size: 0; border: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; transition: flex-grow 0.7s var(--ease); }
    .js .offer.is-open { flex-grow: 2.7; }
    .offer__panel, .offer__in { display: contents; visibility: visible; }
    .js .offer:not(.is-open) .offer__in { visibility: visible; }
    .offer__in > img { grid-row: 1; block-size: 100%; aspect-ratio: auto; min-block-size: 0; }
    .offer h3 { grid-row: 2; }
    .offer__tab { grid-template-columns: 1fr; row-gap: 0.4rem; min-block-size: 0; padding-block: var(--sp-near) var(--sp-bond); white-space: nowrap; }
    .offer__mark { display: none; }
    .offer__detail { grid-row: 3; padding-block-end: 0; }
    .js .offer__detail { inline-size: 27rem; block-size: 15.5rem; align-content: start; transition: opacity 0.5s var(--ease-out) 0.3s, visibility 0s; }
    .js .offer:not(.is-open) .offer__detail { opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease-out), visibility 0s 0.2s; }
    /* with motion: the row holds (sticky, centred under the header) for a run of the scroll; app.js sets each panel's width
       and its words' opacity (--d) from the scroll, so nothing here runs on a clock */
    .motion .offers-run { block-size: calc(clamp(36rem, 86svh, 48rem) + 130lvh); }
    .motion .offers { position: sticky; inset-block-start: max(var(--header-h), calc(var(--header-h) + (100svh - var(--header-h) - clamp(36rem, 86svh, 48rem)) / 2)); }
    .motion .offer { transition: none; }
    .motion .offer__detail, .motion .offer:not(.is-open) .offer__detail { opacity: var(--d, 0); transition: none; }
  }
  /* phone, with motion: a slower, softer unfold than a tap's, its contents arriving just behind the opening */
  @media (max-width: 59.99rem) {
    .motion .offer__panel { transition: grid-template-rows 0.9s var(--ease); }
    .motion .offer__in > * { transition: opacity 0.7s var(--ease) 0.2s, translate 0.9s var(--ease); }
    .motion .offer:not(.is-open) .offer__in > * { opacity: 0; translate: 0 -1.25rem; transition: opacity 0.25s var(--ease-out), translate 0s 0.5s; }
  }

  .work { margin-block-start: var(--sp-group); display: grid; gap: var(--sp-bond); }
  .work__list { border-block-start: 1px solid var(--rule-strong); }
  .work__list li { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-bond) 0; padding-block: var(--sp-near); border-block-end: 1px solid var(--rule); }
  .work__name { grid-column: 1 / 3; font: 400 var(--step-2)/1.2 var(--font-display); }
  .work__when { font-variant-numeric: tabular-nums; color: var(--ink-2); grid-row: 1; grid-column: 3; align-self: baseline; }
  .work__where, .work__what { font-size: var(--step--1); color: var(--ink-2); }
  .work__where::after { content: "\00a0·\00a0"; }   /* phone: place and job share one line */
  @media (min-width: 48rem) {
    .work__list li { grid-template-columns: 1.6fr 0.7fr 1.3fr auto; column-gap: var(--sp-near); align-items: baseline; }
    .work__name, .work__where, .work__what, .work__when { grid-column: auto; grid-row: auto; }
    .work__where::after { content: none; }
  }

  /* ---- the enquiry, set like a printed order form: two short steps, then a WhatsApp message he receives as written.
     Its parts speak the page's own language: the three step lines are the eggplant reel's shot lines (they fill as
     the visitor goes on; app.js sets data-at), the choices are one table of hairline cells, a field is a line to write on. */
  .ask { margin-block-start: var(--sp-group); display: grid; gap: var(--sp-group); }
  .ask__head { display: grid; align-content: start; }
  .ask__title { font-size: var(--step-2); line-height: 1.1; }
  @media (min-width: 60rem) { .ask__title { font-size: var(--step-3); } }
  .ask__lede { margin-block-start: var(--sp-para); color: var(--ink-2); max-inline-size: 30ch; }
  .ask__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sp-bond); margin-block-start: var(--sp-para); max-inline-size: 24rem; }
  .ask__steps li { --f: 0; font-size: var(--step--1); color: var(--ink-2); transition: color 0.4s var(--ease); }
  .ask__steps li::before { content: ""; display: block; block-size: 2px; margin-block-end: var(--sp-bond);
    background: linear-gradient(var(--ink) 0 0) 100% 0 / calc(var(--f) * 100%) 100% no-repeat var(--rule-strong); transition: background-size 0.7s var(--ease); }
  .ask__steps li:first-child, .ask[data-at="1"] .ask__steps li:nth-child(2), .ask[data-at="2"] .ask__steps li { --f: 1; }
  .ask:not([data-at="1"], [data-at="2"]) .ask__steps li:first-child, .ask[data-at="1"] .ask__steps li:nth-child(2), .ask[data-at="2"] .ask__steps li:last-child { color: var(--ink); font-weight: 600; }
  .ask__step { display: grid; gap: var(--sp-para); }
  .ask__step[hidden] { display: none; }
  .ask__step > .btn { justify-self: stretch; }   /* phone: the step's one action, the width of the form */
  @media (min-width: 40rem) { .ask__step > .btn { justify-self: start; min-inline-size: 12rem; } }
  /* desktop: the title on the page's narrow column, the steps on the wide one, like every two-column block above it */
  @media (min-width: 60rem) {
    .ask { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); column-gap: var(--sp-col); align-items: start; }
    .ask__head { grid-area: 1 / 1; }
    .ask__step { grid-area: 1 / 2; max-inline-size: 44rem; }
  }
  /* a legend sits a bond from its choices; the fieldset is a grid, so the legend's own margin does the work */
  .field { display: grid; gap: var(--sp-bond); inline-size: 100%; }
  .field legend, .field label { font-size: var(--step--1); color: var(--ink-2); }
  .field legend { margin-block-end: var(--sp-bond); }
  .field input:not([type="radio"]), .field textarea { inline-size: 100%; min-block-size: var(--hit); padding: 0.3em 0 0.5em; font-size: max(16px, var(--step-0)); border: 0; border-block-end: 1px solid var(--rule-strong); border-radius: 0; background: transparent; color: var(--ink);
    box-shadow: 0 1px 0 transparent; transition: border-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
  .field textarea { min-block-size: 5.5rem; resize: vertical; }
  .field input:not([type="radio"]):focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }   /* the line thickens to 2 px */
  /* four choices: one table, 2 x 2 on a phone and one row from 40rem, hairlines between the cells; the chosen one fills with ink */
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule-strong); border: 1px solid var(--rule-strong); }
  @media (min-width: 40rem) { .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .chips label { position: relative; display: grid; }
  .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
  .chips span { display: flex; align-items: center; justify-content: center; min-block-size: 3.5rem; padding-inline: 0.75em; color: var(--ink); text-align: center;
    background: var(--paper) linear-gradient(var(--ink) 0 0) 50% 100% / 100% 0 no-repeat; cursor: pointer;
    transition: background-size 0.35s var(--ease-out), background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .chips label:hover span { background-color: color-mix(in srgb, var(--ink) 5%, var(--paper)); } }
  .chips label:active span { background-color: color-mix(in srgb, var(--ink) 9%, var(--paper)); }
  .chips input:checked + span { background-size: 100% 100%; color: var(--paper); }
  .chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -6px; }
  .chips input:checked:focus-visible + span { outline-color: var(--paper); }
  .ask .actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  @media (min-width: 40rem) { .ask .actions { display: flex; } }
  .ask__error { color: #8a2a1c; font-size: var(--step--1); }
  .ask__preview { white-space: pre-wrap; font: 400 var(--step--1)/1.6 var(--font-text); background: color-mix(in srgb, var(--ink) 5%, var(--paper)); color: var(--ink); padding: var(--sp-near); inline-size: 100%; }

  /* ---- the path */
  .ledger { border-block-start: 1px solid var(--rule-strong); }
  .ledger li { display: grid; gap: var(--sp-bond) var(--sp-col); padding-block: var(--sp-near); border-block-end: 1px solid var(--rule); }
  .ledger__where { font: 400 var(--step-1)/1.25 var(--font-display); }
  @media (min-width: 48rem) { .ledger__where { font-size: var(--step-2); } }
  .ledger__what { color: var(--ink-2); }
  @media (min-width: 48rem) { .ledger li { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); align-items: baseline; } }
  .notes { display: grid; gap: var(--sp-group) var(--sp-col); margin-block-start: var(--sp-group); }
  .notes p { display: grid; gap: var(--sp-near); align-content: start; max-inline-size: 44ch; }
  .notes strong { font: 400 var(--step-3)/1 var(--font-display); font-variant-numeric: lining-nums; }
  @media (min-width: 48rem) { .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .press { margin-block-start: var(--sp-group); display: grid; gap: var(--sp-bond); }
  .press__list { border-block-start: 1px solid var(--rule-strong); }
  .press__list a { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-bond) var(--sp-near); padding-block: var(--sp-near); border-block-end: 1px solid var(--rule); text-decoration: none; }
  .press__list span:first-child { font-weight: 600; }
  .press__list span:nth-child(2) { grid-column: 1; color: var(--ink-2); font-size: var(--step--1); }
  .press__list span:last-child { grid-column: 2; grid-row: 1; color: var(--ink-2); font-size: var(--step--1); font-variant-numeric: tabular-nums; white-space: nowrap; }
  @media (min-width: 48rem) {
    .press__list a { grid-template-columns: 10rem 1fr auto; align-items: baseline; }
    .press__list span:nth-child(2), .press__list span:last-child { grid-column: auto; grid-row: auto; }
  }
  @media (hover: hover) and (pointer: fine) { .press__list a:hover span:nth-child(2) { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; } }

  /* ---- the two doors: eat his food (in colour), or build with him (in black-and-white) */
  .doors { display: grid; gap: 1px; }
  .door { display: grid; grid-template-rows: auto 1fr; text-decoration: none; }
  .door .shot { aspect-ratio: 1; }
  .door:first-of-type .shot img { object-position: 50% 22%; }
  .door:last-of-type .shot img { object-position: 50% 88%; }
  /* phone: each door's words sit close under its own picture, with a wide gap and a rule before the next door */
  .doors { margin-block-start: var(--sp-section); }
  .door__text { display: grid; gap: var(--sp-bond); justify-items: start; align-content: start; padding: var(--sp-near) var(--gutter) var(--sp-group); }
  .flow .door__go { margin-block-start: calc(var(--sp-near) - var(--sp-bond) + (1.6em - var(--hit)) / 2 - 0.6em); }
  .door:last-of-type .door__text { padding-block-end: 0; }   /* the footer's own space follows */
  .door + .door { border-block-start: 1px solid var(--rule-strong); }
  .door__title { font: 400 var(--step-3)/1.05 var(--font-display); }
  @media (min-width: 60rem) { .door__title { font-size: var(--step-4); } }
  .door:focus-visible { outline-offset: -6px; }
  @media (min-width: 48rem) {
    .doors { grid-template-columns: 1fr 1fr; }
    .door .shot { aspect-ratio: 5 / 4; }
    .door__text { padding: var(--sp-near) var(--gutter) 0; }
    .door + .door { border-block-start: 0; }
  }

  /* ---- the colophon: his name once more, then what the page has told, set as the page's own table on its own columns */
  .site-footer { display: grid; gap: var(--sp-group); padding: var(--sp-section) var(--gutter) var(--sp-group); font-size: var(--step--1); }
  .site-footer > * { inline-size: 100%; max-inline-size: var(--content); margin-inline: auto; }
  .site-footer__sign { display: grid; gap: var(--sp-near); }
  .site-footer__name { font: 400 calc(min(var(--content), var(--fill)) / 5.5) / 1 var(--font-display); white-space: nowrap; max-inline-size: none; }
  .site-footer__latin { max-inline-size: none; }
  .site-footer__cols { display: grid; border-block-start: 1px solid var(--rule-strong); }
  .site-footer__cols > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--sp-bond); align-items: baseline; padding-block: var(--sp-near); border-block-end: 1px solid var(--rule); }
  .site-footer dt { color: var(--ink-2); }
  .site-footer dd { line-height: 1.75; overflow-wrap: anywhere; }
  .site-footer a { text-decoration-color: var(--rule-strong); text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-ui) var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .site-footer a:hover { text-decoration-color: currentColor; } }
  .site-footer__go::after { content: "\2002\2190"; }
  .site-footer__cols + .site-footer__base { margin-block-start: calc(var(--sp-para) - var(--sp-group)); }
  .site-footer__base { display: grid; gap: var(--sp-near); color: var(--ink-2); }
  .site-footer__base p { max-inline-size: none; }
  .site-footer__nav { display: flex; justify-content: space-between; gap: var(--sp-para); }
  .site-footer__nav a { color: var(--ink); }
  .site-footer__nav a[href="#top"]::after { content: "\2002\2191"; }
  @media (min-width: 48rem) {
    .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sp-col); border-block-end: 1px solid var(--rule); }
    .site-footer__cols > div { grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--sp-near); padding-block: var(--sp-near) var(--sp-para); border: 0; }
    .site-footer__base { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--sp-group); }
  }
  @media (min-width: 60rem) { .site-footer__name { font-size: calc(min(var(--content), var(--fill)) * 0.7 / 5.5); } }
  @media (max-width: 59.99rem) { .site-footer { padding-block-end: calc(var(--space-block) + 5rem + env(safe-area-inset-bottom, 0px)); } }

  /* ---- phone dock: the two doors, in one place from the first screen to the last (it rides over the menu too);
     steps aside only where the page offers the same doors itself: the enquiry form, the closing doors and the footer */
  .dock { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 20; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.5rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px)); background-color: var(--paper); box-shadow: 0 -1px 0 var(--rule);
    transition: translate var(--dur-panel) var(--ease-out), background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
  .js .dock:not([data-shown]) { translate: 0 110%; }   /* without scripts it simply stays */
  .dock .btn { padding-inline: 0.6em; }
  @media (max-width: 22rem) { .dock .btn { font-size: var(--step--1); } }
  @media (min-width: 60rem) { .dock { display: none; } }

  .skip { position: fixed; inset-inline-start: var(--gutter); inset-block-start: -4rem; z-index: 30; padding: 0.7em 1em; background: var(--ink); color: var(--paper); }
  .skip:focus { inset-block-start: 0.75rem; }
}

@layer motion {
  /* Motion is kept where it means something: the stage holding still while the page rises over it, food turning from
     grey to colour, the plates changing as the menu is read, the evening falling at Fish Royal. Around those, one quiet
     entrance per section (its title or its picture) and nothing on the text people read: no staggered rows, no counters,
     no words lighting up. Every animation moves only opacity and transform. One curve for arrivals (--ease), a quicker
     one for controls (--ease-out). Content is visible without scripts (.js is set in the <head>). */
  [data-reveal] { transition: opacity 0.9s var(--ease), translate 1s var(--ease); }
  .js [data-reveal]:not([data-in]) { opacity: 0; translate: 0 1.25rem; }
  [data-reveal="mask"] { transition-duration: 0.9s, 1.1s; }                              /* titles rise a short way */
  .js [data-reveal="mask"]:not([data-in]) { translate: 0 0.25em; }
  /* pictures: the frame fades in while the picture settles to its true size inside it, once */
  [data-reveal="image"] { transition-duration: 1.1s; }
  .js [data-reveal="image"]:not([data-in]) { translate: none; }
  [data-reveal="image"] img { transition: scale 1.8s var(--ease); }
  .js [data-reveal="image"]:not([data-in]) img { scale: 1.06; }
  .js [data-reveal="develop"]:not([data-in]) { opacity: 1; translate: none; }
  /* food arrives grey and turns to colour: a grey veil over it fades away (the picture itself is never re-filtered) */
  [data-reveal="develop"]::after { content: ""; position: absolute; inset: 0; }
  [data-reveal="develop"]::after { -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1); opacity: 0; pointer-events: none; transition: opacity 1.8s var(--ease) 0.4s; }
  .js [data-reveal="develop"]:not([data-in])::after { opacity: 1; }
  .door .shot { display: block; }
  @media (hover: hover) and (pointer: fine) { .door .shot img { transition: scale 0.9s var(--ease); } .door:hover .shot img { scale: 1.03; } }

  /* First screen, in order: the name, then the line under it and the doors. It waits for the fonts (html.ready), so the
     name is never seen in a stand-in typeface. The picture is there from the first frame and only settles, once. */
  .js .hero h1 { animation: rise 1.2s var(--ease) 0.1s both; }
  .js .hero__sub { animation: rise-sm 1s var(--ease) 0.4s both; }
  .js .hero__body > * { animation: rise-sm 1s var(--ease) 0.5s both; }
  .js .hero__body > :nth-child(2) { animation-delay: 0.62s; }
  .js .dock { animation: fade 0.9s var(--ease) 0.7s both; }
  .js .hero__photo img { animation: settle 2.4s var(--ease) both; }
  .js:not(.ready) :is(.hero h1, .hero__sub, .hero__body > *, .dock) { animation-play-state: paused; }
  /* while the camera is in the steam the header turns light over the film; it is ink again on the paper */
  [data-over="film"] .site-header { color: var(--lit); }
  @keyframes rise { from { opacity: 0; translate: 0 0.2em; } }
  @keyframes rise-sm { from { opacity: 0; translate: 0 0.9rem; } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes settle { from { scale: 1.06; } }

  .js .sheet:not([hidden]) a { animation: rise-sm 0.6s var(--ease) both; animation-delay: calc(var(--n, 0) * 40ms); }
  .sheet nav > :nth-child(2) { --n: 1; }
  .sheet nav > :nth-child(3) { --n: 2; }
  .sheet nav > :nth-child(4) { --n: 3; }
  .sheet nav > :nth-child(5) { --n: 4; }
  .sheet nav > :nth-child(6) { --n: 5; }
  .sheet nav > :nth-child(7) { --n: 6; }
  .js .ask__step:not([hidden]) { animation: rise-sm 0.5s var(--ease) both; }

  @media (prefers-reduced-motion: reduce) {
    .js [data-reveal]:not([data-in]) { opacity: 1; translate: none; }
    .js [data-reveal="image"]:not([data-in]) img { scale: none; }
    .js [data-reveal="develop"]:not([data-in])::after { opacity: 0; }
    .js .hero__photo img { animation: none; }
  }
}

@layer utilities {
  .visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
