/* Ember & Salt. A design concept by Foundworks for a made-up restaurant. */

@font-face { font-family: "Bodoni Fallback"; src: local("Didot"), local("Bodoni 72"), local("Georgia");
  size-adjust: 96%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Schibsted Fallback"; src: local("Helvetica Neue"), local("Arial");
  size-adjust: 101%; ascent-override: 96%; descent-override: 25%; }

:root {
  --char: #100b08; --soot: #1e1712; --cinder: #3e3631; --ash: #aaa39b; --bone: #f2ece3;
  --glow: #fe7f25; --flame: #ffb94c; --paper: #f9f7f1; --ink: #241b15; --ink-2: #5f5650;
  --f-display: "Bodoni Moda", "Bodoni Fallback", serif;
  --f-text: "Schibsted Grotesk", "Schibsted Fallback", sans-serif;
  /* the motion vocabulary, taken from fire: a catch that surges in steps, a rake (slow pull, fast release), bellows */
  --e-catch: cubic-bezier(.05,.72,.08,1);
  --e-draw: cubic-bezier(.9,0,.1,1);
  --e-ui: cubic-bezier(.32,.72,0,1);
  --e-breath: cubic-bezier(.62,0,.88,.5);
  --shadow: 0 1px 1px rgb(5 3 2 / .30), 0 6px 14px rgb(5 3 2 / .35), 0 22px 48px rgb(5 3 2 / .45);
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:72px; --s9:112px; --s10:168px;
  --cols: 12; --gap: 24px; --margin: clamp(24px, 3.4vw, 56px);
  --hdr: 64px; --sec: 144px;
  --t-h2: 80px; --t-dish: 31px; --t-beat: 48px; --t-lede: 22px; --t-note: 21px; --t-body: 18px;
}
@supports (transition-timing-function: linear(0, 1)) { :root { --e-catch: linear(0, .42 16%, .36 22%, .74 38%, .7 44%, .93 62%, .91 68%, 1); } }
@supports (color: oklch(50% .1 50)) {
  :root {
    --char: oklch(15.5% .012 55); --soot: oklch(21% .014 55); --cinder: oklch(34% .014 55);
    --ash: oklch(72% .014 70); --bone: oklch(94.5% .014 80); --glow: oklch(73% .18 50); --flame: oklch(84% .15 72);
    --paper: oklch(97.5% .008 90); --ink: oklch(23% .018 50); --ink-2: oklch(46% .016 55);
  }
}
@media (max-width: 1068px) { :root { --cols: 8; --gap: 20px; --margin: 32px; --sec: 120px;
  --t-h2: 64px; --t-dish: 24px; --t-beat: 40px; --t-lede: 21px; --t-note: 20px; } }
@media (max-width: 734px) { :root { --cols: 4; --gap: 14px; --margin: 16px; --sec: 112px; --hdr: 52px;
  --t-h2: 44px; --t-dish: 25px; --t-beat: 32px; --t-lede: 19px; --t-note: 18px; --t-body: 17px; } }

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; overscroll-behavior-y: none; scrollbar-color: var(--cinder) var(--char);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--char); }
html:not(.enhanced) { scroll-behavior: smooth; }
html.reduced { scroll-behavior: auto; }
body { margin: 0; background: var(--char); color: var(--bone); font-family: var(--f-text); font-size: var(--t-body);
  line-height: 1.55; letter-spacing: -.004em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto; text-rendering: optimizeLegibility; }
::selection { background: var(--glow); color: var(--char); }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, textarea { font: inherit; color: inherit; caret-color: var(--glow); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
[id] { scroll-margin-top: 80px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vh-tracker { position: fixed; top: 0; left: 0; width: 1px; height: 100vh; pointer-events: none; visibility: hidden; }
h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.price { font-variant-numeric: tabular-nums lining-nums; }
.meta, [data-status], .zone-label, .hours, .rating { font-variant-numeric: lining-nums; }
[hidden] { display: none !important; }

.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap);
  width: min(100% - 2 * var(--margin), 1440px); margin-inline: auto; }

h2 { font-family: var(--f-display); font-weight: 500; font-variation-settings: "opsz" 72; font-size: var(--t-h2);
  line-height: 1; letter-spacing: -.025em; }
.lede { font-size: var(--t-lede); line-height: 1.45; letter-spacing: -.008em; }
.body { font-size: var(--t-body); line-height: 1.55; }
.small { font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.meta { font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .005em; }

/* links: a cinder underline that heats in place, in two flickers, when you point at it */
.tl, .note a, .room-list a, .foot a, .policy a {
  background: linear-gradient(var(--cinder), var(--cinder)) 0 100% / 100% 1px no-repeat;
  padding-bottom: .14em; font-weight: 500; }
@keyframes heat { 0% { background-image: linear-gradient(var(--cinder), var(--cinder)); }
  22% { background-image: linear-gradient(rgb(254 127 37 / .7), rgb(254 127 37 / .7)); }
  38% { background-image: linear-gradient(rgb(254 127 37 / .3), rgb(254 127 37 / .3)); }
  100% { background-image: linear-gradient(var(--glow), var(--glow)); } }
@media (hover: hover) and (pointer: fine) {
  .no-touch :is(.tl, .note a, .room-list a, .foot a, .policy a):hover { background-image: linear-gradient(var(--glow), var(--glow)); animation: heat 320ms steps(4, jump-end) both; }
}
:is(.tl, .note a, .room-list a, .foot a, .policy a):focus-visible { background-image: linear-gradient(var(--glow), var(--glow)); }

/* buttons: cut like iron plate. Hover: heat rises from the bottom edge. Press: the plate darkens toward flame. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 0; background: var(--bone); color: var(--char); font-size: 16px; font-weight: 500; line-height: 1;
  white-space: nowrap; box-shadow: inset 0 0 0 var(--flame);
  transition: box-shadow 240ms var(--e-ui), background-color 120ms var(--e-ui); }
@media (hover: hover) and (pointer: fine) { .no-touch .btn:hover { box-shadow: inset 0 -60px 0 var(--flame); } }
.btn:active { background: var(--glow); box-shadow: inset 0 0 0 var(--flame); }
.btn:focus-visible { box-shadow: inset 0 -60px 0 var(--flame); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--cinder); }
@media (hover: hover) and (pointer: fine) { .no-touch .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ash); } }

.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--bone); color: var(--char);
  transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- header */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--hdr); display: flex; align-items: center; gap: 28px;
  padding-inline: var(--margin); font-size: 15px; font-weight: 500; transition: background-color 240ms var(--e-ui); }
/* a hood, not glass: char falling away to nothing, so the fire and the coals show through under it like heat haze */
.hdr::before { content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(16 11 8 / .96), rgb(16 11 8 / .82) 56%, rgb(16 11 8 / 0));
  opacity: 0; transition: opacity 240ms var(--e-ui); }
