/* ==========================================================================
   Dining with Ghosts — diningwithghosts.com
   Small, local, clean. Night blue, bone and a little brass.
   Flat colour, hairlines, one grid. Nothing decorative.
   ========================================================================== */

:root {
  --night: #0b111d;
  --night-2: #111a2a;
  --night-3: #18243a;
  --bone: #f3ecdf;
  --paper: #f1e9da;
  --on-paper: #1b1712;
  --on-paper-dim: #6b6052;
  --brass: #c9a35d;
  --brass-hi: #e3c88c;
  --brass-lo: #8a6a2f;
  --oxblood: #8a2a31;
  --text: rgba(243, 236, 223, .76);
  --text-dim: rgba(243, 236, 223, .5);
  --line: rgba(243, 236, 223, .16);
  --line-paper: rgba(27, 23, 18, .2);

  --f-word: 'Forum', 'Cormorant Garamond', 'Times New Roman', serif;
  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-sans: 'Jost', 'Avenir Next', system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1280px;
  --gut: clamp(20px, 5vw, 64px);
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--f-sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brass); color: var(--night); }
:focus-visible { outline: 1px solid var(--brass-hi); outline-offset: 4px; }
[hidden] { display: none !important; }
body.is-locked { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--bone); color: var(--night); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.statement { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.75rem, 3.3vw, 3rem); line-height: 1.16; letter-spacing: -.008em; color: var(--bone); max-width: 21em; text-wrap: pretty; }
.statement--sm { font-size: clamp(1.45rem, 2.3vw, 2.05rem); line-height: 1.24; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.65; max-width: 36em; }
.lead + .lead { margin-top: 1em; }
.small { font-size: .9rem; color: var(--text-dim); }
.eyebrow { font-size: .8rem; font-weight: 400; letter-spacing: .08em; color: var(--brass); }
.link { border-bottom: 1px solid var(--brass); padding-bottom: 1px; color: var(--bone); transition: color .25s, border-color .25s; }
.link:hover { color: var(--brass-hi); border-color: var(--brass-hi); }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 400; color: var(--bone); padding-block: 6px; border-bottom: 1px solid var(--line); transition: border-color .25s, gap .3s var(--ease); }
.more::after { content: "→"; color: var(--brass); }
.more:hover { border-color: var(--brass); gap: 16px; }

