/* O Palmeiral — one stylesheet. Brand tokens are fixed; red belongs to Book alone.
   Yellow is the sign's yellow with its plum keyline: an accent, never a surface. */
:root {
  --cream: #FFFFFF;          /* the light: page ground, and type on the dark */
  --paper: #F2ECED;          /* where a photograph will land */
  --deep: #24101A;           /* very dark plum: bands, footer, almanac */
  --olive: #7A4650;          /* mid plum, for small marks */
  --sage: #D7B9BF;           /* soft mauve, secondary type on the dark */
  --red: #C4341A;
  --sun: #FCE034;
  --plum: #48181C;           /* the sign's keyline */
  --ink: var(--deep);
  --soft: rgba(36, 16, 26, .72);
  --rule: rgba(36, 16, 26, .18);
  --f-head: "Archivo Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "EB Garamond", Garamond, "Times New Roman", serif;
  --wrap: 76rem;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --gap: clamp(2.5rem, 7vw, 6rem);
  --t0: clamp(1.125rem, 1.06rem + .28vw, 1.3rem);
  --t1: clamp(1.35rem, 1.2rem + .6vw, 1.7rem);
  --t2: clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
  --t3: clamp(2.6rem, 1.5rem + 3.9vw, 5.2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .06 0 0 0 0 .1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
body {
  margin: 0;
  color: var(--ink);
  font: 400 var(--t0)/1.55 var(--f-body);
  font-feature-settings: "onum", "liga";
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
::selection { background: var(--sun); color: var(--deep); }
h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--t3); letter-spacing: -.025em; }
h2 { font-size: var(--t2); }
h3 { font-size: var(--t1); line-height: 1.05; }
p { margin: 0 0 1em; max-width: 36em; text-wrap: pretty; }
.lede { font-size: var(--t1); line-height: 1.35; font-style: italic; color: var(--soft); }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--deep); color: var(--cream); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: .5rem; }

main > * { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
main > * + * { margin-top: var(--gap); }

/* ── ticket: the only red thing on the site ── */
.ticket {
  --notch: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1.05rem/1 var(--f-head);
  letter-spacing: .01em;
  color: var(--cream); background: var(--red);
  padding: .78em 1.35em;
  text-decoration: none;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  transition: background-color .15s ease;
}
.ticket:hover { background: #A92C15; }
.ticket:focus-visible { outline: none; background: var(--deep); box-shadow: inset 0 0 0 3px var(--cream); }
.ticket[aria-busy="true"] { opacity: .7; cursor: progress; }
.ticket-lg { font-size: 1.3rem; --notch: 9px; padding: .85em 1.7em; }

.btn {
  display: inline-block; font: 600 1.05rem/1 var(--f-head); text-decoration: none;
  padding: .8em 1.3em; border-radius: 2px; background: var(--deep); color: var(--cream);
  border: 2px solid var(--deep); margin: 0 .4rem .5rem 0;
}
.btn:hover { background: #3A1C28; }
.btn-line { background: transparent; color: var(--deep); }
.btn-line:hover { background: var(--deep); color: var(--cream); }

.more {
  font: 600 1.15rem/1.2 var(--f-head); text-decoration: none;
  padding: .05em .2em .1em; margin-left: -.2em;
  background: linear-gradient(var(--sun), var(--sun)) 0 100% / 100% 0 no-repeat;
  box-shadow: inset 0 -2px 0 var(--deep);
  transition: background-size .18s ease, color .18s ease;
}
.more:hover, .more:focus-visible { background-size: 100% 100%; color: var(--deep); box-shadow: inset 0 -2px 0 var(--plum); }
.more-light { box-shadow: inset 0 -2px 0 var(--sun); }

/* ── header ── */
.top {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem;
  max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--pad) .6rem;
}
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); justify-content: center; }
.nav a { font: 600 1.1rem/1 var(--f-head); text-decoration: none; padding: .4em 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-color: var(--rule); }
.nav a[aria-current="page"] { border-color: transparent; background: linear-gradient(var(--sun), var(--sun)) 0 78% / 100% .42em no-repeat; }
.top-actions { display: flex; align-items: center; gap: 1rem; }
.lang { font: 600 1rem/1 var(--f-head); text-decoration: none; opacity: .8; }
.lang:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 47.99rem) {
  .top { grid-template-columns: 1fr auto; padding-bottom: 0; }
  .brand img { height: 38px; }
  .nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; gap: 1.4rem; overflow-x: auto; padding-bottom: .3rem; border-top: 1px solid var(--rule); padding-top: .5rem; }
}

