/* The Upper Room ATL — remake
   Ivory ground, ink blocks, one cognac accent drawn from the house menu orange.
   Sharp corners, hairline rules, square buttons that invert. */

/* Self hosted, latin only: Oswald and Jost are variable fonts, one file each covers every weight. */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url(../fonts/oswald-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ivory: #f4eee4;
  --bone: #e9e1d3;
  --ink: #15120f;
  --ink-2: #221d19;
  --stone: #6f665d;
  --stone-light: #a79d92;
  --cognac: #a9531f;
  --cognac-light: #e0884a;
  --rule: rgba(21, 18, 15, 0.16);
  --rule-light: rgba(244, 238, 228, 0.18);

  --display: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--ivory); }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}
.h-xl { font-size: clamp(48px, 8.4vw, 124px); }
.h-lg { font-size: clamp(40px, 5.6vw, 80px); }
.h-md { font-size: clamp(32px, 3.8vw, 54px); }
.h-sm { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.accent { color: var(--cognac); }
.on-ink .accent { color: var(--cognac-light); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 26px;
}
.on-ink .eyebrow { color: var(--stone-light); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; font-weight: 300; max-width: 34em; }
.muted { color: var(--stone); }
.on-ink .muted { color: var(--stone-light); }

/* Brand ornament: the house tagline used as a section rule */
.rule-mark {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}
.rule-mark i { font-style: normal; color: var(--cognac); padding: 0 0.5em; }
.on-ink .rule-mark i, .foot .rule-mark i { color: var(--cognac-light); }

.divider {
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto;
  color: var(--stone);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border-radius: 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(244,238,228,0.55); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--sm { padding: 12px 20px; font-size: 11.5px; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link:hover { background-size: 35% 1px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--ivory);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  max-width: 1440px; margin: 0 auto; padding: 18px var(--gutter);
}
.nav__brand { display: block; width: 92px; flex: none; position: relative; }
.nav__logo { width: 100%; height: auto; transition: opacity 0.4s var(--ease); }
.nav__logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { background: transparent; color: inherit; border-color: currentColor; }
.nav .btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.nav.is-solid, body.page-light .nav {
  background: rgba(244, 238, 228, 0.96);
  color: var(--ink);
  border-bottom-color: var(--rule);
  backdrop-filter: saturate(1.2) blur(8px);
}
.nav.is-solid .nav__logo--light, body.page-light .nav__logo--light { opacity: 0; }
.nav.is-solid .nav__logo--dark, body.page-light .nav__logo--dark { opacity: 1; }
.nav.is-solid .btn:hover, body.page-light .nav .btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__toggle span:not(.sr) {
  position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.drawer {
  background: var(--ink); color: var(--ivory);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule-light);
}
.drawer[hidden] { display: none; }
.drawer a {
  font-family: var(--display); font-size: 30px; line-height: 1.2;
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--rule-light);
}
.drawer__meta { margin-top: 26px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-light); }
.nav.is-open { background: var(--ink); color: var(--ivory); }
.nav.is-open .nav__logo--light { opacity: 1; }
.nav.is-open .nav__logo--dark { opacity: 0; }

/* Eight links since Order joined; tighten before the drawer takes over at 1080 */
.nav__links a { white-space: nowrap; }
@media (max-width: 1240px) { .nav__inner { gap: 22px; } .nav__links { gap: 20px; } .nav__links a { letter-spacing: 0.14em; } }
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__brand { width: 78px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.on-ink { background: var(--ink); color: var(--ivory); }
.on-bone { background: var(--bone); }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.split > * { min-width: 0; }

/* Top-rule section heading: a hairline replaces decoration */
.head { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); margin-bottom: clamp(48px, 6vw, 84px); }
.on-ink .head { border-top-color: var(--ivory); }
.head .eyebrow { margin: 6px 0 0; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  background: var(--ink); color: var(--ivory);
}
.hero .h-xl { font-size: clamp(46px, 5.6vw, 92px); }
.hero__copy {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px var(--gutter) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  position: relative; z-index: 2;
}
.hero__copy .display { margin-bottom: 30px; }
.hero__copy .lede { color: rgba(244, 238, 228, 0.78); margin-bottom: 44px; max-width: 26em; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,15,0.6), rgba(21,18,15,0) 22%), linear-gradient(90deg, rgba(21,18,15,0.55), rgba(21,18,15,0) 30%); }
.hero__caption {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,238,228,0.85);
}
@keyframes settle { to { transform: scale(1); } }

.facts { border-bottom: 1px solid var(--rule); }
.facts__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts__item { padding: 30px var(--gutter) 30px 0; border-right: 1px solid var(--rule); }
.facts__item + .facts__item { padding-left: var(--gutter); }
.facts__item:last-child { border-right: 0; }
.facts__item strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; margin-bottom: 4px; }
.facts__item span { font-size: 14px; color: var(--stone); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 58svh auto; min-height: 0; }
  .hero__media { order: -1; }
  .hero__media::after { background: linear-gradient(0deg, rgba(21,18,15,0.9), rgba(21,18,15,0) 45%); }
  .hero__copy { padding: 8px var(--gutter) 64px; margin-top: -90px; }
  .hero__caption { display: none; }
  .facts__row { grid-template-columns: 1fr; }
  .facts__item, .facts__item + .facts__item { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .facts__item:last-child { border-bottom: 0; }
}

/* ---------- Page hero (interior pages) ---------- */
.phero { padding: clamp(150px, 18vw, 220px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.phero .display { max-width: 12em; }
.phero .lede { margin-top: 30px; color: var(--stone); }
.phero--ink { background: var(--ink); color: var(--ivory); border-bottom: 0; }
.phero--ink .lede { color: rgba(244, 238, 228, 0.75); }
.phero--image { position: relative; color: var(--ivory); min-height: 78svh; display: flex; align-items: flex-end; border: 0; background: var(--ink); }
.phero--image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,18,15,0.88), rgba(21,18,15,0.15) 60%, rgba(21,18,15,0.35)); }
.phero--image .wrap { position: relative; z-index: 1; }
.phero--image .lede { color: rgba(244, 238, 228, 0.82); }

/* ---------- Figures ---------- */
.fig { margin: 0; position: relative; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
}
.on-ink .fig figcaption { color: var(--stone-light); }
.ratio-45 { aspect-ratio: 4 / 5; overflow: hidden; }
.ratio-32 { aspect-ratio: 3 / 2; overflow: hidden; }
.ratio-11 { aspect-ratio: 1; overflow: hidden; }
.ratio-wide { aspect-ratio: 16 / 9; overflow: hidden; }
.zoom img { transition: transform 1.2s var(--ease); }
.zoom:hover img { transform: scale(1.04); }

