/* ============================================================
   Once in a Bal-loon — design tokens

   PROVISIONAL — match to onceinabal-loon.com in client meeting.
   Every colour and font on the site is set here and only here: swap the
   values in :root (and the Google Fonts <link> in each page's <head>) and
   the whole site follows. Current values are sampled from the logo —
   ivory paper, deep green-charcoal ink, champagne gold, logo green.

   Display: Cormorant Garamond (refined serif). Body: Jost (clean sans).
   ============================================================ */

:root {
  --ink: #1E2A23;          /* body text, filled buttons */
  --paper: #FDFBF6;        /* page background */
  --panel: #F3ECE0;        /* cards, text panels, bands */
  --line: #E6DCCB;         /* hairlines and borders */
  --accent: #B8964F;       /* champagne gold — lines, edges, focus ring only */
  --brand: #3E7A30;        /* logo green — lines and icons only */

  /* Text-weight versions. The line colours above fail WCAG AA as type
     (gold on paper is 2.7:1), so anything carrying words uses a -text value.
     Checked against --paper and --panel: */
  --accent-text: #7A5C1F;  /* 6.0:1 paper, 5.3:1 panel */
  --brand-text: #355E2A;   /* 7.3:1 paper, 6.4:1 panel */
  --muted-text: #5C615B;   /* 6.1:1 paper, 5.4:1 panel */
  --on-dark: #FFFFFF;      /* text on the hero photo overlay */

  --shadow-rgb: 30, 42, 35;  /* --ink as channels, for rgba() shadows */

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", -apple-system, "Segoe UI", sans-serif;

  --text-eyebrow: 0.78rem;
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-ui: 0.95rem;
  --text-body: 1.0625rem;
  --text-lede: 1.3rem;      /* display-face standfirsts (Cormorant runs small) */
  --text-h2: clamp(2.1rem, 4vw, 2.75rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --nav-height-top: 6rem;
  --nav-height-scrolled: 4.25rem;
  --nav-height-mobile: 4.5rem;

  --radius: 4px;
  --motion-fast: 200ms;
  --motion-ease: cubic-bezier(0.4, 0, 0.2, 1);

  --focus-ring: 0 0 0 3px rgba(184, 150, 79, 0.55);
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(184, 150, 79, 0.18);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is load-bearing: every img carries width/height attributes to
   reserve space, and without this max-width squashes the image. */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--brand-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: 0;
  transform: translateY(calc(-100% - 4px));
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  z-index: 200;
  transition: transform var(--motion-fast) var(--motion-ease);
}

.skip-link:focus {
  transform: translateY(var(--space-2));
}

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

/* ============================================================
   Nav

   Fixed, with a constant-height spacer (body::before) holding its slot —
   shrinking the bar on scroll must never change the document height.
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--nav-height-top);
  padding: 0.75rem
           max(var(--space-4), env(safe-area-inset-right))
           0.75rem
           max(var(--space-4), env(safe-area-inset-left));
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: min-height var(--motion-fast) var(--motion-ease),
              padding var(--motion-fast) var(--motion-ease),
              background var(--motion-fast) var(--motion-ease),
              border-color var(--motion-fast) var(--motion-ease);
}

body::before {
  content: "";
  display: block;
  height: var(--nav-height-top);
}

.site-nav.is-scrolled {
  min-height: var(--nav-height-scrolled);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: rgba(253, 251, 246, 0.95);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--line);
}

.site-nav__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-nav__logo img {
  height: 4.5rem;
  width: auto;
  transition: height var(--motion-fast) var(--motion-ease);
}

.site-nav.is-scrolled .site-nav__logo img {
  height: 3rem;
}

.site-nav__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-ui);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: var(--space-1) 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color var(--motion-fast) var(--motion-ease),
              border-color var(--motion-fast) var(--motion-ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link[aria-current="page"] {
  color: var(--accent-text);
  border-bottom-color: var(--accent);
}

.social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border-radius: 50%;
  transition: color var(--motion-fast) var(--motion-ease),
              background var(--motion-fast) var(--motion-ease);
}

.social a:hover,
.social a:focus-visible {
  color: var(--accent-text);
  background: var(--panel);
}

.social svg {
  width: 20px;
  height: 20px;
}

/* The copy of the icons that sits in the phone bar, left of the logo. */
.site-nav__social-bar,
.site-nav__toggle {
  display: none;
}

.site-nav__toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-nav__toggle-bars,
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--motion-fast) var(--motion-ease),
              opacity var(--motion-fast) var(--motion-ease);
}

