/* ==========================================================================
   Westshore Beach Inn — site.css

   Built on the brand identity sheet:
     navy  #003a70 (Pantone 654 C) · teal #0097a9 (Pantone 7711 C)
     gold  #c8a977 (Pantone 466 C) · white
     headlines in a slab serif (the brand face is Stag; Bitter stands in on
     the web), body copy in Montserrat.

   The shapes come from the logo: a navy sky, teal waves parted by white foam,
   gold sand. The hero is that scene at full size, and the same shoreline
   returns wherever a dark band begins.

   Contents
     1. Tokens            6. Ticker           11. Stay
     2. Base              7. The pub          12. Our story
     3. Shared pieces     8. Menu             13. Crew
     4. Header & nav      9. On tap           14. Find us / footer
     5. Hero             10. Functions        15. Motion & print
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */

:root {
  /* Brand colours, exactly as specified */
  --navy: #003a70;
  --teal: #0097a9;
  --gold: #c8a977;
  --white: #ffffff;

  /* Shades and tints of those three */
  --navy-deep: #002b55;       /* big dark bands */
  --navy-night: #001d3b;      /* deepest band */
  --teal-display: #00889a;    /* teal for large type on light bands (3:1 or better) */
  --teal-ink: #00707f;        /* teal for small text, buttons, focus (4.5:1 or better) */
  --teal-dark: #005c68;
  --teal-light: #6fcbd7;      /* teal that reads on navy */
  --teal-tint: #e6f5f6;
  --gold-light: #dbc49f;
  --gold-ink: #76591f;        /* gold that reads as text on light */
  --paper: #f6f1e9;           /* gold at 16% — the page */
  --paper-light: #fbf9f5;
  --sand: #eee5d6;            /* gold at 30% */
  --line: #e0d4bf;
  --line-soft: #ebe2d2;

  /* Text */
  --ink: #10273d;
  --muted: #47596d;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.78);

  --font-display: 'Bitter', Rockwell, 'Roboto Slab', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h: 68px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1240px;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 30px;
  --shadow-card: 0 1px 2px rgba(0, 43, 85, 0.06), 0 14px 34px -16px rgba(0, 43, 85, 0.22);
  --shadow-pop: 0 18px 40px -18px rgba(0, 43, 85, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* One wavelength of sea, used as a mask for scalloped edges */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20V10Q30 -8 60 10T120 10V20Z'/%3E%3C/svg%3E");
  /* The logo's shoreline as a repeating strip, 324 × 54: a line of foam, a band
     of teal, a second line of foam. The lower foam line follows the same curve
     as --wave at 108px wide, so it sits exactly on a scalloped edge. */
  --shore: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 324 54'%3E%3Cpath fill='%230097a9' d='M0 15Q40.5 27 81 15T162 15T243 15T324 15V38Q297 54.2 270 38T216 38T162 38T108 38T54 38T0 38Z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4.5' d='M-81 12.75Q-40.5 .75 0 12.75T81 12.75T162 12.75T243 12.75T324 12.75T405 12.75'/%3E%3Cpath fill='%23fff' d='M0 36Q27 19.8 54 36T108 36T162 36T216 36T270 36T324 36V41Q297 57.2 270 41T216 41T162 41T108 41T54 41T0 41Z'/%3E%3C/svg%3E");
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.7 5.3 4.7 9.3 10 10-5.3.7-9.3 4.7-10 10-.7-5.3-4.7-9.3-10-10 5.3-.7 9.3-4.7 10-10Z'/%3E%3C/svg%3E");
}

@media (min-width: 1080px) {
  :root { --header-h: 78px; }
}

/* ── 2. Base ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--navy);
  text-wrap: balance;
}

h2 { font-size: clamp(2.2rem, 1.3rem + 4.1vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem); line-height: 1.1; }

h1 em, h2 em {
  font-style: italic;
  color: var(--teal-display);
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}
a[href^="tel:"] { white-space: nowrap; }

img, svg { max-width: 100%; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--teal); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── 3. Shared pieces ──────────────────────────────────────────────────── */

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--band, transparent);
}

/* A scalloped edge in the section's own colour, lapping over the one above */
.wave-top { position: relative; }
.wave-top::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 18px;
  background: var(--band);
  -webkit-mask: var(--wave) repeat-x 50% 0 / 108px 18px;
  mask: var(--wave) repeat-x 50% 0 / 108px 18px;
  pointer-events: none;
}
/* …and where a dark band begins, the logo's shoreline rides in on top of it */
.wave-top--shore::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 5px);
  height: 54px;
  background: var(--shore) repeat-x 50% 0 / 324px 54px;
  pointer-events: none;
}
.wave-top--shore { padding-top: calc(var(--section-y) + 0.5rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 0 0 1.15rem;
  font: 700 0.75rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font: italic 700 1.05rem/1 var(--font-display);
  letter-spacing: 0;
  color: var(--teal-ink);
}
.eyebrow__num::after {
  content: '';
  width: 2.25rem;
  height: 2px;
  background: var(--teal);
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.36vw, 1.25rem);
  line-height: 1.6;
  max-width: 46ch;
}
h2 + .lead { margin-top: 1.4rem; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lead + .btn,
.section-head .lead + .btn-row { margin-top: 1.6rem; }

@media (min-width: 940px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
  }
}
@media (max-width: 939.98px) {
  .section-head--split > * + * { margin-top: 1.4rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 1em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: none;
  font: 700 0.9rem/1.1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 0.78em 1.2em; font-size: 0.84rem; }

.btn--primary { background: var(--teal-ink); color: var(--white); box-shadow: 0 10px 22px -12px rgba(0, 112, 127, 0.9); }
.btn--primary:hover { background: var(--teal-dark); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }

.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-light); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--paper); }