/* bleed: break the container to the viewport edge */
.bleed-right { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); }
.bleed-left { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); }

/* ---------- Intro ---------- */
.intro .split { align-items: end; }
.intro__copy { grid-column: 1 / span 6; padding-bottom: 12px; }
.intro__copy .display { margin-bottom: 34px; }
.intro__media { grid-column: 8 / span 5; }
.intro__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--rule); }
.intro__steps li { padding: 20px 18px 0 0; font-size: 14.5px; color: var(--stone); }
.intro__steps b { display: block; font-weight: 500; color: var(--ink); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 900px) {
  .intro__copy, .intro__media { grid-column: 1 / -1; }
  .intro__steps { grid-template-columns: 1fr; }
  .intro__steps li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Class feature ---------- */
.klass .split { align-items: stretch; }
.klass__media { grid-column: 1 / span 6; }
.klass__media .fig { height: 100%; }
.klass__media .fig img { min-height: 520px; }
.klass__body { grid-column: 8 / span 5; display: flex; flex-direction: column; justify-content: center; }
.klass__body .display { margin-bottom: 26px; }
.price { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 30px; padding: 22px 0; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.price strong { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; }
.price span { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-light); }
.timeline { display: grid; gap: 0; margin: 8px 0 0; }
.timeline > div { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule-light); }
.timeline time { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.timeline h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.timeline ul li { font-size: 15px; color: rgba(244,238,228,0.78); padding-left: 18px; position: relative; }
.timeline ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 7px; height: 1px; background: var(--cognac-light); }
.light .timeline > div { border-top-color: var(--rule); }
.light .timeline ul li { color: var(--stone); }
.light .timeline ul li::before { background: var(--cognac); }
@media (max-width: 900px) {
  .klass__media, .klass__body { grid-column: 1 / -1; }
  .klass__media .fig img { min-height: 0; aspect-ratio: 4/3; }
}

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.card .fig { margin-bottom: 0; }
.card h3 { font-family: var(--display); font-size: 25px; line-height: 1.15; margin-top: 18px; }
.card p { font-size: 14.5px; color: var(--stone); margin-top: 8px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 560px) { .cards, .cards--3 { grid-template-columns: 1fr; } }

/* ---------- Centered band ---------- */
.band { text-align: center; }
.band blockquote { margin: 0 auto; max-width: 15em; font-family: var(--display); font-size: clamp(34px, 4.6vw, 66px); line-height: 1.12; }
.band .sig { margin-top: 40px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); }
.band .rule-mark { margin-bottom: 44px; }
.on-ink.band .sig { color: var(--stone-light); }

/* ---------- Feature split (generic) ---------- */
.feature__media { grid-column: 1 / span 7; }
.feature__body { grid-column: 9 / span 4; }
.feature--rev .feature__media { grid-column: 6 / span 7; order: 2; }
.feature--rev .feature__body { grid-column: 1 / span 4; order: 1; }
.feature__body .display { margin-bottom: 26px; }
.feature__body .btn-row, .feature__body .link { margin-top: 34px; }
@media (max-width: 900px) {
  .feature__media, .feature__body, .feature--rev .feature__media, .feature--rev .feature__body { grid-column: 1 / -1; order: 0; }
}

/* ---------- Locations ---------- */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.loc .fig { margin-bottom: 28px; }
.loc h3 { font-family: var(--display); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 14px; }
.loc .addr { color: var(--stone); margin-bottom: 26px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 30px; font-size: 15px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 12px 0; border-top: 1px solid var(--rule); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--rule); }
.hours .closed td { color: var(--stone); }
@media (max-width: 860px) { .locs { grid-template-columns: 1fr; gap: 72px; } }

/* ---------- CTA band with image ---------- */
.cta-img { position: relative; color: var(--ivory); background: var(--ink); overflow: hidden; }
.cta-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; object-position: 50% 40%; }
.cta-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,18,15,0.92), rgba(21,18,15,0.55) 55%, rgba(21,18,15,0.2)); }
.cta-img .wrap { z-index: 1; }
.cta-img .wrap { position: relative; padding-top: clamp(110px, 14vw, 200px); padding-bottom: clamp(110px, 14vw, 200px); }
.cta-img .display { max-width: 11em; margin-bottom: 26px; }
.cta-img .lede { color: rgba(244,238,228,0.85); margin-bottom: 40px; }

/* ---------- Menu page ---------- */
.menu-nav {
  position: sticky; top: 71px; z-index: 20;
  background: var(--ivory); border-bottom: 1px solid var(--rule);
}
.menu-nav ul { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: block; white-space: nowrap; padding: 18px 0; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--stone); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.menu-nav a.is-active, .menu-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 1080px) { .menu-nav { top: 79px; } }