/* ---------- Layout: one grid, a label rail on the left ---------- */
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 132px); border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }
.section--light { background: var(--paper); color: var(--on-paper); border-top: 0; }
.section--light + .section { border-top: 0; }
.rail { display: grid; gap: 22px 24px; }
.label { font-family: var(--f-sans); font-size: .86rem; font-weight: 400; letter-spacing: .04em; color: var(--bone); display: flex; gap: 14px; align-items: baseline; }
.label span { color: var(--brass); font-variant-numeric: tabular-nums; }
.section--light .label { color: var(--on-paper); }
.section--light .label span { color: var(--brass-lo); }
.stack { display: grid; gap: clamp(26px, 3.4vw, 46px); }
.cols { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) {
  .rail { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .rail > .label { grid-column: 1 / span 3; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
  .rail > .rail__body { grid-column: 4 / span 9; }
  .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols--text-img { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
  .cols--img-text { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
}
figure img { width: 100%; background: var(--night-2); }
figcaption { margin-top: 10px; font-size: .82rem; color: var(--text-dim); }
.section--light figcaption { color: var(--on-paper-dim); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: .7em 1.7em; border: 1px solid var(--bone); font-size: .9rem; font-weight: 400; letter-spacing: .04em; color: var(--bone); white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover, .btn:focus-visible { background: var(--bone); color: var(--night); }
.btn--solid { background: var(--bone); color: var(--night); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--brass-hi); border-color: var(--brass-hi); color: var(--night); }
.btn--dark { border-color: var(--on-paper); color: var(--on-paper); }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--on-paper); color: var(--paper); }
.btn--sm { min-height: 40px; padding: .5em 1.25em; font-size: .86rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background-color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11, 17, 29, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav__inner { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--f-word); font-size: 1.02rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.nav__links { display: none; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a { font-size: .9rem; font-weight: 400; color: var(--text); padding-block: 6px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--brass); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); }
.nav__toggle span { position: relative; display: block; width: 18px; height: 1px; background: var(--bone); box-shadow: 0 6px 0 var(--bone); transform: translateY(-3px); transition: transform .3s var(--ease), box-shadow .2s; }
.nav__toggle[aria-expanded="true"] span { transform: rotate(45deg); box-shadow: 0 0 0 transparent; }
.nav__toggle[aria-expanded="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: rotate(90deg); }
@media (min-width: 960px) { .nav__links { display: flex; } .nav__toggle { display: none; } }
@media (max-width: 520px) { .nav .btn--sm { display: none; } }
.menu-sheet { position: fixed; inset: 0; z-index: 90; background: var(--night); display: grid; align-content: start; gap: 0; padding: calc(var(--nav-h) + 28px) var(--gut) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-sheet.is-open { opacity: 1; visibility: visible; }
.menu-sheet a { font-family: var(--f-serif); font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.2; color: var(--bone); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-sheet__foot { margin-top: 28px; display: grid; gap: 4px; font-size: .95rem; color: var(--text-dim); }

/* ---------- Hero: the painting, plainly ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; background: #000; overflow: hidden; }
.hero__art { position: absolute; inset: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 29, .5) 0, rgba(11, 17, 29, 0) 26%, rgba(11, 17, 29, .1) 52%, rgba(11, 17, 29, .9) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 1; width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 7vh, 80px); display: grid; gap: clamp(14px, 2vw, 22px); justify-items: start; animation: rise 1.1s var(--ease) both; }
.hero__word { font-family: var(--f-word); font-weight: 400; text-transform: uppercase; color: var(--bone); font-size: clamp(2.5rem, 7vw, 6.2rem); line-height: 1; letter-spacing: .04em; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--bone); max-width: 30em; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 8px; }
.hero__meta { font-size: .92rem; color: var(--text); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reveal (quiet) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Principles ---------- */
.principles { border-top: 1px solid var(--line); }
.principles > div { padding: 22px 0 6px; display: grid; gap: 8px; align-content: start; }
.principles h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; color: var(--bone); }
.principles p { font-size: 1rem; max-width: 22em; }
@media (max-width: 899px) { .principles > div + div { border-top: 1px solid var(--line); } }

/* ---------- Menu ---------- */
.dishes { border-top: 1px solid var(--line-paper); }
.dish { display: grid; grid-template-columns: 5.8rem 1fr; align-items: baseline; gap: 12px; padding: clamp(13px, 1.6vw, 19px) 0; border-bottom: 1px solid var(--line-paper); }
.dish span { font-size: .84rem; color: var(--on-paper-dim); font-variant-numeric: tabular-nums; }
.dish b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.12; color: var(--on-paper); }
.menu__foot { margin-top: clamp(18px, 2.4vw, 28px); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
.menu__foot p { font-size: 1rem; color: var(--on-paper-dim); }
.menu__foot b { font-weight: 400; color: var(--on-paper); }

/* ---------- Rows: evening, dates, prices, classes ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; gap: 6px 24px; padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row__time, .row__meta { font-size: .9rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.row__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; color: var(--bone); }
.row__text { font-size: 1rem; max-width: 34em; }
.row__price { font-family: var(--f-serif); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; color: var(--bone); font-variant-numeric: lining-nums; white-space: nowrap; }
.row__price small, .row__also { font-family: var(--f-sans); font-size: .88rem; color: var(--text-dim); }
.row__also { display: block; margin-top: 4px; white-space: normal; }
@media (min-width: 760px) {
  .rows--evening .row { grid-template-columns: 8rem minmax(0, 1fr); }
  .rows--prices .row { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 13.5rem; }
  .rows--prices .row__price { text-align: right; }
}

.dates { border-top: 1px solid var(--line); }
.date { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.date__when { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.date__day { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1; color: var(--bone); font-variant-numeric: lining-nums; }
.date__dow { font-size: .95rem; color: var(--text); }
.date__info { display: flex; gap: 6px 22px; flex-wrap: wrap; font-size: .9rem; color: var(--text-dim); grid-column: 1; }
.date__info b { font-weight: 400; color: var(--bone); }
.date .btn { grid-column: 2; grid-row: 1 / span 2; }
.date.is-low .date__info b { color: var(--brass-hi); }
.date.is-sold .date__day, .date.is-sold .date__dow { color: var(--text-dim); }
@media (min-width: 760px) {
  .date { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; }
  .date__info { grid-column: 2; justify-content: flex-start; }
  .date .btn { grid-column: 3; grid-row: 1; }
}
.terms { margin-top: clamp(22px, 3vw, 34px); display: grid; gap: 8px; }
.terms b { font-weight: 400; color: var(--bone); }

/* ---------- Place ---------- */
.place__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (max-width: 700px) { .place__img { aspect-ratio: 4 / 5; } }

/* ---------- Definition list: practical, credentials ---------- */
.facts { border-top: 1px solid var(--line); display: grid; }
.facts > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .9rem; color: var(--bone); font-weight: 400; }
.facts dd { font-size: 1rem; max-width: 36em; }
@media (min-width: 700px) { .facts > div { grid-template-columns: 11rem minmax(0, 1fr); } }

/* ---------- Contact: a sentence with blanks ---------- */
.note { display: grid; gap: clamp(22px, 3vw, 34px); }
.note__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: .45em 1.05em; border: 1px solid var(--line); font-size: .9rem; color: var(--text); transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--bone); color: var(--bone); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--night); }
.note__body { font-family: var(--f-serif); font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.6; color: var(--bone); max-width: 26em; }
.note__body p + p { margin-top: .3em; }
.note__body [data-line] { animation: rise .5s var(--ease); }
.blank { font-family: var(--f-serif); font-size: 1em; color: var(--brass-hi); background: transparent; border: 0; border-bottom: 1px solid var(--text-dim); border-radius: 0; padding: 0 .1em; margin: 0 .06em; min-width: 3ch; max-width: 100%; height: 1.35em; line-height: 1.2; transition: border-color .2s, background-color .2s; text-overflow: ellipsis; }
.blank::placeholder { color: var(--text-dim); }
.blank:hover { border-bottom-color: var(--bone); }
.blank:focus { outline: none; border-bottom-color: var(--brass-hi); background: rgba(243, 236, 223, .06); }
select.blank { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: .9em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23e3c88c' stroke-width='1.2'/%3E%3C/svg%3E") right .1em center / .45em no-repeat; }
select.blank option { color: #111; }
.blank.is-bad { border-bottom-color: #e58a91; background-color: rgba(229, 138, 145, .12); }
.note__ps { display: block; }
.note__ps textarea { display: block; width: 100%; margin-top: .2em; font-family: var(--f-serif); font-size: 1em; line-height: 1.5; color: var(--brass-hi); background: transparent; border: 0; border-bottom: 1px solid var(--text-dim); border-radius: 0; resize: none; padding: 0 .1em .1em; min-height: 1.6em; overflow: hidden; }
.note__ps textarea::placeholder { color: var(--text-dim); }
.note__ps textarea:focus { outline: none; border-bottom-color: var(--brass-hi); background: rgba(243, 236, 223, .06); }
.note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.note__hint { font-size: .95rem; color: var(--brass-hi); min-height: 1.5em; flex-basis: 100%; }
.note__alt { font-size: .95rem; color: var(--text-dim); }
.note__done { display: grid; gap: 16px; justify-items: start; animation: rise .7s var(--ease); }
.note__done .row-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 60px) 0 34px; font-size: .92rem; }
.footer .wrap { display: grid; gap: 22px 40px; align-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--text); }
.footer a:hover { color: var(--brass-hi); }
.footer__fine { color: var(--text-dim); font-size: .84rem; }
@media (min-width: 900px) { .footer .wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); } .footer__fine { text-align: right; } }