.btn--ghost { border-color: currentColor; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.btn--text {
  padding-inline: 0.2em;
  border-radius: 6px;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.btn--text:hover { transform: none; text-decoration-color: var(--gold); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn-row--center { justify-content: center; }
/* The takeaway button carries the phone number; ease it in on the narrowest phones */
@media (max-width: 359.98px) {
  [data-takeaway] { padding-inline: 1.1em; }
}

/* Small rounded facts */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}
.chips li {
  padding: 0.45em 0.9em;
  border-radius: 999px;
  background: rgba(0, 151, 169, 0.12);
  color: #005460;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Dietary codes */
.tag {
  display: inline-block;
  padding: 0.3em 0.5em;
  border-radius: 6px;
  background: rgba(0, 151, 169, 0.12);
  color: #005e6b;
  font: 700 0.66rem/1 var(--font-body);
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}
/* Markers that aren't dietary — "made here", "spicy" — wear gold instead of teal */
.tag--note,
.tag--hot {
  background: rgba(200, 169, 119, 0.28);
  color: #654b16;
}
.tag--hot {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.tag--hot .icon { width: 1.15em; height: 1.15em; stroke-width: 2; }

/* Fade-and-rise as things scroll into view (only once JS has an observer) */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ── 4. Header & nav ───────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--paper);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.site-header.is-stuck {
  background: rgba(246, 241, 233, 0.92);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 rgba(0, 58, 112, 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }

/* The header carries the official horizontal lockup, always on a light ground */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  text-decoration: none;
}
.brand img { display: block; flex: none; width: auto; height: 44px; }
.brand__text { display: grid; gap: 0.4rem; }
.brand__name {
  font: 800 1.12rem/1 var(--font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__sub {
  font: 700 0.58rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* On navy the wordmark artwork can't be used, so the footer pairs the icon with the name */
.brand--footer { color: var(--white); }
.brand.brand--footer img { height: 56px; }
.brand--footer .brand__sub { color: var(--gold); }
.brand--footer, .brand--footer .brand__text { min-width: 0; }
@media (max-width: 419.98px) {
  .brand--footer .brand__sub { line-height: 1.5; white-space: normal; }
}

.site-nav { display: none; }
.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid rgba(0, 58, 112, 0.22);
  border-radius: 50%;
  background: none;
  color: var(--navy);
}
.nav-toggle .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.nav-toggle__close { display: none; }

@media (max-width: 559.98px) {
  .site-header__actions > .btn { display: none; }
}
@media (max-width: 379.98px) {
  .brand img { height: 36px; }
}
@media (min-width: 1080px) {
  .brand img { height: 50px; }
  .site-nav { display: flex; gap: clamp(1rem, 1.9vw, 1.8rem); }
  .nav-toggle { display: none; }
}

/* Full-screen menu on small screens (it opens beneath the header bar) */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--navy);
  color: var(--on-dark);
  animation: nav-in 0.35s var(--ease);
}
.mobile-nav__links { display: grid; }
.mobile-nav__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: inherit;
  font: 800 clamp(1.8rem, 8.2vw, 2.7rem)/1.1 var(--font-display);
  letter-spacing: -0.015em;
  text-decoration: none;
}
.mobile-nav__links a span {
  min-width: 1.7em;
  font: italic 700 1rem/1 var(--font-display);
  letter-spacing: 0;
  color: var(--gold);
}
.mobile-nav__foot { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mobile-nav__foot .btn { flex: 1 1 12rem; }

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-12px); }
}

.nav-open { overflow: hidden; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ── 5. Hero ───────────────────────────────────────────────────────────── */

/* A rounded navy panel set into the page — the window from the logo, with the
   same things in it: sky, two bands of sea, sand, and the pūkeko on the shore. */
.hero {
  --inset: clamp(0.6rem, 1.5vw, 1.4rem);
  --bird-h: clamp(190px, 27vw, 440px);
  --bird-w: calc(var(--bird-h) * 0.926);
  --bird-right: max(clamp(0.75rem, 5.5vw, 6.5rem), (100% - var(--container)) / 2 - 2rem);
  --sand-top: 82px;                     /* where the sand starts, below the top of the shore */
  padding: var(--header-h) var(--inset) 0;
}

.hero__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(560px, calc(min(100vh, 920px) - var(--header-h) - var(--inset)));
  min-height: max(560px, calc(min(100svh, 920px) - var(--header-h) - var(--inset)));
  overflow: hidden;
  overflow: clip;
  border-radius: clamp(26px, 3.6vw, 52px);
  background: var(--navy) linear-gradient(180deg, #003262 0%, var(--navy) 55%);
  color: var(--white);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2.5rem, 7vh, 4.5rem) calc(var(--bird-h) - 70px);
}