.mgroup { padding: clamp(64px, 8vw, 110px) 0 0; scroll-margin-top: 140px; }
.mgroup__head { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); border-top: 1px solid var(--ink); padding-top: 22px; margin-bottom: 30px; }
.mgroup__head h2 { font-family: var(--display); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; }
.mgroup__head .note { font-size: 14.5px; color: var(--stone); align-self: end; }
.mgroup__head .tag { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cognac); margin-top: 12px; }
.mlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(var(--gutter) * 1.6); }
.mitem { padding: 20px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.mitem__top { display: flex; align-items: baseline; gap: 12px; }
.mitem h3 { font-family: var(--display); font-size: 23px; line-height: 1.2; }
.mitem .dots { flex: 1; border-bottom: 1px dotted var(--stone-light); transform: translateY(-5px); min-width: 20px; }
.mitem .p { font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 500; white-space: nowrap; }
.mitem p { margin-top: 6px; font-size: 15px; color: var(--stone); }
.nut { display: inline-block; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; border: 1px solid var(--cognac); color: var(--cognac); padding: 1px 6px; margin-left: 8px; vertical-align: middle; transform: translateY(-3px); }
.mlist--simple { grid-template-columns: repeat(3, 1fr); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips li { border: 1px solid var(--rule); padding: 8px 14px; font-size: 13.5px; }
.menu-foot { margin-top: clamp(64px, 8vw, 110px); padding: 26px 0; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 800px) {
  .mgroup__head { grid-template-columns: 1fr; gap: 10px; }
  .mlist, .mlist--simple { grid-template-columns: 1fr; }
}

/* Merch drop list on the home page */
.merch__copy { grid-column: 1 / span 6; }
.merch__list { grid-column: 8 / span 5; align-self: end; border-top: 1px solid var(--ink); }
.merch__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.merch__list b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.merch__list span { font-size: 14.5px; color: var(--stone); text-align: right; }
.merch__form { display: flex; gap: 12px; max-width: 480px; margin-top: 8px; }
.merch__form input { flex: 1; min-width: 0; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 16px; }
.merch__form input:focus { outline: none; border-bottom: 2px solid var(--cognac); }
@media (max-width: 900px) { .merch__list { margin-top: 40px; } }

/* Location switcher: each location has its own menu; without script both stack */
.loc-switch { border-bottom: 1px solid var(--rule); }
.loc-switch__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.loc-switch__btn { display: block; padding: 26px 0 22px; text-decoration: none; color: var(--stone); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.loc-switch__btn b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.15; }
.loc-switch__btn span { display: block; margin-top: 6px; font-size: 14px; }
.loc-switch__btn:hover, .loc-switch__btn[aria-selected="true"] { color: var(--ink); }
.loc-switch__btn[aria-selected="true"] { border-bottom-color: var(--ink); }
.loc-switch.is-live ~ .menu-panel .menu-panel__where { display: none; }
.menu-panel__where { padding-top: clamp(48px, 6vw, 80px); font-size: 15px; color: var(--stone); }
.menu-panel__where b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); color: var(--ink); }
.flavors { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(var(--gutter) * 1.6); }
.flavors li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 23px; line-height: 1.2; }
.mlabel { font-size: 14px; font-weight: 600; color: var(--stone); margin: 6px 0 0; }
@media (max-width: 800px) {
  .loc-switch__btn { padding: 20px 0 16px; }
  .loc-switch__btn span { font-size: 12.5px; }
  .flavors { grid-template-columns: 1fr; }
}

/* ---------- Classes page ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: calc(var(--gutter) * 1.4); align-items: start; }
.booking__panel { position: sticky; top: 110px; border: 1px solid var(--ink); padding: clamp(26px, 3vw, 40px); background: var(--ivory); }
.booking__panel .price { border-color: var(--rule); margin: 22px 0 26px; }
.booking__panel .price span { color: var(--stone); }
.dates { display: grid; gap: 0; border-top: 1px solid var(--rule); margin-bottom: 26px; }
.date {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 4px; border-bottom: 1px solid var(--rule); cursor: pointer;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.date input { position: absolute; opacity: 0; pointer-events: none; }
.date__d { font-family: var(--display); font-size: 20px; line-height: 1.1; }
.date__spirit { font-size: 15px; }
.date__t { font-size: 13px; color: var(--stone); font-variant-numeric: tabular-nums; }
.date:hover { background: var(--bone); }
.date:has(input:checked) { background: var(--ink); color: var(--ivory); padding-left: 14px; padding-right: 14px; }
.date:has(input:checked) .date__t { color: var(--stone-light); }
.date:has(input:focus-visible) { outline: 2px solid var(--cognac); outline-offset: -2px; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--rule); width: max-content; }
.qty button { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 18px; }
.qty output { width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.booking__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.booking__row .label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.booking__total { font-family: var(--display); font-size: 26px; }
.booking .btn { width: 100%; }
.booking__fine { margin-top: 16px; font-size: 13px; color: var(--stone); }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .booking__panel { position: static; } }
/* Class checkout inside the booking panel (assets/js/classes.js) */
.date.is-off { cursor: not-allowed; opacity: 0.45; }
.date.is-off:hover { background: none; }
.date.is-off .date__t { color: var(--cognac); }
.class-co { display: grid; gap: 22px; margin-top: 4px; }
.class-co__title { margin: 4px 0 0; }
.class-co .pay { margin-top: 4px; }
.class-co__sum { margin: 0; border-top: 1px solid var(--rule); }
.class-co__sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.class-co__sum dt { color: var(--stone); }
.class-co__sum dd { margin: 0; }
.class-co__total dt, .class-co__total dd { color: var(--ink); font-family: var(--display); font-size: 22px; }
.class-co .check { margin-top: 0; }
.class-co .checkout__err { margin: 0; }
.class-co__back { justify-self: center; background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; color: var(--stone); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.class-co__back:hover { color: var(--ink); }
.class-done { outline: none; }
.class-done h3 { margin: 0 0 14px; }
.class-done p { margin: 0 0 12px; line-height: 1.6; }


.series { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.series .card h3 { font-size: 24px; }
.series .meta { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cognac); }
.on-ink .series .meta { color: var(--cognac-light); }
.on-ink .card p { color: var(--stone-light); }
@media (max-width: 1000px) { .series { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .series { grid-template-columns: 1fr; } }

.partner { display: flex; align-items: center; gap: 22px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--rule-light); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-light); }
.partner img { width: 150px; height: auto; }

/* ---------- Wine ---------- */
.wines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.wine { padding: 34px var(--gutter) 34px 0; border-right: 1px solid var(--rule); }
.wine + .wine { padding-left: var(--gutter); }
.wine:last-child { border-right: 0; }
.wine h3 { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.wine .grape { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cognac); margin: 10px 0 24px; }
.wine dt { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; margin-top: 18px; }
.wine dd { margin: 6px 0 0; font-size: 15.5px; color: var(--stone); }
@media (max-width: 900px) {
  .wines { grid-template-columns: 1fr; }
  .wine, .wine + .wine { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
}
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.values li { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); }
.values li + li::before { content: "/"; color: var(--cognac-light); margin-right: 40px; font-family: var(--sans); font-weight: 300; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.field .req { color: var(--cognac); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 12px 0; font-size: 17px; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color 0.3s var(--ease);
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315120f'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cognac); border-bottom-width: 2px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts label { position: relative; margin: 0; letter-spacing: 0.06em; text-transform: none; font-weight: 400; font-size: 15px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; padding: 10px 16px; border: 1px solid var(--rule); cursor: pointer; transition: all 0.3s var(--ease); }
.opts input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.opts input:focus-visible + span { outline: 2px solid var(--cognac); outline-offset: 2px; }
.form__note { font-size: 13.5px; color: var(--stone); }
.form__done { display: none; padding: 26px 0; border-top: 1px solid var(--ink); }
.form.is-sent + .form__done { display: block; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.formwrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: calc(var(--gutter) * 1.6); }
.formwrap__aside .fig { margin-top: 40px; }
@media (max-width: 900px) { .formwrap { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.letter { max-width: 40em; }
.letter p { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.75; font-weight: 300; }
.letter p:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 5.1em; line-height: 0.82; padding: 0.06em 0.1em 0 0; }
.letter .sign { font-family: var(--display); font-size: 34px; font-weight: 400; margin-top: 34px; line-height: 1.2; }
.letter .sign small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.sourcing { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ivory); }
.sourcing li { padding: 30px var(--gutter) 0 0; }
.sourcing li + li { padding-left: var(--gutter); border-left: 1px solid var(--rule-light); }
.sourcing b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 12px; }
.sourcing p { font-size: 15px; color: var(--stone-light); }
.sourcing a { text-underline-offset: 3px; }
@media (max-width: 960px) {
  .sourcing { grid-template-columns: 1fr 1fr; }
  .sourcing li, .sourcing li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--rule-light); }
  .sourcing li:nth-child(odd) { padding-right: var(--gutter); }
}
@media (max-width: 560px) { .sourcing { grid-template-columns: 1fr; } .sourcing li:nth-child(odd) { padding-right: 0; } }