.site-nav__toggle-bars {
  position: relative;
}

.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav__toggle-bars::before { top: -7px; }
.site-nav__toggle-bars::after  { top: 7px; }

.site-nav.is-open .site-nav__toggle-bars { background: transparent; }
.site-nav.is-open .site-nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .site-nav__toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Phones: a three-column grid puts the logo in the true centre, whatever the
   widths of the icons on the left and the toggle on the right. */
@media (max-width: 760px) {
  .site-nav,
  .site-nav.is-scrolled {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-1);
    min-height: var(--nav-height-mobile);
    padding: 0.5rem
             max(var(--space-2), env(safe-area-inset-right))
             0.5rem
             max(var(--space-2), env(safe-area-inset-left));
  }
  body::before {
    height: var(--nav-height-mobile);
  }
  .site-nav__social-bar {
    display: flex;
    justify-self: start;
    margin-left: -0.6rem;
  }
  .site-nav__logo {
    justify-self: center;
  }
  .site-nav__logo img,
  .site-nav.is-scrolled .site-nav__logo img {
    height: 3.25rem;
  }
  .site-nav__toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: -0.6rem;
  }

  /* The drop-down panel. Hidden until the toggle opens it. */
  .site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-1) var(--space-3) var(--space-3);
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(var(--shadow-rgb), 0.12);
    max-height: calc(100vh - var(--nav-height-mobile));
    overflow-y: auto;
    text-align: center;
  }
  .site-nav.is-open .site-nav__menu {
    display: flex;
  }
  .site-nav__menu .site-nav__link {
    justify-content: center;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    min-height: 52px;
  }
  .site-nav__menu .social {
    display: none;
  }
  .site-nav__menu .button {
    margin-top: var(--space-3);
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .site-nav__logo img {
    transition: none;
  }
}

/* ============================================================
   Shared layout
   ============================================================ */

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-2);
  }
}

main {
  min-height: 60vh;
}

/* Anchored sections (#about, #pricing, #seasonal) land below the fixed nav. */
[id] {
  scroll-margin-top: calc(var(--nav-height-scrolled) + var(--space-2));
}

@media (max-width: 760px) {
  [id] {
    scroll-margin-top: calc(var(--nav-height-mobile) + var(--space-2));
  }
}

.section {
  padding: var(--space-6) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto var(--space-4);
  text-align: center;
}

.section-head h2,
.section-head h1 {
  font-size: var(--text-h2);
  margin-top: var(--space-1);
}

.section-head__lede {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lede);
  line-height: 1.45;
  color: var(--muted-text);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* A full-width tinted band; the container inside keeps the measure. */
.band {
  background: var(--panel);
  padding: var(--space-6) 0;
}

.band .story-split__blurb {
  background: var(--paper);
}

/* ============================================================
   Button
   ============================================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-ui);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--motion-fast) var(--motion-ease),
              border-color var(--motion-fast) var(--motion-ease),
              color var(--motion-fast) var(--motion-ease);
}

.button:hover,
.button:focus-visible {
  background: var(--brand-text);
  border-color: var(--brand-text);
  color: var(--paper);
}

.button--quiet {
  background: none;
  color: var(--ink);
  border-color: var(--accent);
}

.button--quiet:hover,
.button--quiet:focus-visible {
  background: none;
  color: var(--brand-text);
  border-color: var(--brand-text);
}

/* Outlined, for use over the hero photograph. */
.button--light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.85);
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.site-nav .button {
  min-height: 44px;
  padding: 0.6rem 1.25rem;
}

