/* O'Neill's Bar & Restaurant, Allihies: the design layer (T, 20 November 2026; the September comp retired), redrawn to
   the home page design T approved on 20 November 2026, night ("Build it": ../_intake/2026-11-21-home-page-design/).
   The page is cream drawn from his gold, red leads (buttons, links, the Restaurant, What's on), slate holds the top and
   the foot, gold is the accent; Restaurant, Bar and Music are three unframed photographs over a band of the red (22 November 2026).
   Every colour and typeface comes from the default look (Pages, Default look; printed by partials/head.ejs as --c-*,
   --f-*, --wm-*, --f-head*, --head-size, --btn-radius). Each frame draws its ground from --fr-* (lib/pub.js frameOf):
   its words, headings, links and buttons follow what is behind them.
   One type scale: hero title 1.25 x the page heading, page heading --head-size (52px), section heading 34px (never
   above the name in the bar), item 24px, lead 20px, body 17px, menu 16px, small 15px. Since 21 November 2026 (T: "no
   editing for size in the typeface. or bold, italics") the headings' size in Look moves the whole ladder: the section and
   item headings keep their step below the page heading (34/52, 24/52); the body, menu and buttons have their own size,
   weight and italic (lib/pub.js styleVars: --t-body, --w-body, --s-body, --t-menu, --s-menu, --t-button, --s-button). Corners: photographs 6px,
   boxes 12px, full-width frames square, buttons from the default look. */

:root {
  --f-display: var(--f-head, 'DM Serif Display', Georgia, serif);
  --f-name: var(--wm-font, var(--f-display));
  --t-page: var(--head-size, 52px);
  --t-hero: calc(var(--t-page) * 1.25);
  --t-h2: min(calc(var(--t-page) * 34 / 52), var(--wm-size, 36px));
  --t-h3: calc(var(--t-page) * 24 / 52);
  --t-lead: calc(var(--t-body) + 3px);
  --t-body: 17px;
  --t-menu: 16px;
  --t-small: 15px;
  --bar-h: 76px;
  --wrap: 1240px;
  --gut: 40px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body { margin: 0; font-family: var(--f-body, system-ui, sans-serif); font-weight: var(--w-body, 400); font-style: var(--s-body, normal); font-size: var(--t-body); line-height: 1.6; color: var(--c-ink); background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--f-head-weight, 400); font-style: var(--f-head-style, normal); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: min(var(--t-page), 11vw); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }

/* ── A frame's ground ─────────────────────────────────────────────────────────── */
.fr { position: relative; background: var(--fr-bg); color: var(--fr-ink); isolation: isolate; }
.fr h2, .fr h3 { color: var(--fr-head); }
.fr a:not(.btn) { color: var(--fr-link); }
.fr-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.fr-photo img { width: 100%; height: 100%; object-fit: cover; }
.fr-photo::after { content: ''; position: absolute; inset: 0; background: var(--c-dark); opacity: var(--fr-veil, .55); }
.fr.has-photo { color: #fff; }
.fr.has-photo h2, .fr.has-photo h3, .fr.has-photo a:not(.btn) { color: #fff; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--btn-radius, 8px); font-family: var(--f-button, inherit); font-weight: var(--w-button, 600); font-style: var(--s-button, normal); font-size: var(--t-button, var(--t-menu)); line-height: 1; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-book { background: var(--fr-btn, var(--c-accent)); color: var(--fr-btn-ink, var(--c-accent-ink)); }
.btn-book:hover { background: color-mix(in srgb, var(--fr-btn, var(--c-accent)) 86%, #000); }
/* The top bar's button in the pub's own colour once "Colour chosen for me" is unticked (Header, Book a table button):
   the same everywhere the bar is, over the hero and after scrolling (lib/pub.js barButtonOf prints --bar-btn). */
.pub-bar .bar-end .btn-book { background: var(--bar-btn, var(--fr-btn, var(--c-accent))); color: var(--bar-btn-ink, var(--fr-btn-ink, var(--c-accent-ink))); }
.pub-bar .bar-end .btn-book:hover { background: color-mix(in srgb, var(--bar-btn, var(--fr-btn, var(--c-accent))) 86%, #000); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

/* ── The menu bar ────────────────────────────────────────────────────────────── */
.pub-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h); background: var(--fr-bg); color: var(--fr-ink); transition: transform .35s var(--ease), background-color .3s, box-shadow .3s; }
.pub-bar.is-scrolled { box-shadow: 0 1px 0 color-mix(in srgb, var(--fr-ink) 12%, transparent); }
.pub-bar.away { transform: translateY(-100%); }
.pub-bar.has-pic { overflow: hidden; }
.bar-pic { position: absolute; inset: 0; z-index: 0; }
.bar-pic img { width: 100%; height: 100%; object-fit: cover; }
.bar-pic::after { content: ''; position: absolute; inset: 0; background: var(--fr-bg); opacity: var(--bar-veil, .6); }
/* See-through over the hero: the photo shows through under a soft shade; light words; the red button. The shade is the
   owner's (Hero, Shade, Under the menu; lib/pub.js barShadeOf prints --bar-shade, none at nought). */
.pub-bar.over-hero:not(.is-scrolled) { background: var(--bar-shade, none); color: #fff; --fr-btn: var(--c-gold) !important; --fr-btn-ink: var(--c-ink) !important; }
.pub-bar.over-hero:not(.is-scrolled) .bar-pic { display: none; }
.bar-in { position: relative; z-index: 1; height: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: 0 1 auto; min-width: 0; min-height: 44px; }
.brand-name { font-family: var(--f-name); font-weight: var(--wm-weight, 400); font-size: var(--wm-size, 36px); font-style: var(--wm-style, italic); letter-spacing: var(--wm-track, 0); text-transform: var(--wm-transform, none); font-variant-caps: var(--wm-caps, normal); line-height: 1.04; white-space: normal; overflow-wrap: normal; text-wrap: balance; }
/* The name whole at every width (T, 27 November 2026, "Fit the name to the bar", two balanced lines;
   public/js/fit-name.js measures it): on one line at the owner's size while there is room beside the buttons;
   otherwise on two even lines at the largest size that fits the bar, its width (--wm-line) the measured width of the
   longer line, so the break is the even one in every browser; a third line only under 15px. Set on the bar, since the
   link round the name carries the name's class while the name stands alone. .name-tight is the last resort, the floor
   of 15px reached: a word may break, and the bar grows (--bar-h) rather than cut the name. */
.pub-bar.name-fitted .brand-name { font-size: var(--wm-fit) !important; max-width: var(--wm-line, none); }
.pub-bar.name-one .brand-name { white-space: nowrap; }
.pub-bar.name-tight .brand-name { overflow-wrap: anywhere; }
.brand-logo { height: min(var(--logo-h, 44px), calc(var(--bar-h) - 16px)); width: auto; }
/* The menu is the three lines at every width (T, 22 November 2026: "for the menu at the top, just make it the three
   lines, excluding the ring to book button"): the name at the left; Ring to book and the three lines at the right; the
   links in a panel that opens under the bar, the same panel a phone has (at a computer a narrower one under the three
   lines), the page you are on marked. Its words keep the menu's typeface and size from Header, Typefaces. */
/* The three lines to the left of Ring to book, larger, centred on the button (T, 22 November 2026: "put it to the left of
   the ring to book button, and make it larger size. it looks too small and out of place"). */
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.bar-menu { position: fixed; left: 0; right: 0; top: var(--bar-h); margin: 0; background: var(--fr-bg); color: var(--fr-ink); padding: 8px var(--gut) 24px; box-shadow: 0 18px 30px -18px rgba(20, 28, 36, .4); display: none; }
.pub-bar.menu-open .bar-menu { display: block; }
.pub-bar.menu-open, .pub-bar.over-hero.menu-open:not(.is-scrolled) { background: var(--fr-bg); color: var(--fr-ink); --fr-btn: inherit; }
.bar-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.bar-menu a { display: flex; align-items: center; gap: 10px; min-height: 52px; width: 100%; padding: 0; font-family: var(--f-menu, inherit); font-weight: var(--w-menu, 600); font-style: var(--s-menu, normal); font-size: var(--t-menu); text-decoration: none; color: inherit; border-bottom: 1px solid color-mix(in srgb, var(--fr-ink) 12%, transparent); }
.bar-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar-menu a[aria-current]::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bar-menu a:focus-visible, .menu-btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
@media (min-width: 901px) {
  .bar-menu { left: auto; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); width: 320px; padding: 6px 24px 14px; border-radius: 0 0 10px 10px; }
  .bar-menu li:last-child a { border-bottom: 0; }
}
.menu-btn { display: inline-flex; flex: none; width: 48px; height: 48px; margin: 0; background: none; border: 0; border-radius: 8px; color: inherit; cursor: pointer; padding: 0 9px; flex-direction: column; justify-content: center; gap: 7px; }
.menu-btn span { display: block; height: 3px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.pub-bar.menu-open .menu-btn span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.pub-bar.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.pub-bar.menu-open .menu-btn span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
body:not(.home) main { padding-top: var(--bar-h); }

/* ── The hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--c-dark); color: #fff; min-height: 560px; height: 100vh; height: 100svh; display: flex; align-items: flex-end; }
.hero-tall { height: 80vh; height: 80svh; min-height: 520px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img, .hero-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide video { opacity: 0; transition: opacity .8s; }
.hero-slide video.ready { opacity: 1; }
/* The shade behind the words (T, 22 November 2026): its strength, reach and colour are the owner's (lib/pub.js shadeOf
   prints --hero-grad); none set at nought, so nothing at all is drawn. */
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--hero-grad, none); }
/* No words over the hero (T, 20 November 2026): no shade over the photographs; the see-through header keeps its own
   soft shade along the top so the menu reads. */
.hero.no-words::after { display: none; }
.hero-words { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 10svh, 112px); }
.hero h1 { font-size: min(var(--t-hero), 10.5vw); max-width: 20ch; color: #fff; }
.hero-line { font-size: var(--t-lead); line-height: 1.5; max-width: 44ch; margin: 18px 0 0; color: rgba(255, 255, 255, .92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-book { --fr-btn: var(--c-gold); --fr-btn-ink: var(--c-ink); }
.hero-dots { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(56px, 10svh, 112px); display: flex; gap: 4px; }
.hero-dots button { width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.hero-dots button::before { content: ''; position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: rgba(255, 255, 255, .45); transition: background-color .3s; }
.hero-dots button.on::before { background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .hero-words .wrap > * { animation: rise .9s var(--ease) both; }
  .hero-words .wrap > :nth-child(2) { animation-delay: .1s; }
  .hero-words .wrap > :nth-child(3) { animation-delay: .2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── The two halves ──────────────────────────────────────────────────────────── */
.info { padding: clamp(44px, 5vw, 72px) 0 clamp(56px, 6.5vw, 96px); }
.info-in { display: grid; grid-template-columns: 1fr 1fr; }
.info-in.is-one { grid-template-columns: 1fr; max-width: 820px; }
.half { padding-right: clamp(32px, 4.5vw, 72px); }
.half + .half { padding-right: 0; padding-left: clamp(32px, 4.5vw, 72px); border-left: 1px solid color-mix(in srgb, var(--fr-ink) 22%, transparent); }
.half h2 { margin-bottom: 20px; max-width: 18ch; }
.half-words p { max-width: 54ch; }
.half-photo { margin: 0 0 28px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.half-photo img { width: 100%; height: 100%; object-fit: cover; }
.half .title { font-size: min(var(--t-page), 10vw); max-width: 21ch; margin-bottom: 0; }
.info.leads .info-in { grid-template-columns: 1fr 1fr; }
/* The right side's photograph a quarter wider (T, 22 November 2026: "make the image on the right a bit bigger"), the
   pub's to set at Introduction, Right side, Photograph size: Large (the start), Medium (as it was), Small. */
@media (min-width: 901px) {
  .info.leads.pic-medium .info-in { grid-template-columns: 7fr 5fr; }
  .info.leads.pic-small .info-in { grid-template-columns: 2fr 1fr; }
}
.info.leads .half:first-child { padding-right: clamp(32px, 5.5vw, 96px); }
.info.leads .half:first-child h2 { max-width: 21ch; margin-bottom: 0; }
.info.leads .half:first-child .half-words p { max-width: 52ch; }
.info.leads .half:first-child .half-words p:first-of-type { margin-top: 24px; font-size: var(--t-lead); line-height: 1.5; max-width: 44ch; }
.info.leads .half + .half .half-photo { aspect-ratio: 3 / 2; margin-bottom: 24px; }
.info.leads .half + .half h2 { font-size: var(--t-h3); line-height: 1.2; margin-bottom: 10px; max-width: none; }
.half.photo-only .half-photo { margin: 0; aspect-ratio: auto; height: 100%; min-height: 320px; }
/* The left side's writing held while the right side scrolls by (T, 22 November 2026; Introduction, Left side, "Keep the
   writing in view while the other side scrolls", on until switched off). Only where the two sides stand side by side and
   the window is tall enough; it stays below the menu bar (higher while the bar is away) and inside the section, so it
   leaves with it. Where the left is the longer side there is nothing to hold and it stands as it is. */
@media (min-width: 901px) and (min-height: 641px) {
  .info.holds .info-in > .half:first-child { position: sticky; top: calc(var(--bar-h) + 28px); align-self: start; transition: top .35s var(--ease); }
  body:has(.pub-bar.away) .info.holds .info-in > .half:first-child { top: 28px; }
}

/* ── Restaurant, Bar and Music: three photographs over a band ─────────────────── */
/* T, 22 November 2026 ("full borderless photos with text underneath, but with a colored band behind it"; his reference in
   ../_intake/2026-11-22-three-boxes-as-photographs/). Three photographs, unframed and five wide by six high, side by side
   on the wrap's grid; under each its name, its words and its link, centred as captions, on the row's own ground. The band
   (--band, set on the row) starts --over above the photographs and a third of the way into the first, covers the upper
   36 per cent of them and runs off the right edge of the page; it is drawn from the stage's width (container units), so
   it holds at every width and with one or two boxes. The row keeps the same space above the band as below the words
   (T, 21 November 2026: the row's own space, 56 to 96px). The boxes share four rows (subgrid), so the photographs, the
   names, the words and the links each start on one line across the row, whatever the length of the words. */
.rooms { --over: clamp(40px, 5vw, 72px); --cover: .36; padding: calc(clamp(56px, 6.5vw, 96px) + var(--over)) 0 clamp(56px, 6.5vw, 96px); overflow-x: clip; }
.rooms-head { max-width: 640px; margin-bottom: calc(48px + var(--over)); }
.rooms-head h2 { margin-bottom: 12px; }
/* With two boxes (or one) the photographs are 4 by 3, so the row stays about the height it has with three. */
.rooms-stage { --gap: clamp(20px, 2.4vw, 32px); --n: 3; --pic-r: 1.2; position: relative; container-type: inline-size; }
.rooms-stage.n2 { --n: 2; --pic-r: .75; }
.rooms-stage.n1 { --n: 1; --pic-r: .75; }
.rooms-band { --colw: min(560px, calc((100cqw - (var(--n) - 1) * var(--gap)) / var(--n)));
  position: absolute; z-index: 0; top: calc(-1 * var(--over)); left: calc(var(--colw) / 3); right: calc(50% - 50vw);
  height: calc(var(--over) + var(--colw) * var(--pic-r) * var(--cover)); background: var(--band); }
.rooms-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; column-gap: var(--gap); row-gap: 0; }
.rooms-row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rooms-row.n1 { grid-template-columns: minmax(0, 560px); }
.room { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; position: relative; text-align: center; color: var(--fr-ink); }
.room-pic { grid-row: 1; position: relative; aspect-ratio: 1 / var(--pic-r); overflow: hidden; background: color-mix(in srgb, var(--fr-ink) 8%, var(--fr-bg)); margin-bottom: 26px; }
.room-pic img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.room-pic.is-empty { display: grid; place-items: center; padding: 24px; }
.room-pic.is-empty span { font-family: var(--f-display); font-weight: var(--f-head-weight, 400); font-style: italic; font-size: var(--t-h2); line-height: 1.1; color: var(--fr-ink); opacity: .45; text-wrap: balance; }
.fr .room h3 { grid-row: 2; align-self: start; justify-self: center; font-size: calc(var(--t-h3) * 1.17); color: var(--band-head); margin-bottom: 6px; }
.room-text { grid-row: 3; align-self: start; justify-self: center; max-width: 36ch; margin: 0; padding: 0 6px; }
.room-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: inherit !important; }
.room.opens .room-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
/* The foot (since 22 November 2026, no arrow link): the Book a table button alone, centred under the words, on the
   row's last line, so the photographs, names and words stay level across the three. */
.room-foot { grid-row: 4; align-self: end; display: flex; justify-content: center; margin-top: 20px; }
.room .btn { position: relative; z-index: 2; }
.room.opens { cursor: pointer; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .room.opens:hover .room-pic img { scale: 1.035; }
}
.room.opens:has(.room-link:focus-visible) { outline: 3px solid var(--c-gold); outline-offset: 6px; }
.room-link:focus-visible { outline: none; }

/* The pop-up: the photos large, the longer words, the lines. */
.room-pop { width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 12px; background: var(--fr-bg, var(--c-bg)); color: var(--fr-ink, var(--c-ink)); overflow: auto; overscroll-behavior: contain; }
.room-pop h2 { color: var(--fr-head, inherit); }
.room-pop a:not(.btn) { color: var(--fr-link, inherit); }
.pop-in { isolation: isolate; }
.room-pop::backdrop { background: color-mix(in srgb, var(--c-dark) 72%, transparent); }
.room-pop[open] { animation: pop-in .4s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.pop-in { display: grid; grid-template-columns: 1.05fr 1fr; }
.pop-pics { display: grid; gap: 6px; padding: 6px; grid-auto-rows: 1fr; align-self: stretch; }
.pop-pics.n2 { grid-template-rows: 1.4fr 1fr; }
.pop-pics.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; }
.pop-pics.n3 .pic:first-child { grid-column: 1 / -1; }
.pop-pics .pic { position: relative; overflow: hidden; border-radius: 6px; min-height: 160px; }
.pop-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop-words { padding: 48px 44px 44px; }
.pop-words h2 { margin-bottom: 18px; font-size: min(var(--t-page), 11vw); }
.pop-lines { list-style: none; margin: 24px 0; padding: 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.pop-lines li { padding: 12px 0; display: grid; gap: 2px; }
.pop-lines li + li { border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent); }
.pop-lines b { font-weight: 700; }
.pop-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; border: 0; background: var(--c-bg); color: var(--c-ink); cursor: pointer; box-shadow: 0 4px 14px rgba(20, 28, 36, .18); }
.pop-close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
.pop-in { position: relative; }
/* An event's pop-up (T, 22 November 2026): as the Bar's and Music's; with no photograph, the words alone, narrower. */
.ev-pop .pop-in.no-pics { grid-template-columns: 1fr; }
.ev-pop:has(.no-pics) { width: min(680px, calc(100vw - 32px)); }
.ev-pop .pop-words .wo-when { margin-bottom: 6px; }
/* The specials' pop-up (T, 24 November 2026): one column, each special a row, its photograph (where it has one) a small
   square at the left, the name with its marks and the price on one line (the price at the right), its words under them;
   a hairline between the rows; the link on to the Restaurant page under the list. The pop-up scrolls inside itself. */
.sp-pop { width: min(680px, calc(100vw - 32px)); }
.spp-list { list-style: none; margin: 0; padding: 0; }
.spp { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 18px; padding: 16px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.spp:first-child { border-top: 0; padding-top: 4px; }
.spp.has-pic { grid-template-columns: 80px minmax(0, 1fr); }
.spp-pic { grid-row: 1 / span 2; position: relative; width: 80px; height: 80px; overflow: hidden; border-radius: 6px; align-self: start; }
.spp-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-pop .pop-words h2 { padding-right: 48px; }
.spp-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; font-size: var(--t-lead); line-height: 1.35; }
.spp-nm { min-width: 0; }
.spp-n { font-weight: 600; overflow-wrap: anywhere; }
.spp-nm .dmarks { vertical-align: 2px; margin-left: 8px; }
.spp-p { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spp-w { margin: 6px 0 0; opacity: .88; }
.spp.has-pic .spp-w { grid-column: 2; }
.sp-pop .marks-key { margin-top: 18px; }
.spp-on { margin: 26px 0 0; }
/* A pop-up's YouTube video (build 5, 23 November 2026): a still with a play button where the video will play, 16 by 9,
   the width of the words; nothing comes from YouTube until it is pressed (lib/video.js, site.js). */
.pop-video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 6px; overflow: hidden; background: #14181d; }
.pop-video .yt-still { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; display: grid; place-items: center; background: #14181d center / cover no-repeat; cursor: pointer; }
.yt-play { width: 68px; height: 48px; transition: transform .2s var(--ease); }
.yt-play svg { display: block; width: 100%; height: 100%; }
.yt-play .yt-bg { fill: #212121; fill-opacity: .82; transition: fill .2s, fill-opacity .2s; }
.yt-play .yt-tri { fill: #fff; }
.yt-still:hover .yt-bg, .yt-still:focus-visible .yt-bg { fill: #f00; fill-opacity: 1; }
.yt-still:focus-visible { outline: 3px solid var(--c-gold, currentColor); outline-offset: -3px; }
.pop-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── The second full-width picture ───────────────────────────────────────────── */
.wide { position: relative; overflow: hidden; background: var(--c-dark); color: #fff; height: 64vh; height: 64svh; min-height: 420px; display: flex; align-items: flex-end; padding-bottom: clamp(44px, 8svh, 80px); }
.wide-full { height: 100vh; height: 100svh; }
.pb-media { position: absolute; inset: 0; }
.pb-media img, .pb-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-media video { opacity: 0; transition: opacity .8s; }
.pb-media video.ready { opacity: 1; }
.wide::after { content: ''; position: absolute; inset: 0; background: var(--wide-grad, none); pointer-events: none; }
.wide.no-words::after { display: none; }
.wide-words { position: relative; z-index: 2; width: 100%; }
.wide h2 { color: #fff; font-size: min(48px, 9vw); max-width: 21ch; }
.wide-words p { font-size: var(--t-lead); max-width: 40ch; margin-top: 18px; color: rgba(255, 255, 255, .92); }

/* ── What's on ───────────────────────────────────────────────────────────────── */
/* Entries side by side (T, 22 November 2026; the mock-up he said yes to). Every entry: a pane three wide by two high,
   then when, the name, a few words, its link; the whole entry is pressed. Rows of three on twelve columns, the first
   one or two the larger ones (views/home.ejs gives each its shape); the pane, the names and the links of a row level
   (subgrid). Every tint is the frame's own words colour, so it follows Look and the section's Background. Under 900px
   one row that swipes sideways, a slice of the next entry showing at the edge. */
.news { padding: clamp(52px, 6vw, 88px) 0 clamp(8px, 2vw, 40px); }
.news-head { margin-bottom: clamp(24px, 3vw, 40px); }
.news-head h2 { margin-bottom: 8px; }
.news-head p { max-width: 52ch; margin: 0; opacity: .92; }
.wo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 32px); }
.wo-grid:focus-visible { outline-offset: 8px; }
.wo-card { position: relative; grid-column: span 4; grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding-bottom: 48px; min-width: 0; }
@supports not (grid-template-rows: subgrid) { .wo-card { grid-row: auto; grid-template-rows: none; } .wo-card > * { grid-row: auto !important; } }
.wo-pane { grid-row: 1; position: relative; aspect-ratio: 3 / 2; margin-bottom: 18px; }
.wo-pane .win { position: absolute; inset: 0; overflow: hidden; border: 6px solid var(--c-bg); border-radius: 4px; background: var(--c-bg); }
.wo-pane .win img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.wo-when { grid-row: 2; margin: 0 0 4px; font-family: var(--f-name); font-style: italic; font-weight: 400; font-size: var(--t-h3); line-height: 1.25; }
.wo-card h3 { grid-row: 3; margin-bottom: 8px; }
.news .wo-card h3 a { padding: 15px 3px; margin: 0 -3px; color: inherit; text-decoration: none; } /* 44px to press by itself too (the playbook's form: moves no line); the whole entry is pressed through ::after */
.wo-card h3 a::after { content: ''; position: absolute; inset: 0 0 40px; border-radius: 4px; }
.sm-edit .wo-card h3 a::after { display: none; }
.wo-card:has(h3 a:focus-visible) { outline: 3px solid var(--c-gold); outline-offset: 6px; border-radius: 4px; }
.wo-card h3 a:focus-visible { outline: none; }
.wo-text { grid-row: 4; margin: 0; max-width: 44ch; opacity: .92; }
/* No arrow link (T, 22 November 2026): an entry that does something is pressed as a whole and looks it; one set to
   Nothing is read, not pressed. */
.wo-card.opens { cursor: pointer; }
/* no photograph: the when, written large where the photograph would be, in an outlined pane */
/* shade-ok: the outlined pane of an entry with no photograph, a light fill on the section's own ground; it lies over no picture */
.wo-bigwhen { position: absolute; inset: 0; margin: 0; display: flex; align-items: flex-end; padding: 22px 24px; border: 1.5px solid color-mix(in srgb, var(--fr-ink) 55%, transparent); border-radius: 4px; background: color-mix(in srgb, var(--fr-ink) 7%, transparent); font-family: var(--f-name); font-style: italic; font-weight: 400; font-size: var(--t-h2); line-height: 1.15; text-wrap: balance; }
/* The specials as a card that belongs (T, 22 November 2026): in the same white frame as an event's photograph, a small
   menu card on the specials' ground (the Restaurant page's, or a colour of its own), its heading and the dishes with
   their prices centred, no photographs; one dish larger, its price under it; five at most, then "And so many more".
   A name too long for its line ends in "..." rather than pushing the card. */
.wo-pane .wo-menu-win { background: var(--fr-bg); color: var(--fr-ink); display: grid; place-items: center; isolation: isolate; container-type: size; }
.wo-menu-win.has-photo { color: #fff; }
.wo-menu-win .fr-photo { border-radius: 0; }
.wo-menu { width: 100%; max-height: 100%; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 20px; }
.wm-h { font-family: var(--f-display); font-weight: var(--f-head-weight, 400); font-size: calc(var(--t-h3) * 1.05); line-height: 1.15; color: var(--fr-head); text-wrap: balance; }
.wm-h::after { content: ''; display: block; width: 32px; height: 1.5px; margin: 10px auto 10px; background: currentColor; opacity: .45; }
/* The dishes as one tight block in the middle (T, 23 November 2026: "i don't want the dishes all the way to the left and
   the price all the way to the right"): two columns, the dishes lined up on their left and the prices on their right, a
   small gap between, the block only as wide as its longest dish and centred under the heading; a long name wraps inside
   the block (two lines at most), its price on its first line; a dish with no price leaves the price column empty. */
.wo-menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, max-content) max-content; justify-content: center; align-items: first baseline; gap: clamp(4px, 5.2cqh, 14px) 22px; width: 100%; font-size: var(--t-menu); line-height: 1.35; }
.wo-menu li { display: contents; }
.wm-n { grid-column: 1; justify-self: start; text-align: left; font-weight: 600; min-width: 0; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.wm-p { grid-column: 2; justify-self: end; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .85; }
.wm-more { margin-top: 12px; font-size: var(--t-small); opacity: .85; }
.wo-menu.n1 ul { grid-template-columns: minmax(0, max-content); justify-items: center; row-gap: 2px; font-size: var(--t-lead); }
.wo-menu.n1 .wm-n, .wo-menu.n1 .wm-p { grid-column: 1; justify-self: center; text-align: center; }
/* the room between the lines a third more than before (26.6 to 35px at 1440, 23.6 to 32px on a phone), less in a small
   card so five dishes still fit */
.wo-menu.n5 ul, .wo-menu.n6 ul { row-gap: clamp(2px, 11.2cqh - 19px, 10px); }
/* a small card (between 900 and about 1050px wide, or a phone narrower than 390) with five lines: less room round the heading and the
   lines, so "And three more" still shows (it was cut off before 23 November) */
@container (max-height: 190px) { .wo-menu { padding-block: 4px; } .wo-menu.n4 ul { row-gap: 6px; } .wo-menu.n5 .wm-h::after, .wo-menu.n6 .wm-h::after { margin: 4px auto; } .wo-menu.n5 ul, .wo-menu.n6 ul { line-height: 1.2; } .wo-menu.n6 .wm-more { margin-top: 4px; } }
/* five lines fill the card: a long name ends in "..." on its one line rather than pushing the card */
.wo-menu.n5 .wm-n, .wo-menu.n6 .wm-n { display: block; white-space: nowrap; text-overflow: ellipsis; }
.wo-menu.n5 .wm-h::after, .wo-menu.n6 .wm-h::after { margin: 7px auto; }
/* Every special (T, 24 November 2026: the specials in What's on and not on the Restaurant page, so the card is the one
   place they are read): each name whole, nothing cut off or left out. The window stands in the frame's flow, so the
   frame keeps an event's shape while the list fits and grows downwards to hold it when it does not (an aspect ratio
   gives way to its content); the entries beside it in its row stand on their own words, under their own frames. */
.wo-card.is-all .wo-pane { display: grid; }
.wo-card.is-all .wo-pane .win { position: relative; inset: auto; }
.wo-pane .wo-menu-win:has(.wo-menu.all) { container-type: inline-size; }
.wo-menu.all { max-height: none; overflow: visible; padding: 22px 24px 24px; }
.wo-menu.all ul { row-gap: 10px; }
.wo-menu.all .wm-n { display: block; overflow: visible; -webkit-line-clamp: none; }
/* The specials as photographs (T, 25 November 2026: "text with price, or just photos (in a collage)"): the specials' own,
   up to four, in the event's white frame, the frame's white between them; one fills it, two side by side, three one
   large on the left and two stacked, four a square of four. Each keeps the framing chosen for it. */
.wo-pane .wo-collage { display: grid; gap: 6px; }
.wo-collage.k2 { grid-template-columns: 1fr 1fr; }
.wo-collage.k3 { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; }
.wo-collage.k3 .wc-tile:first-child { grid-row: 1 / 3; }
.wo-collage.k4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.wc-tile { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.wc-tile img { position: absolute; inset: 0; }
.wo-card.in-tall-row:not(.is-wide) { grid-template-rows: none; display: flex; flex-direction: column; }
.wo-apart { display: none; }
/* two halves: the pane is wider and lower */
.wo-card.is-half { grid-column: span 6; }
.wo-card.is-half .wo-pane { aspect-ratio: 11 / 5; }
/* the wide one: its pane in the first of the three columns, its words beside it, larger */
.wo-card.is-wide { grid-column: 1 / -1; grid-row: auto; grid-template-columns: subgrid; grid-template-rows: auto auto auto 1fr; }
.wo-card.is-wide .wo-pane { grid-column: 1 / 5; grid-row: 1 / 5; margin: 0; align-self: start; }
.wo-card.is-wide > :not(.wo-pane) { grid-column: 5 / -1; }
.wo-card.is-wide .wo-when { grid-row: 1; }
.wo-card.is-wide h3 { grid-row: 2; font-size: var(--t-h2); line-height: 1.12; margin-bottom: 12px; }
.wo-card.is-wide .wo-text { grid-row: 3; font-size: var(--t-lead); line-height: 1.5; }
.wo-card.is-wide:not(:has(.wo-when)) h3 { grid-row: 1 / 3; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wo-card:has(h3 a):hover .win img { scale: 1.04; }
}

/* ── Find us ─────────────────────────────────────────────────────────────────── */
.find { padding: clamp(56px, 7vw, 96px) 0; }
/* Find us in two halves (T, 22 November 2026): the words in reading order on the left, the picture on the right, both
   level at the top; each fact once; the number the one large thing; on a phone the words, then the picture. */
.find-in { display: grid; grid-template-columns: 5fr 7fr; gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.find-words h2 { margin-bottom: 14px; }
.find-addr { margin: 0; font-size: var(--t-lead); line-height: 1.45; }
.find-note { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.5; opacity: .85; max-width: 40ch; }
.find-dir { margin: 22px 0 0; }
.find-dir .btn { background: var(--fr-btn, var(--c-accent)); color: var(--fr-btn-ink, var(--c-accent-ink)); }
.find-dir .btn:hover { background: color-mix(in srgb, var(--fr-btn, var(--c-accent)) 86%, #000); }
.find-hours { margin: 28px 0 0; display: grid; gap: 14px; }
.find-hours dt { font-family: var(--f-menu, inherit); font-weight: var(--w-menu, 600); font-size: var(--t-small); line-height: 1.4; }
.find-hours dd { margin: 2px 0 0; font-size: var(--t-body); line-height: 1.5; }
.find-hours .hl { display: block; }
.find-phone { margin: 28px 0 0; }
.find-phone a { display: inline-block; padding: 6px 0; margin: -6px 0; font-family: var(--f-display); font-size: calc(var(--t-h3) * 1.35); line-height: 1.1; color: var(--fr-head); text-decoration: none; font-variant-numeric: tabular-nums; }
.find-phone a:hover { text-decoration: underline; text-underline-offset: 5px; }
.find-email { margin: 10px 0 0; font-size: var(--t-body); }
.find-email a { display: inline-block; padding: 11px 0; margin: -11px 0; color: inherit; text-underline-offset: 4px; }
/* The room between the words, the owner's to choose (T, 23 November 2026, "A setting I can change"): Snug is the gaps of
   22 November; Roomy (the start) spaces the four groups evenly so the words run from the top of the picture to its foot
   at a computer; Airy gives about half as much room again, the section growing with it and the picture keeping its 3 by
   2. The words' column is 5 to the picture's 7, so the picture's height is 14/15 of the words' width: the aspect ratio
   below sets the words' height to it, and the words grow past it whenever they need more (the bar's own hours, say). */
.find.sp-roomy .find-words, .find.sp-airy .find-words { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 15 / 14; }
.find.sp-airy .find-words { aspect-ratio: 15 / 16.25; }
.find.sp-roomy .find-words > * + * { margin-top: 44px; }
.find.sp-airy .find-words > * + * { margin-top: 66px; }
.find.sp-roomy .fg-call > :first-child, .find.sp-airy .fg-call > :first-child { margin-top: 0; }
.find.sp-roomy .find-words h2 { margin-bottom: 18px; }
.find.sp-airy .find-words h2 { margin-bottom: 22px; }
.find-pic { margin: 0; }
.find-pic .fp { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--c-soft); }
.find-pic .fp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.find-pic.is-map .fp { box-shadow: 0 0 0 1px color-mix(in srgb, var(--fr-ink) 14%, transparent); }
/* Google's map (24 November 2026) fills the frame the picture had; in the site manager it does not take the press. */
.find-pic .fp iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.sm-edit .find-pic .fp iframe { pointer-events: none; }
/* Roomy and Airy side by side (T's picture of 23 November was taken about 1000 wide, where the map is shorter than the
   words): the gaps never under 44px (Roomy) or 66px (Airy), and where that makes the words taller than a 3 by 2 picture,
   the picture's frame grows to the words' height so the two sides end together. The map (720 by 540) has the height to
   show more, its pin still at the centre; a photograph keeps its Frame (the same point stays in view). The credit hangs
   under the frame in the room the section keeps for it. */
@media (min-width: 901px) {
  .find.sp-roomy .find-in, .find.sp-airy .find-in { align-items: stretch; }
  .find.sp-roomy .find-pic, .find.sp-airy .find-pic { position: relative; display: flex; flex-direction: column; }
  .find.sp-roomy .find-pic .fp, .find.sp-airy .find-pic .fp { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
  .find.sp-roomy .find-pic .fp img, .find.sp-airy .find-pic .fp img { position: absolute; inset: 0; }
}

/* Social icons (partials/socials.ejs), on any ground. */
.soc-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.soc-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); color: inherit; transition: background-color .25s, border-color .25s; }
.soc-icons svg { width: 22px; height: 22px; fill: currentColor; }
.soc-icons a:hover { background: color-mix(in srgb, currentColor 12%, transparent); border-color: currentColor; }
.find .soc-icons a { color: var(--fr-ink); }

/* ── The foot of every page ──────────────────────────────────────────────────── */
#site-footer { padding: 44px 0 20px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid color-mix(in srgb, var(--fr-ink) 18%, transparent); }
.foot-name { font-family: var(--f-name); font-size: var(--wm-size, 36px); font-style: var(--wm-style, italic); font-weight: var(--wm-weight, 400); line-height: 1; color: var(--fr-head); }
#site-footer .soc-icons a { color: var(--fr-ink); }
.f-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 14px; }
.f-copy { margin: 0; font-size: var(--t-small); opacity: .85; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.f-copy a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── The Restaurant page and the pages of words ──────────────────────────────── */
/* The Restaurant page, redrawn (T, 22 November 2026; the mock-up he said yes to): one split for the whole page, words in
   the left seven twelfths and pictures in the right five, the same from the top to the booking band (.rs-split). The
   menu's photographs hold still beside the words, each in its turn (.hold, dealt by lib/pub.js dealPhotos): each turn
   is a cell in the second column across the rows of words it was dealt, its group sticky under the header. No ancestor
   of the cells may clip (overflow), or nothing holds. Every tint follows the part's own words colour (--fr-ink). */
.rest { min-height: 60vh; --col-gap: clamp(32px, 5vw, 80px); }
.rs-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); }
.rest-top { padding: clamp(32px, 4.2vw, 60px) 0; }
.rest-top-in { align-items: center; row-gap: 28px; }
.rest-top-in:not(.has-win) { grid-template-columns: minmax(0, 1fr); }
.rest-top .rest-head { display: block; padding: 0; border: 0; }
.rest-top h1 { font-size: min(var(--t-page), 11vw); }
.rest-top .page-lead { margin: 14px 0 0; max-width: 60ch; }
.rest-top .rest-book-top { margin: 28px 0 0; }
.rest-win { position: relative; margin: 0; aspect-ratio: 16 / 10; }
.rest-win .win { position: absolute; inset: 0; overflow: hidden; border: 6px solid var(--c-bg); border-radius: 4px; background: var(--c-bg); }
.rest-win img { width: 100%; height: 100%; object-fit: cover; }
.page-lead { font-size: var(--t-lead); line-height: 1.5; max-width: 48ch; }
.rest-body { padding: clamp(44px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.rb.has-photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: start; }
.rb.has-photos > .rb-row { grid-column: 1; position: relative; z-index: 1; }
.rb-row { margin: 0; }
/* A part with a Background of its own is a box of that colour in the words' column (T, 21 November 2026); the menu's
   box, when the photographs hold beside it, is drawn behind its rows (.rb-back), each row carrying its words' colours. */
.rest-part.own { position: relative; isolation: isolate; overflow: hidden; padding: 32px 36px; border-radius: 12px; background: var(--fr-bg); color: var(--fr-ink); }
.rest-part.own .fr-photo { border-radius: 12px; }
.rest-part.own h2 { color: var(--fr-head); }
.rb-back { grid-column: 1; align-self: stretch; position: relative; z-index: 0; overflow: hidden; border-radius: 12px; }
.rb-row.on-own { color: var(--fr-ink); padding-left: 36px; padding-right: 36px; }
.rb-row.on-own.own-first { padding-top: 32px; }
.rb-row.on-own.own-last { padding-bottom: 32px; }
.rb-row.on-own.rb-h2 { color: var(--fr-head); }
.rb-intro { margin-bottom: 44px; }
.rb-intro p { max-width: 60ch; }
.rb-intro p:first-child { font-size: var(--t-lead); line-height: 1.5; max-width: 50ch; }
.rb-h2 { padding-bottom: 22px; }
.menu-part { padding-bottom: 34px; }
.menu-part h3 { margin-bottom: 4px; color: var(--fr-link); }
/* A dish, the same on the menu and on the specials' board: the name, a dotted line, the price; its words under it. */
.dishes, .rest-board { list-style: none; margin: 0; padding: 0; }
.dishes li { padding: 9px 0; }
.dish-line { display: flex; align-items: baseline; gap: 10px; margin: 0; font-weight: 600; }
.dish-line .dots { flex: 1; min-width: 28px; height: 0; border-bottom: 2px dotted color-mix(in srgb, var(--fr-ink, var(--c-ink)) 32%, transparent); transform: translateY(-4px); }
.dish-line .price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-words { margin: 1px 0 0; max-width: 54ch; font-size: var(--t-small); line-height: 1.5; color: color-mix(in srgb, var(--fr-ink, var(--c-ink)) 82%, transparent); }
.rest-note { margin: 0; max-width: 60ch; font-size: var(--t-small); line-height: 1.55; color: color-mix(in srgb, var(--fr-ink, var(--c-ink)) 82%, transparent); }
/* the specials: the day's board, in the words' column so each price sits by its dish */
.board-row { margin-bottom: 56px; }
.board-row.rest-part.own { padding: 28px 32px 18px; }
.board-row h2 { margin-bottom: 8px; }
.rest-board li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 14px 0; }
.rest-board li + li { border-top: 1px solid color-mix(in srgb, var(--fr-ink, var(--c-ink)) 22%, transparent); }
.rest-board .thumb { display: block; width: 84px; height: 84px; overflow: hidden; border: 4px solid var(--c-bg); border-radius: 4px; background: var(--c-bg); }
.board-row:not(.own) .rest-board .thumb { border: 0; border-radius: 6px; }
.rest-board .thumb img { width: 100%; height: 100%; object-fit: cover; }
/* the photographs that hold: no frame on the page's own ground (a 6px corner), each group sticky in its cell */
.hold-cell { grid-column: 2; align-self: stretch; padding-bottom: 44px; }
.hold-cell.is-last { padding-bottom: 0; }
.hold { position: sticky; top: calc(var(--bar-h) + 28px); transition: top .35s var(--ease); }
body:has(.pub-bar.away) .hold { top: 28px; }
@media (max-height: 640px) { .hold { position: relative; top: auto; } }
.hold .pic { display: block; overflow: hidden; border-radius: 6px; background: var(--c-soft); }
.hold .pic img { width: 100%; height: 100%; object-fit: cover; }
.hold-g1 .pic { aspect-ratio: 4 / 3; }
.hold-g2 { aspect-ratio: 10 / 9; } /* the sticky .hold holds the pair's two absolute photographs */
.hold-g2 .pic { position: absolute; }
.hold-g2 .pic:nth-child(1) { inset: 0 16% 22% 0; }
.hold-g2 .pic:nth-child(2) { inset: 48% 0 0 46%; border: 6px solid var(--fr-bg, var(--c-bg)); border-radius: 4px; }
.hold-g3, .hold-g4 { display: grid; gap: 12px; }
.hold-g3 { grid-template-columns: 1fr 1fr; }
.hold-g4 { grid-template-columns: 1fr 1fr 1fr; }
.hold-g3 .pic, .hold-g4 .pic { aspect-ratio: 4 / 3; }
.hold-g3 .pic:first-child, .hold-g4 .pic:first-child { grid-column: 1 / -1; }
/* no photograph beside the menu: the words take the whole measure, the specials and the menu in two columns */
.rb:not(.has-photos) .menu-parts { columns: 2; column-gap: var(--col-gap); }
.rb:not(.has-photos) .menu-part { break-inside: avoid; }
.rb:not(.has-photos) .rest-board { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
.rb:not(.has-photos) .rest-board li:nth-child(2) { border-top: 0; }
.rb:not(.has-photos) .board-row.n1 .rest-board { grid-template-columns: 1fr; max-width: 640px; }
.rb:not(.has-photos) .rest-menu .rest-note { margin-top: 0; }
/* Booking: a band of its own ground from edge to edge, as Find us is on the home page; the way on inside it */
.rest-book { padding: clamp(44px, 5vw, 72px) 0 20px; }
.rest-book.no-book { padding-top: 0; }
.rest-book-in h2 { max-width: 24ch; }
.rest-book h2 { margin-bottom: 8px; }
.rest-book-in p { margin: 0; max-width: 44ch; font-size: var(--t-lead); line-height: 1.5; }
.rest-book-in .ring-row { margin-top: 22px; max-width: none; }
/* Ring to book with the number in words beside it (a computer cannot ring; on a phone it dials). */
.ring-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ring-num { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-size: var(--t-h3); line-height: 1.1; color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.ring-num:hover { text-decoration: underline; text-underline-offset: 4px; }
.rest-book .onward a:not(.btn) { color: inherit; }
.onward.plain { justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
.onward.plain .btn { text-decoration: none; }
.rest-book .onward { margin-top: clamp(40px, 4.5vw, 64px); padding-top: 14px; border-top-color: color-mix(in srgb, var(--fr-ink, var(--c-ink)) 20%, transparent); }
.page { min-height: 70vh; }
.page-in { padding-top: clamp(48px, 6vw, 88px); padding-bottom: 88px; max-width: 860px; }
.page-in h1 { margin-bottom: 14px; }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rich-text { margin-top: 32px; }
.rich-text h1, .rich-text h2 { font-size: var(--t-h3); margin: 32px 0 10px; }
.rich-text h3 { font-size: 20px; margin: 24px 0 8px; }
.rich-text p, .rich-text > div { margin: 0 0 14px; }
.rich-text ul, .rich-text ol { margin: 0 0 14px 22px; padding: 0; }
.rich-text a { color: var(--fr-link, var(--c-accent)); }
.onward { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--fr-ink, var(--c-ink)) 16%, transparent); }
.onward a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.onward a:hover { text-decoration: underline; }

/* Back to the top */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--c-ink); color: #fff; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 6px 18px rgba(20, 28, 36, .25); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.to-top:hover { background: var(--c-accent); }
.to-top[hidden] { display: none; }

/* ── Narrower screens ───────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .bar-in { gap: 20px; }
}
/* Up to 900px: the sections of two columns stack, and each front is a strip, the name across the top, the window and
   the words beside it, then the foot (the design T approved). */
@media (max-width: 900px) {
  .find-in, .info.leads .info-in, .rs-split, .rb.has-photos { grid-template-columns: minmax(0, 1fr); }
  /* The Restaurant page in one column: each photograph the full width where it was dealt, a pair side by side. */
  .rb.has-photos { display: block; }
  .rb-back { display: none; }
  .rb-row.on-own { background: var(--fr-bg); }
  .rb-row.on-own.own-first { border-radius: 12px 12px 0 0; }
  .rb-row.on-own.own-last { border-radius: 0 0 12px 12px; }
  .hold-cell, .hold-cell.is-last { padding-bottom: 36px; }
  .hold, body:has(.pub-bar.away) .hold { position: relative; top: auto; }
  .hold-g1 .pic { aspect-ratio: 3 / 2; }
  .hold-g2 { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hold-g2 .pic, .hold-g2 .pic:nth-child(1), .hold-g2 .pic:nth-child(2) { position: static; inset: auto; border: 0; border-radius: 6px; aspect-ratio: 4 / 3; }
  .rb:not(.has-photos) .menu-parts { columns: 1; }
  .rb:not(.has-photos) .rest-board { grid-template-columns: 1fr; }
  .rb:not(.has-photos) .rest-board li:nth-child(2) { border-top: 1px solid color-mix(in srgb, var(--fr-ink, var(--c-ink)) 22%, transparent); }
  .rest-win { aspect-ratio: 16 / 9; }
  /* What's on: one row that swipes sideways, each entry 78 per cent of the screen so a slice of the next shows. */
  .wo-grid { display: flex; align-items: stretch; gap: 16px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .wo-grid::-webkit-scrollbar { display: none; }
  .wo-grid::after { content: ''; flex: 0 0 4px; }
  /* a long specials card (more than three) stands on its own, the page's width, and its copy leaves the row */
  .wo-grid.wo-apart { display: flex; overflow: visible; }
  .wo-grid.wo-apart::after { display: none; }
  .wo-grid.wo-apart.is-before { margin-bottom: 8px; }
  .wo-grid.one-left > .wo-card { flex-basis: 100%; }
  .wo-grid + .wo-grid.wo-apart { margin-top: 8px; }
  .wo-grid > .wo-card.wo-row-copy { display: none; }
  .wo-menu.all { padding: 18px 20px 20px; }
  .wo-card, .wo-card.is-half, .wo-card.is-wide { flex: 0 0 min(78vw, 340px); display: flex; flex-direction: column; scroll-snap-align: start; padding-bottom: 36px; }
  .wo-card:only-child { flex-basis: 100%; }
  .wo-card .wo-pane, .wo-card.is-half .wo-pane, .wo-card.is-wide .wo-pane { flex: none; align-self: stretch; aspect-ratio: 3 / 2; margin: 0 0 16px; }
  .wo-card.is-wide h3 { font-size: var(--t-h3); line-height: 1.2; margin-bottom: 8px; }
  .wo-card.is-wide .wo-text { font-size: var(--t-body); line-height: 1.6; }
  .wo-menu { padding: 10px 14px; }
  .wm-h { font-size: var(--t-h3); }
  /* Find us on a phone, the words above the picture: no spreading to its height, each step adds room in the same way
     (the gaps a computer has at 1440 with the pub's words: about 48px Roomy, 72px Airy). */
  .find.sp-roomy .find-words, .find.sp-airy .find-words { aspect-ratio: auto; }
  .find.sp-roomy .find-words > * + * { margin-top: 48px; }
  .find.sp-airy .find-words > * + * { margin-top: 72px; }
  .info.leads .half:first-child { padding-right: 0; }
  .info.leads .half + .half { margin-top: 40px; padding: 40px 0 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--fr-ink) 22%, transparent); display: grid; grid-template-columns: 5fr 7fr; gap: 0 28px; align-items: start; }
  .info.leads .half + .half .half-photo { margin: 0; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  :root { --gut: 20px; --bar-h: 64px; --t-h2: min(calc(var(--t-page) * 30 / 52), var(--wm-size, 36px)); --t-h3: calc(var(--t-page) * 22 / 52); --t-lead: calc(var(--t-body) + 1px); }
  /* The full name on two even lines beside the button (the design T approved), at the section headings' size: never
     smaller than a heading (the playbook's wordmark rule, as T asked of the full name on 20 November). */
  .brand-name { font-size: min(var(--wm-size, 36px), var(--t-h2)); white-space: normal; line-height: 1.04; overflow-wrap: normal; text-wrap: balance; max-width: 8.2em; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .bar-in { gap: 10px; }
  .bar-end { flex: none; }
  .bar-end .btn-book { min-height: 44px; padding: 0 14px; font-size: var(--t-small); }
  .hero { min-height: 520px; }
  .info-in { grid-template-columns: 1fr; }
  .half { padding: 0; }
  .info.leads .half + .half { display: block; }
  .info.leads .half + .half .half-photo { margin: 0 0 20px; }
  .half + .half { padding: 40px 0 0; margin-top: 40px; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--fr-ink) 22%, transparent); }
  /* On a phone the three photographs are one row that swipes sideways (as What's on does), each 76 per cent of the
     screen so a slice of the next shows; the band behind the row's upper part as at a computer, so the section keeps the
     reference's shape and stays about one screen tall instead of three photographs stacked. */
  .rooms-stage, .rooms-stage.n2 { --cardw: min(76vw, 300px); --pic-r: 1.2; }
  .rooms-band { --colw: var(--cardw); }
  .rooms-stage.n1 .rooms-band { --colw: 100cqw; }
  .rooms-row, .rooms-row.n2, .rooms-row.n1 { display: flex; align-items: stretch; gap: 16px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rooms-row::-webkit-scrollbar { display: none; }
  .rooms-row::after { content: ''; flex: 0 0 4px; }
  .room { flex: 0 0 var(--cardw); display: flex; flex-direction: column; scroll-snap-align: start; padding-bottom: 4px; }
  .rooms-row.n1 .room { flex-basis: 100%; }
  .room-pic { flex: none; margin-bottom: 20px; }
  .fr .room h3, .room-text { align-self: center; }
  .room-foot { align-self: stretch; margin-top: auto; padding-top: 12px; } /* centred in the card's column, at its foot */
  .f-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .f-copy { justify-content: center; }
  .wide { height: 58vh; height: 58svh; min-height: 380px; }
  .wo-pane .win, .rest-win .win { border-width: 5px; }
  .board-row.rest-part.own { padding: 22px 20px 12px; }
  .rest-board .thumb { width: 80px; height: 80px; } /* 72px of photograph: large enough to read as food */
  .rest-board li { gap: 14px; }
  .dish-line .dots { min-width: 12px; }
  .rb-row.on-own { padding-left: 22px; padding-right: 22px; }
  .rb-row.on-own.own-first { padding-top: 24px; }
  .rb-row.on-own.own-last { padding-bottom: 24px; }
  .pop-in { grid-template-columns: 1fr; }
  .pop-pics { grid-template-rows: none !important; grid-auto-rows: 200px; }
  .pop-pics.n3 { grid-auto-rows: 150px; }
  .pop-words { padding: 28px 22px 30px; }
  .spp.has-pic { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
  .spp-pic { width: 64px; height: 64px; }
  .spp-line { font-size: var(--t-body); }
  .room-pop { max-height: calc(100svh - 24px); }
  .rest-top-in.has-win { grid-template-columns: 1fr; }
  .rest-part.own { padding: 24px 22px; }
  .wide::after { background: var(--wide-grad-ph, none); }
  .wide { align-items: flex-end; padding-bottom: 48px; }
  .pb-media { inset: 0; }
  .hero-words { padding-bottom: 76px; }
  .hero-dots { right: auto; left: calc(var(--gut) - 10px); bottom: 18px; }
}
@media (max-width: 400px) {
  :root { --t-h2: min(calc(var(--t-page) * 26 / 52), var(--wm-size, 36px)); }
  /* the menu's sections a clear step under its heading, which the name in the header caps at 26px here */
  .menu-part h3 { font-size: calc(var(--t-page) * 20 / 52); }
  /* the name keeps two lines beside the larger three lines and the button: the room comes from the gaps, not the lines
     (27 November 2026: at 320 the pub's name on two lines at 15px wanted 111px and had 110, so the bar's own gap too) */
  .bar-in { gap: 6px; }
  .bar-end { gap: 4px; }
  .menu-btn { width: 44px; padding: 0 7px; }
  .bar-end .btn-book { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.pop-lines span { display: block; } .pop-lines span::first-letter { text-transform: uppercase; }

/* The mock-up's choices (T, 20 November 2026): a shade over the hero's and the banner's photos; the hero and the banner
   on a colour instead; the boxes' own backgrounds went with the cards on 22 November 2026. */
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--hero-shade-c, var(--c-dark)); opacity: var(--hero-shade, 0); }
.hero-words, .hero-dots { z-index: 2; }
.hero.hero-colour { background: var(--fr-bg); color: var(--fr-ink); }
.hero.hero-colour::after { display: none; }
.hero.hero-colour h1, .hero.hero-colour .hero-line { color: var(--fr-ink); }
.hero.hero-colour .btn-line { color: var(--fr-ink); }
.hero.hero-colour .btn-book { --fr-btn: inherit; }
.wide::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--wide-shade-c, var(--c-dark)); opacity: var(--wide-shade, 0); }
.wide-words { z-index: 2; }
.wide.wide-colour { background: var(--fr-bg); color: var(--fr-ink); height: auto; min-height: 0; padding: clamp(72px, 9vw, 120px) 0; }
.wide.wide-colour::after { display: none; }
.wide.wide-colour h2 { color: var(--fr-head); }
.wide.wide-colour .wide-words p { color: var(--fr-ink); }

/* Parallax on the full-width photographs (T, 21 November 2026: "settings in the photos that are full bleed ... parallax
   and to what percentage"): the hero, the banner and a section whose Background is a photograph, each with its own
   switch and "How much" (--plx-a, 0.05 to 0.40 of the frame's height). The photograph is made that much taller and moves
   from a half of it above to a half of it below as the frame crosses the screen, so it travels slower than the page.
   Scroll-driven, so it runs inside the site manager's page too (no script there); still for visitors who ask for less
   motion; site.js does the same where the browser cannot. A video moves too, by its own switch, off until set (22
   November 2026). */
.plx { view-timeline: --plx block; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .plx .plx-m { top: calc(var(--plx-a) * -50%); bottom: calc(var(--plx-a) * -50%); animation: plx-move linear both; animation-timeline: --plx; animation-range: cover; will-change: transform; }
  }
}
@keyframes plx-move { from { transform: translateY(calc(var(--plx-a) * -50% / (1 + var(--plx-a)))); } to { transform: translateY(calc(var(--plx-a) * 50% / (1 + var(--plx-a)))); } }
.plx.is-js .plx-m { top: calc(var(--plx-a) * -50%); bottom: calc(var(--plx-a) * -50%); }

/* ── A piece of words with a look of its own (T, 23 November 2026: "One piece at a time, like Word"; lib/pieces.js) ──
   A piece the owner has not changed carries nothing and is drawn by the rules above, following Look. A changed piece
   carries data-lk (what is set: f s w i c) and its face, weight, italic and colour inline; its size comes as two
   variables, the computer's and the phone's, and the rule here chooses (an inline size could not change at a phone's
   width, and would beat the phone rules above). Its words inside take what was set, all its paragraphs at its size
   (a first paragraph drawn larger by the design included). A picked colour is the colour seen: a piece drawn faint
   comes to full strength. A link inside a piece with its own colour takes that colour, underlined. */
[data-lk] { --lk-z: var(--lk-d); }
@media (max-width: 760px) { [data-lk] { --lk-z: var(--lk-p); } }
[data-lk~="s"] :is(p, a, span, li, b, strong, em, i, dt, dd) { font-size: inherit !important; }
[data-lk~="f"] :is(p, a, span, li, b, strong, em, i, dt, dd) { font-family: inherit !important; }
[data-lk~="w"] :is(p, a, span, li, dt, dd) { font-weight: inherit !important; }
[data-lk~="i"] :is(p, a, span, li, dt, dd) { font-style: inherit !important; }
[data-lk~="c"], [data-lk~="c"] :is(p, span, li) { opacity: 1; }
[data-lk~="c"] :is(p, a:not(.btn), span, li, b, strong, em, i, dt, dd) { color: inherit !important; }
[data-lk~="c"] a:not(.btn):not(.room-link) { text-decoration: underline; }
/* Bold, italic and links inside ordinary words (the three marks, server.js words()). A link inside the words of a box
   or an entry that is pressed as a whole sits above the press that covers it, so it is the link that is followed. */
.pop-words .pw:not(:last-child) > p:last-child { margin-bottom: 1em; }
.room-text a, .wo-text a, .pw a, .find-note a, .dish-words a { position: relative; z-index: 2; }
.room-text strong, .wo-text strong, .pw strong, .dish-words strong, .page-lead strong { font-weight: 700; }

/* Marks on a dish (T, 23 November 2026, build 2: vegetarian, vegan, gluten free): a letter or two in a small outlined
   box beside the name, 15px, named in full for a screen reader; the line under the menu says what each means. */
.dmarks { display: inline-flex; gap: 4px; margin-left: 8px; flex: none; }
.dmark { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 4px; border: 1.5px solid currentColor; border-radius: 4px; font-family: var(--f-body); font-size: 15px; font-weight: 700; font-style: normal; line-height: 1; text-decoration: none; opacity: .85; }
.marks-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 28px 0 0; max-width: 60ch; font-size: var(--t-small); }
.marks-key span { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 901px) { .rest-body .marks-key { width: calc(7 / 12 * 100%); } }

/* The notice across the top (build 2): a strip inside the top bar, above it, so the bar is never covered; everything
   that holds under the bar holds under both (--notice-h, set while a notice shows). One line at a computer, up to two
   on a phone. */
body.has-notice { --notice-h: 40px; }
.pub-bar { height: calc(var(--bar-h) + var(--notice-h, 0px)); }
.bar-in { height: var(--bar-h); }
.notice { display: flex; align-items: center; justify-content: center; height: var(--notice-h, 0px); padding: 0 var(--gut); background: var(--notice-bg); color: var(--notice-ink); font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center; position: relative; z-index: 2; }
.notice span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.notice a { color: inherit; }
html:has(body.has-notice) { scroll-padding-top: calc(var(--bar-h) + 52px); }
body.has-notice:not(.home) main { padding-top: calc(var(--bar-h) + var(--notice-h)); }
body.has-notice .bar-menu { top: calc(var(--bar-h) + var(--notice-h)); }
@media (min-width: 901px) and (min-height: 641px) {
  body.has-notice .info.holds .info-in > .half:first-child, body.has-notice .hold { top: calc(var(--bar-h) + var(--notice-h) + 28px); }
  body.has-notice:has(.pub-bar.away) .hold, body.has-notice:has(.pub-bar.away) .info.holds .info-in > .half:first-child { top: 28px; }
}
@media (max-width: 760px) {
  body.has-notice { --notice-h: 48px; }
  .notice span { -webkit-line-clamp: 2; }
}

/* How wide the words run (T, 24 November 2026: "does it look good to force the margin where it is? should we extend it
   across the top of the whole section?"): each line under a section's heading on the home page, the owner's choice at a
   computer: Narrow (the measure each was drawn with), Wide (about 900px) or Full width (the section's own). On a phone
   the words fill the screen whichever is chosen. */
@media (min-width: 761px) {
  .hero-line.lw-wide, .rooms-head .lw-wide, .wide-words .lw-wide, .news-head .lw-wide { max-width: min(900px, 100%); }
  .hero-line.lw-full, .rooms-head .lw-full, .wide-words .lw-full, .news-head .lw-full { max-width: none; }
  .rooms-head:has(.lw-wide, .lw-full) { max-width: none; }
  .rooms-head:has(.lw-wide, .lw-full) h2 { max-width: 640px; }
}
/* Returns and empty lines in a paragraph (lib/pieces.js words()): an empty line's room, two, or three. */
.pg { display: block; height: .9em; }
.pg2 { height: 1.8em; }
.pg3 { height: 2.7em; }

/* A photograph or video zoomed out below filling its place (public/js/zoom-out.js) fills it again on a phone, the part
   framed at a computer in view, as before zooming out existed (T, 26 November 2026, "Fill on phones": a wide photograph
   shown whole in the tall hero is a strip with blur above and below). The site's phone width; above it, as framed. */
@media (max-width: 760px) {
  img[style*="--zt"], video[style*="--zt"] { object-fit: cover !important; transform: none !important; }
}