.hero__eyebrow {
  margin: 0 0 1.3rem;
  font: 700 0.75rem/1.5 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__heading {
  font-size: clamp(2.5rem, 1rem + 5.1vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  color: var(--white);
}
.hero__heading span,
.hero__heading em { display: block; text-wrap: balance; }
.hero__heading em { margin-top: 0.06em; color: var(--gold); }

.hero__copy {
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
}

@media (min-width: 760px) {
  /* Wide enough for words on the left and the bird on the right */
  .hero__content { padding-bottom: clamp(2rem, 5vh, 3.5rem); }
  .hero__content > * { max-width: calc(100% - var(--bird-w) - 1.5rem); }
  .hero__content > .hero__copy { max-width: min(34ch, 100% - var(--bird-w) - 1.5rem); }
}
.hero__panel :focus-visible { outline-color: var(--gold); }

/* The shore: two bands of sea, each with a line of foam, then sand */
.hero__shore {
  position: relative;
  z-index: 2;
  padding: calc(var(--sand-top) + 2.75rem) 0 1.5rem;
  color: var(--navy);
}
.hero__waves { position: absolute; inset: 0; pointer-events: none; }

/* Each band is a block of colour with a drifting swell along its top edge and
   a 5px line of foam above that */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c);
  box-shadow: 0 -5px 0 var(--white);
}
.wave::before,
.wave::after {
  content: '';
  position: absolute;
  left: calc(var(--w) * -1);
  right: 0;
  height: var(--h);
  -webkit-mask: var(--wave) repeat-x 0 0 / var(--w) var(--h);
  mask: var(--wave) repeat-x 0 0 / var(--w) var(--h);
  animation: drift var(--t) linear infinite;
}
.wave::before { bottom: calc(100% + 4px); background: var(--white); }
.wave::after { bottom: calc(100% - 1px); background: var(--c); }
.wave--back { --c: var(--teal); --w: 236px; --h: 20px; --t: 36s; top: 0; }
.wave--front { --c: var(--teal); --w: 172px; --h: 18px; --t: 25s; top: 40px; }
.wave--front::before,
.wave--front::after { animation-direction: reverse; }
.wave--sand { --c: var(--gold); --w: 300px; --h: 12px; --t: 70s; top: var(--sand-top); }

/* The pūkeko stands on the sand, legs across the water, as in the icon */
.hero__bird {
  position: absolute;
  top: calc(var(--sand-top) + 30px);
  right: var(--bird-right);
  z-index: 1;
  width: auto;
  max-width: none;
  height: var(--bird-h);
  transform: translateY(-100%);
  pointer-events: none;
}

.hero__info {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.9rem 2rem;
  list-style: none;
}
.hero__info li { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.hero__info .icon { width: 1.6rem; height: 1.6rem; color: var(--navy); stroke-width: 1.7; }
.hero__info strong {
  display: block;
  margin-bottom: 0.2rem;
  font: 700 0.7rem/1.2 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero__info-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy-night);
  text-decoration: none;
}
a.hero__info-sub:hover { text-decoration: underline; }
.hero__shore :focus-visible { outline-color: var(--navy); }

@media (min-width: 900px) {
  .hero__shore { padding-top: calc(var(--sand-top) + 1.6rem); }
  .hero__info {
    --pad: max(var(--gutter), (100% - var(--container)) / 2);
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    width: auto;
    max-width: calc(100% - var(--pad) - var(--bird-right) - var(--bird-w) - 1.5rem);
    margin-left: var(--pad);
  }
  .hero__info li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .hero__info { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) auto; justify-content: stretch; }
  .hero__info li:first-child { grid-column: auto; }
}

/* ── 6. Ticker ─────────────────────────────────────────────────────────── */

.ticker {
  position: relative;
  display: flex;
  overflow: hidden;
  margin-top: clamp(0.5rem, 1.4vw, 1.1rem);
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker var(--ticker-t, 48s) linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; list-style: none; }
.ticker__list li {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
  font: italic 700 clamp(1.05rem, 0.96rem + 0.55vw, 1.4rem)/1 var(--font-display);
  white-space: nowrap;
}
.ticker__list li::after {
  content: '';
  width: 0.7em;
  height: 0.7em;
  background: var(--teal);
  -webkit-mask: var(--spark) center / contain no-repeat;
  mask: var(--spark) center / contain no-repeat;
}

.ticker__toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 100%;
  padding: 0 0 0 2.25rem;
  border: 0;
  background: linear-gradient(90deg, rgba(246, 241, 233, 0), var(--paper) 55%);
  color: var(--muted);
}
.ticker__toggle:hover { color: var(--navy); }
.ticker__toggle .icon { width: 1.15rem; height: 1.15rem; stroke-width: 2.4; }
.ticker__play { display: none; fill: currentColor; }
.motion-paused .ticker__pause { display: none; }
.motion-paused .ticker__play { display: block; }

/* ── 7. The pub ────────────────────────────────────────────────────────── */

.pub { --band: var(--paper); }