/* ============================================================
   Hero — full-bleed photo with a dark gradient for legible type
   ============================================================ */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(78vh, 46rem);
  padding: var(--space-6) var(--space-3);
  overflow: hidden;
  color: var(--on-dark);
  text-align: center;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 18, 14, 0.1) 0%, rgba(12, 18, 14, 0.3) 100%);
}

/* The wording sits on its own dark panel rather than straight on the photo:
   the hero image is swappable in /admin, and a pale installation behind white
   type is unreadable. The panel guarantees contrast whatever photo is chosen,
   and the gold rule keeps it tailored rather than a plain black box. */
.hero__inner {
  max-width: 46rem;
  padding: var(--space-4) var(--space-5) var(--space-5);
  background: rgba(17, 22, 19, 0.86);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

@supports (backdrop-filter: blur(1px)) {
  .hero__inner {
    background: rgba(17, 22, 19, 0.8);
    backdrop-filter: blur(6px);
  }
}

.hero .eyebrow {
  color: var(--accent);
  opacity: 1;
}

/* On the dark panel the usual ink-filled button would disappear, so the main
   call to action flips to ivory. */
.hero .button:not(.button--light) {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.hero .button:not(.button--light):hover,
.hero .button:not(.button--light):focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.hero__title {
  margin-top: var(--space-2);
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
}

.hero__standfirst {
  max-width: 36rem;
  margin: var(--space-3) auto 0;
  font-size: 1.15rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero .cta-row {
  margin-top: var(--space-4);
}

/* ============================================================
   Intro
   ============================================================ */

.intro {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.intro h2 {
  font-size: var(--text-h2);
  margin: var(--space-1) 0 var(--space-3);
}

.intro p {
  text-wrap: pretty;
}

.intro p + p {
  margin-top: var(--space-2);
}

.intro__lead {
  font-family: var(--font-display);
  font-size: var(--text-lede);
  line-height: 1.45;
}

/* ============================================================
   Services — "What we create" image cards
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(var(--shadow-rgb), 0.12);
}

.service-card__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 600ms var(--motion-ease);
}

.service-card:hover .service-card__photo img {
  transform: scale(1.03);
}

.service-card h3 {
  margin-top: var(--space-2);
  font-size: 1.6rem;
}

.service-card p {
  margin-top: 0.35rem;
  color: var(--muted-text);
  text-wrap: pretty;
}

/* The full list on our-work.html: no photos, two columns. */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-5);
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding-top: var(--space-2);
  border-top: 1px solid var(--accent);
}

.service-list h3 {
  font-size: 1.5rem;
}

.service-list p {
  margin-top: 0.35rem;
  color: var(--muted-text);
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .services,
  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .services {
    max-width: 24rem;
    margin: 0 auto;
    text-align: center;
  }
}

/* ============================================================
   Story split — photo beside a text panel
   ============================================================ */

.story-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.story-split--flip {
  grid-template-columns: 0.9fr 1.1fr;
}

.story-split--flip > :first-child {
  order: 2;
}

.story-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(var(--shadow-rgb), 0.14);
}

.story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.story-split__blurb {
  background: var(--panel);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.story-split__blurb .eyebrow {
  margin-bottom: var(--space-1);
}

.story-split__blurb h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-2);
}

.story-split__blurb p {
  margin-bottom: var(--space-2);
  text-wrap: pretty;
}

.story-split__blurb .cta-row {
  justify-content: flex-start;
  margin-top: var(--space-3);
}

/* The panel that changes through the year — gold edge marks it out. */
.story-split__blurb--special {
  border-left: 3px solid var(--accent);
}

/* Seasonal Styling on our-work.html: a standalone panel (future CMS block). */
.seasonal {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  text-align: center;
}