.hdr::after { content: ""; position: absolute; left: var(--margin); right: var(--margin); top: calc(var(--hdr) - 1px); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--cinder) 8%, rgb(110 98 90 / .9) 50%, var(--cinder) 92%, transparent); opacity: 0; transition: opacity 240ms var(--e-ui); }
.hdr.is-solid::before, .hdr.is-solid::after { opacity: 1; }
.wm { font-family: var(--f-display); font-weight: 600; font-variation-settings: "opsz" 24; font-size: 20px; letter-spacing: -.01em;
  margin-right: auto; white-space: nowrap; transition: opacity 240ms var(--e-ui); }
.wm-amp { font-style: italic; font-weight: 600; color: var(--ash); transition: color 600ms var(--e-ui); }
.wm[data-lit="1"] .wm-amp { color: var(--glow); text-shadow: 0 0 12px rgb(254 127 37 / .55); }
.enhanced .wm { opacity: var(--wm, 0); }
.enhanced .wm[style*="--wm:0;"], .enhanced .wm:not([style]) { pointer-events: none; }
.hdr-nav { display: flex; gap: 26px; }
.hdr-nav a { position: relative; padding: 8px 0; }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--glow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 240ms var(--e-ui); }
.hdr-nav a.is-here::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .no-touch .hdr-nav a:hover::after { transform: none; } }
.hdr-menu { padding: 8px 0; }
.btn-hdr { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-hdr .s { display: none; }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--bone); border-radius: 1px;
  transition: transform 420ms var(--e-draw); }
.burger i:nth-of-type(1) { top: 18px; } .burger i:nth-of-type(2) { top: 25px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1068px) { .hdr-nav { gap: 20px; } .hdr { gap: 20px; } }
@media (max-width: 860px) { .hdr-nav { display: none; } }
@media (max-width: 734px) {
  .hdr { gap: 10px; }
  .wm { font-size: 16px; }
  .hdr-menu { display: none; }
  .btn-hdr { min-height: 34px; padding: 0 15px; font-size: 15px; }
  .btn-hdr .l { display: none; } .btn-hdr .s { display: inline; }
  .burger { display: block; }
}

/* phone nav */
.pnav { position: fixed; inset: 0; z-index: 35; background: var(--char); padding: calc(var(--hdr) + 24px) var(--margin) 32px;
  display: flex; flex-direction: column; justify-content: space-between; visibility: hidden;
  clip-path: circle(0 at calc(100% - 26px) 26px); transition: clip-path 700ms var(--e-draw), visibility 0s 700ms; }
.pnav.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 26px) 26px); transition: clip-path 700ms var(--e-draw), visibility 0s; }
.pnav-links { display: grid; gap: 6px; }
.pnav-links a { font-family: var(--f-display); font-variation-settings: "opsz" 60; font-size: 40px; line-height: 1.12; letter-spacing: -.02em; padding: 4px 0; }
.pnav-foot { display: grid; gap: 8px; color: var(--ash); font-size: 14px; font-weight: 500; }
.pnav-foot a { color: var(--bone); font-size: 18px; }
html.reduced .pnav { transition: opacity 180ms linear, visibility 0s 180ms; clip-path: none; opacity: 0; }
html.reduced .pnav.is-open { opacity: 1; transition: opacity 180ms linear; }
@media (min-width: 735px) { .pnav { display: none; } }

