/* Sturman's. Type and colour come from their own things:
   the weekly bill they post (Libre Baskerville capitals, burgundy and parchment for Garden City, bottle green and gold for Eagle),
   the event posters (tall condensed gothic capitals) and the roadside letter board (black letters on a white face). */

:root {
  --esp: #17100b;
  --esp2: #1f1610;
  --black: #0d0a08;
  --bone: #f3e8d2;
  --bone2: #d6c8ad;
  --ink: #1a100b;
  --gold: #d6ab5a;
  --gold2: #b98b3d;
  --copper: #cf8a4d;
  --parch: #ecdcba;
  --gc: #15120e;
  --gc2: #0f0d0a;
  --gc-ink: #1c2b21;
  --box: #1a3122;
  --box2: #12241a;
  --eg: #17291d;
  --eg2: #0f1d15;
  --dt: #2e1b0f;
  --dt2: #211308;
  --face: #f7f2e4;
  --rail: #d8d0bc;
  --letter: #151110;
  --red: #1f5638;
  --room: var(--gc);
  --line: rgba(243, 232, 210, 0.24);
  --pad: max(clamp(16px, 4vw, 64px), calc((100vw - 96rem) / 2), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --disp: 'League Gothic', 'Arial Narrow', 'Helvetica Neue Condensed', Impact, sans-serif;
  --text: 'Libre Baskerville', Baskerville, 'Times New Roman', serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12h18M12.5 4.5 20 12l-7.5 7.5' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='square'/%3E%3C/svg%3E");
}
body[data-room="eagle"] { --room: var(--eg); }
body[data-room="downtown"] { --room: var(--dt); }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, min(0.83vw, 1.5vh), 24px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.2rem; }
body { margin: 0; background: var(--esp); color: var(--bone); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.7rem 1rem; border-radius: 3px; font-weight: 700; }
.skip:focus { top: 1rem; }
/* their logo: the coin with the name arched over it, CIGARS underneath as on their weekly bill */
.brand-name { padding-top: 0.08em; font: 400 1.5rem/1 var(--text); color: var(--bone); }
.badge { display: block; width: 100%; height: auto; overflow: visible; }
.badge-disc { fill: none; }
.badge .arc-top { font: 400 36px var(--text); fill: var(--bone); }
.badge .arc-bot { font: 700 15px var(--text); letter-spacing: 0.24em; fill: var(--bone); }
i { font-style: normal; }
::selection { background: var(--gold); color: var(--ink); }
/* a little print grain over everything, on screens with a mouse only */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; background-size: 240px 240px; opacity: 0.4; }

/* buttons: the poster face in a small radius rectangle. Under a pointer the colour wipes across and the arrow steps forward. */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 3.1rem; padding: 0.14em 1.3rem 0; border: 1.5px solid transparent; border-radius: 4px; font: 400 1.3rem/1 var(--disp); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), scale 0.15s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--wipe, transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.btn:active { scale: 0.98; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); --wipe: var(--ink); --over: var(--gold); }
.btn-line { background: transparent; border-color: rgba(243, 232, 210, 0.55); color: var(--bone); --wipe: var(--bone); --over: var(--ink); }
.btn-wine { background: var(--box); border-color: var(--box); color: var(--parch); --wipe: var(--ink); --over: var(--parch); }
.go::after, .out::after { content: ''; flex: none; width: 0.7em; height: 0.7em; margin-top: -0.14em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: translate 0.3s var(--ease); }
.out::after { rotate: -45deg; }
@media (hover: hover) {
  .btn:hover { color: var(--over); }
  .btn:hover::before { transform: scaleX(1); }
  .btn-line:hover { border-color: var(--bone); }
  .btn-wine:hover { border-color: var(--ink); }
  .go:hover::after { translate: 0.22em 0; }
  .out:hover::after { translate: 0.14em -0.14em; }
}

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem var(--pad); transition: background-color 0.35s, box-shadow 0.35s; }
.top.stuck { background: var(--black); box-shadow: 0 1px 0 rgba(243, 232, 210, 0.14); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; text-decoration: none; color: var(--gold); position: relative; z-index: 2; }
.brand img { display: block; width: 2.5rem; height: 2.5rem; }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.7vw, 2rem); }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 700 0.75rem/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--bone); }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.6rem; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:not(.btn):hover::after { transform: none; }
.nav .nav-cta { min-height: 2.75rem; padding-inline: 1.1rem; font-size: 1.2rem; }
.menu-btn { display: none; position: relative; z-index: 2; min-height: 2.75rem; padding: 0.14em 0.95rem 0 calc(0.95rem + 1.5em); background: transparent; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(243, 232, 210, 0.55); font: 400 1.25rem/1 var(--disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); cursor: pointer; }
.menu-btn::before, .menu-btn::after { content: ''; position: absolute; left: 0.95rem; top: calc(50% - 1px); width: 1em; height: 2px; background: currentColor; transition: translate 0.3s var(--ease), rotate 0.3s var(--ease); }
.menu-btn::before { translate: 0 -0.2em; }
.menu-btn::after { translate: 0 0.2em; }
.menu-open .menu-btn::before { translate: 0 0; rotate: 45deg; }
.menu-open .menu-btn::after { translate: 0 0; rotate: -45deg; }

/* TONIGHT: the letter board, a film of the room it is showing, and the ground in that room's colour.
   Upright screens stack it: headline, sign, then the film edge to edge. Wide screens set the film beside the sign. */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0.8rem; padding: 4.3rem var(--pad) 1.4rem; background: var(--room); transition: background-color 0.8s var(--ease); }