/* ---------- Chef page ---------- */
.chef-head { padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 7vw, 96px); }
.chef-head__name { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3rem, 8.5vw, 7.4rem); line-height: .95; letter-spacing: -.015em; color: var(--bone); margin: 10px 0 0 -.03em; }
.chef-head__text { display: grid; gap: clamp(18px, 2.4vw, 28px); justify-items: start; align-content: end; }
.chef-head .cols { align-items: end; }
.chef-head__links { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.motto { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; letter-spacing: -.01em; color: var(--brass-hi); }
.quote p { font-family: var(--f-serif); font-size: clamp(1.4rem, 2.2vw, 1.95rem); line-height: 1.28; color: var(--bone); }
.quote footer { margin-top: 14px; font-size: .9rem; color: var(--text-dim); }
.quote footer b { font-weight: 400; color: var(--bone); margin-right: .5em; }
.notes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.notes li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.notes b { font-weight: 400; color: var(--bone); margin-right: .4em; }

/* ---------- Plain pages (thanks, 404) ---------- */
.plain { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.plain .stack { justify-items: start; max-width: 44rem; }

/* ==========================================================================
   Reservation
   ========================================================================== */
.co { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: minmax(0, 1fr); visibility: hidden; }
.co.is-open { visibility: visible; }
.co__backdrop { position: absolute; inset: 0; background: rgba(5, 8, 14, .78); opacity: 0; transition: opacity .35s; }
.co.is-open .co__backdrop { opacity: 1; }
.co__panel { position: relative; margin: auto; width: min(100%, 1080px); height: min(100dvh, 780px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); background: var(--night); border: 1px solid var(--line); transform: translateY(18px); opacity: 0; transition: transform .45s var(--ease), opacity .35s; overflow: hidden; }
.co.is-open .co__panel { transform: none; opacity: 1; }
@media (max-width: 1100px), (max-height: 800px) { .co__panel { height: 100dvh; width: 100%; border: 0; } }
.co__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.co__head .brand { font-family: var(--f-sans); font-size: .95rem; letter-spacing: .04em; text-transform: none; }
.co__steps { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--text-dim); }
.co__steps li { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.co__steps li + li::before { content: ""; width: clamp(8px, 2vw, 26px); height: 1px; background: var(--line); }
.co__steps li i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .72rem; transition: all .3s; }
.co__steps li.is-current { color: var(--bone); }
.co__steps li.is-current i { border-color: var(--bone); color: var(--bone); }
.co__steps li.is-done i { background: var(--bone); border-color: var(--bone); color: var(--night); }
.co__steps li span { display: none; }
@media (min-width: 760px) { .co__steps li span { display: inline; } }
.co__close { width: 42px; height: 42px; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .25s; flex: none; }
.co__close:hover { border-color: var(--bone); }
.co__close svg { width: 13px; height: 13px; }
.co__body { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .co__body { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 520px) { .co__head .brand { display: none; } }
.co__stage { position: relative; overflow: hidden; min-height: 0; }
.co-step { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: clamp(22px, 4vw, 44px) clamp(18px, 4vw, 48px) 28px; display: grid; align-content: start; gap: clamp(16px, 2.4vw, 26px); opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .35s, transform .45s var(--ease), visibility .35s; overscroll-behavior: contain; }
.co-step.is-active { opacity: 1; visibility: visible; transform: none; }
.co-step.is-before { transform: translateX(-24px); }
.co-step h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; color: var(--bone); }
.co-step h2 em { font-style: normal; }
.co-step > p { max-width: 34em; }
.eve-list { display: grid; border-top: 1px solid var(--line); }
.eve { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.4vw, 24px); padding: 14px clamp(8px, 1.4vw, 16px); border-bottom: 1px solid var(--line); text-align: left; transition: background-color .25s; width: 100%; }
.eve:hover:not([disabled]) { background: rgba(243, 236, 223, .05); }
.eve[aria-checked="true"] { background: rgba(243, 236, 223, .09); }
.eve[disabled] { opacity: .4; cursor: not-allowed; }
.eve__day { font-family: var(--f-serif); font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1; color: var(--bone); min-width: 1.3em; font-variant-numeric: lining-nums; }
.eve__what b { display: block; font-weight: 400; font-size: 1.05rem; color: var(--bone); line-height: 1.3; }
.eve__what span { font-size: .86rem; color: var(--text-dim); }
.eve__left { text-align: right; font-size: .86rem; color: var(--text); }
.eve__left .pips { display: none; }
.table-pick { position: relative; width: min(100% - 44px, 450px); aspect-ratio: 1.7; margin: 14px auto 8px; }
@media (max-width: 480px) { .table-pick { aspect-ratio: 1.35; } .table-pick__top { inset: 22% 15%; } }
.table-pick__top { position: absolute; inset: 20% 14%; border-radius: 999px; border: 1px solid var(--line); background: var(--night-2); display: grid; place-content: center; text-align: center; gap: 2px; }
.table-pick__n { font-family: var(--f-serif); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; color: var(--bone); font-variant-numeric: lining-nums; }
.table-pick__l { font-size: .82rem; color: var(--text-dim); }
.chair { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--night); color: var(--text-dim); font-size: .8rem; transition: background-color .25s, border-color .25s, color .25s; }
.chair:hover:not([disabled]) { border-color: var(--bone); color: var(--bone); }
.chair.is-on { background: var(--bone); border-color: var(--bone); color: var(--night); font-weight: 400; }
.chair[disabled] { border-style: dashed; opacity: .45; cursor: not-allowed; }
@media (max-width: 480px) { .chair { width: 38px; height: 38px; margin: -19px 0 0 -19px; } }
.stepper { display: flex; align-items: center; justify-content: center; gap: 16px; }
.stepper button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; line-height: 1; color: var(--bone); transition: border-color .25s; }
.stepper button:hover:not([disabled]) { border-color: var(--bone); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 9em; text-align: center; font-size: .95rem; color: var(--bone); }
.co-center { display: grid; justify-items: center; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.co-center .co-note { text-align: center; }
.fields { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: start; }
.field { position: relative; display: block; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
.field input, .field textarea { width: 100%; background: transparent; border: 1px solid var(--line); border-radius: 0; padding: 25px 14px 9px; color: var(--bone); font-size: 1.02rem; transition: border-color .25s; }
.field textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bone); }
.field span { position: absolute; left: 15px; top: 16px; font-size: 1rem; color: var(--text-dim); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.74); }
.field.is-bad input, .field.is-bad textarea { border-color: #e58a91; }
.field em { display: block; font-style: normal; font-size: .84rem; color: #e58a91; margin-top: 6px; }
.review { display: grid; border-top: 1px solid var(--line); }
.review div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.review dt { font-size: .9rem; color: var(--text-dim); padding-top: .25em; }
.review dd { font-family: var(--f-serif); font-size: 1.3rem; color: var(--bone); text-align: right; line-height: 1.3; }
.review .is-total dd { font-size: 1.8rem; }
.co-note { font-size: .92rem; color: var(--text-dim); max-width: 40em; }
.co-note a { color: var(--bone); border-bottom: 1px solid var(--brass); }
.co__aside { display: none; padding: 30px 28px; border-left: 1px solid var(--line); background: var(--night-2); align-content: start; }
@media (min-width: 900px) { .co__aside { display: grid; } }
.stub { display: grid; gap: 4px; }
.stub__brand { font-family: var(--f-word); letter-spacing: .16em; text-transform: uppercase; font-size: .86rem; color: var(--bone); }
.stub__sub { font-size: .84rem; color: var(--text-dim); }
.stub__day { font-family: var(--f-serif); font-size: 4.6rem; line-height: 1; margin-top: 26px; color: var(--bone); font-variant-numeric: lining-nums; min-height: 1em; }
.stub__date { font-size: .95rem; color: var(--text); min-height: 1.5em; }
.stub__tear { margin: 22px 0 14px; border-top: 1px solid var(--line); }
.stub__rows { display: grid; gap: 8px; font-size: .9rem; color: var(--text-dim); }
.stub__rows div { display: flex; justify-content: space-between; gap: 12px; }
.stub__rows b { color: var(--bone); font-weight: 400; }
.stub__total { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.stub__total > span { font-size: .9rem; color: var(--text-dim); }
.stub__total b { font-family: var(--f-serif); font-weight: 400; font-size: 1.9rem; color: var(--bone); }
.co__aside-note { margin-top: 22px; font-size: .88rem; color: var(--text-dim); }
.co__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px clamp(18px, 3vw, 32px) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.co__back { font-size: .9rem; color: var(--text-dim); padding: 12px 4px; transition: color .25s; white-space: nowrap; }
.co__back:hover { color: var(--bone); }
.co__sum { margin-left: auto; text-align: right; line-height: 1.25; }
.co__sum small { display: block; font-size: .8rem; color: var(--text-dim); }
.co__sum b { font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; color: var(--bone); }
@media (min-width: 900px) { .co__sum { display: none; } }
.co__next.is-busy { pointer-events: none; opacity: .8; }
.spin { width: 13px; height: 13px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-done { align-content: center !important; }
.done-mark { width: 46px; height: 46px; border: 1px solid var(--bone); border-radius: 50%; position: relative; }
.done-mark::after { content: ""; position: absolute; left: 16px; top: 12px; width: 11px; height: 18px; border: solid var(--bone); border-width: 0 1px 1px 0; transform: rotate(40deg); }

.co-alert { padding: 10px 14px; border: 1px solid #e58a91; color: #f3c1c5; font-size: .95rem; }

/* ==========================================================================
   Payment page and back office
   ========================================================================== */
.plain--top { align-items: start; padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 80px)); }
.plain--top .stack { max-width: none; justify-items: stretch; }
.stack--tight { gap: clamp(12px, 1.6vw, 18px); }
.plain--top .pay { max-width: 46rem; }
.label i { font-style: normal; }
.copy { font-size: inherit; color: var(--bone); border-bottom: 1px solid var(--brass); padding: 0 0 1px; }
.copy:hover { color: var(--brass-hi); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps3 span { padding-top: 10px; border-top: 2px solid var(--line); font-size: .86rem; color: var(--text-dim); transition: color .3s, border-color .3s; }
.steps3 span.is-done { border-top-color: var(--bone); color: var(--bone); }
.steps3 span.is-now { border-top-color: var(--brass-hi); color: var(--brass-hi); }
.rows--pay .row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.rows--pay .row__meta { font-size: 1rem; color: var(--text); }
.label b { font-weight: 400; color: var(--brass-hi); }
.pay__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pay__actions:empty { display: none; }

.admin-login { display: grid; gap: 14px; max-width: 24rem; justify-items: start; }
.admin-login .field { width: 100%; }
.admin-warn { padding: 12px 16px; border: 1px solid var(--brass); color: var(--brass-hi); font-size: .95rem; }
.evenings { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.evening { background: var(--night); padding: 18px 20px; display: grid; gap: 10px; }
.evening__date { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.1; color: var(--bone); }
.evening__date span { display: block; font-family: var(--f-sans); font-size: .86rem; color: var(--text-dim); margin-top: 3px; }
.evening__bar { display: flex; gap: 3px; }
.evening__bar i { flex: 1; height: 8px; border: 1px solid var(--line); }
.evening__bar i.is-reserved { background: var(--bone); border-color: var(--bone); }
.evening__bar i.is-held { background: var(--brass); border-color: var(--brass); }
.evening b { font-weight: 400; color: var(--bone); }
.resv { border-top: 1px solid var(--line); }
.resv__item { display: grid; gap: 14px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.resv__main { display: grid; gap: 5px; min-width: 0; }
.resv__name { font-family: var(--f-serif); font-size: 1.6rem; line-height: 1.15; color: var(--bone); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.resv__status { font-family: var(--f-sans); font-size: .82rem; padding: 2px 10px; border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.resv__status--reported { border-color: var(--brass-hi); color: var(--night); background: var(--brass-hi); }
.resv__status--reserved { border-color: var(--bone); color: var(--bone); }
.resv__meta { font-size: 1rem; color: var(--text); }
.resv__meta b { font-weight: 400; color: var(--bone); }
.resv__contact { font-size: .95rem; overflow-wrap: anywhere; }
.resv__notes { font-size: .95rem; padding: 8px 12px; border-left: 2px solid var(--brass); color: var(--bone); }
.resv__mailfail { color: #e58a91; }
.resv__actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; align-content: start; }
.resv__msg { flex-basis: 100%; color: #e58a91; }
.resv__msg:empty { display: none; }
.resv__empty { padding: 26px 0; color: var(--text-dim); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .resv__item { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); } .resv__actions { justify-content: flex-end; } }
.admin-block summary { cursor: pointer; list-style: none; display: inline-flex; }
.admin-block summary::-webkit-details-marker { display: none; }
.admin-block__form { display: grid; gap: 12px; margin-top: 16px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 52rem; }
.admin-block__form select { width: 100%; background: var(--night); border: 1px solid var(--line); padding: 16px 14px; color: var(--bone); border-radius: 0; }
.admin-block__form .small { grid-column: 1 / -1; }
.nav__right .small { white-space: nowrap; }
.nav__right .more { white-space: nowrap; }
@media (max-width: 600px) { #stamp { display: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .nav, .co, .menu-sheet { display: none !important; }
  body { background: #fff; color: #000; }
}