/* ---------- chapter 0, lighting */
.hero { position: relative; height: 100svh; min-height: 560px; background: #000; }
.enhanced .hero { height: 200vh; }
.pin { position: relative; height: 100%; overflow: clip; }
.enhanced .pin { position: sticky; top: 0; height: calc(100vh + 1px); }
.hero-still, .hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-still { object-position: 100% 54%; scale: 1.42; }   /* framed like the shader (zoom 1.42 on the flame); JS sets it exactly */
.hero-gl { opacity: 0; transition: opacity 300ms linear; }
.hero-floor { position: absolute; inset: 0; background: #1c1008; mix-blend-mode: lighten; pointer-events: none; }
.enhanced .hero-still { filter: brightness(.8) saturate(1.15); }   /* the banked state the shader starts from */
.hero.gl-ready .hero-gl { opacity: 1; }
.mask { position: absolute; inset: 0; background: #000; mix-blend-mode: multiply; display: grid; align-content: center;
  padding-inline: var(--margin); padding-bottom: 4vh; }
.mask-name { width: min(100%, 1440px); margin-inline: auto; color: #fff; font-family: var(--f-display); font-weight: 800;
  font-variation-settings: "opsz" 96; font-size: min(23vw, 22rem); line-height: .8; letter-spacing: -.035em; white-space: nowrap;
  transform-origin: 0 0; }
.mask-name .l1, .mask-name .l2 { display: block; }
.mask-name .l2 { text-align: right; margin-top: -.04em; }
.amp { font-style: italic; font-weight: 700; letter-spacing: -.02em; }
.sp { display: inline-block; width: .12em; }
.hero-shade { position: absolute; inset: auto 0 0 0; height: 18vh; background: linear-gradient(to bottom, transparent, var(--char));
  opacity: 0; pointer-events: none; }
/* the copy is one credit line along the bottom, on a hairline: the hearth floor */
.hero-copy { position: absolute; left: 0; right: 0; bottom: max(32px, 4.5vh); width: min(100% - 2 * var(--margin), 1440px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 27rem) 1fr auto; align-items: end; column-gap: 40px; padding-top: 18px;
  border-top: 1px solid rgb(242 236 227 / .16); }
.hero-line { font-size: 19px; line-height: 1.5; color: var(--bone); }
.hero-status { justify-self: center; font-size: 15px; font-weight: 500; color: var(--ash); letter-spacing: .005em; white-space: nowrap; padding-bottom: 3px; }
.hero-cta { display: flex; align-items: center; gap: 28px; font-size: 17px; padding-bottom: 2px; }
.hero-cta .tl { padding-block: 10px .14em; }
@media (max-width: 1068px) { .hero-copy { grid-template-columns: 1fr auto; row-gap: 10px; } .hero-status { grid-column: 1 / -1; grid-row: 2; justify-self: start; } .hero-line { max-width: 27rem; } }
@media (max-width: 734px) {
  .enhanced .hero { height: 200lvh; }
  .enhanced .pin { height: calc(100lvh + 1px); }
  .hero { height: 100svh; }
  .hero-gl { object-position: 50% 30%; }
  .hero-still { object-position: 50% 50%; scale: 1.25; }
  /* the name sits lower, closing the dead gap above the copy, but never under it on short phones */
  .mask { align-content: start; padding-top: max(10svh, min(24svh, calc(100svh - 87vw - 280px))); padding-bottom: 0; }
  .mask-name { font-size: 29vw; line-height: .86; }
  .mask-name .l2 { display: grid; justify-items: end; margin-top: 0; }
  .mask-name .amp { justify-self: center; margin-right: -.62em; }
  .sp { display: none; }
  /* anchored to the small viewport, so Safari's toolbar never covers it */
  .hero-copy { bottom: max(20px, 3svh); grid-template-columns: 1fr; row-gap: 12px; padding-top: 16px; }
  .enhanced .hero-copy { bottom: calc(100lvh - 100svh + max(20px, 3svh)); }
  .hero-line { font-size: 17px; max-width: none; }
  .hero-status { grid-row: auto; justify-self: start; white-space: normal; }
  .hero-cta { gap: 26px; }
}

/* ---------- chapter 1, the chef's note */
.note { padding: var(--s9) 0 var(--s7); position: relative; }
.note-body { grid-column: 3 / 10; max-width: 62ch; font-size: var(--t-note); line-height: 1.6; letter-spacing: -.006em;
  hanging-punctuation: first last; }
.note-body p + p { margin-top: 1.2em; }
.note-sig { font-size: var(--t-body) !important; color: var(--ash); margin-top: 28px !important; }
@media (max-width: 1068px) { .note-body { grid-column: 1 / -1; } }

/* ---------- chapter 2, the grate */
.grate { position: relative; height: max(100svh, 880px); max-height: 1040px; overflow: clip; isolation: isolate; display: flex; flex-direction: column; }
.grate-bed { position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18vh, #000 calc(100% - 12vh), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18vh, #000 calc(100% - 12vh), transparent 100%); }
.grate-still, .grate-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grate-gl { opacity: 0; transition: opacity 400ms linear; }
.grate.gl-ready .grate-gl { opacity: 1; }
.grate-head { position: relative; padding-top: 80px; align-items: end; }
.grate-title { grid-column: 1 / 7; }
.grate-title .lede { margin-top: 18px; max-width: 26em; color: var(--bone); text-shadow: 0 0 24px var(--char), 0 0 6px var(--char); }
.grate-course-top { display: none; }
.for-touch { display: none; }
html.js:not(.no-touch) .for-touch { display: inline; }
html.js:not(.no-touch) .for-fine { display: none; }
html:not(.js) .ticket-col { display: none; }

/* the pass: one fixed panel shows the dish you point at (photo, where it cooks, what's in it); it never covers the menu */
.grate-pass { grid-column: 8 / -1; justify-self: end; position: relative; display: grid; grid-template-columns: 150px minmax(0, 290px);
  column-gap: 22px; align-items: end; min-height: 200px; }
.gp-pic { position: relative; width: 150px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soot); border: 1px solid var(--cinder);
  box-shadow: var(--shadow); transition: opacity 240ms var(--e-ui), transform 420ms var(--e-catch); }
.gp-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 240ms var(--e-ui), transform 900ms var(--e-catch); }
.gp-pic img.is-on { opacity: 1; transform: none; }
.gp-cap { display: grid; gap: 6px; align-content: end; transition: opacity 160ms var(--e-ui); text-shadow: 0 0 18px var(--char), 0 0 4px var(--char); }
.gp-name { font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 22; font-size: 28px; line-height: 1.05; letter-spacing: -.012em; color: var(--flame); }
.gp-cook { font-size: 15px; font-weight: 500; color: var(--ash); font-variant-numeric: lining-nums; letter-spacing: .005em; }
.gp-desc { font-size: 16px; line-height: 1.45; color: var(--bone); }
.gp-hint { position: absolute; right: 0; bottom: 0; width: min(100%, 300px); text-align: right; color: var(--ash); font-size: 15px; font-weight: 500;
  line-height: 1.45; opacity: 0; transition: opacity 240ms var(--e-ui); text-shadow: 0 0 12px var(--char); pointer-events: none; }
.grate-pass.is-idle .gp-pic { opacity: 0; transform: translateY(8px); }
.grate-pass.is-idle .gp-cap, .grate-pass.is-swap .gp-cap { opacity: 0; }
.grate-pass.is-idle .gp-hint { opacity: 1; }
/* dishes without a photograph get a deliberate text-only pass: no empty slot, a rule and a larger name */
.grate-pass.no-pic { grid-template-columns: minmax(0, 340px); }
.grate-pass.no-pic .gp-pic { display: none; }
.grate-pass.no-pic .gp-cap { border-left: 1px solid rgb(254 127 37 / .5); padding: 4px 0 4px 20px; }
.grate-pass.no-pic .gp-name { font-size: 34px; }
html:not(.enhanced) .grate-pass, html.no-touch:not(.enhanced) .grate-pass { display: none; }
html.js:not(.no-touch) .grate-pass { display: none; }

.grate-plan { margin-top: clamp(36px, 5vh, 56px); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zone { position: relative; min-width: 0; }
.zone + .zone::before { content: ""; position: absolute; top: 2px; bottom: -80px; left: calc(var(--gap) / -2); width: 1px;
  background: linear-gradient(to bottom, rgb(242 236 227 / .16), rgb(242 236 227 / .05) 70%, transparent); }
.zone-label { display: grid; gap: 1px; font-size: 15px; font-weight: 500; letter-spacing: .005em; line-height: 1.35; margin-bottom: 26px;
  text-shadow: 0 0 14px var(--char), 0 0 4px var(--char); font-variant-numeric: lining-nums; }
.zl-n { color: var(--bone); } .zl-t { color: var(--ash); }
.dishes { display: grid; gap: 18px; }
.dish { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; width: 100%;
  text-align: left; padding: 6px 0; min-height: 44px; color: var(--bone);
  text-shadow: 0 0 22px var(--char), 0 0 8px rgb(16 11 8 / .85), 0 0 2px rgb(16 11 8 / .7); }
.dish-name { font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 24; font-size: var(--t-dish);
  line-height: 1.04; letter-spacing: -.016em; text-wrap: balance; transition: color 240ms var(--e-ui); }
.dish .price { font-size: 17px; font-weight: 500; color: var(--bone); white-space: nowrap; }
.dish.is-on .dish-name { color: var(--flame); }
@media (hover: hover) and (pointer: fine) { .no-touch .dish:hover .dish-name { color: var(--flame); } }
.dish:focus-visible { outline-offset: 4px; }
.dish-desc { font-size: 16px; line-height: 1.45; color: var(--ash); margin-top: 4px; max-width: 30em; text-shadow: 0 0 12px var(--char); }
.dish-cap { color: var(--bone); opacity: .85; }
.enhanced .dish-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dish-link { display: inline-block; margin-top: 6px; font-size: 15px; text-shadow: 0 0 12px var(--char); }
.zone-frame { display: none; }

.grate-foot { margin-top: auto; padding: 28px 0 48px; align-items: end; }
.grate-hint { grid-column: 1 / 7; color: var(--ash); font-size: 15px; font-weight: 500; text-shadow: 0 0 12px var(--char); }
.grate-links { grid-column: 7 / -1; justify-self: end; display: flex; gap: 28px; font-size: 16px; }

/* base experience: descriptions visible, the section grows to fit */
html:not(.enhanced) .grate { height: auto; max-height: none; min-height: max(100svh, 720px); }
html:not(.enhanced) .grate-foot { padding-bottom: 72px; }
html:not(.enhanced) .dishes { gap: 22px; }
/* reduced motion and no WebGL: the still bed is calmed under every name and description, in whatever layout it lands */
html:not(.enhanced) .dishes > li, html:not(.enhanced) .zone-label, html:not(.enhanced) .grate-title { position: relative; }
html:not(.enhanced) .dishes > li::before, html:not(.enhanced) .zone-label::before, html:not(.enhanced) .grate-title::before {
  content: ""; position: absolute; inset: -16px -22px; z-index: -1; border-radius: 28px; pointer-events: none;
  background: rgb(16 11 8 / .78); filter: blur(16px); }
html:not(.enhanced) .grate-still { filter: brightness(.82) saturate(.92); }

@media (max-width: 1068px) {
  .grate { height: max(100svh, 860px); }
  .grate-title { grid-column: 1 / 5; }
  .grate-title h2 { font-size: 56px; }
  .grate-pass { grid-column: 5 / -1; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; min-height: 150px; }
  .grate-pass.no-pic { grid-template-columns: minmax(0, 1fr); }
  .grate-pass.no-pic .gp-name { font-size: 26px; }
  .gp-pic { width: 112px; }
  .gp-name { font-size: 22px; } .gp-desc { font-size: 15px; }
  .grate-plan { column-gap: 14px; }
  .dish { grid-template-columns: minmax(0, 1fr); }
  .dish .price { margin-top: 2px; }
  .grate-hint { grid-column: 1 / 5; } .grate-links { grid-column: 5 / -1; }
}

@media (max-width: 734px) {
  .grate, html:not(.enhanced) .grate { height: auto; max-height: none; min-height: 100svh; display: flex; flex-direction: column; }
  .grate-bed { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14vh, #000 calc(100% - 8vh), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14vh, #000 calc(100% - 8vh), transparent 100%); }
  .grate-head { padding-top: 72px; grid-template-columns: 1fr auto; }
  .grate-title { grid-column: 1 / -1; grid-row: 1; }
  .grate-title h2 { font-size: var(--t-h2); padding-right: 96px; }
  .grate-course-top { display: inline; grid-column: 2; grid-row: 1; align-self: start; margin-top: 12px; font-size: 16px; }
  .grate-pass { display: none; }
  .grate-plan, html:not(.enhanced) .grate-plan { margin: 24px 0 0; width: 100%; display: flex;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; touch-action: pan-x pan-y; padding: 0 16px; gap: 0; flex: 1 0 auto; }
  .grate-plan::-webkit-scrollbar { display: none; }
  .zone { flex: 0 0 86%; scroll-snap-align: start; padding: 18px 16px 24px 0; display: flex; flex-direction: column; }
  .zone + .zone { padding-left: 16px; }
  .zone:last-child { flex-basis: calc(86% + 16px); padding-right: 16px; }
  .zone + .zone::before { left: 0; top: 18px; bottom: 24px; }
  .zone-label { margin-bottom: 14px; grid-auto-flow: column; justify-content: start; column-gap: 8px; }
  .dishes { gap: 6px; }
  .dish { grid-template-columns: minmax(0, 1fr) auto; min-height: 44px; padding: 6px 0; }
  .dish-name { font-size: 25px; }
  .dish .price { font-size: 16px; margin-top: 0; }
  .zone-frame { display: grid; grid-template-columns: 42% minmax(0, 1fr); column-gap: 14px; align-items: end; margin-top: 18px; }
  .zone-frame .zf-pic { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--cinder); box-shadow: var(--shadow); background: var(--soot); }
  .zone-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .zone-frame figcaption { display: grid; gap: 4px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ash); text-shadow: 0 0 10px var(--char), 0 0 3px var(--char);
    font-variant-numeric: lining-nums; }
  .zone-frame figcaption b { font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 20; font-size: 21px; line-height: 1.08; color: var(--flame); }
  .zone-frame figcaption .zf-desc { font-weight: 400; font-size: 15px; line-height: 1.4; color: var(--bone); }
  .zone-frame.no-pic { grid-template-columns: minmax(0, 1fr); }
  .zone-frame.no-pic .zf-pic { display: none; }
  .zone-frame.no-pic figcaption { background: rgb(30 23 18 / .82); padding: 14px 16px; border: 1px solid var(--cinder); }
  .grate-foot, html:not(.enhanced) .grate-foot { margin-top: 4px; padding: 0 0 calc(var(--stub, 0px) + 40px); row-gap: 14px; }
  .grate-hint, html:not(.enhanced) .grate-hint { grid-column: 1 / -1; visibility: visible; }
  .grate-links { grid-column: 1 / -1; justify-self: start; }
  html:not(.enhanced) .grate-bed { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 359px) {
  .zone { flex-basis: 90%; } .zone:last-child { flex-basis: calc(90% + 16px); }
  .zone-frame { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .zone-frame .zf-pic { width: 60%; }
}

/* ---------- menu sheet */
.sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: min(100%, 820px); max-width: 100%; height: min(92svh, 1100px);
  max-height: none; padding: 0; border: 0; background: var(--soot); color: var(--bone); box-shadow: var(--shadow); overflow: hidden; }
.sheet::backdrop { background: rgb(16 11 8 / .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open] { display: block; }
.sheet-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 40px 56px 56px; scrollbar-color: var(--cinder) var(--soot); }
.sheet-top { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.sheet h2 { font-size: 56px; }
.sheet h2:focus { outline: none; }
.sheet-date { color: var(--ash); margin-top: 10px; }
.sheet-x { position: relative; width: 44px; height: 44px; flex: none; border-radius: 0; box-shadow: inset 0 0 0 1px var(--cinder); transition: box-shadow 240ms var(--e-ui); }
.sheet-x i { position: absolute; left: 14px; right: 14px; top: 21px; height: 1.5px; background: var(--bone); }
.sheet-x i:first-child { transform: rotate(45deg); } .sheet-x i:last-child { transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .no-touch .sheet-x:hover { box-shadow: inset 0 0 0 1px var(--ash); } }
.sheet-sort { display: flex; gap: 26px; margin-top: 26px; }
.sheet-sort button { min-height: 40px; padding: 0; font-size: 15px; font-weight: 500; color: var(--ash); letter-spacing: .005em;
  background: linear-gradient(var(--glow), var(--glow)) 0 100% / 100% 1px no-repeat; background-size: 0 1px; transition: color 240ms var(--e-ui); }
.sheet-sort button[aria-pressed="true"] { color: var(--bone); background-size: 100% 1px; }
.sheet-groups { margin-top: 36px; display: grid; gap: 40px; }
.sg-h { position: relative; font-size: 14px; font-weight: 500; color: var(--ash); letter-spacing: .005em; padding-bottom: 12px;
  border-bottom: 1px solid var(--cinder); margin-bottom: 18px; }
.sg-h span { display: block; transition: opacity 200ms linear; }
.sg-h .by-course { position: absolute; left: 0; top: 0; opacity: 0; }
.sheet.by-course .sg-h .by-zone { opacity: 0; }
.sheet.by-course .sg-h .by-course { opacity: 1; }
.sg-rows { display: grid; gap: 22px; }
.sg-rows:empty { display: none; }
.sg:has(.sg-rows:empty) { display: none; }
.row:focus { outline: none; }
.row.is-target .row-name { color: var(--flame); }
.row-line { display: flex; align-items: baseline; }
.row-name { font-family: var(--f-display); font-variation-settings: "opsz" 22; font-size: 26px; line-height: 1.12; letter-spacing: -.012em; transition: color 240ms var(--e-ui); }
.lead { flex: 1; border-bottom: 1px dotted currentColor; margin: 0 .5em .3em; opacity: .4; min-width: 1.5em; }
.row-line .price { font-size: 16px; font-weight: 500; }
.row-desc { margin-top: 4px; font-size: 16px; line-height: 1.45; color: var(--ash); max-width: 52ch; }
.row-review { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--bone); max-width: 52ch; }
.row-review span { color: var(--ash); white-space: nowrap; }
.sheet-foot { margin-top: 44px; color: var(--ash); max-width: 56ch; }
.sheet-print-info { display: none; }
.sheet-actions { margin-top: 18px; font-size: 15px; }
html:not(.js) .sheet { position: static; display: block; height: auto; box-shadow: none; margin: 0 auto 0; }
html:not(.js) .sheet-x, html:not(.js) .sheet-sort, html:not(.js) .sheet-actions { display: none; }
@media (max-width: 734px) {
  .sheet { height: 94svh; }
  .sheet-in { padding: 24px 16px 48px; }
  .sheet h2 { font-size: 40px; }
  .row-name { font-size: 22px; }
}

/* ---------- chapter 3, cut at the pass: a full-bleed board that slices as it rises; nothing pins */
.cut { padding-top: var(--s9); position: relative; }
.cut-head { row-gap: 0; }
.cut-head > * { grid-column: 1 / 8; }
.cut-head .lede { margin-top: 22px; max-width: 34em; }
.cut-dish { margin-top: 28px; font-family: var(--f-display); font-variation-settings: "opsz" 30; font-size: 40px; line-height: 1.05; letter-spacing: -.016em; }
.cut-dish .dot { color: var(--ash); }
.cut-dish .price { font-family: var(--f-display); font-variant-numeric: lining-nums; }
.cut-board { position: relative; margin-top: var(--s8); }
.cut-frame { position: relative; aspect-ratio: 21 / 9; max-height: 82vh; width: 100%; overflow: hidden; background: var(--char); }
.cut-frame picture, .cut-poster, .cut-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.cut-canvas { opacity: 0; transition: opacity 300ms linear; transform-origin: 50% 70%; }
.cut.seq-ready .cut-canvas { opacity: 1; }
.cut-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none;
  background: linear-gradient(to top, rgb(16 11 8 / .94), rgb(16 11 8 / .6) 45%, transparent); }
.cut-facts { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 36px; }
.cut-facts .grid { align-items: start; }
.fact { grid-column: span 4; max-width: 30em; font-size: 16px; line-height: 1.45; color: var(--ash); opacity: .78;
  transition: color 600ms var(--e-ui), opacity 600ms var(--e-ui); text-shadow: 0 0 18px var(--char); }
.fact b { display: block; margin-bottom: 6px; font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 24; font-size: 30px; line-height: 1;
  letter-spacing: -.015em; color: var(--ash); transition: color 600ms var(--e-ui); }
.fact.is-on { color: var(--bone); opacity: 1; }
.fact.is-on b { color: var(--bone); }
.fact.is-now b { color: var(--flame); }
html:not(.enhanced) .fact, html.reduced .fact { opacity: 1; color: var(--bone); }
html:not(.enhanced) .fact b, html.reduced .fact b { color: var(--bone); }
.cut-review { margin-top: var(--s8); }
.cut-review > * { grid-column: 3 / 10; }
.cut-review blockquote p { font-family: var(--f-display); font-variation-settings: "opsz" 24; font-size: 30px; line-height: 1.25; letter-spacing: -.01em; }
.review blockquote p { font-size: var(--t-body); line-height: 1.55; }
.review figcaption { margin-top: 12px; color: var(--ash); font-size: 15px; font-weight: 500; }
@media (max-width: 1068px) {
  .cut-head > * { grid-column: 1 / -1; }
  /* tablets: a taller crop, and the three facts as a row under the board instead of over the knife */
  .cut-frame { aspect-ratio: 16 / 9; max-height: 74vh; }
  .cut-frame::after { display: none; }
  .cut-facts { position: static; padding: 28px 0 0; }
  .cut-facts .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .fact { grid-column: auto; font-size: 15px; } .fact b { font-size: 22px; }
  .cut-review > * { grid-column: 1 / -1; }
  .cut-review blockquote p { font-size: 26px; }
}
@media (max-width: 734px) {
  .cut-dish { font-size: 30px; }
  .cut-frame { aspect-ratio: 4 / 5; max-height: none; }
  .cut-frame::after { display: none; }
  .cut-facts { position: static; padding: 26px 0 0; }
  .cut-facts .grid { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .fact { grid-column: 1 / -1; font-size: 16px; }
  .fact b { font-size: 26px; }
  .cut-review blockquote p { font-size: 23px; }
}

/* ---------- chapter 4, the bar */
.bar { padding-top: var(--s9); padding-bottom: var(--s7); position: relative; }
.bar-grid { align-items: start; }
.bar-photo { grid-column: 7 / -1; grid-row: 1; position: relative;
  margin-right: calc(-1 * (100vw - min(100vw - 2 * var(--margin), 1440px)) / 2); }
.bar-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.bar-copy { grid-column: 1 / 6; grid-row: 1; }
.bar-copy .lede { margin-top: 22px; }
.bar-facts { margin-top: 40px; display: grid; gap: 22px; }
.bar-facts dt { font-size: 15px; font-weight: 500; color: var(--ash); letter-spacing: .005em; }
.bar-facts dd { margin-top: 6px; }
.drinks { margin-top: 48px; display: grid; gap: 22px; }
.drinks .row-name { font-size: 24px; }
.bar .review { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--cinder); }
.wisps { position: absolute; left: 20%; width: 40%; bottom: 82%; height: calc(30vh + 18%); pointer-events: none; display: none; }
.enhanced .wisps { display: block; }
.wisp { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--bone); stroke-width: 14;
  stroke-linecap: round; opacity: 0;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0, #000 22%, #000 60%, transparent 100%);
  animation: wispA 9s var(--e-breath) infinite; animation-play-state: paused; }