/* ── home: hero ── */
.hero { display: grid; gap: 2rem 3.5rem; padding-top: clamp(1rem, 3vw, 2.5rem); }
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
  .hero .arch { max-height: min(76svh, 44rem); }
}
.hero h1 { hyphens: manual; }
.hero h1 span { display: block; }
.hero-act { margin: 1.6rem 0 .8rem; }
.walkin { font-style: italic; color: var(--soft); margin-bottom: .4rem; }
.rating { font-size: 1rem; }
.rating a { text-decoration: none; border-bottom: 1px solid var(--rule); }

.hero-visual { position: relative; }
.arch {
  --off: 12px;
  margin: 0 var(--off) var(--off) 0; overflow: hidden; border-radius: 48% 48% 3px 3px / 30% 30% 3px 3px;
  background: var(--paper); aspect-ratio: 4 / 5;
  /* cut out like the sign: plum keyline, yellow offset, plum again */
  box-shadow: 0 0 0 2px var(--plum), var(--off) var(--off) 0 0 var(--sun), var(--off) var(--off) 0 2px var(--plum);
}
@media (min-width: 60rem) { .arch { --off: 18px; } }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-sm { aspect-ratio: 5 / 6; }

/* ── the almanac: the one loud thing ── */
.hero-visual { display: flex; flex-direction: column; }
.almanac {
  position: relative; z-index: 2; order: -1;
  width: min(23rem, calc(100% - 1.5rem));
  margin: 0 auto -3.2rem;
  background: var(--deep); color: var(--cream);
  padding: 1.1rem 1.35rem 1rem;
  border-radius: 2px;
  transform: rotate(-1.6deg);
  box-shadow: 0 22px 44px -24px rgba(20, 24, 10, .75);
  font-size: 1.05rem; line-height: 1.4;
}
.almanac::before { /* perforated tear along the top */
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 7px;
  background: radial-gradient(circle at 6px 0, #0000 4.5px, var(--deep) 5px) 0 0 / 12px 7px repeat-x;
}
@media (min-width: 60rem) {
  .hero-visual { display: block; }
  .almanac { position: absolute; left: -5rem; bottom: -2.5rem; margin: 0; }
}
.almanac p { max-width: none; }
.alm-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; margin: 0 0 .5rem; font-style: italic; color: var(--sage); }
.alm-title { font-family: var(--f-head); font-style: normal; font-weight: 600; letter-spacing: .02em; color: var(--cream); }
.alm-status { font: 600 1.3rem/1.15 var(--f-head); margin: 0 0 .35rem; display: flex; gap: .55rem; align-items: baseline; }
.alm-dot { flex: none; width: .62rem; height: .62rem; border-radius: 50%; border: 2px solid var(--cream); transform: translateY(-.08em); }
.is-open .alm-dot { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 4px rgba(252, 224, 52, .2), 0 0 16px rgba(252, 224, 52, .6); }
.almanac.is-open { background: #1B5E20; }
.alm-status-note { display: block; font-size: .78em; font-style: italic; opacity: .8; margin-top: .1em; }
.alm-nav { display: flex; align-items: center; gap: .25rem; }
.alm-btn { background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; color: inherit; cursor: pointer; font-size: 1.1em; line-height: 1; padding: .05em .35em; opacity: .75; }
.alm-btn:hover { opacity: 1; border-color: rgba(255,255,255,.55); }
.alm-nav-label { font-size: .65em; letter-spacing: .03em; opacity: .7; text-align: center; min-width: 5rem; }
.alm-prato { margin: 0 0 .2rem; color: var(--cream); }
.alm-prato b { font-weight: 500; }
.alm-sky { display: block; width: 100%; height: auto; margin: .35rem 0 .15rem; overflow: visible; }
.sky-arc { fill: none; stroke: rgba(252, 224, 52, .5); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; }
.sky-horizon { stroke: rgba(255, 255, 255, .32); stroke-width: 1; }
.sky-body { transition: transform 1.6s cubic-bezier(.2, .7, .1, 1); }
.sky-sun { fill: var(--sun); stroke: rgba(252, 224, 52, .24); stroke-width: 9; paint-order: stroke; }
.moon-dark { fill: rgba(255, 255, 255, .14); }
.moon-lit { fill: var(--cream); }
.alm-facts { display: flex; gap: 1.4rem; margin: 0 0 .55rem; }
.alm-facts div { display: flex; gap: .4rem; align-items: baseline; }
.alm-facts dt { font-style: italic; color: var(--sage); }
.alm-facts dd { margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.alm-omen { margin: 0; font-size: .98rem; }
.alm-omen span { font-style: italic; color: var(--sage); }
.alm-omen b { font-weight: 400; }

/* ── home: when ── */
.when { padding-top: clamp(2rem, 6vw, 4rem); }
.when h2 { font-size: var(--t1); }
.when-list { margin: 0; display: grid; border-top: 2px solid var(--deep); }
@media (min-width: 48rem) { .when-list { grid-template-columns: repeat(4, 1fr); } }
.when-row { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .when-row { border-bottom: 0; border-right: 1px solid var(--rule); padding-left: 1rem; } .when-row:first-child { padding-left: 0; } .when-row:last-child { border-right: 0; } }
.when-row dt { font: 600 var(--t1)/1 var(--f-head); margin-bottom: .3rem; }
.now-tag {
  display: inline-block; vertical-align: .3em; margin-left: .25rem;
  font: 600 .82rem/1 var(--f-head); letter-spacing: .01em;
  background: var(--sun); color: var(--deep); padding: .34em .6em .3em; border-radius: 999px;
  box-shadow: 0 0 0 1.5px var(--plum); transform: rotate(-5deg);
}
.now-tag[hidden] { display: none; }
.when-row dd { margin: 0; display: grid; }
.when-days { font-style: italic; color: var(--soft); }
.when-time { font: 500 1.2rem/1.3 var(--f-head); font-variant-numeric: tabular-nums; }
.when-closed { margin-top: .8rem; font-style: italic; color: var(--soft); }

/* ── splits ── */
.split { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 60rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-rev .frame { order: 2; }
  .split-top { align-items: start; }
}
.frame { margin: 0; position: relative; }
.frame > img, .map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--paper); box-shadow: 0 0 0 1px rgba(36, 16, 26, .1); }
.frame-pair .pair-small {
  position: absolute; width: 38%; aspect-ratio: 1; right: -1rem; bottom: -2rem; z-index: 1;
  border-radius: 50%; border: 6px solid var(--sun); object-fit: cover;
  box-shadow: 0 0 0 2px var(--plum), 0 18px 30px -18px rgba(20, 24, 10, .55);
}
.frame-tall > img:first-child { aspect-ratio: 4 / 5; max-height: 42rem; object-position: 50% 22%; }
.map { display: block; }
.split-text > :last-child { margin-bottom: 0; }