.seasonal .cta-row {
  justify-content: center;
}

@media (max-width: 560px) {
  .seasonal {
    padding: var(--space-4) var(--space-3);
    border-left: 0;
    border-top: 3px solid var(--accent);
  }
}

.story-split__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted-text);
}

/* Two photos in the photo slot, the second dropped for an editorial stagger. */
.photo-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
}

.photo-pair .story-photo img {
  aspect-ratio: 3 / 4;
}

.photo-pair .story-photo:nth-child(2) {
  margin-top: var(--space-5);
}

/* A trio: wide shot across the top, two below. */
.photo-trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2);
}

.photo-trio .story-photo:first-child {
  grid-column: 1 / -1;
}

.photo-trio .story-photo:first-child img {
  aspect-ratio: 16 / 9;
}

.photo-trio .story-photo img {
  aspect-ratio: 4 / 5;
}

@media (max-width: 860px) {
  .story-split,
  .story-split--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-3);
    align-items: stretch;
  }
  .story-split > .story-photo img {
    height: 100%;
    object-position: center top;
  }
  .story-split__blurb {
    padding: var(--space-3);
  }
  .photo-pair .story-photo:nth-child(2) {
    margin-top: var(--space-4);
  }
}

/* Phones: the photo takes the full width and the text panel rides up over its
   foot. Margins are symmetric so the panel is centred on the screen. */
@media (max-width: 560px) {
  .story-split,
  .story-split--flip {
    display: block;
  }
  .story-split > .story-photo img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: center;
  }
  .story-split__blurb,
  .story-split--flip .story-split__blurb {
    position: relative;
    z-index: 1;
    margin: calc(-1 * var(--space-5)) var(--space-3) 0;
    padding: var(--space-3);
    box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.16);
    text-align: center;
  }
  .story-split__blurb--special,
  .story-split--flip .story-split__blurb--special {
    border-left: 0;
    border-top: 3px solid var(--accent);
  }
  .story-split__blurb .cta-row {
    justify-content: center;
  }
  .photo-pair .story-photo:nth-child(2) {
    margin-top: var(--space-3);
  }
}

/* ============================================================
   Ticker — the "Our Work" strip
   ============================================================ */

.ticker-section {
  text-align: center;
}

/* Runs to the container's edges. Cancels .container padding rather than using
   100vw, which counts the scrollbar and causes horizontal scroll. The margins
   below must track .container's padding, including at 640px. */
.ticker {
  position: relative;
  margin: 0 calc(-1 * var(--space-4));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* margin-right on every item (not gap) keeps both halves of the doubled track
   identical, so the -50% loop never jumps. */
.ticker__track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: ticker-scroll 55s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track {
  animation-play-state: paused;
}

.ticker__controls {
  margin-top: var(--space-3);
}

.ticker__pause {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-text);
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem var(--space-2);
  min-height: 44px;
  min-width: 5.5rem;
  cursor: pointer;
}

.ticker__pause:hover,
.ticker__pause:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

.ticker__item {
  flex: 0 0 auto;
  margin: 0 var(--space-3) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.12);
}

.ticker__photo {
  width: 17rem;
  height: 22rem;
  object-fit: cover;
  object-position: center;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .ticker {
    margin-left: calc(-1 * var(--space-2));
    margin-right: calc(-1 * var(--space-2));
  }
  .ticker__photo {
    width: 12rem;
    height: 15.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation-duration: 90s;
  }
}

/* ============================================================
   Guide pricing teaser tiles
   ============================================================ */

.price-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.price-tile {
  padding: var(--space-4) var(--space-3);
  background: var(--panel);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
}

.price-tile__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.price-tile__from {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.price-tile__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent-text);
  font-variant-numeric: lining-nums;
}

@media (max-width: 760px) {
  .price-tiles {
    grid-template-columns: minmax(0, 1fr);
    max-width: 22rem;
  }
}

/* ============================================================
   Price list (menu-board, kept from the original build)
   ============================================================ */