.wisp path { vector-effect: non-scaling-stroke; }
.wa { filter: blur(10px); }
.wb { filter: blur(16px); animation-name: wispB; animation-duration: 13s; animation-delay: -4s; }
.bar.is-live .wisp { animation-play-state: running; }
@keyframes wispA { 0% { transform: translate(0, 0); opacity: 0; } 50% { opacity: .22; } 100% { transform: translate(10px, -48px); opacity: 0; } }
@keyframes wispB { 0% { transform: translate(0, 8px); opacity: 0; } 50% { opacity: .14; } 100% { transform: translate(-14px, -64px); opacity: 0; } }
@media (max-width: 1068px) { .bar-photo { grid-column: 5 / -1; } .bar-copy { grid-column: 1 / 5; } }
@media (max-width: 734px) {
  .bar { padding-top: var(--s8); }
  .bar-photo { grid-column: 1 / -1; margin-inline: calc(-1 * var(--margin)); }
  .bar-copy { grid-column: 1 / -1; grid-row: 2; margin-top: 40px; }
  .wisps { height: calc(22vh + 33%); bottom: 67%; }
}

/* ---------- chapter 5, the salt: a tray over the banked coals, from above */
.salt { position: relative; height: clamp(660px, 94vh, 940px); overflow: clip; isolation: isolate; }
.salt-stage { position: absolute; inset: 0; z-index: -1; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); }
.salt-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--char) 0, rgb(16 11 8 / .86) 26%, rgb(16 11 8 / .35) 40%, transparent 52%); }
.salt-poster, .salt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.salt-canvas { opacity: 0; transition: opacity 500ms linear; }
.salt.seq-ready .salt-canvas { opacity: 1; }
.enhanced .salt-stage { cursor: grab; }
.enhanced .salt-stage.is-drag { cursor: grabbing; }
.salt-grid { height: 100%; align-content: center; pointer-events: none; }
.salt-copy { grid-column: 1 / 5; pointer-events: auto; text-shadow: 0 0 24px var(--char); }
.salt-copy .body { margin-top: 22px; }
.salt-jar { margin-top: 18px; color: var(--ash); font-size: 16px; }
.salt-ui { margin-top: 28px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.salt-hint { color: var(--ash); font-weight: 500; }
html:not(.js) .salt-ui { display: none; }
@media (max-width: 1068px) { .salt-copy { grid-column: 1 / 5; } .salt-stage::after { background: linear-gradient(90deg, var(--char) 0, rgb(16 11 8 / .88) 38%, rgb(16 11 8 / .3) 56%, transparent 66%); } }
@media (max-width: 734px) {
  .salt { height: auto; }
  .salt-stage { position: relative; inset: auto; aspect-ratio: 4 / 5; z-index: 0; }
  .salt-stage::after { background: linear-gradient(to top, var(--char), transparent 30%); }
  .salt-poster, .salt-canvas { object-position: 72% 50%; }
  .salt-grid { height: auto; pointer-events: auto; }
  .salt-copy { grid-column: 1 / -1; margin-top: -40px; position: relative; padding-bottom: var(--s9); }
}

/* ---------- chapter 6, the long table: the room with the fire in the window */
.room-photo { position: relative; overflow: hidden; }
.room-photo img { width: 100%; aspect-ratio: 2048 / 1360; max-height: 92vh; object-fit: cover; object-position: 62% 50%; }
.room-h { position: absolute; z-index: 2; top: clamp(40px, 9%, 110px); right: var(--margin); text-align: right; text-shadow: 0 0 40px rgb(16 11 8 / .8); }
/* the hearth through the far window: it flickers while the fire is lit, and goes dark when it isn't */
.room-fire { position: absolute; z-index: 1; left: 63.6%; top: 52.5%; width: 9%; aspect-ratio: 1.6; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 170 80 / .55), rgb(254 127 37 / .22) 55%, transparent); mix-blend-mode: screen; opacity: 0; }
html[data-lit="1"].enhanced .room-fire { animation: flicker 2.6s var(--e-catch) infinite; }
html.reduced .room-fire { animation: none !important; }
@keyframes flicker { 0%, 100% { opacity: .55; scale: 1; } 18% { opacity: .9; scale: 1.06; } 26% { opacity: .62; } 48% { opacity: 1; scale: 1.1; } 63% { opacity: .7; scale: 1.02; } 80% { opacity: .85; } }
.room-grid { margin-top: var(--s8); padding-bottom: var(--sec); row-gap: 48px; }
.room-copy { grid-column: 1 / 7; }
.room-copy .body { max-width: 34em; }
.room-copy .review { margin-top: 40px; max-width: 34em; }
.room-list { grid-column: 8 / -1; display: grid; gap: 30px; padding-top: 4px; }
.room-list dt { font-size: 15px; font-weight: 500; color: var(--ash); letter-spacing: .005em; }
.room-list dd { margin-top: 6px; }
@media (max-width: 1068px) { .room-copy { grid-column: 1 / -1; } .room-list { grid-column: 1 / -1; } }
@media (max-width: 734px) { .room-photo img { aspect-ratio: 4 / 5; max-height: none; object-position: 66% 50%; } .room-fire { left: 61%; width: 14%; } .room-h { top: 28px; right: 16px; } }