/* menu-board rows with dot leaders */
.items { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.items li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: .45rem; padding: .32rem 0; }
.items .n { font-weight: 500; }
.items .dots { border-bottom: 1.5px dotted rgba(44, 52, 24, .38); transform: translateY(-.28em); min-width: 1rem; }
.items .p { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.items .p small { font-size: .82em; color: var(--soft); }
.items .d { grid-column: 1 / -1; font-style: italic; color: var(--soft); font-size: .95em; line-height: 1.35; }

/* ── band ── */
.band {
  max-width: none; background: var(--deep); color: var(--cream);
  display: grid; gap: 0; padding: 0;
}
@media (min-width: 60rem) { .band { grid-template-columns: 3fr 2fr; align-items: center; } }
.band-img { margin: 0; }
.band-img img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.band-text { padding: clamp(2rem, 6vw, 4.5rem) var(--pad); }
.band h2 { color: var(--cream); }
.band a { color: var(--cream); }

/* ── page heads ── */
.page-head { padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.page-head-img { display: grid; gap: 2rem 4rem; align-items: center; }
.page-head-img .arch { max-height: min(70svh, 38rem); }
@media (min-width: 60rem) { .page-head-img { grid-template-columns: 1fr 1fr; } }
.head-act { margin-top: 1.4rem; }
.page-act { text-align: center; }

/* ── menu ── */
.jump {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  padding-block: .7rem; margin-top: 1.5rem !important;
  max-width: none; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.jump::-webkit-scrollbar { display: none; }
.jump a {
  flex: none; font: 600 1rem/1 var(--f-head); text-decoration: none;
  padding: .55em .95em; border: 1.5px solid var(--deep); border-radius: 999px;
}
.jump a:hover, .jump a:focus-visible, .jump a.is-here { background: var(--sun); color: var(--deep); box-shadow: 0 0 0 1px var(--deep); }
.m-lunch { display: grid; gap: 1.5rem 4rem; align-items: center; margin-top: 2.5rem !important; }
@media (min-width: 60rem) { .m-lunch { grid-template-columns: 2fr 3fr; } }
.m-when { font-style: italic; color: var(--soft); }
.m-note { font-style: italic; color: var(--soft); font-size: 1rem; }
.m-sub { font-style: italic; color: var(--soft); margin: -.2rem 0 .4rem; }
.cols { columns: 1; column-gap: 4rem; }
@media (min-width: 52rem) { .cols { columns: 2; } .cols-3 { columns: 2; } }
@media (min-width: 72rem) { .cols-3 { columns: 3; column-gap: 3rem; } }
.msec { break-inside: avoid; padding-top: .6rem; }
.msec h3 { border-top: 2px solid var(--deep); padding-top: .7rem; }
.m-pic { margin: 0 0 .8rem; }
.m-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(36, 16, 26, .1); }
.fixos { display: grid; gap: 1rem 4rem; }
@media (min-width: 48rem) { .fixos { grid-template-columns: 1fr 1fr; } .fixo + .fixo { border-left: 1px solid var(--rule); padding-left: 4rem; } }
.fixo h3 { display: flex; justify-content: space-between; gap: 1rem; }
.fixo h3 .p { font-weight: 500; font-variant-numeric: lining-nums; }
.fixo ol { margin: 0; padding-left: 1.3rem; }
.fixo li { padding: .2rem 0; }
.fixos + .m-note { margin-top: 1.6rem; }
.fixo li::marker { font-family: var(--f-head); color: var(--olive); }

/* reviews marquee */
.reviews { max-width: none; padding-inline: 0; background: var(--deep); color: var(--cream); padding-block: clamp(2.5rem, 7vw, 5rem); overflow: hidden; }
.reviews[hidden] { display: none; }
.rv-head, .rv-all { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.rv-head h2 { color: var(--cream); }
.rv-head p { color: var(--sage); font-style: italic; }
.rv-rows {
  display: grid; gap: 1rem; margin-block: 1.5rem;
  -webkit-mask: linear-gradient(90deg, #0000, #000 6%, #000 94%, #0000);
          mask: linear-gradient(90deg, #0000, #000 6%, #000 94%, #0000);
}
.rv-row { display: flex; gap: 1rem; width: max-content; animation: rv var(--dur, 120s) linear infinite; }
.rv-row-rev { animation-direction: reverse; }
.rv-rows:hover .rv-row, .rv-rows:focus-within .rv-row { animation-play-state: paused; }
@keyframes rv { to { transform: translateX(-50%); } }
.rv {
  flex: none; width: min(22rem, 78vw); margin: 0;
  background: var(--cream); color: var(--deep);
  padding: 1rem 1.15rem .9rem; border-radius: 2px;
  display: flex; flex-direction: column; gap: .5rem;
}
.rv:nth-child(3n+2) { transform: rotate(.6deg); }
.rv:nth-child(3n) { transform: rotate(-.5deg); }
.rv-stars { color: var(--sun); letter-spacing: .14em; font-size: .95rem; text-shadow: 1px 0 var(--plum), -1px 0 var(--plum), 0 1px var(--plum), 0 -1px var(--plum); }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv figcaption { margin-top: auto; font: 600 .95rem/1.2 var(--f-head); }
.rv figcaption time { font: italic 400 .95rem var(--f-body); color: var(--soft); }
.rv-all a { color: var(--cream); }

/* ── private ── */
.facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.6rem 0 0; }
.facts div { display: grid; }
.facts dd { margin: 0; font: 600 var(--t2)/1 var(--f-head); order: 1; font-variant-numeric: lining-nums; }
.facts dt { order: 2; font-style: italic; color: var(--soft); }
.windows table, .hours { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.windows th, .windows td, .hours th, .hours td { text-align: left; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.windows thead th { font: italic 400 1rem var(--f-body); color: var(--soft); border-bottom: 2px solid var(--deep); }
.windows tbody th, .hours th { font: 600 1.15rem var(--f-head); }
.windows td { white-space: nowrap; }
.windows tbody tr:last-child th, .windows tbody tr:last-child td { background: rgba(252, 224, 52, .35); }
.windows + .m-note { margin-top: .9rem; }
/* narrow screens: each window becomes its own block, prices labelled */
@media (max-width: 40rem) {
  .windows thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .windows tr { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  .windows tbody tr:last-child { padding-inline: .6rem; }
  .windows th, .windows td { border: 0; padding: 0; }
  .windows tbody th { grid-column: 1 / -1; }
  .windows td:first-of-type { grid-column: 1 / -1; font-style: italic; color: var(--soft); margin-bottom: .35rem; }
  .windows td + td + td::before, .windows td + td::before { content: attr(data-label) " "; font-style: italic; color: var(--soft); white-space: normal; }
  .windows td + td { display: flex; justify-content: space-between; gap: 1rem; grid-column: 1 / -1; }
}
.hours tr.is-today th, .hours tr.is-today td { background: rgba(252, 224, 52, .55); }
.hours tr.is-today th { padding-left: .6rem; }
.hours tr.is-today td::after { content: " (" attr(data-today) ")"; font-style: italic; color: var(--soft); }
.two { display: grid; gap: 2rem 4rem; }
@media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; } }
.two h2 { font-size: var(--t1); }
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; aspect-ratio: 3 / 4; box-shadow: 0 0 0 1px rgba(36, 16, 26, .1); }
.gallery img:first-child, .gallery img:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 60rem) {
  .gallery { grid-template-columns: 5fr 3fr 3fr; }
  .gallery img:first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery img:last-child { grid-column: 2 / span 2; aspect-ratio: 16 / 9; }
}
.occasions { font: italic 400 var(--t1)/1.35 var(--f-body); max-width: 30em; }
.ask { border-top: 2px solid var(--deep); padding-top: 2rem; }
.ask-act { margin-top: 1.2rem; }

/* ── location ── */
.rules { display: grid; margin: 0; }
.rules div { display: grid; gap: .2rem 2rem; padding: .9rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 48rem) { .rules div { grid-template-columns: 11rem 1fr; } }
.rules dt { font: 600 1.2rem/1.3 var(--f-head); }
.rules dd { margin: 0; max-width: 38em; }
.wide { max-width: none !important; padding: 0 !important; margin-inline: 0; }
.wide img { width: 100%; max-height: 70svh; object-fit: cover; }

/* ── footer ── */
.foot { margin-top: var(--gap); background: var(--deep); color: var(--cream); padding: clamp(2.5rem, 6vw, 4rem) var(--pad) calc(2rem + env(safe-area-inset-bottom)); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 2rem 3rem; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot h2 { font-size: 1.05rem; color: var(--sage); font-family: var(--f-body); font-style: italic; font-weight: 400; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .15rem 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.palm { width: 3.2rem; height: auto; margin: 0 0 .9rem -.3rem; transform: rotate(-7deg); }
.foot-line { font: 600 var(--t1)/1.15 var(--f-head); max-width: 18em; }
.foot-addr { color: var(--sage); }
.foot-legal { max-width: var(--wrap); margin: 2.5rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .22); display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.foot :focus-visible, .band :focus-visible, .reviews :focus-visible, .consent :focus-visible { outline-color: var(--sun); }

/* ── dock (mobile book) ── */
.dock {
  position: fixed; z-index: 20; left: 50%; bottom: calc(.9rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 180%); transition: transform .28s cubic-bezier(.2, .7, .1, 1);
  font-size: 1.2rem; padding: .85em 2.2em; box-shadow: 0 10px 30px -10px rgba(20, 24, 10, .6);
}
.dock.is-shown { transform: translate(-50%, 0); }
@media (min-width: 60rem) { .dock { display: none; } }

/* ── consent slip ── */
.consent {
  position: fixed; z-index: 30; left: 50%; bottom: calc(.8rem + env(safe-area-inset-bottom));
  transform: translateX(-50%) rotate(-.6deg);
  width: min(34rem, calc(100% - 1.6rem));
  background: var(--deep); color: var(--cream);
  padding: 1rem 1.2rem .6rem; border-radius: 2px;
  box-shadow: 0 18px 40px -18px rgba(20, 24, 10, .7);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .6rem; max-width: none; }
.consent a { color: var(--cream); }
.consent .btn { background: var(--cream); color: var(--deep); border-color: var(--cream); padding: .6em 1.2em; }
.consent .btn:hover { background: var(--sun); border-color: var(--sun); }
.linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.linkish:hover { text-decoration: underline; }

/* ── 404 ── */
.lost { display: grid; gap: 2rem 4rem; align-items: center; min-height: 100svh; padding-block: 3rem; }
@media (min-width: 60rem) { .lost { grid-template-columns: 2fr 3fr; } }
.lost h1 { font-size: var(--t2); }
.lost h2 { margin-top: 2.5rem; font-size: var(--t1); }

/* ── iOS Safari fixes ─────────────────────────────────────────── */
/* GPU-promote the masked marquee container so the animation composites in hardware */
.rv-rows { transform: translateZ(0); }
.rv-row { will-change: transform; }

/* Promote dock and consent to own compositor layers — prevents URL-bar jump artifacts */
.dock { will-change: transform; }
.consent { will-change: transform; }

/* Promote the rotated almanac slip to GPU — avoids complex-shadow repaint on scroll */
.almanac { will-change: transform; }

/* Remove iOS 300 ms tap delay on interactive elements */
a, button, .ticket, .btn, .more, .jump a, .nav a, .linkish { touch-action: manipulation; }

/* Promote the sticky jump bar's blur to GPU so it doesn't repaint on scroll */
.jump { -webkit-transform: translateZ(0); transform: translateZ(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv-rows { -webkit-mask: none; mask: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .rv { scroll-snap-align: start; transform: none !important; }
  .rv-row [aria-hidden="true"] { display: none; }
}