.pub__grid {
  display: grid;
  gap: clamp(3.25rem, 6vw, 5.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .pub__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.pub__intro h2 { margin-bottom: 1.6rem; }
.pub__intro .lead { margin-bottom: 1rem; }
.pub__intro p:not(.lead):not(.eyebrow) { max-width: 52ch; color: var(--muted); }

/* A painted sign listing what's inside, with the icon as its crest */
.signboard {
  position: relative;
  padding: clamp(2.9rem, 4.5vw, 3.4rem) clamp(1.6rem, 3vw, 2.5rem) clamp(1.9rem, 3.5vw, 2.6rem);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow-pop);
}
.signboard::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px solid var(--gold);
  border-radius: calc(var(--radius-l) - 9px);
  opacity: 0.7;
  pointer-events: none;
}
.signboard__crest {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 3.4rem;
  height: auto;
  transform: translate(-50%, -52%);
  filter: drop-shadow(0 6px 10px rgba(0, 29, 59, 0.35));
}
.signboard__title {
  margin: 0 0 1.1rem;
  font: italic 700 1.2rem/1 var(--font-display);
  text-align: center;
  color: var(--gold);
}
.signboard__list { list-style: none; }
.signboard__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-top: 1px solid rgba(200, 169, 119, 0.35);
  font: 700 clamp(1.06rem, 0.96rem + 0.55vw, 1.32rem)/1.2 var(--font-display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.signboard__list .icon { width: 1.55rem; height: 1.55rem; color: var(--teal-light); stroke-width: 1.6; }
.signboard__foot {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(200, 169, 119, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--gold);
}
@media (min-width: 960px) {
  .signboard { transform: rotate(1.3deg); }
}

/* Photos of the bars, from pubGallery in site.json: stacked on phones, side by
   side from tablet width up */
.pub-gallery {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.pub-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.pub-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 600px) {
  /* A lone photo runs as a banner instead of a page-wide 4:3 */
  .pub-gallery[data-count="1"] figure { aspect-ratio: 21 / 9; }
}
@media (min-width: 520px) and (max-width: 899.98px) {
  /* Three photos, not yet room for three across: the first stands tall beside
     the other two, so the row never ends on an empty slot */
  .pub-gallery[data-count="3"] { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); }
  .pub-gallery[data-count="3"] figure { aspect-ratio: 3 / 2; }
  .pub-gallery[data-count="3"] figure:first-child { grid-row: span 2; aspect-ratio: auto; }
  .pub-gallery[data-count="3"] figure:first-child img { position: absolute; inset: 0; }
}
.pub-gallery figcaption,
.photo-credit {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  background: rgba(0, 43, 85, 0.86);
  color: var(--on-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.photo-credit { left: auto; right: 0.9rem; font-weight: 500; font-size: 0.68rem; }
.photo-credit a { color: inherit; }

/* ── 8. Menu ───────────────────────────────────────────────────────────── */

.eat { --band: var(--sand); }
.eat h2 em { color: var(--teal-ink); }

.steps {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(251, 249, 245, 0.75);
  font-size: 0.92rem;
  line-height: 1.5;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font: 800 1.25rem/1 var(--font-display);
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .steps li { align-items: flex-start; }
}

/* A row of plates */
.plates { margin-bottom: clamp(2rem, 4vw, 3rem); }
.plates__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  font: italic 700 1.2rem/1 var(--font-display);
  color: var(--navy);
}
.plates__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.plates__viewport {
  margin-inline: calc(var(--gutter) * -1);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.plates__track {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  padding: 0.6rem var(--gutter) 0.75rem;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.plates__track::-webkit-scrollbar { display: none; }
.plate {
  flex: none;
  width: 8.25rem;
  scroll-snap-align: start;
}
.plate a {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
}
.plate img {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line-soft);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--teal), 0 16px 22px -14px rgba(0, 43, 85, 0.55);
  transition: transform 0.4s var(--ease);
}
.plate a:hover img { transform: translateY(-5px) rotate(-4deg); }
.plate__name { font-size: 0.8rem; font-weight: 700; line-height: 1.3; }
.plate__price { font: 700 0.92rem/1.2 var(--font-display); color: var(--teal-ink); }

/* The menu itself, on its own sheet of paper */
.menu-card {
  overflow: clip;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--paper-light);
  box-shadow: var(--shadow-card);
}