/* Columns, not grid: groups are uneven in height and columns pack them. */
.menu-board {
  max-width: 62rem;
  margin: 0 auto;
  columns: 2;
  column-gap: var(--space-5);
}

.menu-group {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: var(--space-4);
}

@media (max-width: 760px) {
  .menu-board {
    columns: 1;
    max-width: 34rem;
  }
}

.menu-group__title {
  font-size: 1.7rem;
  text-align: center;
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--accent);
}

.menu-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
}

/* Leader dots: name and price at the ends of a flex row, ::after fills the gap. */
.menu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.4rem;
  padding: 0.35rem 0;
}

.menu-item__name {
  font-size: var(--text-body);
}

.menu-item::after {
  content: "";
  flex: 1 1 1.5rem;
  order: 1;
  align-self: end;
  margin-bottom: 0.35em;
  border-bottom: 1px dotted var(--accent);
  min-width: 1.5rem;
}

.menu-item__price {
  order: 2;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

/* Text instead of a figure ("priced by size"): muted and italic. */
.menu-item__price--quote {
  font-weight: 400;
  font-style: italic;
  color: var(--muted-text);
}

.menu-group--feature {
  background: var(--panel);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
  border-top: 3px solid var(--accent);
}

.menu-group__standfirst {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lede);
  line-height: 1.45;
  text-wrap: pretty;
}

.menu-note {
  max-width: 44rem;
  margin: var(--space-2) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted-text);
  text-wrap: pretty;
}

/* ============================================================
   Reviews — five short quotes, no clamp
   ============================================================ */

.reviews__grid {
  columns: 3;
  column-gap: var(--space-3);
  text-align: left;
}

@media (max-width: 1000px) {
  .reviews__grid {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .reviews__grid {
    columns: 1;
  }
}

.review {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--space-3);
  background: var(--panel);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3) var(--space-3);
  position: relative;
}

.review::before {
  content: "\201C";
  position: absolute;
  top: 0.25rem;
  left: var(--space-3);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
}

.review blockquote {
  margin: 0;
}

.review blockquote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  text-wrap: pretty;
}

/* ============================================================
   Enquire banner (end of page CTA)
   ============================================================ */

.cta-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: var(--space-6) 0;
}

.cta-banner .eyebrow {
  color: var(--accent);
}

.cta-banner h2 {
  font-size: var(--text-h2);
  margin-top: var(--space-1);
}

.cta-banner p {
  max-width: 36rem;
  margin: var(--space-2) auto 0;
  opacity: 0.9;
  text-wrap: pretty;
}

.cta-banner .button {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.cta-banner .button:hover,
.cta-banner .button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* ============================================================
   Page head (inner pages)
   ============================================================ */

.page-head {
  padding: var(--space-5) 0 var(--space-4);
  text-align: center;
}

.page-head h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin-top: var(--space-1);
}

.page-head__lede {
  max-width: 40rem;
  margin: var(--space-2) auto 0;
  font-family: var(--font-display);
  font-size: var(--text-lede);
  line-height: 1.45;
  color: var(--muted-text);
  text-wrap: pretty;
}

/* ============================================================
   Gallery grid
   ============================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 20rem;
  grid-auto-flow: dense;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 16rem;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-auto-rows: 12rem;
    gap: var(--space-1);
  }
  .gallery__item--tall {
    grid-row: span 2;
  }
}

/* ============================================================
   Enquire page
   ============================================================ */