/* ---------- Anniversary ---------- */
.anniv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100svh; background: var(--ink); color: var(--ivory); }
.anniv__media { position: relative; overflow: hidden; }
.anniv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anniv__body { padding: 150px var(--gutter) 80px; display: flex; flex-direction: column; justify-content: center; }
.anniv__date { font-family: var(--display); font-size: clamp(56px, 8vw, 120px); line-height: 0.95; margin: 10px 0 24px; }
.anniv dl { display: grid; grid-template-columns: auto 1fr; gap: 0 32px; margin: 40px 0; border-top: 1px solid var(--rule-light); }
.anniv dt, .anniv dd { padding: 16px 0; border-bottom: 1px solid var(--rule-light); margin: 0; }
.anniv dt { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-light); padding-top: 19px; }
@media (max-width: 900px) { .anniv { grid-template-columns: 1fr; } .anniv__media { min-height: 60svh; } .anniv__body { padding-top: 56px; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--ivory); padding: clamp(80px, 9vw, 120px) 0 36px; }
.foot__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 0.8fr 1.3fr; gap: var(--gutter); }
.foot__brand img { width: 150px; margin-bottom: 24px; }
.foot__brand .rule-mark { white-space: nowrap; letter-spacing: 0.28em; font-size: 10.5px; }
.foot h2 { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone-light); margin-bottom: 18px; }
.foot p { font-size: 15px; color: rgba(244,238,228,0.82); }
.foot__hours { margin-top: 16px; font-size: 14px !important; color: var(--stone-light) !important; }
.foot__links li { margin-bottom: 8px; font-size: 15px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__links--id a { font-weight: 500; }
.foot__news { margin-top: 26px; }
.foot__news label { display: block; font-size: 13px; color: var(--stone-light); margin-bottom: 10px; }
.foot__newsrow { display: flex; border: 1px solid var(--rule-light); }
.foot__newsrow input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 10px 12px; color: var(--ivory); font-size: 14px; }
.foot__newsrow input::placeholder { color: var(--stone-light); }
.foot__newsrow input:focus { outline: none; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 80px; padding-top: 26px; border-top: 1px solid var(--rule-light); }
.foot__base p { font-size: 12.5px; color: var(--stone-light); letter-spacing: 0.04em; }
@media (max-width: 1100px) { .foot__grid { grid-template-columns: 1fr 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.hero .reveal { transition-duration: 1.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Any split column (including inline spans) stacks full width on small screens */
@media (max-width: 900px) {
  .split > * { grid-column: 1 / -1 !important; }
  .split { row-gap: 44px; }
}
.hero .eyebrow { color: rgba(244, 238, 228, 0.7); }

/* =========================================================
   Refinement layer: opening, page transitions, unveils, type
   ========================================================= */
:root { --ease-io: cubic-bezier(0.76, 0, 0.24, 1); }

/* ---------- Opening ---------- */
.opening { display: none; }
html.intro-on .opening {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  cursor: pointer;
  /* CSS owns the timeline, so the curtain lifts even if site.js never runs */
  animation: intro-curtain 1.05s var(--ease-io) 2.25s forwards;
  /* Touches on the curtain must not scroll the page waiting behind it (iOS ignores overflow on html) */
  touch-action: none; overscroll-behavior: contain;
}
/* Every animation, delays included, holds at zero until the head script reports the logo decoded */
html.intro-on:not(.intro-go) *,
html.intro-on:not(.intro-go) *::before,
html.intro-on:not(.intro-go) *::after { animation-play-state: paused !important; }
/* Transitions cannot pause, so the hero's staggered arrival is held hidden and released on go */
html.intro-on:not(.intro-go) .hero .reveal { opacity: 0 !important; transform: translateY(26px) !important; transition: none !important; }
.opening__logo {
  position: relative; width: min(62vw, 360px);
  animation: intro-logo-out 0.9s var(--ease-io) 2.1s forwards;
}
.opening__line { display: block; overflow: hidden; }
.opening__line img { display: block; width: 100%; height: auto; transform: translateY(104%); }
html.intro-on .opening__line img { animation: intro-rise 1.15s var(--ease) forwards; }
html.intro-on .opening__line--the img { animation-delay: 0.15s; }
html.intro-on .opening__line--mark img { animation-delay: 0.32s; }
html.intro-on .opening__line--tag img { animation: intro-rise 1s var(--ease) 1.15s forwards; }
.opening__rule {
  display: block; height: 1px; width: 46%; margin: 4% auto 5%;
  background: var(--cognac-light); transform: scaleX(0);
}
html.intro-on .opening__rule { animation: intro-rule 0.9s var(--ease-io) 0.95s forwards; }
@keyframes intro-rise { to { transform: translateY(0); } }
@keyframes intro-rule { to { transform: scaleX(1); } }
@keyframes intro-logo-out { to { transform: translateY(-28px); opacity: 0; } }
@keyframes intro-curtain { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }

/* The page waits behind the curtain, then arrives in sequence */
html.intro-on .nav { animation: intro-fade 0.9s var(--ease) 2.75s both; }
html.intro-on .hero .reveal { transition-delay: 2.55s; }
html.intro-on .hero .reveal[data-delay="1"] { transition-delay: 2.67s; }
html.intro-on .hero .reveal[data-delay="2"] { transition-delay: 2.79s; }
html.intro-on .hero .reveal[data-delay="3"] { transition-delay: 2.91s; }
html.intro-on .hero__media img { animation-delay: 2.2s; transform: scale(1.12); animation-duration: 2.8s; }
html.intro-on .phero--image > img { animation: hero-settle 2.8s var(--ease) 2.2s both; }
@keyframes intro-fade { from { opacity: 0; transform: translateY(-8px); } }
@keyframes hero-settle { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- Page to page ---------- */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out 0.32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Photographs unveil rather than fade ---------- */
.reveal img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.08);
  transition: clip-path 1.35s var(--ease-io), transform 1.9s var(--ease);
}
.reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.reveal.is-in .zoom:hover img, .reveal.is-in.zoom:hover img { transform: scale(1.035); }
.partner img { clip-path: none !important; transform: none !important; }

/* ---------- Typography refinements ---------- */
html { hanging-punctuation: first allow-end; }
h1, h2, h3, .display, blockquote { text-wrap: balance; }
p, li, dd, .lede { text-wrap: pretty; }
.display, .h-sm, .mitem h3, .card h3 { font-kerning: normal; font-feature-settings: "kern", "liga", "lnum"; }
.h-xl, .hero .h-xl { letter-spacing: 0; }
.price strong, .booking__total, .mitem .p, .hours td { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Buttons: a press you can feel ---------- */
.btn { transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px) scale(0.99); }

/* ---------- On our shelf ---------- */
.shelf { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.shelf__label { text-align: center; margin-bottom: clamp(26px, 3vw, 38px); }
.shelf__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.shelf__track { display: flex; width: max-content; animation: shelf 70s linear infinite; }
.shelf:hover .shelf__track { animation-play-state: paused; }
.shelf ul { display: flex; flex: none; }
.shelf li {
  font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2;
  white-space: nowrap; padding: 0 0.7em;
}
.shelf li::after { content: "/"; font-family: var(--sans); font-weight: 300; color: var(--cognac); margin-left: 1.4em; }
@keyframes shelf { to { transform: translateX(-50%); } }

/* ---------- Footer sign-off ---------- */
.foot__sign {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--rule-light);
}
.foot__sign .display { font-size: clamp(48px, 8vw, 120px); line-height: 0.95; margin: 0; color: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  .reveal img { clip-path: none; transform: none; transition: none; }
  .shelf__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .shelf ul[aria-hidden] { display: none; }
  .shelf ul { flex-wrap: wrap; justify-content: center; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* =========================================================
   Film hero: video, scrim, frame, content, live chip
   ========================================================= */
/* Content sits in flow at the bottom, with the nav's height reserved above it,
   so a short window grows the hero instead of pushing the headline under the logo */
.hero--film {
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  min-height: 100svh; background: var(--ink); color: var(--ivory);
  --frame: clamp(12px, 1.8vw, 26px);
  padding: calc(var(--frame) + 140px) calc(var(--frame) + clamp(20px, 4vw, 64px)) calc(var(--frame) + clamp(32px, 5vw, 76px));
}
.hero__video {
  /* The pour is framed dead centre, so the film sits in the right three quarters
     and feathers into ink, putting the glass beside the headline, not under it */
  position: absolute; top: 0; bottom: 0; left: 26%; width: 74%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  animation: hero-settle 3.2s var(--ease) both;
}
html.intro-on .hero__video { animation-delay: 2.2s; }
/* iOS Low Power Mode and Data Saver refuse autoplay and paint a big play glyph over the poster.
   The film is never optional and the chip is the only control, so every native overlay is hidden
   and a refused autoplay shows the poster as a clean still. One rule per pseudo element: a browser
   that does not know one would drop a combined selector list whole */
.hero__video { pointer-events: none; }
.hero__video::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls-enclosure { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls-play-button { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero__video::-webkit-media-controls-overlay-enclosure { display: none !important; -webkit-appearance: none; }
/* Rubber-band scrolling past the dark hero and footer shows ink, not an ivory strip */
html:has(body.page-home) { background: var(--ink); }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(21,18,15,0.55) 0%, rgba(21,18,15,0) 24%),
    linear-gradient(0deg, rgba(21,18,15,0.88) 0%, rgba(21,18,15,0.35) 38%, rgba(21,18,15,0) 62%),
    linear-gradient(90deg, rgba(21,18,15,0.72) 0%, rgba(21,18,15,0.25) 42%, rgba(21,18,15,0) 70%);
}
.hero__frame {
  position: absolute; inset: var(--frame); pointer-events: none;
  border: 1px solid rgba(244, 238, 228, 0.32);
}
.hero__progress {
  position: absolute; left: -1px; bottom: -1px; height: 1px; width: calc(100% + 2px);
  background: var(--cognac-light); transform-origin: left; transform: scaleX(0);
}
.hero__content {
  position: relative; z-index: 2;
  /* Leave the chip's lane clear on the right */
  max-width: min(760px, calc(100% - 330px));
}
/* Height term keeps the four-line headline in proportion on short laptop screens */
.hero--film .h-xl { font-size: clamp(46px, min(6.4vw, 10.5svh), 104px); margin-bottom: 26px; }
.hero--film .lede { color: rgba(244, 238, 228, 0.82); margin-bottom: 38px; max-width: 30em; }
.hero--film .eyebrow { color: rgba(244, 238, 228, 0.72); }

.hero__chip {
  position: absolute; z-index: 2;
  right: calc(var(--frame) + clamp(20px, 3vw, 44px));
  bottom: calc(var(--frame) + clamp(32px, 5vw, 76px));
  display: flex; flex-direction: column; max-width: 280px;
  background: rgba(21, 18, 15, 0.42); color: var(--ivory);
  border: 1px solid rgba(244, 238, 228, 0.26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.hero__chip:hover { border-color: rgba(244, 238, 228, 0.6); background: rgba(21, 18, 15, 0.6); }
.hero__chipbtn {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 16px 18px; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit;
}
.hero__chipbtn:focus-visible, .hero__chipcta:focus-visible { outline: 2px solid var(--cognac-light); outline-offset: -2px; }
/* The drink on screen is one tap from its order sheet */
.hero__chipcta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-top: 1px solid rgba(244, 238, 228, 0.22);
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ivory);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.hero__chipcta:hover { background: var(--ivory); color: var(--ink); }
.hero__chipcta .arr { transition: transform 0.35s var(--ease); }
.hero__chipcta:hover .arr { transform: translateX(4px); }
/* Live status under the buttons, from the posted hours (assets/js/site.js) */
.hero__open { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: rgba(244, 238, 228, 0.78); max-width: 34em; }
.hero__open b { font-weight: 500; color: var(--ivory); }
.hero__dot {
  flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%;
  background: var(--cognac-light); box-shadow: 0 0 0 0 rgba(224, 136, 74, 0.6);
  animation: dot 2.4s var(--ease) infinite;
}
.hero__chipbtn[aria-pressed="true"] .hero__dot { animation: none; background: var(--stone-light); }
.hero__chiptext { display: flex; flex-direction: column; gap: 3px; }
.hero__chiplabel { font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-light); }
.hero__chip strong { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.hero__chipnote { font-size: 12.5px; color: rgba(244, 238, 228, 0.7); line-height: 1.45; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(224,136,74,0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(224,136,74,0); } }

/* The nav lives inside the frame on the home hero */
.page-home .nav:not(.is-solid) .nav__inner { padding-top: calc(18px + var(--nav-inset, 0px)); }
.page-home { --nav-inset: clamp(12px, 1.8vw, 26px); }

@media (max-width: 900px) {
  .hero--film { min-height: 100svh; }
  .hero__video {
    left: 0; width: 100%; height: 60%; bottom: auto; object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(21,18,15,0.6) 0%, rgba(21,18,15,0) 22%),
      linear-gradient(0deg, rgba(21,18,15,0.94) 0%, rgba(21,18,15,0.6) 45%, rgba(21,18,15,0) 72%);
  }
  /* Phones: film owns the top, content flows beneath it on ink */
  /* Content may ride up over the film's faded lower edge so both CTAs land above the fold */
  .hero--film { padding: max(30svh, calc(var(--frame) + 120px)) calc(var(--frame) + 20px) calc(var(--frame) + 24px); }
  .hero__video { height: 58svh; }
  .hero--film .eyebrow { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 18px; white-space: nowrap; }
  .hero--film .lede { margin-bottom: 28px; }
  .hero__content { max-width: none; }
  .hero--film .h-xl { font-size: clamp(46px, 6.4vw, 104px); }
  .hero__chip { position: relative; left: auto; right: auto; bottom: auto; align-self: flex-start; margin-top: 26px; max-width: none; }
  .hero__chipbtn { padding: 12px 14px; }
  .hero__chipcta { padding: 12px 14px; }
  .hero__chipnote { display: none; }
  .hero__chip strong { font-size: 18px; }
  .btn-row .btn { padding: 16px 22px; }
}
@media (max-width: 900px) and (max-height: 720px) {
  .hero--film { padding-top: max(20svh, calc(var(--frame) + 120px)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none; }
  .hero__dot { animation: none; }
}

/* ---------- FAQ (locations page; also feeds FAQPage schema from tools/seo.py) ---------- */
.faq__list { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.faq__item { padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.faq__item h3 { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; margin: 0 0 10px; }
.faq__item p { margin: 0; color: var(--stone); line-height: 1.65; max-width: 34em; }
@media (max-width: 760px) { .faq__list { grid-template-columns: 1fr; } }

/* ---------- Online ordering preview (order.html, assets/js/order.js) ---------- */
.page-order main { min-height: 100svh; }
.ord, .checkout { padding: clamp(118px, 12vw, 150px) 0 clamp(80px, 9vw, 120px); }
.ord__demo { font-size: 14px; line-height: 1.55; color: var(--stone); border-left: 2px solid var(--cognac); padding: 2px 0 2px 14px; margin: 0 0 clamp(28px, 3vw, 40px); max-width: 52em; }
.ord__demo b { color: var(--ink); font-weight: 500; }
.ord__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 32px; padding-bottom: 26px; border-bottom: 1px solid var(--ink); }
.ord__title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; }
.ord__addr { margin: 10px 0 0; font-size: 15px; color: var(--stone); }
.ord__status { display: inline-block; margin-left: 10px; color: var(--cognac); font-weight: 500; }
.ord__status.is-open { color: #2f6b3a; }
.ord__controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg__btn { background: transparent; border: 0; padding: 0 18px; min-height: 44px; font-size: 15px; font-weight: 500; cursor: pointer; }
.seg__btn.is-on { background: var(--ink); color: var(--ivory); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--rule); cursor: pointer; font-size: 15px; transition: border-color 0.3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip__k { font-size: 14px; color: var(--stone); }
.ord__cartbtn { min-height: 44px; }
.ord__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; background: var(--ivory); color: var(--ink); font-size: 12px; letter-spacing: 0; }
.ord__cartbtn:hover .ord__count { background: var(--ink); color: var(--ivory); }

.ord__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(28px, 3vw, 40px); }
.ord__side { position: sticky; top: 112px; align-self: start; max-height: calc(100svh - 130px); overflow: auto; }
.ord__search input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; font-size: 16px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.ord__search input:focus { outline: none; border-bottom-color: var(--cognac); }
.ord__cats { display: flex; flex-direction: column; margin-top: 18px; }
.ord__cats a { text-decoration: none; padding: 9px 0 9px 14px; border-left: 1px solid var(--rule); font-size: 15px; color: var(--stone); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.ord__cats a:hover { color: var(--ink); }
.ord__cats a.is-on { color: var(--ink); border-left: 2px solid var(--cognac); padding-left: 13px; font-weight: 500; }

.ocat { scroll-margin-top: 120px; padding-bottom: clamp(36px, 4vw, 56px); }
.ocat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 18px; }
.ocat__head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.ocat__head p { margin: 0; color: var(--stone); font-size: 15px; }
.ocat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ocat__empty { color: var(--stone); padding: 40px 0; }
.icard { position: relative; min-width: 0; width: 100%; display: flex; align-items: stretch; gap: 16px; text-align: left; background: var(--bone); border: 1px solid transparent; padding: 18px 20px; cursor: pointer; min-height: 132px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.icard:hover { border-color: var(--ink); background: #ede6da; }
.icard:focus-visible { outline: 2px solid var(--cognac); outline-offset: 2px; }
.icard__text { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.icard__name { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.2; }
.icard__nut { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--cognac); white-space: nowrap; }
.icard__desc { font-size: 14px; line-height: 1.5; color: var(--stone); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.icard__price { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 500; }
.icard__img { width: 112px; height: 112px; object-fit: cover; flex: none; align-self: center; }
.icard__add { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--ink); font-size: 18px; line-height: 1; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.icard--img .icard__add { right: 14px; bottom: 14px; }
.icard:hover .icard__add { background: var(--ink); color: var(--ivory); }

.ord__bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: none; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--ink); color: var(--ivory); border: 0; font-size: 15.5px; font-weight: 500; cursor: pointer; }

/* Sheets: location, time, item */
.sheet, .drawer-cart { border: 0; padding: 0; background: var(--ivory); color: var(--ink); max-height: calc(100svh - 48px); }
.sheet { width: min(560px, calc(100vw - 32px)); }
.sheet::backdrop, .drawer-cart::backdrop { background: rgba(21, 18, 15, 0.55); }
.sheet[open] { animation: sheet-in 0.35s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--rule); }
.sheet__head h2 { font-size: 24px; }
.sheet__x { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: transparent; border: 1px solid var(--rule); font-size: 24px; line-height: 1; cursor: pointer; }
.sheet__x:hover { border-color: var(--ink); }
.sheet__x--float { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--ivory); }
.sheet__body { padding: 8px 24px 24px; }
.loc-opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.loc-opt:last-child { border-bottom: 0; }
.loc-opt h3 { font-family: var(--display); font-weight: 500; font-size: 21px; }
.loc-opt p { margin: 4px 0 0; font-size: 14.5px; color: var(--stone); }
.loc-opt .loc-opt__status { color: var(--cognac); font-weight: 500; }
.loc-opt .loc-opt__status.is-open { color: #2f6b3a; }
.loc-opt .btn { flex: none; }
.slot__day { font-family: var(--display); font-weight: 500; font-size: 18px; margin: 20px 0 10px; }
.slot__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 44px; background: transparent; border: 1px solid var(--rule); cursor: pointer; font-size: 14.5px; }
.slot:hover { border-color: var(--ink); }
.slot.is-on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.sheet__body > .slot { width: 100%; margin-top: 16px; }

.sheet--item { width: min(620px, calc(100vw - 32px)); }
.item { display: flex; flex-direction: column; position: relative; }
.item__media img { width: 100%; aspect-ratio: 4 / 3; max-height: 300px; object-fit: cover; }
.item__body { padding: 24px 24px 8px; }
.sheet--noimg .item__body { padding-top: 64px; }
.item__name { font-size: clamp(26px, 3vw, 34px); line-height: 1.05; padding-right: 8px; }
.item__desc { margin: 10px 0 0; color: var(--stone); font-size: 15.5px; }
.iopt { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.iopt legend { display: flex; justify-content: space-between; width: 100%; padding: 0 0 10px; border-bottom: 1px solid var(--ink); font-weight: 500; }
.iopt__rule { font-size: 13px; font-weight: 400; color: var(--stone); }
.iopt__row { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--rule); cursor: pointer; font-size: 15.5px; }
.iopt__row input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.iopt__row input:disabled + span { color: var(--stone-light); }
.iopt__delta { margin-left: auto; color: var(--stone); font-size: 14.5px; }
.item__note { display: block; margin-top: 24px; }
.item__note span { display: block; font-weight: 500; margin-bottom: 8px; }
.item__note textarea { width: 100%; border: 1px solid var(--rule); background: transparent; padding: 10px 12px; font-size: 15px; resize: vertical; border-radius: 0; }
.item__note textarea:focus { outline: none; border-color: var(--ink); }
.item__foot { position: sticky; bottom: 0; display: flex; gap: 12px; padding: 16px 24px; background: var(--ivory); border-top: 1px solid var(--rule); }
.item__add { flex: 1; justify-content: space-between; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.qty button { width: 44px; height: 100%; min-height: 44px; background: transparent; border: 0; font-size: 20px; cursor: pointer; }
.qty button:hover { background: var(--bone); }
.qty span { min-width: 28px; text-align: center; font-weight: 500; }
.qty--sm { margin-top: 10px; border-color: var(--rule); }
.qty--sm button { width: 36px; min-height: 36px; font-size: 17px; }

/* Cart drawer */
.drawer-cart { width: min(440px, 100vw); height: 100svh; max-height: none; margin: 0 0 0 auto; display: none; flex-direction: column; }
.drawer-cart[open] { display: flex; animation: drawer-in 0.4s var(--ease); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
.cart__where { padding: 16px 24px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.cart__where p { margin: 0; }
.cart__where p + p { color: var(--stone); }
.cart__lines { flex: 1; overflow: auto; padding: 0 24px; }
.cart__empty { color: var(--stone); padding: 32px 0; }
.cline { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.cline p { margin: 0; }
.cline__name { font-weight: 500; }
.cline__opts { font-size: 14px; color: var(--stone); margin-top: 2px !important; }
.cline__price { font-weight: 500; white-space: nowrap; }
.cart__foot { padding: 18px 24px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--ink); }
.cart__note { font-size: 14px; color: var(--cognac); margin: 0 0 10px; }
.cart__note:empty { display: none; }
.cart__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15.5px; }
.cart__row--total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 18px; }
.cart__go { width: 100%; margin-top: 14px; }
.cart__go:disabled { opacity: 0.4; cursor: not-allowed; }

.otoast { position: fixed; left: 50%; bottom: 24px; z-index: 1000; display: flex; align-items: center; gap: 18px; max-width: min(560px, calc(100vw - 24px)); padding: 14px 18px; background: var(--ink); color: var(--ivory); font-size: 15px; line-height: 1.45; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.otoast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.otoast button { flex: none; background: transparent; color: var(--ivory); border: 1px solid rgba(244, 238, 228, 0.55); padding: 10px 14px; font-size: 14px; font-weight: 500; cursor: pointer; }

/* Checkout and confirmation */
.checkout__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.checkout__back { background: none; border: 0; padding: 0; margin-bottom: 18px; color: var(--stone); cursor: pointer; font-size: 15px; }
.checkout__back:hover { color: var(--ink); }
.checkout__title { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 22px; }
.box { background: var(--bone); padding: 18px 20px; font-size: 15.5px; }
.box p { margin: 0; }
.box p + p { margin-top: 4px; color: var(--stone); }
.linkbtn { background: none; border: 0; padding: 0; margin-left: 8px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.checkout__h { font-family: var(--display); font-weight: 500; font-size: 22px; margin: 38px 0 16px; }
.tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tip { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; min-height: 60px; background: transparent; border: 1px solid var(--rule); cursor: pointer; }
.tip span { font-size: 13.5px; color: var(--stone); }
.tip.is-on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.tip.is-on span { color: var(--stone-light); }
.tip__other { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 18px; }
.tip__other input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 0; font-size: 17px; border-radius: 0; }
.tip__other input:focus { outline: none; border-bottom-color: var(--cognac); }
.pay { border: 1px dashed var(--stone-light); padding: 18px 20px; }
.pay__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pay__opt { padding: 10px 14px; border: 1px solid var(--rule); font-size: 14.5px; color: var(--stone); }
.pay__demo { margin: 12px 0 0; font-size: 14px; color: var(--stone); }
.pay:has(.pay__card) { border-style: solid; border-color: var(--rule); }
.pay__card { min-height: 90px; }
.pay__msg:empty { display: none; }
.pay__msg, .pay__note { margin: 8px 0 0; font-size: 14px; color: var(--stone); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.checkout__alc { margin-top: 16px; }
.ocat__rule { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--cognac); }
.item__rule { margin: 12px 0 0; font-size: 14.5px; color: var(--cognac); }
.cart__note.is-block { padding: 12px 14px; background: var(--bone); border-left: 2px solid var(--cognac); color: var(--ink); line-height: 1.5; }
.checkout__err { margin: 16px 0 0; color: #a3261b; font-weight: 500; }
.checkout__err:empty { display: none; }
.checkout__place { width: 100%; margin-top: 22px; }
.checkout__sum { position: sticky; top: 112px; background: var(--bone); padding: 26px 26px 22px; }
.checkout__sum .cline { border-bottom-color: rgba(21, 18, 15, 0.12); }
.checkout__promo input { width: 100%; margin: 18px 0 10px; border: 1px solid var(--rule); background: var(--ivory); padding: 12px 14px; font-size: 15px; border-radius: 0; }
.done__wrap { max-width: 720px; }
.done__num { font-size: 15px; color: var(--stone); margin-bottom: 14px; }
.done__wrap .display { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.done__wrap .lede { margin: 18px 0 28px; }
.done__box { margin-bottom: 24px; }

/* Order status: finished steps pop a check, the rail fills as the order moves, and the current step breathes
   (a ripple on its marker, steam dots while it is being made, a soft glow when it is ready). */
.track { --fill: 0; position: relative; list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 26px; }
.track::before, .track::after { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; background: var(--bone); }
.track::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--fill)); transition: transform 0.7s var(--ease); }
.track__step { position: relative; z-index: 1; display: flex; gap: 16px; align-items: flex-start; }
.track__dot { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--stone-light); background: var(--ivory); transition: background-color 0.3s, border-color 0.3s; }
.track__txt b { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 18px; color: var(--stone); transition: color 0.3s; }
.track__txt small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; color: var(--stone); transition: max-height 0.4s var(--ease), opacity 0.4s; }
.track__step.is-done .track__dot, .track__step.is-now .track__dot { background: var(--ink); border-color: var(--ink); animation: track-pop 0.45s var(--ease); }
.track__step:last-child.is-now .track__dot { background: var(--cognac); border-color: var(--cognac); }
.track__step.is-done .track__dot::before { content: ""; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 10px; border: solid var(--ivory); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.track__step.is-now .track__dot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ivory); }
.track__step.is-now .track__dot::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 2px solid currentColor; color: var(--ink); animation: track-ripple 1.7s ease-out infinite; }
.track__step:last-child.is-now .track__dot::after { color: var(--cognac); }
.track__step.is-done .track__txt b, .track__step.is-now .track__txt b { color: var(--ink); font-weight: 500; }
.track__step:last-child.is-now .track__txt b { color: var(--cognac); animation: track-glow 2.2s ease-in-out infinite; }
.track__step.is-now .track__txt small { max-height: 2em; opacity: 1; }
.track__steam { display: none; gap: 4px; align-items: flex-end; height: 14px; }
.track__steam i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); animation: track-steam 1.2s ease-in-out infinite; }
.track__steam i:nth-child(2) { animation-delay: 0.2s; }
.track__steam i:nth-child(3) { animation-delay: 0.4s; }
.track__step.is-now .track__steam { display: inline-flex; }
@keyframes track-pop { from { transform: scale(0.4); } to { transform: scale(1); } }
@keyframes track-ripple { from { transform: scale(1); opacity: 0.5; } to { transform: scale(2.1); opacity: 0; } }
@keyframes track-steam { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes track-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
  .track::after, .track__dot, .track__txt small { transition: none; }
  .track__step .track__dot, .track__step .track__dot::after, .track__steam i, .track__step .track__txt b { animation: none !important; }
}
.done__box .cline:last-child { border-bottom: 0; }
.done__wrap .muted { font-size: 15px; margin-bottom: 26px; }