/* Dietary toggles sit at the top of the sheet… */
.menu-diet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.25rem, 3.5vw, 3rem) 0.9rem;
}
.menu-diet__label {
  margin-right: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.diet-btn {
  min-width: 2.9rem;
  padding: 0.55em 0.85em;
  border: 1.5px solid rgba(0, 112, 127, 0.5);
  border-radius: 999px;
  background: none;
  color: var(--teal-ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.diet-btn:hover { border-color: var(--teal-ink); }
.diet-btn[aria-pressed="true"] { border-color: var(--teal-ink); background: var(--teal-ink); color: var(--white); }
.diet-clear {
  padding: 0.5em 0.4em;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
}

/* …and the section chips follow you down the page */
.menu-chips {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem clamp(1.25rem, 3.5vw, 3rem);
  overflow-x: auto;
  border-block: 1px solid var(--line-soft);
  background: rgba(251, 249, 245, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chips a {
  flex: none;
  padding: 0.62em 1.05em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.menu-chips a:hover { border-color: var(--navy); }
.menu-chips a.is-current { border-color: var(--navy); background: var(--navy); color: var(--white); }

.menu-status {
  margin: 0;
  padding: 1.1rem clamp(1.25rem, 3.5vw, 3rem) 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-ink);
}

.menu-sections {
  padding: clamp(1.5rem, 3.5vw, 3rem) clamp(1.25rem, 3.5vw, 3rem) 0.5rem;
}
@media (min-width: 900px) {
  .menu-sections { columns: 2; column-gap: clamp(2.5rem, 5vw, 4.75rem); }
}

.menu-section {
  break-inside: avoid;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  scroll-margin-top: calc(var(--header-h) + 4.75rem);
}
.menu-section__title {
  padding-bottom: 0.7rem;
  border-bottom: 3px solid var(--navy);
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.95rem);
}
.menu-section__intro {
  margin: 0.85rem 0 0;
  font: italic 500 0.98rem/1.45 var(--font-display);
  color: var(--gold-ink);
}

.dish-list { list-style: none; }
.dish {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px dashed var(--line);
  scroll-margin-top: calc(var(--header-h) + 5.25rem);
}
.dish:last-child { border-bottom: 0; }
.dish__text { flex: 1; min-width: 0; }
.dish__name {
  font: 700 1rem/1.35 var(--font-body);
  letter-spacing: 0;
  color: var(--navy);
}
.dish__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.3rem 0 0;
}
.dish__price {
  margin-right: 0.3rem;
  font: 800 1.08rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--teal-ink);
}
.dish__desc {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.dish__photo {
  display: block;
  flex: none;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 18px;
  object-fit: cover;
  background: var(--line-soft);
}
.dish.is-flash { animation: flash 1.6s var(--ease); }

/* Extras: a plain price list */
.price-list { margin-top: 0.4rem; list-style: none; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.94rem;
}
.price-list__name { font-weight: 600; color: var(--navy); }
.price-list__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-0.25em); }
.price-list__price { font: 800 1rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--teal-ink); }

.menu-section__note {
  margin: 0.8rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--gold-ink);
}
.menu-section__note + .menu-section__note { margin-top: 0.3rem; }

.menu-fallback { margin: 0; padding-bottom: 2rem; color: var(--muted); }

.menu-foot {
  display: grid;
  gap: 0.9rem;
  margin: 0 clamp(1.25rem, 3.5vw, 3rem);
  padding: 1.5rem 0 clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}
.menu-foot:empty { display: none; }
.menu-foot p { margin: 0; }
.menu-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.menu-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.menu-allergen {
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: rgba(200, 169, 119, 0.16);
  color: var(--ink);
}

.eat__ctas { margin-top: clamp(2rem, 4vw, 3rem); }

/* ── 9. On tap ─────────────────────────────────────────────────────────── */

.taps {
  --band: var(--navy-deep);
  color: var(--on-dark);
}
.taps h2 { color: var(--white); }
.taps h2 em { color: var(--gold); }
.taps .eyebrow { color: var(--gold); }
.taps .eyebrow__num { color: var(--teal-light); }
.taps .lead { color: var(--on-dark-muted); }
#taps-count { color: var(--white); font-weight: 700; }

/* Filters on the left, the way out to Untappd on the right */
.taps__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.taps__toolbar .btn { justify-self: start; order: -1; max-width: 100%; }
@media (max-width: 359.98px) {
  .taps__toolbar .btn { padding-inline: 1.1em; font-size: 0.82rem; }
}
@media (min-width: 1000px) {
  .taps__toolbar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
  .taps__toolbar .btn { order: 0; }
}