.enquire-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.enquire-aside {
  background: var(--panel);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.enquire-aside h2 {
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.enquire-aside p + p {
  margin-top: var(--space-2);
}

.enquire-aside__note {
  padding-left: var(--space-2);
  border-left: 3px solid var(--accent);
  font-weight: 500;
}

.contact-list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: var(--space-3) 0 0;
  border-top: 1px solid var(--line);
}

.contact-list li + li {
  margin-top: 0.35rem;
}

.contact-list__label {
  display: block;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.enquire-photos {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.enquire-photos img {
  width: 100%;
  max-width: 16rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.enquire-photos figure {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 900px) {
  .enquire-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }
  .enquire-aside {
    text-align: center;
  }
  .enquire-aside__note {
    padding-left: 0;
    border-left: 0;
    padding-top: var(--space-2);
    border-top: 3px solid var(--accent);
  }
  .enquire-photos {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .enquire-aside {
    padding: var(--space-3);
  }
}

/* ---------- form ---------- */

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-3);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form label,
.form legend {
  font-size: var(--text-ui);
  font-weight: 500;
}

.form__req {
  color: var(--accent-text);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid #B9B2A5;
  border-radius: var(--radius);
  transition: border-color var(--motion-fast) var(--motion-ease);
}

.form textarea {
  min-height: 10rem;
  resize: vertical;
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  border-color: var(--accent);
}

.form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form legend {
  padding: 0;
  margin-bottom: 0.4rem;
}

.form__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem var(--space-2);
}

.form__check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 400 !important;
  cursor: pointer;
}

.form__check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--brand-text);
  flex: 0 0 auto;
}

.form__hint {
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.form__submit {
  grid-column: 1 / -1;
}

.form__submit .button {
  width: 100%;
  max-width: 22rem;
  font-size: 1rem;
}

.form__disclaimer {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--muted-text);
  text-wrap: pretty;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.form__gotcha {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form,
  .form__checks {
    grid-template-columns: minmax(0, 1fr);
  }
  .form__submit {
    text-align: center;
  }
}

/* ============================================================
   Legal placeholders and 404
   ============================================================ */

.placeholder {
  max-width: 38rem;
  margin: 0 auto;
  padding-bottom: var(--space-6);
  text-align: center;
  font-size: 1.1rem;
}

.not-found {
  padding: var(--space-6) 0;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-top: var(--space-1);
}

.not-found__body {
  margin-top: var(--space-2);
  font-size: 1.1rem;
  text-wrap: pretty;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: var(--space-5) 0 var(--space-3);
  background: var(--panel);
  font-size: 0.95rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.site-footer__logo {
  width: 9rem;
  height: auto;
}

.site-footer__tagline {
  margin-top: var(--space-2);
  color: var(--muted-text);
  text-wrap: pretty;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--space-1);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.site-footer__links a:hover {
  color: var(--accent-text);
}

.site-footer .social {
  margin-left: -0.6rem;
}

.site-footer__legal {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 var(--space-2);
  color: var(--muted-text);
  font-size: var(--text-sm);
  list-style: none;
  padding-left: 0;
}

.site-footer__legal li + li::before {
  content: "·";
  margin-right: var(--space-2);
  color: var(--accent-text);
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-text);
}

.site-footer__legal a:hover {
  color: var(--accent-text);
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    text-align: center;
  }
  .site-footer__logo {
    margin: 0 auto;
  }
  .site-footer .social {
    justify-content: center;
    margin-left: 0;
  }
}

/* ============================================================
   Phones — centre every heading, lede and CTA row
   ============================================================ */

@media (max-width: 560px) {
  .section,
  .band,
  .cta-banner {
    padding: var(--space-5) 0;
  }
  .hero {
    min-height: min(78vh, 40rem);
    padding: var(--space-5) var(--space-2);
  }
  .hero__inner {
    padding: var(--space-3) var(--space-3) var(--space-4);
  }
  .hero__standfirst {
    font-size: 1.05rem;
  }
  .section-head,
  .page-head,
  .intro,
  .cta-banner {
    text-align: center;
  }
  .cta-row {
    flex-direction: column;
    align-items: center;
  }
  .cta-row .button {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }
}

/* ============================================================
   Section fade-in (progressive enhancement — see scripts/fade.js)
   ============================================================ */

.fade-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--motion-ease), transform 500ms var(--motion-ease);
}

.fade-init.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-init {
    transition: none;
  }
}