@media (max-width: 900px) {
  .ord__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ord__side { position: sticky; top: 0; z-index: 30; max-height: none; overflow: visible; background: var(--ivory); margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter) 0; border-bottom: 1px solid var(--rule); }
  .page-order .nav { position: absolute; }
  .ord__cats { flex-direction: row; overflow-x: auto; margin-top: 4px; gap: 4px; scrollbar-width: none; }
  .ord__cats::-webkit-scrollbar { display: none; }
  .ord__cats a { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 12px 10px; white-space: nowrap; }
  .ord__cats a.is-on { border-left: 0; border-bottom-color: var(--cognac); padding-left: 10px; }
  .ocat { scroll-margin-top: 130px; }
  .ocat:first-child { padding-top: 24px; }
  .ocat__grid { grid-template-columns: 1fr; gap: 10px; }
  .ord__bar { display: flex; }
  .ord__bar[hidden] { display: none; }
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__sum { position: static; order: -1; }
  .checkout__main { order: 0; }
}
@media (max-width: 560px) {
  .ord__controls { width: 100%; }
  .ord__controls .chip { flex: 1 1 40%; justify-content: flex-start; }
  .ord__cartbtn { display: none; }
  .seg { flex: 1 1 100%; }
  .seg__btn { flex: 1; }
  .icard { min-height: 0; padding: 16px; }
  .ord__status { display: block; margin: 4px 0 0; }
  .chip { padding: 0 12px; font-size: 14.5px; }
  .item__foot { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); gap: 10px; }
  .item__add { padding: 16px 18px; letter-spacing: 0.14em; }
  .qty button { width: 40px; }
  .icard__img { width: 92px; height: 92px; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 88svh; margin: auto 0 0; }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
  .loc-opt { flex-direction: column; align-items: stretch; }
  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .otoast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open], .drawer-cart[open] { animation: none; }
  .otoast { transition: none; }
}

/* Privacy policy: a long reading page, so plain spacing and real list bullets */
.legal { display: grid; gap: 18px; font-size: 17px; line-height: 1.7; }
.legal h2 { margin-top: 30px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 10px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