.tap-filters {
  display: flex;
  gap: 0.45rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.tap-filters::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) {
  .tap-filters { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
}
.tap-filter {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.5em;
  padding: 0.65em 1.05em;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: none;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tap-filter:hover { border-color: var(--white); }
.tap-filter span { font-size: 0.8em; font-weight: 700; opacity: 0.7; }
.tap-filter[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--navy-deep); }

.tap-grid {
  display: grid;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
@media (min-width: 700px) { .tap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .tap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tap {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.tap__label {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font: 800 1.4rem/1 var(--font-display);
}
.tap__label img { display: block; width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.tap__label--mono { background: var(--gold); }
.tap__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  font: 700 0.96rem/1.3 var(--font-body);
  letter-spacing: 0;
  color: var(--white);
}
.tap__local {
  padding: 0.28em 0.55em;
  border-radius: 5px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}
.tap__meta { margin: 0.2rem 0 0; font-size: 0.8rem; line-height: 1.4; color: var(--on-dark-muted); }
.tap__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--on-dark-muted);
}
.tap__prices li { white-space: nowrap; }
.tap__prices b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.tap__abv {
  padding: 0.32em 0.65em;
  border: 1px solid rgba(111, 203, 215, 0.55);
  border-radius: 999px;
  color: var(--teal-light);
  font: 600 0.8rem/1 var(--font-body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tap-more-wrap { display: none; justify-content: center; margin-top: 1.5rem; }
@media (max-width: 699.98px) {
  .tap-grid.is-collapsed .tap:nth-child(n + 11) { display: none; }
  .tap-more-wrap { display: flex; }
}

.taps__outro {
  max-width: 62ch;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--on-dark-muted);
}
.taps__outro a { color: var(--white); font-weight: 600; }

/* ── 10. Functions ─────────────────────────────────────────────────────── */

.functions { --band: var(--paper); }

.functions__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 980px) {
  .functions__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; }
}

.spaces { display: grid; gap: 1.5rem; }

.space {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--paper-light);
  box-shadow: var(--shadow-card);
}
.space__media { position: relative; aspect-ratio: 16 / 8; background: var(--sand); }
.space__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.space__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.space__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.space__setting {
  padding: 0.5em 0.9em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: var(--teal-ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.space__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem clamp(1.5rem, 3vw, 2.5rem);
  margin: 1.4rem 0 1.2rem;
}
.fact, .fact--word { margin: 0; }
.fact b {
  display: block;
  font: 800 clamp(2.9rem, 2.2rem + 2.6vw, 4.3rem)/0.85 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--teal);
}
.fact span,
.fact--word {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact span { display: block; margin-top: 0.6rem; }
.fact--word {
  align-self: flex-end;
  padding: 0.65em 0.95em;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  line-height: 1;
}
.space__blurb { margin: 0; font-size: 0.96rem; color: var(--muted); }

/* Enquiry form — the dark card */
.enquiry {
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow-pop);
}
.enquiry__title { font-size: clamp(1.65rem, 1.4rem + 1.1vw, 2.2rem); color: var(--white); }
.enquiry__sub { margin: 0.8rem 0 1.6rem; font-size: 0.94rem; color: var(--on-dark-muted); }
.enquiry__sub a { color: var(--gold); font-weight: 600; }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 520px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; min-width: 0; }
.field__label { font-size: 0.78rem; font-weight: 600; color: var(--on-dark-muted); }
.field__label b { color: var(--gold); }

.form input,
.form select,
.form textarea,
.newsletter__form input {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
  color-scheme: dark;
  transition: border-color 0.2s, background-color 0.2s;
}
.form textarea { resize: vertical; min-height: 6.5rem; }
.form input::placeholder,
.form textarea::placeholder,
.newsletter__form input::placeholder { color: rgba(255, 255, 255, 0.66); }
.form input:hover,
.form select:hover,
.form textarea:hover,
.newsletter__form input:hover { border-color: rgba(255, 255, 255, 0.6); }
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible,
.newsletter__form input:focus-visible {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(200, 169, 119, 0.4);
}
.form select option { background: var(--navy-deep); color: var(--white); }
.form .btn { justify-self: start; margin-top: 0.35rem; }
.form__note { margin: 0; font-size: 0.86rem; color: var(--on-dark-muted); }
.form__note a { color: var(--white); font-weight: 600; }

/* ── 11. Stay ──────────────────────────────────────────────────────────── */

.stay { --band: var(--teal-tint); }

.stay__top { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 980px) {
  .stay__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
.stay__top .section-head { margin-bottom: 0; }
.stay__top h2 { font-size: clamp(2.2rem, 1.35rem + 3.4vw, 3.9rem); }

.stay__photo { position: relative; margin: 0; }
.stay__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-l);
  object-fit: cover;
  box-shadow: var(--shadow-pop);
}
.stay__photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5em 0.95em;
  border-radius: 999px;
  background: rgba(0, 43, 85, 0.86);
  color: var(--on-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.stay__sticker {
  position: absolute;
  top: -1.6rem;
  right: 1rem;
  display: grid;
  place-content: center;
  width: 6.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 0 0 5px var(--teal-tint), 0 14px 24px -10px rgba(0, 43, 85, 0.5);
}
.stay__sticker b { font: 800 2.6rem/0.85 var(--font-display); letter-spacing: -0.03em; }
.stay__sticker span { margin-top: 0.3rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 1100px) {
  .stay__sticker { right: -1.25rem; }
}

.rooms { display: grid; gap: 1.5rem; margin-top: clamp(2.75rem, 5vw, 4.5rem); }
@media (min-width: 800px) { .rooms { grid-template-columns: 1fr 1fr; } }

.room {
  overflow: hidden;
  border: 1px solid rgba(0, 58, 112, 0.1);
  border-radius: var(--radius-l);
  background: var(--paper-light);
  box-shadow: var(--shadow-card);
}
.room__media { overflow: hidden; }
.room__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.room:hover .room__media img { transform: scale(1.035); }
.room__body { padding: clamp(1.4rem, 2.6vw, 2rem); }
.room__body p { margin: 0.7rem 0 1.1rem; font-size: 0.96rem; color: var(--muted); }

.stay__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: var(--on-dark);
}
.stay__banner h3 { color: var(--white); }
.stay__banner p { margin: 0.6rem 0 0; font-size: 0.96rem; color: var(--on-dark-muted); }
.stay__banner .btn-row { margin-top: 0; }

/* ── 12. Our story ─────────────────────────────────────────────────────── */

