/* Boqado v3 · styles
   Sobolo: bottle-green ground (Hassan chose green over wine, 8 Oct 2026; token names kept, values green), bone, Besley against Albert Sans. Two brand colours and a neutral paper; links are a lighter step of our own green; the client menus supply every other colour.
   Order: tokens · base · type · controls · objects · sections in page order · footer · breakpoints at 720, 1024 and 1200 · reduced motion. */

:root {
  --wine: #0E2A22;
  --wine-deep: #0A1F19;
  --hibiscus: #1F5C48;   /* link green: links and URLs only, never a ground or a button */
  --bone: #EFE9DD;
  --canvas: #F4F4EF;     /* a neutral paper, not cream */
  --ink: #13201B;
  --muted: #56635C;
  --muted-wine: #B4BFB6;
  --line: #DCDFD5;
  --line-wine: rgba(239, 233, 221, .18);
  --bezel: #0E1512;
  --shadow-canvas: 0 1px 2px rgba(19, 32, 27, .08), 0 24px 48px -20px rgba(19, 32, 27, .35);
  --shadow-wine: 0 1px 2px rgba(0, 0, 0, .2), 0 24px 48px -20px rgba(0, 0, 0, .55);

  --serif: "Besley", "Century Schoolbook", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --h1: 38px;        /* the headline's base size; the hero reserves --h1-lines of it so a longer language never moves the page */
  --h1-lines: 4;
  --gutter: 20px;
  --wrap: 1280px;
  --section-y: 72px;
  --seam: 56px;      /* from a chapter hairline to the heading under it */
  --fade: 220ms ease-out;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.not-phone { display: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

/* ---------- type ---------- */
h1 { font-family: var(--serif); font-weight: 500; font-size: var(--h1); line-height: 1.02; letter-spacing: -.014em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -.005em; }
.lede { font-size: 18px; line-height: 1.45; }
.body { font-size: 17px; line-height: 1.5; }
.fig { font-family: var(--serif); font-weight: 600; font-size: .92em; line-height: 1; letter-spacing: 0; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0;
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.btn-bone { background: var(--bone); color: var(--wine); }
.btn-bone:hover { background: #F7F4EC; }
.btn-bone:active { background: #E2DCCD; }
.btn-bone:focus-visible { outline-color: var(--bone); }
.btn-wine { background: var(--wine); color: var(--bone); }
.btn-wine:hover { background: var(--wine-deep); }
.btn-wine:active { background: #071510; }
.btn-wine:focus-visible { outline-color: var(--wine); }
.btn-nav { min-height: 44px; padding: 0 18px; font-size: 15px; }

.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(19, 32, 27, .35); transition: text-decoration-color 160ms ease-out; }
.link:hover { text-decoration-color: currentColor; }
.hero .link, .bill .link, .close .link { text-decoration-color: var(--line-wine); }
.hero .link:hover, .bill .link:hover, .close .link:hover { text-decoration-color: var(--bone); }

/* Text links are small type; vertical padding widens the thumb target without moving a line. */
.link, .live-head .lede a, .live-foot a, .maker-lede a, .qa dd a, .foot-links a, .nav-signin { padding-top: 10px; padding-bottom: 10px; }
.cta-row .link, .close-mail, .close-open, .qr-url, .close-url, .menu-name a, .provenance a, .foot-links a { display: inline-block; margin-top: -10px; margin-bottom: -10px; }

.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }

/* ---------- objects: phone (in the guest's hand) and bezel-less card (laid on our table) ---------- */
.phone { background: var(--bezel); border-radius: 44px; padding: 10px; }
.phone > img, .phone .screen { display: block; width: 100%; aspect-ratio: 750 / 1624; border-radius: 36px; overflow: hidden; background: #fff; }
.phone > img { object-fit: cover; object-position: top; height: auto; }
.screen { position: relative; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity var(--fade); }
.screen img.is-on { opacity: 1; }
.screen > img:only-of-type { opacity: 1; }
.dim { position: absolute; inset: 0; background: rgba(19, 32, 27, .55); opacity: 0; transition: opacity var(--fade); pointer-events: none; }
.screen.is-dim .dim { opacity: 1; }

/* Cards crop just above each venue's booking bar, so a row of five reads as five menus, not five buttons. */
.menu-card { display: block; width: 100%; aspect-ratio: 750 / 1456; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-canvas); transition: transform 160ms ease-out; }
.menu-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.menu-card:hover { transform: translateY(-2px); }

.mark { width: 24px; height: 24px; }

/* ---------- nav ---------- */
.top { background: var(--wine); color: var(--bone); }
.nav { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.015em; line-height: 1; text-decoration: none; color: inherit; }
.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: 24px; justify-self: end; }
.nav-signin { display: none; }

/* ---------- 1 · hero · green ---------- */
.hero { background: var(--wine); color: var(--bone); position: relative; z-index: 2; padding-top: 22px; }
.hero h1 { min-height: calc(var(--h1) * 1.02 * var(--h1-lines)); transition: opacity var(--fade); text-wrap: balance; }
.hero h1.fade { opacity: 0; }
.hero h1[lang=ar] { font-family: "Noto Naskh Arabic", var(--serif); font-weight: 500; direction: rtl; text-align: right; line-height: 1.28; letter-spacing: 0; }
.hero h1[lang=zh] { font-family: "Noto Serif SC", var(--serif); font-weight: 600; line-height: 1.22; letter-spacing: 0; }
.hero h1[lang=ru] { font-family: "Noto Serif", var(--serif); font-weight: 600; letter-spacing: -.01em; }
.langs-rule { height: 1px; background: var(--line-wine); margin: 16px 0 6px; }
.langs ul { display: flex; align-items: baseline; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.langs ul::-webkit-scrollbar { display: none; }
.langs ul::after { content: ""; flex: none; width: 24px; }
.langs li { display: flex; align-items: baseline; flex: none; scroll-snap-align: start; }
.langs li + li::before { content: "·"; content: "·" / ""; color: var(--muted-wine); margin: 0 14px; }
.langs button { background: none; border: 0; padding: 12px 0 10px; min-height: 44px; font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1; color: var(--bone); opacity: .8; border-bottom: 2px solid transparent; cursor: pointer; transition: opacity 160ms ease-out, border-color 160ms ease-out; }
.langs button:hover { opacity: 1; }
.langs button[aria-pressed=true] { opacity: 1; border-bottom-color: var(--bone); }
.langs button:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.langs button[lang=ar] { font-size: 16px; }
.langs button[lang=zh] { font-size: 16px; font-weight: 400; }
/* Albert Sans has no Cyrillic or CJK; the system faces stand in, one step lighter so the row keeps one apparent weight. */
.langs button[lang=ru] { font-weight: 400; }
.langs-note { font-size: 13.5px; line-height: 1.45; color: var(--muted-wine); margin-top: 2px; }

.hero-band { margin-top: 12px; }
.hero-copy .lede { max-width: 58ch; font-size: 17px; }
.hero-copy .cta-row { margin-top: 20px; flex-direction: column; align-items: stretch; gap: 12px; }
.hero-copy .cta-row .btn { width: 100%; }
.hero-copy .cta-row .link { text-align: center; align-self: center; }
.price-line { margin-top: 16px; font-size: 15px; line-height: 1.5; max-width: 52ch; }
.price-line .fig { font-size: 18px; }
.provenance { display: none; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-wine); font-size: 14px; line-height: 1.45; color: var(--muted-wine); flex-direction: column; gap: 4px; }
.provenance p { order: 1; max-width: 58ch; }
.provenance a { order: 2; align-self: flex-start; color: var(--muted-wine); text-decoration: underline; text-decoration-color: var(--line-wine); text-underline-offset: 4px; }
.provenance a:hover { color: var(--bone); text-decoration-color: var(--bone); }

.hero-table { display: flex; justify-content: center; margin-top: 20px; }
.qr-card { display: none; }
.hero-phone { width: 74vw; max-width: 300px; flex: none; margin-bottom: -160px; border: 1px solid var(--line-wine); }

/* ---------- 2 · set in their look · canvas ---------- */
.live { background: var(--canvas); color: var(--ink); position: relative; z-index: 1; padding-top: calc(160px + 20px); padding-bottom: var(--section-y); }
.hero-cap { font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; max-width: 36ch; margin: 0 auto 48px; }
.live-head .lede { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.live-head .lede a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; text-decoration-color: rgba(19, 32, 27, .35); }
.live-head .lede a:hover { text-decoration-color: currentColor; }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.menus { display: grid; grid-auto-flow: column; grid-auto-columns: 74vw; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin: 32px calc(-1 * var(--gutter)) 0; padding: 8px var(--gutter) 24px; }
.menus::-webkit-scrollbar { display: none; }
.menus li { scroll-snap-align: start; }
.menu-name { font-size: 18px; margin-top: 16px; }
.menu-name a { text-decoration: none; }
.menu-name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.menu-url { font-size: 14px; color: var(--hibiscus); margin-top: 4px; }
.menu-fact { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--muted); margin-top: 8px; }
.live-foot { margin-top: 24px; font-size: 17px; line-height: 1.5; max-width: 60ch; }
.live-foot a { color: var(--hibiscus); font-weight: 500; text-underline-offset: 4px; text-decoration-color: rgba(31, 92, 72, .35); }
.live-foot a:hover { text-decoration-color: currentColor; }

/* Chapter seams on the same ground: no padding doubles up; a hairline marks the break instead. */
.live + .start, .start + .guest, .hotels + .maker, .maker + .faq { padding-top: 0; }
.start > .wrap::before, .guest > .wrap::before, .maker > .wrap::before, .faq > .wrap::before { content: ""; display: block; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: var(--seam); }

/* ---------- 3 · how it starts · canvas, ledger ---------- */
.start { background: var(--canvas); padding: var(--section-y) 0; }
.start-head .lede { margin-top: 20px; color: var(--muted); }
.ledger { margin-top: 32px; border-top: 1px solid var(--line); }
.ledger-row { padding: 32px 0; border-bottom: 1px solid var(--line); }
.timing { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: 0; }
.ledger-row .body { margin-top: 12px; max-width: 60ch; }
.object { margin-top: 24px; }
.object-cap { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.45; }
.object-pair { display: flex; align-items: flex-end; gap: 16px; }

/* The file: a white sheet with a turned corner. A file, not a menu; it carries no dishes. */
.sheet { width: 120px; filter: drop-shadow(0 1px 2px rgba(19, 32, 27, .08)) drop-shadow(0 18px 28px rgba(19, 32, 27, .16)); }
.sheet-paper { position: relative; display: flex; flex-direction: column; width: 120px; height: 160px; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); padding: 16px 12px 14px; }
.sheet-fold { position: absolute; top: -1px; right: -1px; width: 23px; height: 23px; background: linear-gradient(225deg, transparent 50%, #E1E0D6 50%); }
.sheet-name { font-weight: 500; font-size: 15px; line-height: 1.2; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.sheet-sub { font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 8px; }
.sheet-tag { margin-top: auto; align-self: flex-start; background: var(--wine); color: var(--bone); font-weight: 600; font-size: 13px; line-height: 1; padding: 4px 7px 3px; border-radius: 4px; }

.menu-card-sm { width: 150px; flex: none; }
.tent { width: 136px; flex: none; filter: drop-shadow(0 1px 1px rgba(19, 32, 27, .12)) drop-shadow(0 16px 18px rgba(19, 32, 27, .2)); }
.tent-face { position: relative; width: 100%; height: 176px; clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #D6D2C4 0, #D6D2C4 3px, #E8E3D6 3px, var(--bone) 34%); padding: 22px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tent-face img { background: #fff; padding: 2px; width: 80px; height: 80px; }
.tent-text { font-size: 13px; line-height: 1.2; color: var(--ink); text-align: center; white-space: nowrap; }
.tent-mark { position: absolute; right: 13px; top: 9px; width: 14px; height: 14px; color: var(--wine); }

.start-cta { margin-top: 32px; }
.start-cta .btn { width: 100%; }
.service { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- 4 · in the guest's hand · canvas, sticky specimen ---------- */
.guest { background: var(--canvas); padding: var(--section-y) 0; }
.guest-head .lede { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.specimen { margin-top: 32px; }
.specimen-phone { display: none; }
.passage-phone { width: 74vw; max-width: 320px; margin: 0 auto 28px; }
/* The two middle passages show only the top of their screen, where every note points: the phone is cut flat and stands on a hairline.
   Each cut falls in the menu's own white space: AYA at row 892 of 1624 (under the section tabs), Pâte à Choux at row 960
   (after the first dish). The factor is those rows over the 750 width; every note band ends above row 780. */
@media (max-width: 1023px) {
  .passage:nth-child(2) .passage-phone, .passage:nth-child(3) .passage-phone { overflow: hidden; padding-bottom: 0; border-radius: 44px 44px 0 0; margin-bottom: 0; }
  .passage:nth-child(2) .passage-phone { height: calc((min(74vw, 320px) - 20px) * 1.1893 + 10px); }
  .passage:nth-child(3) .passage-phone { height: calc((min(74vw, 320px) - 20px) * 1.28 + 10px); }
  .passage:nth-child(2) .passage-phone + h3, .passage:nth-child(3) .passage-phone + h3 { border-top: 1px solid var(--line); padding-top: 28px; }
  .passage:nth-child(2) .passage-phone .screen, .passage:nth-child(3) .passage-phone .screen { border-radius: 36px 36px 0 0; }
}
.passage + .passage { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.passage .body { margin-top: 12px; max-width: 60ch; }
.notes { margin-top: 20px; max-width: 44ch; }
.notes li { position: relative; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--muted); cursor: default; transition: color 160ms ease-out; }
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes li:hover, .notes li:focus-visible { color: var(--ink); }
.notes li:focus-visible { outline-offset: 0; }

/* ---------- 5 · what comes back · bone paper, centred specimen ---------- */
/* On paper, not on green: Saint Pablo's tomato red would fight the green ground and become the loudest thing in our chapter. */
.back { background: var(--bone); color: var(--ink); padding: var(--section-y) 0; }
.fb-specimen { margin-top: 32px; display: flex; flex-direction: column; }
.fb-phone { width: 74vw; max-width: 320px; margin: 0 auto; order: -1; }
.back .notes { margin-top: 24px; }
.back .fb-notes-right { margin-top: 0; }
.back .fb-notes-right li:first-child { border-top: 0; }
.back .notes li { border-color: var(--line); color: var(--muted); }
.back .notes li:hover, .back .notes li:focus-visible { color: var(--ink); }
.back-cols { margin-top: 40px; display: grid; gap: 32px; }
.back-cols .body { margin-top: 10px; color: var(--muted); max-width: 60ch; }

/* ---------- 7 · hotels · canvas, one wide passage (after the bill on the page) ---------- */
.hotels { background: var(--canvas); padding: var(--section-y) 0; }
.passage-wide { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.18; letter-spacing: -.01em; text-wrap: pretty; }
.outlets { margin-top: 32px; border-top: 1px solid var(--line); }
.outlets li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.outlet-name { font-weight: 500; flex: 0 0 9em; }
.outlet-fact { color: var(--muted); flex: 1 1 16em; }
.hotels-close { margin-top: 24px; max-width: 60ch; }

/* ---------- 6 · the bill · green (on the page it comes before hotels) ---------- */
.bill { background: var(--wine); color: var(--bone); padding: var(--section-y) 0; }
.figure-block { margin-top: 24px; }
.figure-wrap { perspective: 600px; }
.figure { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -.02em; display: inline-block; transform-origin: 50% 50%; backface-visibility: hidden; }
.figure.turn-out { transition: transform 130ms ease-in; transform: rotateX(90deg); }
.figure.turn-in { transform: rotateX(-90deg); }
.figure.turn-back { transition: transform 130ms ease-out; transform: rotateX(0); }
.unit { margin-top: 10px; font-size: 17px; color: var(--muted-wine); }
.cur-switch { margin-top: 18px; display: flex; gap: 20px; }
.cur-switch button { background: none; border: 0; padding: 10px 0; min-height: 44px; font-weight: 500; font-size: 15px; line-height: 1; color: var(--bone); opacity: .72; border-bottom: 2px solid transparent; cursor: pointer; transition: opacity 160ms ease-out, border-color 160ms ease-out; }
.cur-switch button:hover { opacity: 1; }
.cur-switch button[aria-pressed=true] { opacity: 1; border-bottom-color: var(--bone); }
.pay { margin-top: 14px; font-size: 15px; color: var(--muted-wine); }

/* On a phone each line is name and value on one row, the name free to wrap; the leader stays on the Total only. */
.receipt { margin-top: 40px; }
.receipt ul { border-top: 1px solid var(--line-wine); }
.receipt li { display: flex; align-items: last baseline; gap: 0 16px; padding: 12px 0; border-bottom: 1px solid var(--line-wine); font-size: 15px; line-height: 1.35; }
.r-name { flex: 1 1 auto; }
.r-dots { display: none; flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted currentColor; opacity: .35; align-self: last baseline; height: 0; transform: translateY(-.28em); }
.r-val { font-weight: 500; white-space: nowrap; flex: none; }
.r-total { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.r-total .r-name { flex: none; }
.r-total .r-dots { display: block; }
.r-total .r-val { font-weight: 600; }
.bill-cta { margin-top: 28px; }
.renew { font-size: 15px; color: var(--muted-wine); }
.bill-cta .cta-row { margin-top: 16px; }
.bill-cta .cta-row .btn { width: 100%; }

/* ---------- 8 · who makes it · canvas, one chapter with the questions ---------- */
.maker { background: var(--canvas); padding: var(--section-y) 0 var(--seam); }
.maker-lede { max-width: 60ch; }
.maker-lede a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; text-decoration-color: rgba(19, 32, 27, .35); }
.maker-lede a:hover { text-decoration-color: currentColor; }
.logo-row { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.logo-label { font-size: 15px; color: var(--muted); }
.logos { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; align-items: center; justify-items: center; }
.logos img { width: auto; }
/* Balanced by optical mass, not by cap height: the stacked marks run taller, the hairline wordmark shorter. */
.logo-shogun { height: 44px; }
.logo-sp { height: 52px; }
.logo-klap { height: 20px; }
.logo-pac { height: 24px; }
.logo-aya { height: 52px; }
.logo-break { height: 24px; }

/* ---------- 9 · questions · canvas ---------- */
.faq { background: var(--canvas); padding: var(--section-y) 0; }
.qa { margin-top: 32px; display: grid; gap: 28px; }
.qa dt { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.3; }
.qa dd { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.qa dd a { color: var(--hibiscus); text-underline-offset: 4px; text-decoration-color: rgba(31, 92, 72, .35); }
.qa dd a:hover { text-decoration-color: currentColor; }

/* ---------- 10 · close · green ---------- */
.close { background: var(--wine); color: var(--bone); padding: 96px 0; }
.close-in { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.close-tile { display: none; }
.close-line { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; text-align: center; }
.close-desk { display: none; }
.close-url { display: none; }
.close-cta { width: 100%; margin-top: 8px; }
/* On phones the demo is a full bone-outline button above the call to action, the line between them. */
.close-open { order: -1; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 0 22px; border: 1px solid var(--bone); border-radius: 8px; font-weight: 600; font-size: 16px; line-height: 1; color: var(--bone); text-decoration: none; transition: background-color 160ms ease-out; }
.close-open:hover { background: var(--wine-deep); }
.close-open:active { background: #071510; }
.close-open:focus-visible { outline-color: var(--bone); }
.close-cta { order: 1; }
.close-mail { order: 2; }
.close-mail { align-self: center; color: var(--muted-wine); font-size: 15px; }
.close-mail:hover { color: var(--bone); }

/* ---------- footer ---------- */
.foot { background: var(--wine); color: var(--muted-wine); }
.foot-in { position: relative; padding-top: 32px; padding-bottom: 40px; display: grid; gap: 16px; font-size: 13.5px; line-height: 1.45; }
.foot-in::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-wine); }
.wordmark-foot { font-size: 22px; color: var(--bone); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted-wine); text-decoration: underline; text-decoration-color: var(--line-wine); text-underline-offset: 4px; }
.foot-links a:hover { color: var(--bone); text-decoration-color: var(--bone); }

/* =====================================================================
   720px and up · tablet
   ===================================================================== */
@media (min-width: 720px) {
  :root { --gutter: 48px; --h1: 56px; }
  .not-phone { display: inline; }
  h2 { font-size: 40px; }
  .hero h1 { --h1-lines: 3; }
  .hero-copy .lede { font-size: 18px; }
  .hero-copy .cta-row { flex-direction: row; align-items: center; gap: 20px 28px; }
  .hero-copy .cta-row .btn { width: auto; }
  .provenance { display: flex; }
  .hero-cap { display: none; }
  .live { padding-top: calc(160px + 48px); }
  .menus { grid-auto-columns: 40vw; }
  .start-cta .btn, .bill-cta .cta-row .btn, .close-cta { width: auto; }
  .close-in { align-items: center; }
  .close-open { align-self: center; }
  .back-cols { grid-template-columns: 1fr 1fr; gap: 48px; }
  .qa { grid-template-columns: 1fr 1fr; gap: 28px 48px; }
  .logos { grid-template-columns: repeat(6, auto); justify-content: space-between; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 32px; }
  .foot-made { grid-column: 1 / -1; }
  .foot-links { grid-column: 1 / 3; }
  .foot-copy { justify-self: end; }
}

/* =====================================================================
   1024px and up · desktop, the 12-column grid
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --section-y: 128px; --seam: 96px; --h1: 68px; --fb-phone: 280px; }
  body { font-size: 18px; }
  h2 { font-size: 48px; }
  h3 { font-size: 24px; }
  .lede { font-size: 21px; }
  .body { font-size: 18px; }

  /* nav */
  .nav { grid-template-columns: 1fr auto 1fr; min-height: 88px; padding-top: 20px; padding-bottom: 20px; }
  .nav-links { display: flex; gap: 32px; justify-self: center; }
  .nav-links a { font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; color: var(--bone); opacity: .85; padding: 14px 0; display: inline-block; transition: opacity 160ms ease-out; }
  .nav-links a:hover { opacity: 1; }
  .nav-signin { display: inline-block; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .85; padding: 14px 0; }
  .nav-signin:hover { opacity: 1; }

  /* 1 · hero */
  .hero { padding-top: 40px; }
  .hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .hero h1 { grid-column: 1 / span 10; }
  .hero h1[lang=ar] { grid-column: 3 / span 10; }   /* right to left: anchored on the right edge of the page */
  .langs-rule { grid-column: 1 / -1; margin: 32px 0 0; }
  .langs { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 0 24px; padding-top: 4px; flex-wrap: wrap; }
  .langs ul { overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .langs ul::after { display: none; }
  .langs-note { margin-top: 4px; font-size: 15px; flex-basis: 100%; }
  .hero-band { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 48px; align-items: start; }
  .hero-copy { grid-column: 1 / span 6; padding-top: 8px; padding-bottom: 80px; }
  .hero-copy .lede { font-size: 21px; }
  .hero-copy .cta-row { margin-top: 32px; }
  .price-line { margin-top: 28px; font-size: 15px; max-width: 58ch; }
  .provenance { margin-top: 32px; padding-top: 18px; font-size: 15px; display: block; }
  .provenance p { max-width: none; }
  .provenance a { float: right; margin-left: 24px; white-space: nowrap; }
  .hero-table { grid-column: 7 / span 6; display: flex; justify-content: flex-end; align-items: flex-start; gap: 24px; margin-top: 0; }
  .qr-card { display: block; width: 184px; flex: none; margin-top: 28px; background: var(--bone); color: var(--ink); border-radius: 16px; padding: 14px; }
  .qr-card .mark { color: var(--wine); margin-left: auto; margin-bottom: 10px; }
  .qr-box { background: #fff; border-radius: 8px; padding: 8px; width: 156px; height: 156px; }
  .qr-box img { width: 140px; height: 140px; }
  .qr-title { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2; margin-top: 14px; }
  .qr-text { font-size: 15px; line-height: 1.45; margin-top: 4px; }
  .qr-url { font-size: 15px; font-weight: 500; color: var(--hibiscus); text-decoration: none; }
  .qr-url:hover { text-decoration: underline; text-underline-offset: 4px; }
  .hero-phone { width: 244px; max-width: none; margin-bottom: -200px; }

  /* 2 · live */
  .live { padding-top: 128px; padding-bottom: 160px; }
  .live .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .live-head { grid-column: 1 / span 6; min-height: 150px; }
  .hint { display: none; }
  .menus { grid-column: 1 / -1; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; gap: 24px; overflow: visible; margin: 56px 0 0; padding: 0; }
  .menu-fact { font-size: 15.5px; }
  .live-foot { grid-column: 1 / span 7; margin-top: 64px; }

  /* 3 · start */
  .start { padding-bottom: 160px; }
  .start .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .start-head { grid-column: 1 / span 7; }
  .ledger { grid-column: 1 / -1; margin-top: 56px; }
  .ledger-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 40px 0; align-items: start; }
  .timing { grid-column: 1 / span 3; font-size: 22px; padding-top: 2px; }
  .ledger-row .body { grid-column: 4 / span 4; margin-top: 0; }
  .ledger-row-wide .body { grid-column: 4 / span 6; }
  .object { grid-column: 8 / span 5; margin-top: 0; }
  .object-pair { gap: 24px; }
  .menu-card-sm { width: 200px; }
  .tent { width: 160px; }
  .tent-face { height: 206px; padding: 26px 12px 14px; gap: 12px; }
  .tent-mark { right: 15px; top: 10px; }
  .tent-face img { width: 100px; height: 100px; }
  .start-cta { grid-column: 1 / span 7; margin-top: 56px; }

  /* 4 · guest */
  .guest .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .guest-head { grid-column: 1 / span 8; }
  .specimen { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; margin-top: 56px; }
  /* The phone always fits the viewport with 48px above and below: 2.094 is the bezel's height to its width. */
  .specimen-phone { display: block; grid-column: 1 / span 5; position: sticky; top: 48px; }
  .phone-sticky { width: 320px; width: min(320px, calc((100svh - 96px) / 2.094)); }
  .passages { grid-column: 7 / span 6; padding-top: 64px; }
  .passage-phone { display: none; }
  .passage { min-height: 60vh; min-height: 72svh; }
  .passage + .passage { margin-top: 0; padding-top: 0; border-top: 0; }
  .passage .body { margin-top: 14px; }
  .notes { margin-top: 28px; }
  .notes li { padding-left: 26px; }
  .notes li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--wine); background: var(--canvas); transition: background-color 160ms ease-out; }
  .notes li:hover::before, .notes li:focus-visible::before { background: var(--wine); }

  /* 5 · back: each note sits level with the part of the screen it describes */
  .back .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .back h2 { grid-column: 3 / span 8; text-align: center; }
  .fb-specimen { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; margin-top: 56px; }
  .fb-phone { grid-column: 5 / span 4; width: var(--fb-phone); max-width: none; justify-self: center; order: 0; }
  .back .fb-notes-left { grid-column: 1 / span 4; }
  .back .fb-notes-right { grid-column: 9 / span 4; }
  .back .notes { position: relative; max-width: none; height: calc((var(--fb-phone) - 22px) * 2.1653); margin-top: 11px; }
  .back .notes li { position: absolute; left: 0; right: 0; top: var(--band-top, 0); border: 0; padding-top: 0; padding-bottom: 0; }
  .back .notes li::before { top: 5px; border-color: var(--wine); background: var(--bone); }
  .back .notes li:hover::before, .back .notes li:focus-visible::before { background: var(--wine); }
  .notes-right-aligned { text-align: right; }
  .notes-right-aligned li { padding-left: 0; padding-right: 26px; }
  .notes-right-aligned li::before { left: auto; right: 0; }
  .back-cols { grid-column: 2 / span 10; margin-top: 72px; gap: 24px; }

  /* 7 · hotels */
  .hotels .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .passage-wide { grid-column: 1 / span 11; font-size: 40px; }
  .outlets { grid-column: 1 / span 8; margin-top: 56px; }
  .outlets li { padding: 16px 0; font-size: 18px; }
  .hotels-close { grid-column: 1 / span 7; margin-top: 32px; }

  /* 6 · bill: figure left, receipt right, the call to action closing the left column where the Total closes the right */
  .bill-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: 24px; align-items: start; }
  .bill h2 { grid-column: 1 / span 4; grid-row: 1; }
  .figure-block { grid-column: 1 / span 5; grid-row: 2; margin-top: 40px; }
  .figure { font-size: 96px; }
  .unit { font-size: 18px; margin-top: 14px; }
  .receipt { grid-column: 6 / span 7; grid-row: 1 / span 3; margin-top: 8px; }
  .receipt li { font-size: 17px; gap: 0; padding: 14px 0; }
  .r-name, .r-total .r-name { flex: 0 1 auto; }
  .r-dots { display: block; margin: 0 10px; }
  .r-total { font-size: 22px; }
  .bill-cta { grid-column: 1 / span 5; grid-row: 3; align-self: end; margin-top: 56px; }
  .bill-cta .cta-row { margin-top: 20px; }

  /* 8 · maker, 9 · faq: one canvas chapter */
  .maker .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .maker-lede { grid-column: 1 / span 7; }
  .logo-row { grid-column: 1 / -1; margin-top: 56px; display: flex; align-items: center; gap: 48px; }
  .logo-label { flex: none; }
  .logos { flex: 1; margin-top: 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .logo-shogun { height: 54px; }
  .logo-sp { height: 64px; }
  .logo-klap { height: 26px; }
  .logo-pac { height: 26px; }
  .logo-aya { height: 64px; }
  .logo-break { height: 28px; }

  .faq .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .faq h2 { grid-column: 1 / span 8; }
  .qa { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; margin-top: 56px; }
  .qa > div { grid-column: span 6; }

  /* 10 · close */
  .close { padding: var(--section-y) 0; }
  .close-in { max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  .close-in > * { grid-column: 4 / span 6; justify-self: center; }
  .close-tile { display: block; background: var(--bone); border-radius: 16px; padding: 16px 40px 40px; box-shadow: var(--shadow-wine); }   /* 40px of bone is about four modules of quiet zone */
  .close-tile .mark { width: 20px; height: 20px; color: var(--wine); margin-left: auto; margin-bottom: 8px; }
  .close-tile img { width: 240px; height: 240px; }
  .close-open { display: none; }
  .close-line { font-size: 32px; margin-top: 40px; }
  .close-desk { display: inline; }
  .close-phone { display: none; }
  .close-url { display: inline-block; margin-top: 2px; font-size: 15px; color: var(--bone); opacity: .7; text-decoration: none; }
  .close-url:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
  .close-cta { margin-top: 40px; }
  .close-mail { margin-top: 20px; }

  .foot-in { padding-top: 40px; padding-bottom: 48px; grid-template-columns: auto auto 1fr auto; }
  .foot-made { grid-column: auto; }
  .foot-links { grid-column: auto; justify-self: center; }
}

/* 1200px and up · the full hero */
@media (min-width: 1200px) {
  :root { --h1: 80px; --fb-phone: 320px; }
  .langs { flex-wrap: nowrap; }
  .langs-note { margin-top: 0; flex-basis: auto; white-space: nowrap; }
  .hero-table { gap: 36px; }
  .qr-card { width: 212px; padding: 16px; }
  .qr-box { width: 180px; height: 180px; }
  .qr-box img { width: 164px; height: 164px; }
  .hero-phone { width: 300px; margin-bottom: -250px; }
  .live-head { min-height: 190px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .screen img, .dim, .menu-card, .btn, .langs button, .cur-switch button, .notes li, .notes li::before, .close-open { transition: none; }
  .figure.turn-out, .figure.turn-in, .figure.turn-back { transition: none; transform: none; }
}