/* ---------- chapter 7, your table */
.book { border-top: 1px solid var(--cinder); padding-top: var(--sec); }
.book-intro > * { grid-column: 1 / 9; }
.policy { margin-top: 28px; display: grid; gap: 14px; max-width: 46em; }
.policy li { padding-left: 18px; position: relative; }
.policy li::before { content: "·"; position: absolute; left: 2px; color: var(--ash); }
.rating { margin-top: 22px; color: var(--ash); font-size: 14px; font-weight: 500; }
.book-grid { margin-top: var(--s8); align-items: start; }
.bk { grid-column: 1 / 8; display: grid; gap: 40px; }
.bk legend, .fld > span { display: block; font-size: 14px; font-weight: 500; color: var(--ash); margin-bottom: 14px; padding: 0; }
.stepper { display: inline-flex; align-items: center; gap: 6px; box-shadow: inset 0 0 0 1px var(--cinder); padding: 3px; }
.step { width: 44px; height: 44px; font-size: 22px; line-height: 1; transition: background-color 240ms var(--e-ui); }
.step:active { background: var(--cinder); }
.step:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .no-touch .step:not(:disabled):hover { background: var(--soot); } }
.stepper output { min-width: 2ch; text-align: center; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.f-note { margin-top: 12px; font-size: 15px; color: var(--ash); }
.f-err { display: block; margin-top: 10px; font-size: 15px; font-style: normal; color: var(--flame); }
.f-err[hidden] { display: none; }
.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 2px 24px 6px 2px; margin: -2px -2px 0;
  -webkit-mask-image: linear-gradient(90deg, #000, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, #000, #000 calc(100% - 24px), transparent); }
.days.scrolled { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.days::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; min-height: 46px; padding: 0 16px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--cinder);
  font-size: 16px; font-weight: 500; font-variant-numeric: lining-nums; white-space: nowrap;
  transition: box-shadow 240ms var(--e-ui), background-color 240ms var(--e-ui), color 240ms var(--e-ui); }
.chip small { display: block; font-size: 13px; color: var(--ash); font-weight: 500; line-height: 1; margin-top: 3px; }
.chip:active:not(:disabled) { background: var(--soot); }
.chip[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: none; }
.chip[aria-checked="true"] small { color: var(--ink-2); }
.chip:disabled { color: #6c645e; cursor: default; box-shadow: inset 0 0 0 1px rgb(62 54 49 / .55); }
.chip.day { display: grid; align-content: center; line-height: 1.15; min-width: 64px; padding: 6px 14px; text-align: center; }
@media (hover: hover) and (pointer: fine) { .no-touch .chip:not(:disabled):not([aria-checked="true"]):hover { box-shadow: inset 0 0 0 1px var(--ash); } }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.times .chip { padding: 0 8px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--cinder);
  font-size: 16px; font-weight: 500; transition: box-shadow 240ms var(--e-ui), background-color 240ms var(--e-ui), color 240ms var(--e-ui); }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .no-touch .seg input:not(:checked) + span:hover { box-shadow: inset 0 0 0 1px var(--ash); } }