.story {
  --band: var(--navy-night);
  color: var(--on-dark);
}
.story h2, .story h3 { color: var(--white); }
.story h2 em { color: var(--gold); }
.story .eyebrow { color: var(--gold); }
.story .eyebrow__num { color: var(--teal-light); }
.story .lead { color: var(--on-dark-muted); }

.story__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); }
@media (min-width: 1000px) {
  .story__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); align-items: start; }
  .story__aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* Two framed photographs, hung a little crooked. Both are crops of the one
   archive image, which already includes the timber frames. */
.wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 34rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.frame { margin: 0; }
.frame__crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 306 / 219;
  box-shadow: 0 22px 34px -16px rgba(0, 0, 0, 0.8);
}
.frame__crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
}
.frame--right .frame__crop img { left: -106.536%; }
.frame--left { transform: rotate(-2.4deg); }
.frame--right { transform: translateY(1.75rem) rotate(1.8deg); }
.frame figcaption {
  margin-top: 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--on-dark-muted);
}

.timeline { display: grid; list-style: none; }
.timeline__entry {
  position: relative;
  padding: 0 0 clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.6rem, 3.5vw, 2.75rem);
  border-left: 2px solid rgba(200, 169, 119, 0.4);
}
.timeline__entry:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline__entry::before {
  content: '';
  position: absolute;
  top: calc(0.46em - 7px);
  left: -8px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy-night);
  font-size: clamp(2.5rem, 1.6rem + 3.7vw, 4.7rem); /* same as the year, so 0.46em is its middle */
}
.timeline__entry--today::before { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 6px rgba(0, 151, 169, 0.3); }
.timeline__year {
  margin: 0 0 0.8rem;
  font: 800 clamp(2.5rem, 1.6rem + 3.7vw, 4.7rem)/0.92 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--gold);
}
/* Outlined years: the stroke is painted first and the fill (in the band's colour)
   on top, which leaves a clean outer line */
@supports (-webkit-text-stroke: 1px #000) and (paint-order: stroke fill) {
  .timeline__year { color: var(--navy-night); -webkit-text-stroke: 3px var(--gold); paint-order: stroke fill; }
  .timeline__entry--today .timeline__year { color: var(--gold); -webkit-text-stroke: 0; }
}
.timeline__entry p:not(.timeline__year) { max-width: 50ch; margin: 0; font-size: 0.96rem; color: rgba(255, 255, 255, 0.86); }

.legend {
  display: grid;
  gap: 1.5rem clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border: 1px solid rgba(200, 169, 119, 0.45);
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(0, 151, 169, 0.2), rgba(0, 151, 169, 0.04));
}
@media (min-width: 760px) { .legend { grid-template-columns: auto minmax(0, 1fr); } }
.legend__mark { width: clamp(84px, 10vw, 132px); color: var(--teal-light); }
.legend__mark svg { display: block; }
.legend__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.legend h3 { font-size: clamp(1.65rem, 1.35rem + 1.3vw, 2.3rem); font-style: italic; }
.legend p:last-child { max-width: 68ch; margin-top: 1rem; font-size: 0.96rem; color: rgba(255, 255, 255, 0.86); }

/* ── 13. Crew ──────────────────────────────────────────────────────────── */

/* The sand */
.crew { --band: var(--gold); }
.crew h2 em { color: var(--navy-night); }
.crew .eyebrow { color: var(--navy-deep); }
.crew .eyebrow__num { color: var(--navy-deep); }
.crew .eyebrow__num::after { background: var(--navy); }
.crew .lead { color: var(--navy-night); }
.crew :focus-visible { outline-color: var(--navy); }

.crew__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1000px) {
  .crew__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; }
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.team:empty { display: none; }