.hero-head { grid-column: 1; grid-row: 1; position: relative; container-type: inline-size; }
.hero h1 { font: 400 min(14.4cqw, 8.4svh)/0.92 var(--disp); letter-spacing: 0.012em; text-transform: uppercase; color: var(--bone); }
.hero h1 span { display: block; }
/* the second line of the headline goes all in: the poster face, in gold */
.hero-sub { margin-top: 0.3rem; font: 400 min(8.6cqw, 5svh)/0.95 var(--disp); letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); }
.hero-sub br { display: none; }
.hero-sub .more { display: none; }
@container (min-width: 30rem) {
  .hero h1 { font-size: 11.3cqw; }
  .hero h1 br { display: none; }
  .hero-sub { position: absolute; right: 0; bottom: 1.1cqw; margin: 0; font-size: 4.9cqw; white-space: nowrap; }
  .hero-sub br { display: inline; }
}
.hero > .sign { grid-column: 1; grid-row: 2; }
.hero-film { grid-column: 1; grid-row: 3; position: relative; margin: 0.5rem calc(var(--pad) * -1) 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); }
.hf { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s var(--ease); }
.hf.on { opacity: 1; }
.hero-cap { display: flex; flex-direction: column; gap: 0.15rem; position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 88%; padding: 0.7rem 1rem 0.75rem; background: var(--black); }
.hero-cap b { font: 400 1.9rem/1 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.hero-cap span { font-size: 0.92rem; line-height: 1.35; font-style: italic; color: var(--bone); }
.hero-foot { grid-column: 1; grid-row: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.hero-foot .btn { flex: 1 1 9.5rem; }
@media (min-width: 600px) { .hero-film { aspect-ratio: 16 / 10; } }

/* the sign: black cabinet, script on the top strip, white face with letter tracks, three riders underneath */
.sign { container-type: inline-size; position: relative; background: var(--black); padding: 0.5rem; border-radius: 4px; box-shadow: 0 1.5rem 2.4rem -1.3rem rgba(0, 0, 0, 0.75); }
.sign-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.05rem 0.55rem 0.3rem; color: var(--gold); }
.sign-top .sign-name { font: 400 clamp(1.3rem, 5.4cqw, 2.1rem)/1.3 var(--text); }
.sign-tag { font: 700 0.75rem/1.4 var(--text); letter-spacing: 0.17em; text-transform: uppercase; text-align: right; white-space: nowrap; }
.sign-tag span { display: block; }
@container (max-width: 31rem) { .sign-tag { display: none; } .sign-top { justify-content: center; } }
.sign-tag i { opacity: 0.65; margin: 0 0.1em; }
.board { background: var(--face); border-radius: 2px; padding: 1.3cqw 0; }
.board .row { display: flex; align-items: center; height: 1.2em; padding: 0 0.36em; font: 400 11.4cqw/1 var(--disp); letter-spacing: 0.035em; text-transform: uppercase; white-space: nowrap; overflow: hidden; color: var(--letter);
  background: linear-gradient(var(--rail), var(--rail)) 0 0.07em / 100% 2px no-repeat, linear-gradient(var(--rail), var(--rail)) 0 calc(100% - 0.07em) / 100% 2px no-repeat; }
.board .row.red { color: var(--red); }
.board .lt { display: inline-block; flex: none; margin-right: 0.045em; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); }
.board .sp { display: inline-block; flex: none; width: 0.3em; }
.board .lt.set { animation: letter 0.34s var(--ease) both; animation-delay: calc(var(--i) * 22ms); }
@keyframes letter {
  from { opacity: 0; transform: translate(-0.55em, var(--y, 0)) rotate(var(--r, 0deg)); }
  60% { opacity: 1; transform: translate(0.05em, var(--y, 0)) rotate(var(--r, 0deg)); }
  to { opacity: 1; transform: translate(0, var(--y, 0)) rotate(var(--r, 0deg)); }
}
.riders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.3rem; margin-top: 0.35rem; }
.rider { display: grid; align-content: center; gap: 0.2rem; min-height: 54px; padding: 0.5rem 0.6rem 0.55rem; background: #211912; border: 0; border-radius: 2px; text-align: left; color: var(--bone); cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.rider b { font: 400 clamp(1.1rem, 5.1cqw, 2rem)/1 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.rider span { font: 400 clamp(0.75rem, 2.3cqw, 0.9rem)/1.25 var(--text); color: var(--bone2); }
.rider span.open { color: var(--gold); }
.rider:hover { background: #2e241a; }
.rider[aria-pressed="true"] { background: var(--face); color: var(--letter); }
.rider[aria-pressed="true"] span { color: #5b4b3c; }
.rider[aria-pressed="true"] span.open { color: #7a4f10; }
.hold { flex: none; margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 0.2rem; white-space: nowrap; background: none; border: 0; font: 400 0.82rem/1 var(--text); font-style: italic; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(243, 232, 210, 0.5); color: var(--bone2); cursor: pointer; }
.hold:hover { color: var(--bone); }

/* the coin: flip it and the sign shows the room it picked */
.flip { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 60px; padding: 0.2rem 0.9rem 0.2rem 0.2rem; background: var(--black); border: 0; border-radius: 3px; color: var(--bone); cursor: pointer; }
.flip-coin { display: block; width: 3.5rem; height: 3.5rem; perspective: 30rem; }
.flip-coin img { display: block; width: 100%; height: 100%; }
.flip.go .flip-coin img { animation: toss 1.25s cubic-bezier(0.3, 0.1, 0.25, 1); }
@keyframes toss {
  0% { transform: translateY(0) rotateX(0); }
  45% { transform: translateY(-2.6rem) rotateX(900deg); }
  100% { transform: translateY(0) rotateX(1800deg); }
}
.flip-text { font-size: 0.9rem; line-height: 1.3; text-align: left; }
/* in the sign the coin is one more rider, right under the three rooms it chooses between */
.sign .flip { display: flex; justify-content: center; width: 100%; min-height: 50px; margin-top: 0.3rem; padding: 0.15rem 0.8rem; background: #211912; border-radius: 2px; transition: background-color 0.25s; }
.sign .flip:hover { background: #2e241a; }
.sign .flip-coin { width: 2.5rem; height: 2.5rem; }
.sign .flip-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5em; }
.sign .flip-text b { display: inline; }
/* a short phone: the name strip on the sign gives way so the whole sign, coin included, stays in the first screen */
@media (max-width: 599px) and (max-height: 600px) {
  .hero h1 { font-size: min(14.4cqw, 7.3svh); }
  .hero-sub { font-size: min(8.6cqw, 4.2svh); }
  .sign-top { display: none; }
  .sign .flip { min-height: 44px; }
  .sign .flip-coin { width: 2.2rem; height: 2.2rem; }
}
.flip-text b { display: block; font: 400 1.45rem/1 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }

@media (min-width: 960px) and (min-aspect-ratio: 11/10) {
  .hero { grid-template-columns: minmax(0, min(58%, 72vh)) minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: clamp(1.5rem, 3.2vw, 4rem); row-gap: clamp(0.7rem, 1.6vh, 1.1rem); align-content: center; min-height: 100vh; min-height: 100svh; padding: clamp(5rem, 11vh, 6.5rem) var(--pad) clamp(1.2rem, 3vh, 2.2rem); }
  .hero-film { grid-column: 2; grid-row: 1 / 4; margin: 0; aspect-ratio: auto; border-radius: 3px; }
  .hero-film::after { content: ''; position: absolute; inset: 0.55rem; border: 1px solid rgba(214, 171, 90, 0.55); border-radius: 1px; pointer-events: none; }
  .hero-cap { left: 0.55rem; bottom: 0.55rem; max-width: calc(100% - 1.1rem); }
  .hero h1 { font-size: min(11.3cqw, 10.4vh); }
  .hero-sub { bottom: min(1.1cqw, 1vh); font-size: min(4.9cqw, 4.5vh); }
  .hero-foot { grid-row: 3; flex-wrap: nowrap; container-type: inline-size; }
  .hero-foot .btn { flex: none; }
  @container (max-width: 39rem) { #goMap .wide { display: none; } }
}

/* section headings: the poster face */
.week h2, .programs h2, .feed h2, .said h2, .events h2, .shop h2, .visit h2 { font: 400 clamp(3rem, 8.4vw, 7.6rem)/0.92 var(--disp); letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.lead { font-size: 1.14rem; line-height: 1.6; }

/* THIS WEEK: their bill, typeset live */
.week { position: relative; padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(3.5rem, 7vw, 6.5rem); background: var(--esp); }
.week-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4.5vw, 4rem); }
.week-head h2 { max-width: 11em; }
.week-head p { max-width: 33rem; color: var(--bone2); }
/* the tabs choose the location for both calendars and for the sign at the top of the page */
.week-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; max-width: 46rem; margin: 0 auto clamp(1.8rem, 3.4vw, 3rem); }
.week-tabs button, .week-pick button { min-height: 3.1rem; padding: 0.14em 0 0; background: transparent; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(243, 232, 210, 0.5); font: 400 1.5rem/1 var(--disp); letter-spacing: 0.05em; text-transform: uppercase; color: var(--bone); cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.week-tabs button[aria-pressed="true"] { background: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--ink); }
.week-pick { display: none; }
.week-pick button { min-height: 2.75rem; font-size: 1.25rem; }
.week-pick button[aria-pressed="true"] { background: var(--bone); box-shadow: inset 0 0 0 1.5px var(--bone); color: var(--ink); }
.bills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: start; max-width: 80rem; margin-inline: auto; }
.bill { container-type: inline-size; position: relative; padding: clamp(1rem, 2vw, 1.8rem) clamp(0.9rem, 2.4vw, 2.2rem) clamp(1.3rem, 2.4vw, 2rem); border-radius: 3px; text-align: center; color: var(--parch); box-shadow: 0 2.2rem 3rem -1.8rem rgba(0, 0, 0, 0.85); }
.bill-gc { background: var(--box); }
.bill-eg { background: var(--eg); }
.bills .bill:first-child { rotate: -1.1deg; }
.bills .bill:last-child { rotate: 0.8deg; margin-top: clamp(1rem, 3vw, 3rem); }
.bill-usual { margin: -0.6em 0 1.1em; font-size: clamp(0.78rem, 2.7cqw, 0.92rem); font-style: italic; color: var(--bone2); }
.bill-usual[hidden], .bill-hh[hidden] { display: none; }
.bill-eg::before { content: ''; position: absolute; inset: 0.55rem; border: 1px solid rgba(214, 171, 90, 0.6); border-radius: 1px; pointer-events: none; }
.bill-coin { display: block; width: min(46cqw, 13.5rem); height: auto; margin: 0 auto -0.4rem; }
.bill-coin .arc-top { font: 400 31px var(--text); fill: var(--parch); }
.bill-coin .arc-bot { font: 700 14px var(--text); letter-spacing: 0.3em; fill: var(--parch); }
.bill-title { font: 700 clamp(1rem, 5.05cqw, 2.1rem)/1.16 var(--text); letter-spacing: 0.055em; text-transform: uppercase; }
.bill-title span { display: block; }
.bill-title .ruled { display: flex; align-items: center; justify-content: center; gap: 0.6em; }
.bill-title .ruled::before, .bill-title .ruled::after { content: ''; flex: 1 1 0; height: 1px; background: var(--copper); }
.bill-dates { margin: 0.7em 0 1.15em; font: 700 clamp(0.75rem, 2.9cqw, 1.02rem)/1.2 var(--text); letter-spacing: 0.28em; text-transform: uppercase; color: var(--copper); }
.bill-eg .bill-dates { color: var(--gold); }
.bill-rows { position: relative; text-align: left; font-size: clamp(0.84rem, 3.35cqw, 1.1rem); }
.bill-rows li { position: relative; display: grid; grid-template-columns: 4.3em minmax(0, 1fr); align-items: center; min-height: 4.1em; padding: 0.55em 0; }
.bill-rows .d { display: grid; justify-items: center; gap: 0.12em; padding-right: 0.6em; border-right: 1px solid currentColor; }
.bill-rows .d span { font: 700 max(0.74em, 0.75rem)/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; }
.bill-rows .d b { font: 700 1.8em/0.95 var(--text); }
.bill-rows .e { display: grid; gap: 0.16em; padding: 0 0.4em 0 1.1em; }
.bill-rows .e b { font: 700 1em/1.25 var(--text); letter-spacing: 0.07em; text-transform: uppercase; }
.bill-rows .e span { font-size: 0.92em; line-height: 1.3; }
.bill-gc .bill-rows { padding: 0.25rem clamp(0.6rem, 5cqw, 2.2rem) 1.6rem; background: radial-gradient(130% 100% at 50% 35%, #f2e4c5 0%, #ead7b2 62%, #dcc69a 100%); border-radius: 2px; color: var(--gc-ink); }
.bill-gc .bill-rows li + li { border-top: 1px solid rgba(170, 104, 62, 0.6); }
.bill-gc .bill-rows .d { border-right-color: rgba(170, 104, 62, 0.6); }
.bill-eg .bill-rows { margin: 0 clamp(0rem, 2.5cqw, 1rem); border: 1px solid var(--gold2); background: #1b120b; }
.bill-eg .bill-rows li { padding-inline: 0.5em; }
.bill-eg .bill-rows li + li { border-top: 1px solid var(--gold2); }
.bill-eg .bill-rows .d { border-right-color: rgba(214, 171, 90, 0.5); }
.bill-eg .bill-rows .d b { color: var(--gold); }
.bill-eg .bill-rows .e span { font-style: italic; }
.bill-rows li.past { opacity: 0.68; }
.bill-gc .bill-rows li.today { margin: 0 calc(clamp(0.6rem, 5cqw, 2.2rem) * -1); padding-inline: clamp(0.6rem, 5cqw, 2.2rem); background: var(--box); color: var(--parch); border-top-color: transparent; }
.bill-gc .bill-rows li.today + li { border-top-color: transparent; }
.bill-gc .bill-rows li.today .d { border-right-color: rgba(236, 220, 186, 0.5); }
.bill-eg .bill-rows li.today { background: var(--gold); color: var(--ink); }
.bill-eg .bill-rows li.today .d { border-right-color: rgba(26, 16, 11, 0.45); }
.bill-eg .bill-rows li.today .d b { color: var(--ink); }
.stamp { position: absolute; right: 0.7em; top: 50%; padding: 0.2em 0.5em 0.12em; border: 2px solid currentColor; border-radius: 3px; font: 400 1.55em/1 var(--disp); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); translate: 0 -50%; rotate: -7deg; }
.bill-eg .stamp { color: var(--ink); }
.bill.in .stamp { animation: thunk 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
@keyframes thunk { from { opacity: 0; scale: 1.9; } to { opacity: 1; scale: 1; } }
.bill-hh { position: relative; display: grid; gap: 0.25em; width: fit-content; max-width: 100%; margin: -1.25rem auto 0; padding: 0.55em 1.5em 0.6em; font-size: clamp(0.84rem, 3.35cqw, 1.1rem); }
.bill-hh b { font: 700 1.55em/1.1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.bill-hh span { font: 700 max(0.76em, 0.75rem)/1.3 var(--text); letter-spacing: 0.16em; text-transform: uppercase; }
.bill-gc .bill-hh { background: var(--box2); border: 1.5px solid var(--parch); border-radius: 3px; box-shadow: 0 0 0 4px var(--box2); }
.bill-eg .bill-hh { margin-top: 1.1rem; padding-inline: 0; }
.bill-eg .bill-hh span { color: var(--gold); }
.bill-addr { margin-top: 1rem; font-size: 0.82rem; color: var(--bone2); }
.bill-addr a { text-decoration-color: rgba(214, 171, 90, 0.7); text-underline-offset: 0.2em; }
.week-note { max-width: 80rem; margin: clamp(2.2rem, 4vw, 3.4rem) auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-style: italic; color: var(--bone2); }

/* PROGRAMS: one green box per club, the day and hour set large like a poster date */
.programs { padding: clamp(3.5rem, 8vw, 7rem) var(--pad); background: var(--black); border-top: 1px solid var(--line); }
.prog-head { display: grid; gap: 1rem; margin-bottom: clamp(1.8rem, 4vw, 3.4rem); }
.prog-head p { max-width: 30rem; color: var(--bone2); }
.prog { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); max-width: 72rem; padding: clamp(1.8rem, 4vw, 3.6rem) clamp(1.5rem, 4.5vw, 4.5rem); background: var(--box); border-radius: 3px; box-shadow: 0 2.2rem 3rem -1.8rem rgba(0, 0, 0, 0.85); }
.prog::before { content: ''; position: absolute; inset: 0.55rem; border: 1px solid rgba(214, 171, 90, 0.6); border-radius: 1px; pointer-events: none; }
.prog-when { display: grid; justify-items: center; text-align: center; color: var(--gold); text-transform: uppercase; }
.prog-when span { font: 700 0.86rem/1.3 var(--text); letter-spacing: 0.28em; }
.prog-when b { font: 400 clamp(4.6rem, 11vw, 9.5rem)/0.9 var(--disp); letter-spacing: 0.02em; padding-top: 0.08em; }
.prog-body h3 { font: 400 clamp(2.2rem, 4.6vw, 4rem)/0.95 var(--disp); letter-spacing: 0.02em; text-transform: uppercase; color: var(--bone); }
.prog-body .lead { max-width: 36rem; margin-top: 0.9rem; }
.prog-meta { margin-top: 1rem; font: 700 0.78rem/1.6 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.prog-meta i { margin: 0 0.3em; opacity: 0.7; }
.prog-acts { position: relative; margin-top: 1.4rem; }
@media (max-width: 700px) { .prog { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } .prog-when { justify-items: start; text-align: left; } }
.feed-rev { display: inline-flex; align-items: center; min-height: 44px; }
.said-src a { color: var(--bone); text-decoration-color: var(--gold); text-underline-offset: 0.2em; }

/* THE ROOMS: each takes its own colour and its own layout */
.room { position: relative; padding: clamp(3.5rem, 8vw, 7.5rem) var(--pad) clamp(3.5rem, 8vw, 7rem); overflow: clip; }
.room-gc { background: var(--gc); }
.room-eg { background: var(--eg); padding-top: calc(clamp(3.5rem, 8vw, 7.5rem) + 2 * var(--sq)); --sq: 28px; }
.room-dt { background: var(--dt); }
.room-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.8rem 2rem; padding-bottom: clamp(1rem, 2vw, 1.7rem); margin-bottom: clamp(1.8rem, 4vw, 3.6rem); border-bottom: 1px solid var(--line); }
.room-head h2 { margin-bottom: -0.07em; font: 400 clamp(4.4rem, 17vw, 15rem)/0.84 var(--disp); letter-spacing: 0.005em; text-transform: uppercase; white-space: nowrap; }
.room-meta { display: grid; gap: 0.3rem; padding-bottom: 0.35rem; text-align: right; }
.room-kind { font: 700 0.82rem/1.3 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.room-what { font-size: 1rem; line-height: 1.4; }
.room-now { font-size: 0.95rem; font-style: italic; color: var(--bone2); }
.room-now.open { color: var(--gold); }
.room-copy { display: grid; gap: 1.3rem; align-content: start; }
.room-copy h3 { font: 400 clamp(2.3rem, 4.4vw, 4rem)/0.95 var(--disp); letter-spacing: 0.012em; text-transform: uppercase; text-wrap: balance; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.5; }
.facts dt { margin-bottom: 0.25rem; font: 700 0.75rem/1.2 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.facts a { text-decoration-color: rgba(214, 171, 90, 0.7); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.facts a:hover { color: var(--gold); }
.room-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.shot-media { overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, 0.25); }
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; }
.rail { display: contents; }
.rail .extra, .rail-bar, .only-phone, .sm { display: none; }
.shot figcaption, .sign-fixed figcaption { margin-top: 0.6rem; font-size: 0.86rem; line-height: 1.4; font-style: italic; color: var(--bone2); }

.gc-grid, .eg-grid, .dt-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 2.6rem); align-items: start; }
.sign-fixed { grid-column: 1 / 7; }
.sign-fixed .sign { rotate: -1.4deg; }
.sign-fixed .board .row { font-size: 15.5cqw; }
.sign-fixed figcaption { margin-top: 1.1rem; }
.gc-copy { grid-column: 1 / 7; }
.gc-live { grid-column: 8 / 13; grid-row: 1 / 3; }
.gc-live .shot-media { aspect-ratio: 3 / 4; }
.gc-a { grid-column: 1 / 4; }
.gc-a .shot-media { aspect-ratio: 4 / 5; }
.gc-b { grid-column: 4 / 9; margin-top: clamp(1.5rem, 4vw, 4rem); }
.gc-b .shot-media { aspect-ratio: 4 / 3; }
.gc-c { grid-column: 9 / 12; margin-top: clamp(-5rem, -5vw, -2rem); }
.gc-c .shot-media { aspect-ratio: 1 / 1; }

/* one moving line in the whole site: what the patio has */
.ticker { margin: clamp(2.5rem, 6vw, 5rem) calc(var(--pad) * -1) 0; padding: 0.7rem 0 0.5rem; border-block: 1px solid var(--line); overflow: hidden; }
.ticker-run { display: flex; width: max-content; animation: run 44s linear infinite; }
.ticker-run span { flex: none; font: 400 clamp(2rem, 4.8vw, 4.2rem)/1 var(--disp); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.ticker-run i { margin: 0 0.28em; color: var(--gold); }
@keyframes run { to { transform: translateX(-50%); } }

/* Eagle: the checkered floor runs along the top edge */
.checker { position: absolute; inset: 0 0 auto 0; height: calc(2 * var(--sq)); background: conic-gradient(#0f0c0a 25%, #efe6d4 0 50%, #0f0c0a 0 75%, #efe6d4 0) 0 0 / calc(2 * var(--sq)) calc(2 * var(--sq)); }
.eg-film { grid-column: 1 / 9; }
.eg-film .shot-media { aspect-ratio: 4 / 3; }
.eg-copy { grid-column: 9 / 13; }
.eg-copy .facts { grid-template-columns: minmax(0, 1fr); }
.eg-a { grid-column: 1 / 4; }
.eg-b { grid-column: 4 / 7; margin-top: clamp(1.5rem, 3.4vw, 3.4rem); }
.eg-c { grid-column: 7 / 10; }
.eg-d { grid-column: 10 / 13; margin-top: clamp(1.5rem, 3.4vw, 3.4rem); }
.eg-a .shot-media, .eg-b .shot-media, .eg-c .shot-media, .eg-d .shot-media { aspect-ratio: 3 / 4; }

/* Downtown: the window, then the shelf */
.dt-window { grid-column: 1 / 8; grid-row: 1 / 3; }
.dt-window .shot-media { aspect-ratio: 4 / 5; }
.dt-copy { grid-column: 8 / 13; }
.dt-film { grid-column: 8 / 13; }
.dt-film .shot-media { aspect-ratio: 16 / 9; }
.shelf { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; margin-top: clamp(0.5rem, 2vw, 2rem); padding: 0.6rem 0.6rem 0; background: var(--dt2); border-bottom: 0.7rem solid #150b04; border-radius: 3px 3px 0 0; }
.shelf img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px 2px 0 0; }

/* SEEN AT STURMAN'S: their photos drift past on their own */
.feed { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--esp); }
.feed-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; padding: 0 var(--pad); margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.feed-head p { max-width: 26rem; color: var(--bone2); }
.feed-head a { color: var(--bone); text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.feed-head a:hover { color: var(--gold); }
.strip { overflow: hidden; padding: 0.8rem 0 1.4rem; }
.strip-run { display: flex; gap: 0.9rem; width: max-content; animation: run 90s linear infinite; }
.strip:hover .strip-run, .strip:focus-visible .strip-run { animation-play-state: paused; }
.strip li { flex: none; height: clamp(13rem, 25vw, 21rem); }
.strip li:nth-child(odd) { rotate: -1deg; }
.strip li:nth-child(even) { rotate: 0.9deg; translate: 0 0.5rem; }
.strip li:nth-child(3n) { rotate: 0.4deg; translate: 0 -0.3rem; }
.strip li { transition: rotate 0.4s var(--ease), scale 0.4s var(--ease); }
.strip li:hover { rotate: 0deg; scale: 1.03; }
.strip img { display: block; width: auto; height: 100%; border-radius: 3px; }

/* reviews */
.said { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 3rem) clamp(1.1rem, 2.4vw, 2.6rem); padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(4rem, 8vw, 7rem); background: var(--esp); border-top: 1px solid var(--line); }
.said h2 { grid-column: 1 / 6; font-size: clamp(2.6rem, 6vw, 5.4rem); }
.said-big { grid-column: 6 / 13; }
.said-big blockquote { font-size: clamp(1.5rem, 3.1vw, 2.9rem); line-height: 1.25; text-wrap: balance; }
.said figcaption { margin-top: 0.8rem; font: 700 0.75rem/1.3 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.said-row { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 2.6rem); }
.said-row figure { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.said-row blockquote { font-size: 1rem; line-height: 1.55; }
.said-src { grid-column: 1 / 13; font-style: italic; color: var(--bone2); }

/* private events: a request card on the bill's parchment */
.events { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem) clamp(1.1rem, 2.4vw, 2.6rem); align-items: start; padding: clamp(4rem, 9vw, 8rem) var(--pad); background: var(--black); }
.events-copy { grid-column: 1 / 7; display: grid; gap: 1.4rem; }
.events-copy .lead { max-width: 30rem; color: var(--bone2); }
.events-direct { display: grid; gap: 0; max-width: 26rem; margin-top: 0.6rem; }
.events-direct li:first-child { padding-bottom: 0.5rem; font-style: italic; color: var(--bone2); }
.events-direct a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; border-top: 1px solid var(--line); text-decoration: none; }
.events-direct li:last-child a { border-bottom: 1px solid var(--line); }
.events-direct a span { font: 400 1.5rem/1 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; }
.events-direct a b { font-weight: 400; font-variant-numeric: lining-nums; }
.events-direct a:hover { color: var(--gold); }
.card { grid-column: 8 / 13; display: grid; gap: 1.05rem; padding: clamp(1.3rem, 2.6vw, 2.4rem); background: radial-gradient(130% 100% at 50% 35%, #f2e4c5 0%, #ead7b2 62%, #dcc69a 100%); border-radius: 3px; color: var(--gc-ink); rotate: 0.7deg; box-shadow: 0 2.2rem 3rem -1.8rem rgba(0, 0, 0, 0.9); }
.card-top { display: flex; align-items: center; gap: 0.8rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(170, 104, 62, 0.6); font: 700 1.05rem/1.2 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.card-top img { display: block; width: 2.8rem; height: 2.8rem; }
.card label, .card legend { display: grid; gap: 0.35rem; font: 700 0.75rem/1.3 var(--text); letter-spacing: 0.16em; text-transform: uppercase; }
.card legend { margin-bottom: 0.5rem; }
.card input[type="text"], .card input[type="email"], .card textarea { width: 100%; min-height: 48px; padding: 0.6rem 0.1rem; background: transparent; border: 0; border-bottom: 1.5px solid var(--gc-ink); border-radius: 0; font: 400 1.05rem/1.4 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); }
.card textarea { resize: vertical; min-height: 6.5rem; }
.card input:focus-visible, .card textarea:focus-visible { outline: 2px solid var(--box); outline-offset: 3px; }
.card fieldset { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.card fieldset legend { float: left; width: 100%; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: flex; align-items: center; min-height: 2.9rem; padding: 0.14em 1rem 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--gc-ink); font: 400 1.25rem/1 var(--disp); letter-spacing: 0.06em; text-transform: uppercase; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.pick input:checked + span { background: var(--box); color: var(--parch); box-shadow: inset 0 0 0 1.5px var(--box); }
.pick input:focus-visible + span { outline: 2px solid var(--box); outline-offset: 3px; }
.form-note { min-height: 1.4em; font-size: 0.88rem; font-style: italic; }

/* merch */
.shop { padding: clamp(4rem, 8vw, 7rem) var(--pad); background: var(--esp); }
.shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 2.6rem); }
.item { display: block; text-decoration: none; }
.item-img { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 3px; background: #efe9dd; }
.item-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.item:hover .item-img img { transform: scale(1.04); }
.item-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; }
.item-row h3 { font: 400 1.6rem/1.05 var(--disp); letter-spacing: 0.03em; text-transform: uppercase; }
.item-row p { flex: none; color: var(--gold); font-variant-numeric: lining-nums; }

/* visit */
.visit { padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(4rem, 8vw, 7rem); background: var(--black); }
.visit h2 { margin-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.doors li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 1.5rem; padding: clamp(1.2rem, 2.2vw, 2rem) 0; border-top: 1px solid var(--line); font-variant-numeric: lining-nums; }
.doors li:last-child { border-bottom: 1px solid var(--line); }
.doors h3 { font: 400 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--disp); letter-spacing: 0.02em; text-transform: uppercase; transition: color 0.3s; }
.doors li.hot h3 { color: var(--gold); }
.door-status { justify-self: end; align-self: center; text-align: right; font-style: italic; color: var(--bone2); }
.door-status.open { color: var(--gold); }
.doors li > p:not(.door-status) { grid-column: 1 / -1; font-size: 0.95rem; color: var(--bone2); }
.door-links { display: flex; gap: 1.4rem; margin-top: 0.3rem; }
.door-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
.door-links a:hover { color: var(--gold); }
.door-links a.out { gap: 0.4em; }
.map { position: sticky; top: 6rem; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map figcaption { margin-top: 0.6rem; font-size: 0.78rem; color: rgba(243, 232, 210, 0.55); }
.map .road { fill: none; stroke: rgba(243, 232, 210, 0.17); stroke-width: 1; }
.map .road-major { fill: none; stroke: rgba(243, 232, 210, 0.36); stroke-width: 2; }
.map .river { fill: none; stroke: #4f86ad; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.map .label { font: 700 12px var(--text); letter-spacing: 0.16em; text-transform: uppercase; fill: rgba(243, 232, 210, 0.5); }
.map .pin { cursor: pointer; }
.map .pin circle.dot { fill: var(--gold); }
.map .pin circle.ring { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0.45; transform-box: fill-box; transform-origin: center; transition: transform 0.5s var(--ease), opacity 0.3s; }
.map .pin text { font: 400 40px var(--disp); letter-spacing: 0.03em; text-transform: uppercase; fill: var(--bone); transition: fill 0.3s; }
.map .pin.hot circle.ring, .map .pin:hover circle.ring { transform: scale(1.7); opacity: 0.9; }
.map .pin.hot text, .map .pin:hover text { fill: var(--gold); }

/* footer */
.foot { padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(2rem, 4vw, 3rem); background: var(--esp); text-align: center; }
.foot-word { width: clamp(11rem, 20vw, 16rem); margin: 0 auto; line-height: 0; }
.foot-tag { margin-top: 0.6rem; font: 700 clamp(0.75rem, 1.3vw, 0.86rem)/1.6 var(--text); letter-spacing: 0.2em; text-transform: uppercase; }
.foot-tag i { color: var(--gold); margin: 0 0.3em; }
.foot-row { display: grid; gap: 1.2rem; justify-items: center; margin-top: clamp(2rem, 4vw, 3.4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--bone2); }
.foot-row nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.6rem; }
.foot-row nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
.foot-row nav a:hover { color: var(--gold); }
.foot-legal { max-width: 46rem; font-size: 0.8rem; line-height: 1.6; }

/* things arrive once, then stay put */
.js .rv { opacity: 0; translate: 0 1.4rem; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.js .rv.in { opacity: 1; translate: 0 0; }

/* phone dock and the call or directions sheet */
.dock { display: none; }
.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 86vh; max-height: 86svh; margin: 0; padding: 0; border: 0; border-radius: 3px 3px 0 0; background: var(--esp2); color: var(--bone); overflow-y: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(6, 4, 5, 0.74); }
.sheet[open] { animation: sheet-up 0.45s var(--ease); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet-in { padding: 1.2rem var(--pad) calc(1.1rem + env(safe-area-inset-bottom, 0px)); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.sheet-head h2 { font: 400 2.3rem/1 var(--disp); letter-spacing: 0.02em; text-transform: uppercase; }
.sheet-head h2:focus { outline: none; }
.sheet-close { min-height: 2.75rem; padding: 0.14em 0.95rem 0; background: transparent; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(243, 232, 210, 0.5); font: 400 1.2rem/1 var(--disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); cursor: pointer; }
.sheet-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.95rem 0; border-top: 1px solid var(--line); }
.sheet-info h3 { font: 400 1.8rem/1.05 var(--disp); letter-spacing: 0.03em; text-transform: uppercase; }
.sheet-info p { font-size: 0.9rem; color: var(--bone2); }
.sheet-info p.open { color: var(--gold); }
.sheet-acts { display: flex; gap: 0.5rem; }
.sheet-acts .btn { min-height: 3rem; padding-inline: 1rem; }
html.sheet-open { overflow: hidden; }

/* tablets and narrow windows */
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.1rem; padding: 5rem var(--pad) 2rem; background: var(--black); overflow-y: auto; transform: translateY(-102%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
  .nav.open { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
  .nav a:not(.btn) { padding: 0.25rem 0; font: 400 clamp(2.6rem, 11vw, 4.2rem)/1.08 var(--disp); letter-spacing: 0.02em; }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-cta { margin-top: 1.4rem; min-height: 3.25rem; padding-inline: 1.4rem; font-size: 1.4rem; }
  .eg-film { grid-column: 1 / 13; }
  .eg-film .shot-media { aspect-ratio: 16 / 9; }
  .eg-copy { grid-column: 1 / 13; }
  .room-eg { --sq: 20px; }
  .eg-copy .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .said h2 { grid-column: 1 / 13; }
  .said-big { grid-column: 1 / 13; }
  .said-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events-copy { grid-column: 1 / 13; }
  .card { grid-column: 1 / 13; rotate: 0deg; max-width: 34rem; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .map { position: static; }
}
@media (max-width: 960px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.55rem var(--pad) calc(0.55rem + env(safe-area-inset-bottom, 0px)); background: var(--black); box-shadow: 0 -1px 0 var(--line); transform: translateY(105%); transition: transform 0.5s var(--ease); }
  .dock[hidden] { display: none; }
  .dock.show { transform: none; }
  .dock-status { min-width: 0; font-size: 0.8rem; line-height: 1.25; color: var(--bone2); font-variant-numeric: lining-nums; }
  .dock-status b { display: block; font-weight: 700; color: var(--bone); white-space: nowrap; }
  .dock-status.open b { color: var(--gold); }
  .dock-status span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .dock .btn { flex: none; min-height: 3rem; padding-inline: 1rem; font-size: 1.25rem; }
  .foot { padding-bottom: calc(5.8rem + env(safe-area-inset-bottom, 0px)); }
  .map .pin { pointer-events: none; }
}

/* phones */
@media (max-width: 760px) {
  .brand-name { font-size: 1.35rem; }
  .brand img { width: 2.3rem; height: 2.3rem; }
  .week-tabs { margin-bottom: 0.5rem; }
  .week-tabs button { font-size: 1.3rem; }
  .week-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; margin-bottom: 1.2rem; }
  .bills { grid-template-columns: minmax(0, 1fr); }
  .js .bill { display: none; }
  .js .bill.show { display: block; }
  .bills .bill:first-child, .bills .bill:last-child { rotate: 0deg; margin-top: 0; }
  .bill-gc .bill-rows li.today { margin-inline: calc(clamp(0.6rem, 5cqw, 2.2rem) * -1); }
  .stamp { font-size: 1.3em; right: 0.5em; }
  .room-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .room-meta { text-align: left; }
  /* rooms on a phone: the lead picture runs edge to edge, the rest sit in a rail you swipe, captions are tabs on the picture */
  .room-head h2 { font-size: 21.5vw; }
  .gc-grid, .eg-grid, .dt-grid { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .room-copy { display: contents; }
  .gc-grid > *, .eg-grid > *, .dt-grid > *, .room-copy > * { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
  .sign-fixed { order: 0; }
  .sign-fixed .sign { rotate: -1deg; width: 97%; margin-inline: auto; }
  .gc-live, .eg-film, .dt-window { order: 1; }
  .room-copy h3 { order: 2; }
  .room-copy .lead { order: 3; }
  .dt-film { order: 4; }
  .rail, .shelf { order: 5; }
  .rail-bar { order: 6; }
  .facts { order: 7; }
  .room-links { order: 8; }
  .gc-live, .eg-film, .dt-window, .dt-film { margin-inline: calc(var(--pad) * -1); }
  .gc-live .shot-media, .eg-film .shot-media, .dt-window .shot-media, .dt-film .shot-media { border-radius: 0; }
  .gc-live .shot-media, .dt-window .shot-media { aspect-ratio: 4 / 5; }
  .eg-film .shot-media { aspect-ratio: 4 / 3; }
  .shot { position: relative; }
  .room .shot figcaption { position: absolute; left: 0; bottom: 0; max-width: 90%; margin: 0; padding: 0.55rem 0.8rem 0.5rem; background: var(--black); font: 400 1.25rem/1.08 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; color: var(--bone); }
  .rail, .shelf, .shop-grid { display: flex; gap: 0.6rem; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .rail::-webkit-scrollbar, .shelf::-webkit-scrollbar, .shop-grid::-webkit-scrollbar { display: none; }
  .rail > .shot, .shelf > li, .shop-grid > .item { flex: 0 0 76vw; margin: 0; scroll-snap-align: start; }
  .rail .extra { display: block; }
  .rail .shot-media { aspect-ratio: 4 / 5; border-radius: 2px; }
  .shelf { padding-block: 0; background: none; border: 0; border-radius: 0; }
  .shelf img { border-radius: 2px; }
  .rail-bar { display: block; position: relative; height: 2px; margin-top: -0.4rem; background: var(--line); }
  .rail-bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0) * (100% - var(--w, 30%))); width: var(--w, 30%); background: var(--gold); }
  .shop .rail-bar { margin-top: 1rem; }
  .facts, .eg-copy .facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; border-top: 0; }
  .facts > div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0 0.9rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
  .facts > div:last-child { border-bottom: 1px solid var(--line); }
  .facts dt { margin: 0.22rem 0 0; }
  .facts a { display: inline-flex; align-items: center; min-height: 44px; }
  .room-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .room-links .btn { min-height: 3.25rem; padding-inline: 0.6rem; }
  .room-links .btn:first-child { grid-column: 1 / -1; }
  .only-phone { display: inline-flex; }
  .lg { display: none; }
  .sm { display: inline; }
  .wide { display: none; }
  .strip li { height: 15rem; }
  .said-row { grid-template-columns: minmax(0, 1fr); }
  .doors li { grid-template-columns: minmax(0, 1fr); }
  .door-status { justify-self: start; text-align: left; }
  .door-links { gap: 0.6rem; margin-top: 0.7rem; }
  .door-links a { flex: 1 1 0; justify-content: center; gap: 0.55em; min-height: 3.1rem; padding: 0.14em 0.5rem 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(243, 232, 210, 0.5); font: 400 1.25rem/1 var(--disp); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; text-align: center; white-space: nowrap; }
  .door-links a:last-child { background: var(--gold); box-shadow: none; color: var(--ink); }
  .events-direct a { min-height: 52px; }
  .sheet-list li { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .sheet-acts .btn { flex: 1 1 0; }
  .foot-row nav { flex-direction: column; align-items: center; gap: 0; }
}
@media (max-width: 380px) {
  .dock-status { display: none; }
  .dock .btn { flex: 1 1 auto; }
  .door-links a { font-size: 1.15rem; letter-spacing: 0.04em; }
}

/* a sideways phone: keep the two column hero but let it be as tall as it needs */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .top { position: absolute; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-run, .strip-run { animation: none; }
  .ticker, .strip { overflow-x: auto; }
  .board .lt.set, .flip.go .flip-coin img, .bill.in .stamp, .sheet[open] { animation: none; }
  .btn::before, .go::after, .out::after { transition: none; }
  .js .rv { opacity: 1; translate: 0 0; transition: none; }
  .hf, .hero, .dock { transition: none; }
}

/* Their monkey wallpaper, the lounge's calling card, is the ground of the whole page. It is drawn in its own greys,
   creams and golds with no backing colour, so each section's ground (and the room's colour up top) shows through it.
   Boxes stay solid on top of it. main.js sets --wall-y so the paper carries on unbroken from one section to the next. */
.hero, .week, .room, .programs, .feed, .said, .events, .shop, .visit, .foot { background-image: url('assets/wall.webp'); background-repeat: repeat; background-size: 65rem auto; background-position: 50% var(--wall-y, 0px); }
@media (max-width: 760px) {
  .hero, .week, .room, .programs, .feed, .said, .events, .shop, .visit, .foot { background-image: url('assets/wall-m.webp'); background-size: 34rem auto; }
}
.lite .hero, .lite .week, .lite .room, .lite .programs, .lite .feed, .lite .said, .lite .events, .lite .shop, .lite .visit, .lite .foot { background-image: none; }

/* THE ENTRANCE. 21 and over, asked on the black of their bill by the three monkeys from the Eagle wall, their cigars smoking
   (door.js draws the smoke). One monkey hangs from the top of the screen over the question, two sit either side of it, or
   look up from the foot of a phone. Yes fills the screen with smoke and the site is there when it thins. */
.door { display: none; }
html.gate { overflow: hidden; }
html.gate .door, .door.leaving { display: grid; }
.door { position: fixed; inset: 0; z-index: 200; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; color: var(--bone); text-align: center; outline: none; }
.door-wall { position: absolute; inset: 0; z-index: 0; background: var(--black); transition: opacity 0.6s linear; }
.door-wall::before { content: ''; position: absolute; inset: 0; background: url('assets/wall.webp') 50% 0 / 65rem auto repeat; opacity: 0.4; }
.door-m, .door-panel { position: relative; z-index: 1; }
.door-m { display: block; width: auto; height: auto; max-width: none; cursor: pointer; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; transition: opacity 0.5s linear; }
.door-smoke { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.door-hang { grid-column: 1 / -1; grid-row: 1; justify-self: center; height: 36vh; height: 36svh; margin-top: -0.4vh; transform-origin: 56% 2%; animation: door-drop 1.1s var(--ease) both, door-swing 3.6s ease-in-out 1.1s infinite alternate; }
.door-panel { grid-column: 1 / -1; grid-row: 2; padding: 0.6rem var(--pad) 0; transition: opacity 0.5s linear; animation: door-up 0.6s var(--ease) 0.35s both; }
.door-panel h2 { font: 400 clamp(2.6rem, min(13vw, 9vh), 5rem)/0.95 var(--disp); letter-spacing: 0.01em; text-transform: uppercase; text-wrap: balance; }
.door-line { max-width: 26rem; margin: 0.7rem auto 0; font-size: 0.95rem; line-height: 1.55; color: var(--bone2); text-wrap: balance; }
.door-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.1rem; }
.door-sig { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.85rem; color: var(--bone2); }
.door-sig img { width: 1.75rem; height: 1.75rem; }
.door-left { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; width: 46vw; margin: 0.8rem 0 0 -5vw; scale: -1 1; transform-origin: 50% 100%; animation: door-in-l 0.9s var(--ease) 0.15s both, door-nod 4.4s ease-in-out 1.1s infinite alternate; }
.door-right { grid-column: 2; grid-row: 3; justify-self: end; align-self: start; width: 50vw; margin: 1.5rem -6vw 0 0; transform-origin: 50% 100%; animation: door-in-r 0.9s var(--ease) 0.25s both, door-nod 5.2s ease-in-out 1.3s infinite alternate-reverse; }
@keyframes door-drop { from { translate: 0 -110%; } 62% { translate: 0 2.5%; } to { translate: 0 0; } }
@keyframes door-swing { from { rotate: -2.2deg; } to { rotate: 2.2deg; } }
@keyframes door-nod { from { rotate: -0.9deg; } to { rotate: 0.9deg; } }
@keyframes door-in-l { from { translate: -60% 0; opacity: 0; } }
@keyframes door-in-r { from { translate: 60% 0; opacity: 0; } }
@keyframes door-up { from { translate: 0 1rem; opacity: 0; } }
.door.leaving .door-btns { pointer-events: none; }
.door.clear { pointer-events: none; }
.door.clear .door-wall, .door.clear .door-panel, .door.clear .door-m { opacity: 0; }
@media (max-width: 760px) { .door-wall::before { background-image: url('assets/wall-m.webp'); background-size: 34rem auto; } }
/* a wide screen: the question in the middle under the hanging monkey, one monkey on a branch either side */
@media (min-aspect-ratio: 11/10) and (min-width: 700px) {
  .door { grid-template-columns: minmax(0, 1fr) minmax(19rem, 34rem) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .door-hang { grid-column: 2; height: 40vh; }
  .door-panel { grid-column: 2; grid-row: 2; padding-inline: 0; }
  .door-left, .door-right { grid-row: 1 / 3; align-self: center; justify-self: center; width: auto; max-width: 92%; max-height: 74vh; margin: 0; }
  .door-left { grid-column: 1; }
  .door-right { grid-column: 3; }
}
@media (min-aspect-ratio: 11/10) and (min-width: 700px) and (max-height: 480px) {
  .door-hang { height: 33vh; }
  .door-sig { display: none; }
  .door-line { margin-top: 0.4rem; }
  .door-btns { margin-top: 0.7rem; }
}
.lite .door-wall::before { display: none; }
.lite .door-m, .lite .door-smoke { display: none; }
@media (prefers-reduced-motion: reduce) {
  .door-m, .door-panel { animation: none; }
  .door-wall, .door-m, .door-panel { transition: none; }
  .door-smoke { display: none; }
}

/* YourBrandFuel credit: the legal line's own type; the link gets a 44px tap height without moving anything */
.foot-row .ybf-credit { margin-top: -0.6rem; }
.ybf-credit a { display: inline-block; padding-block: 0.8rem; margin-block: -0.8rem; color: inherit; text-decoration-color: var(--gold); text-underline-offset: 0.24em; }
.ybf-credit a:hover, .ybf-credit a:focus-visible { color: var(--gold); }