.counter-map { margin: 22px auto 0; max-width: 460px; }
.counter-map svg { width: 100%; height: auto; overflow: visible; }
.hearth-plan rect { fill: rgb(254 127 37 / .07); stroke: var(--ash); stroke-width: 1; }
.hearth-plan .grate-lines { stroke: var(--ash); stroke-width: 1; opacity: .35; }
.hearth-plan .zone-ticks { stroke: var(--ash); stroke-width: 1; }
.hearth-plan text { fill: var(--ash); font: 500 13px var(--f-text); }
.stool { cursor: pointer; outline: none; }
.stool circle { fill: var(--cinder); transition: fill 240ms var(--e-ui); }
.stool .ring { fill: none; stroke: var(--bone); stroke-width: 2; opacity: 0; transition: opacity 240ms var(--e-ui); }
.stool.free circle.seat { fill: var(--glow); opacity: .6; animation: seatPulse 2.4s var(--e-breath) infinite alternate; }
.stool.taken { cursor: default; }
.stool.sel .ring { opacity: 1; }
.stool.sel circle.seat { fill: var(--flame); animation: none; opacity: 1; }
.stool:focus-visible .ring { opacity: 1; stroke: var(--glow); }
.stool text { fill: var(--char); font: 600 12px var(--f-text); pointer-events: none; }
.stool.taken text { fill: var(--ash); }
@keyframes seatPulse { from { opacity: .48; } to { opacity: .78; } }
html.reduced .stool.free circle.seat { animation: none; opacity: .6; }
.cm-cap { margin-top: 10px; color: var(--ash); text-align: center; }
.long-extra { margin-top: 24px; display: grid; gap: 22px; max-width: 460px; }
.f-who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { display: block; }
.inp { width: 100%; min-height: 50px; padding: 12px 16px; background: var(--soot); border: 1px solid var(--cinder); border-radius: 0;
  font-size: 17px; transition: border-color 240ms var(--e-ui); -webkit-appearance: none; appearance: none; }