.member {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: var(--radius-l);
  background: var(--paper-light);
  box-shadow: var(--shadow-card);
}
.member__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font: 800 1.8rem/1 var(--font-display);
  letter-spacing: -0.02em;
}
.member__text { min-width: 0; padding-top: 0.35rem; }
.member__name { font-size: 1.35rem; }
.member__role {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.member__bio { margin: 0.7rem 0 0; font-size: 0.9rem; line-height: 1.55; color: var(--muted); }

/* With a portrait supplied, the card stands tall */
.member--photo { display: block; padding: 0; overflow: hidden; }
.member--photo .member__photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.member--photo .member__text { padding: 1.3rem 1.4rem 1.5rem; }

.careers {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-l);
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow-pop);
}
.careers__kicker {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.careers h3 { font-size: clamp(1.85rem, 1.55rem + 1.4vw, 2.6rem); color: var(--white); }
.careers p:not(.careers__kicker) { margin: 0.9rem 0 1.6rem; font-size: 0.96rem; color: var(--on-dark-muted); }

/* ── 14. Find us / footer ──────────────────────────────────────────────── */

.site-footer {
  --band: var(--navy-deep);
  padding-top: calc(var(--section-y) + 0.5rem);
  background: var(--band);
  color: var(--on-dark);
}
.site-footer h2 { color: var(--white); }
.site-footer h2 em { color: var(--gold); }
.site-footer .eyebrow { color: var(--gold); }

/* On dark grounds the focus ring turns gold */
.site-footer :focus-visible, .taps :focus-visible, .story :focus-visible, .enquiry :focus-visible,
.stay__banner :focus-visible, .signboard :focus-visible, .careers :focus-visible,
.mobile-nav :focus-visible, .quickbar :focus-visible { outline-color: var(--gold); }

.find { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) {
  .find { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: end; }
}

.find__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 1240px) {
  .find__cols { grid-template-columns: 1fr 1.35fr 1.15fr; }
}
.find__col h3 {
  margin-bottom: 1rem;
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.find__col p { margin: 0 0 0.75rem; font-size: 0.98rem; line-height: 1.6; }
.find__col a { text-decoration-color: rgba(255, 255, 255, 0.4); }
.find__col a:hover { color: var(--gold); text-decoration-color: currentColor; }
.find__small { font-size: 0.86rem !important; color: var(--on-dark-muted); }

.hours { display: grid; margin: 0 0 0.9rem; font-size: 0.98rem; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.hours dt { font-weight: 600; white-space: nowrap; }
.hours dd { margin: 0; color: var(--on-dark-muted); white-space: nowrap; }
.hours .is-today dt::after {
  content: 'Today';
  margin-left: 0.5rem;
  padding: 0.22em 0.5em;
  border-radius: 5px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}
.hours .is-today dd { color: var(--white); font-weight: 600; }

.social { display: grid; gap: 0.45rem; margin-top: 1.1rem; list-style: none; }
.social a { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; text-decoration: none; }
.social a:hover { text-decoration: underline; }
.social .icon { width: 1.25rem; height: 1.25rem; color: var(--teal-light); }

.newsletter {
  display: grid;
  gap: 1.25rem 2.5rem;
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.05);
}
@media (min-width: 960px) { .newsletter { grid-template-columns: minmax(0, 1fr) auto; } }
.newsletter h3 { font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.7rem); color: var(--white); }
.newsletter p { margin: 0.55rem 0 0; font-size: 0.92rem; color: var(--on-dark-muted); }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.newsletter__form .field { flex: 1 1 10rem; }
.newsletter__form .field:nth-child(2) { flex: 1.5 1 13rem; }

.site-footer__wordmark {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  padding-block: 0.06em 0.04em;
  overflow: hidden;
  font: italic 900 clamp(3.2rem, 15.6vw, 15rem)/0.9 var(--font-display);
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  color: rgba(200, 169, 119, 0.25);
  user-select: none;
}
@supports (-webkit-text-stroke: 1px #000) and (paint-order: stroke fill) {
  .site-footer__wordmark { color: var(--navy-deep); -webkit-text-stroke: max(2px, 0.013em) rgba(200, 169, 119, 0.65); paint-order: stroke fill; }
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.site-footer__nav a { font-weight: 600; text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__legal { margin: 0; color: var(--on-dark-muted); }

/* Phone-only quick actions, shown once the hero buttons scroll away */
.quickbar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.4fr;
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(0, 43, 85, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -10px rgba(0, 29, 59, 0.7);
  transform: translateY(160%);
  transition: transform 0.4s var(--ease);
}
.quickbar.is-on { transform: none; }
.quickbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.quickbar .icon { width: 1.1rem; height: 1.1rem; color: var(--teal-light); }
.quickbar__primary { background: var(--gold); color: var(--navy-deep) !important; }
@media (min-width: 760px) { .quickbar { display: none; } }
@media (max-width: 759.98px) {
  .site-footer__bottom { padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)); }
}

/* ── 15. Motion & print ────────────────────────────────────────────────── */

@keyframes drift { to { transform: translateX(var(--w)); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes flash {
  0%, 35% { background-color: rgba(0, 151, 169, 0.2); box-shadow: 0 0 0 0.75rem rgba(0, 151, 169, 0.2); border-radius: 6px; }
  100% { background-color: rgba(0, 151, 169, 0); box-shadow: 0 0 0 0.75rem rgba(0, 151, 169, 0); border-radius: 6px; }
}

.motion-paused .wave::before,
.motion-paused .wave::after,
.motion-paused .ticker__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave::before,
  .wave::after,
  .ticker__track,
  .mobile-nav,
  .dish.is-flash { animation: none; }
  .ticker { justify-content: center; }
  .ticker__track { width: auto; }
  .ticker__list { flex-wrap: wrap; justify-content: center; row-gap: 0.7rem; padding-right: clamp(1.25rem, 2.5vw, 2.25rem); }
  .ticker__toggle { display: none; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .btn .icon, .plate img, .room__media img, .quickbar { transition: none; }
}

@media print {
  .site-header, .mobile-nav, .ticker, .quickbar, .hero__waves, .hero__bird,
  .menu-diet, .menu-chips, .plates, .btn-row, .enquiry, .newsletter, .site-footer__wordmark, .tap-filters { display: none !important; }
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__panel { min-height: 0; background: none; color: #000; }
  .hero__heading, .hero__heading em, .hero__eyebrow, .hero__copy { color: #000; }
  .section, .site-footer { padding-block: 1.5rem; background: none !important; color: #000 !important; }
  .wave-top::before, .wave-top::after { display: none; }
}