textarea.inp { resize: vertical; min-height: 96px; }
.inp:focus { outline: none; border-color: var(--glow); }
.inp[aria-invalid="true"] { border-color: var(--flame); }
.f-submit { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-submit { position: relative; min-width: 220px; min-height: 54px; font-size: 17px; }
.btn-submit:disabled { background: var(--cinder); color: var(--ash); cursor: not-allowed; box-shadow: none; }
.btn-submit .spin, .btn-submit .ok { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; opacity: 0; }
.btn-submit .spin { border-radius: 50%; border: 2px solid rgb(16 11 8 / .25); border-top-color: var(--char); }
.btn-submit.is-loading .spin { animation: spin .8s linear infinite; }
.btn-submit .ok { width: 14px; height: 8px; margin: -6px 0 0 -7px; border-left: 2px solid var(--char); border-bottom: 2px solid var(--char); transform: rotate(-45deg); }
.btn-submit .lbl { transition: opacity 120ms linear; }
.btn-submit.is-loading .lbl, .btn-submit.is-done .lbl { opacity: 0; }
.btn-submit.is-loading .spin { opacity: 1; }
.btn-submit.is-done .ok { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.f-live { flex: 1 1 18em; font-size: 15px; color: var(--bone); max-width: 36em; }

/* the ticket (the only light surface; the only place Martian Mono is used): big, crisp, the brightest thing on the page */
.ticket-col { grid-column: 8 / -1; position: sticky; top: 96px; justify-self: center; width: 380px; min-height: 780px; }
.slot { height: 10px; background: #070504; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), inset 0 -2px 3px rgb(0 0 0 / .8), 0 1px 0 rgb(242 236 227 / .07); margin: 0 -18px; position: relative; z-index: 2; }
.ticket-clip { position: relative; overflow: hidden; margin: -5px -40px 0; padding: 0 40px 48px; }
.ticket { --f-ticket: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-family: var(--f-ticket); font-variation-settings: "wdth" 75; font-weight: 450; font-size: 15px; line-height: 26px; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; background: var(--paper); color: var(--ink); width: 380px; padding: 22px 24px 28px; box-shadow: var(--shadow);
  -webkit-font-smoothing: antialiased;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.ticket.is-torn { -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 12px 51% no-repeat repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 12px 51% repeat-x;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 12px 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 12px 51% repeat-x; }

.tk-line { white-space: pre; height: 26px; overflow: hidden; }
.tk-line.burn { animation: burn 120ms steps(3, jump-end) both; }
.tk-line.c { text-align: center; }
.tk-line.b { font-weight: 500; }
.tk-line.c.b { font-size: 22px; height: 36px; line-height: 36px; letter-spacing: .1em; }
.tk-line.rule { color: var(--ink-2); }
@keyframes burn { 0% { opacity: 0; } 50% { opacity: .55; color: #7a6f68; } 100% { opacity: 1; } }
.rail { height: 4px; position: absolute; left: -30px; right: -30px; top: 6px; border-radius: 0;
  background: linear-gradient(to bottom, #9a958f, #57524d 55%, #2e2a27); box-shadow: 0 2px 4px rgb(0 0 0 / .6); }
.rail::before, .rail::after { content: ""; position: absolute; top: -3px; width: 6px; height: 10px; background: #3b3632; }
.rail::before { left: 10px; } .rail::after { right: 10px; }
.ticket.stub { position: absolute; left: 40px; top: 5px; transform: translateY(-115%); pointer-events: none; }

@media (max-width: 1068px) { .bk { grid-column: 1 / 6; } .ticket-col { grid-column: 6 / -1; width: 292px; } .ticket { width: 292px; padding-inline: 16px; font-size: 13.5px; } .tk-line.c.b { font-size: 18px; } .rail { left: -6px; right: -6px; } }
@media (max-width: 734px) {
  .book-intro > * { grid-column: 1 / -1; }
  .bk { grid-column: 1 / -1; }
  .f-who { grid-template-columns: 1fr; }
  .ticket-col { display: none; }
  .btn-submit { width: 100%; }
}

/* phone ticket stub */
.tstub { display: none; }
@media (max-width: 734px) {
  .js .tstub { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; transform: translateY(110%);
    transition: transform 400ms var(--e-ui); padding: 0 12px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
  .js .tstub.is-on { transform: none; pointer-events: auto; }
  .tstub-bar { --f-ticket: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace; width: 100%; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--paper); color: var(--ink); padding: 0 6px 0 16px; box-shadow: var(--shadow);
    font-family: var(--f-ticket); font-variation-settings: "wdth" 75; font-size: 13px; font-weight: 450; letter-spacing: .01em; text-align: left; }
  .tstub-sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
  .tstub-go:empty { display: none; }
  .tstub-go { flex: none; background: var(--ink); color: var(--paper); border-radius: 0; padding: 11px 14px; font-family: var(--f-text); font-size: 14px; font-weight: 500; letter-spacing: 0; }
  .tstub-sheet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--e-ui); background: var(--char); margin: 0 -12px; padding: 0 12px; }
  .tstub.is-open .tstub-sheet { grid-template-rows: 1fr; }
  .tstub-in { overflow: hidden; }
  .tstub-in .ticket { width: 100%; margin-top: 10px; box-shadow: none; }
  html.reduced .tstub, html.reduced .tstub-sheet { transition-duration: 1ms; }
}

/* footer: the visit, said in one breath, then the hours as plain lines */
.foot { padding: var(--s9) 0 calc(56px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cinder); }
.foot-grid { row-gap: 48px; align-items: start; }
.foot-open { grid-column: 1 / 9; font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 28; font-size: 40px; line-height: 1.18; letter-spacing: -.014em; text-wrap: pretty; }
.foot-open [data-foot] { color: var(--flame); }
.foot-open a { font-weight: 400; background-position: 0 92%; }
.foot-side { grid-column: 9 / -1; padding-top: 10px; }
.foot-status { color: var(--bone); font-size: 16px; font-weight: 500; }
.foot-hours { margin-top: 18px; display: grid; gap: 10px; font-size: 16px; }
.foot-hours li { display: grid; gap: 1px; }
.foot-hours li span:first-child { color: var(--bone); } .foot-hours li span:last-child { color: var(--ash); }
.foot-maps { margin-top: 18px; font-size: 16px; }
.foot-note { grid-column: 1 / 9; color: var(--ash); font-size: 15px; max-width: 46em; padding-top: 22px; border-top: 1px solid var(--cinder); }
.foot-note a { color: var(--bone); margin-left: .3em; }
@media (max-width: 1068px) { .foot-open { grid-column: 1 / -1; font-size: 34px; } .foot-side { grid-column: 1 / -1; } .foot-note { grid-column: 1 / -1; } }
@media (max-width: 734px) { .foot-open { font-size: 28px; } .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* phone: a paper slip at the bottom, the same stock as the ticket (it becomes the ticket in the booking chapter) */
.pbar { display: none; }
@media (max-width: 734px) {
  .pbar { --f-ticket: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
    display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 30; height: 54px;
    background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
    font-family: var(--f-ticket); font-variation-settings: "wdth" 75; font-size: 13px; font-weight: 450; letter-spacing: .02em; text-transform: uppercase;
    -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
    mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
    transform: translateY(140%); transition: transform 420ms var(--e-ui); }
  .pbar.is-on { transform: none; }
  .pbar-slip { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px 0 16px; }
  .pbar-st { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
  .pbar-go { flex: none; font-weight: 500; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
  .pbar-call { flex: none; display: flex; align-items: center; padding: 6px 16px 0; font-weight: 500; border-left: 1px dashed rgb(95 86 80 / .55); }
  html.reduced .pbar { transition-duration: 1ms; }
}

/* reduced motion: every transition becomes a short opacity change */
html.reduced *, html.reduced *::before, html.reduced *::after { scroll-behavior: auto !important; }
html.reduced .grate-frame { transition: opacity 150ms linear; }
html.reduced .btn, html.reduced .chip, html.reduced .step { transition: background-color 150ms linear; }
html.reduced .btn:active, html.reduced .chip:active { transform: none; }

/* print: only the menu */
@media print {
  @page { margin: 16mm; }
  body > *:not(main), main > *:not(.sheet) { display: none !important; }
  html, body { background: #fff !important; color: #111 !important; }
  .sheet { position: static !important; display: block !important; width: 100% !important; height: auto !important; box-shadow: none !important; background: #fff !important; color: #111 !important; clip-path: none !important; }
  .sheet-in { overflow: visible; height: auto; padding: 0; }
  .sheet-x, .sheet-sort, .sheet-actions { display: none !important; }
  .sheet-print-info { display: block; margin-top: 16px; font-size: 12px; }
  .row-desc, .sg-h, .sheet-date, .sheet-foot, .row-review span { color: #444 !important; }
  .row { break-inside: avoid; }
  .sheet h2 { font-size: 36px; }
}
.ticket.main:has(.tk-track:empty) { visibility: hidden; }
/* phones without the live bed: the still scrolls with the strip, so the zones still line up with the panels */
@media (max-width: 734px) {
  html:not(.enhanced) .grate-bed { display: none; }
  html:not(.enhanced) .grate-plan { background: linear-gradient(var(--char), transparent 14%, transparent 86%, var(--char)), url(/media/ember-salt/grate-still-2400.webp) 0 0 / auto 100% repeat-x;
    background-attachment: local, local; }
}
/* anchors land with the chapter's headline just under the header */
#grate, #long-table { scroll-margin-top: var(--hdr); }
#fire, #cut { scroll-margin-top: calc(var(--hdr) + 40px - var(--s9)); }
#book { scroll-margin-top: calc(var(--hdr) + 40px - var(--sec)); }
#bar { scroll-margin-top: calc(var(--hdr) + 40px - var(--s9)); }
#salt { scroll-margin-top: 0px; }
#visit { scroll-margin-top: calc(var(--hdr) + 24px - var(--s9)); }
@media (max-width: 734px) { #bar { scroll-margin-top: calc(var(--hdr) + 24px - var(--s8)); } #salt { scroll-margin-top: var(--hdr); } }
.nw { white-space: nowrap; }
.tstub .tk-track-m { width: fit-content; margin-inline: auto; }
.tstub .tk-line.c { white-space: normal; text-align: center; }
