/* =============================================================
   IRONSIDE & CO. — Master Barbers
   Single-page site · dark editorial · anchor-based navigation
   -------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography primitives
   4.  Buttons, icons, links
   5.  Header & navigation
   6.  Hero
   7.  Marquee
   8.  About
   9.  Services
   10. Gallery + lightbox
   11. Reviews
   12. Booking
   13. Visit
   14. Footer
   15. Motion / reveal system
   16. Responsive
   17. Reduced motion & print
   ============================================================= */

/* ------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand palette (supplied)
     sage #8FA28A · light sage #C7D3C0 · cream #F7F4ED · gold #C8A96B
     Ramps below are tonal steps of those four hues — nothing off-brand. */
  --sage-50:#F2F6F0;  --sage-100:#E7EDE4; --sage-200:#C7D3C0; --sage-300:#ADBCA8;
  --sage-400:#9BAB96; --sage-500:#8FA28A; --sage-600:#6A8264; --sage-700:#4E644A;
  --sage-800:#364733; --sage-900:#1F2A1E;

  --gold-100:#F5EDDC; --gold-200:#EBDDC1; --gold-300:#DFC79A; --gold-500:#C8A96B;
  --gold-600:#B5914A; --gold-700:#8C6F36; --gold-800:#7E6330;

  --cream-50:#FBFAF5; --cream-100:#F7F4ED; --cream-200:#EFEBE0;

  /* Semantic surfaces (light-committed brand) */
  --bg:            #F7F4ED;
  --bg-alt:        #EEF1E7;
  --surface:       #FFFFFF;
  --surface-2:     #FBFAF5;
  --surface-3:     #E7EDE4;

  --line:          rgba(31,42,30,.14);
  --line-strong:   rgba(200,169,107,.72);

  /* Text */
  --text:          #1F2A1E;
  --text-muted:    #4B584B;
  --text-dim:      #5F6C5C;

  /* Accents — gold reads as text only when deep, so fills and text differ */
  --accent:        #7E6330;              /* gold-800: icons, links, small marks */
  --accent-fill:   #C8A96B;              /* gold-500 (supplied): buttons, badges */
  --accent-fill-2: #B5914A;              /* fill hover */
  --accent-soft:   #7E6330;              /* eyebrows, labels */
  --accent-ink:    #241B08;              /* text placed ON a gold fill */
  --accent-glow:   rgba(200,169,107,.55);
  --accent-wash:   rgba(200,169,107,.14);
  --danger:        #9E3B32;
  --success:       #4E644A;

  /* Ghost button (re-declared inside dark blocks) */
  --ghost-bg:       rgba(255,255,255,.62);
  --ghost-bg-hover: rgba(200,169,107,.16);
  --ghost-border:   rgba(31,42,30,.20);

  /* Tints — subtle lift on a light ground reads as a shadow, not a highlight */
  --tint-1: rgba(31,42,30,.020);
  --tint-2: rgba(31,42,30,.035);
  --tint-3: rgba(31,42,30,.055);

  /* Elevation */
  --sh-1: 0 1px 2px rgba(31,42,30,.07);
  --sh-2: 0 10px 28px -10px rgba(31,42,30,.18);
  --sh-3: 0 26px 64px -22px rgba(31,42,30,.26);
  --sh-glow: 0 12px 34px -12px var(--accent-glow);

  /* Radii */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Spacing scale (density 4 / standard) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px;

  /* Layout */
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;

  /* Type — one family, no italics anywhere */
  --font-body: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;
  --font-display: var(--font-body);

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --t-fast: 160ms;
  --t-mid: 260ms;
  --t-slow: 420ms;

  /* Z-scale */
  /* The header sits ABOVE the drawer so its toggle stays reachable as the
     close button while the drawer is open. */
  --z-base:0; --z-raise:10; --z-sticky:20; --z-nav:60; --z-header:70; --z-modal:100;

  color-scheme: light;
}

/* Dark blocks (hero, header-over-hero, lightbox, footer) re-declare the
   text/line tokens so every component inside them inverts without its own
   rule. `color` is re-stated so descendants re-resolve --text instead of
   inheriting the value body already computed. */
.on-dark,
.hero,
.lightbox,
.site-header,
.site-footer {
  color: var(--text);
  --text:        #F4F2EA;
  --text-muted:  #CBD4C6;
  --text-dim:    #AFBCAA;
  --line:        rgba(244,242,234,.18);
  --line-strong: rgba(223,199,154,.55);
  --accent:      #DFC79A;
  --accent-soft: #DFC79A;
  --surface:     var(--sage-800);
  --surface-2:   var(--sage-800);
  --tint-1: rgba(255,255,255,.03);
  --tint-2: rgba(255,255,255,.05);
  --tint-3: rgba(255,255,255,.08);
  --ghost-bg:       rgba(31,42,30,.38);
  --ghost-bg-hover: rgba(244,242,234,.14);
  --ghost-border:   rgba(244,242,234,.38);
}

/* Restores the light token set inside a dark-scoped ancestor. */
.on-light,
.site-header.is-stuck {
  --text:        #1F2A1E;
  --text-muted:  #4B584B;
  --text-dim:    #5F6C5C;
  --line:        rgba(31,42,30,.12);
  --line-strong: rgba(200,169,107,.72);
  --accent:      #7E6330;
  --accent-soft: #7E6330;
  --surface:     #FFFFFF;
  --surface-2:   #FBFAF5;
  --tint-1: rgba(31,42,30,.020);
  --tint-2: rgba(31,42,30,.035);
  --tint-3: rgba(31,42,30,.055);
  --ghost-bg:       rgba(255,255,255,.62);
  --ghost-bg-hover: rgba(200,169,107,.16);
  --ghost-border:   rgba(31,42,30,.20);
  color: var(--text);
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* Components below set display:flex/grid, which would otherwise beat the
   UA's [hidden] rule and leave overlays on top of the page. */
[hidden] { display: none !important; }

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

h1,h2,h3,h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.022em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; text-decoration: none; }

/* No italics anywhere: the UA slants these by default. */
em, i, cite, address, blockquote, dfn, var { font-style: normal; }
em { font-weight: 600; }
button { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--accent-fill); color: var(--accent-ink); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 10vw, 128px);
}

.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent-fill);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------
   3. TYPOGRAPHY PRIMITIVES
   ------------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--s-4);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.eyebrow-rule {
  width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex: none;
}

.section-title {
  font-size: clamp(2.1rem, 5.2vw, 3.75rem);
  max-width: 18ch;
  margin-bottom: var(--s-5);
}
.section-title em {
  color: var(--accent-soft);
}

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .section-sub {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.section-head-row {
  display: grid;
  gap: var(--s-5);
  align-items: end;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 60ch;
}
.about-copy p { color: var(--text-muted); max-width: 60ch; }

/* ------------------------------------------------------------
   4. BUTTONS / ICONS / LINKS
   ------------------------------------------------------------ */
.ico {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  --btn-py: 13px;
  --btn-px: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              background-color var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              color var(--t-mid) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.975); }
.btn .ico { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }

.btn-primary {
  background: var(--accent-fill);
  color: var(--accent-ink);
  box-shadow: var(--sh-glow);
}
.btn-primary::after {                 /* light sweep */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}
.btn-primary:hover {
  background: var(--accent-fill-2);
  box-shadow: 0 16px 44px -12px var(--accent-glow);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: var(--ghost-bg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: var(--ghost-border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--ghost-bg-hover);
  color: var(--accent);
}

.btn-sm { min-height: 44px; --btn-py: 9px; --btn-px: 18px; font-size: .875rem; }
.btn-lg { min-height: 56px; --btn-py: 17px; --btn-px: 32px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  background: var(--tint-1);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.icon-btn:hover { color: var(--accent); border-color: var(--line-strong); background: var(--accent-wash); }
.icon-btn:active { transform: scale(.94); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--accent);
  cursor: pointer;
}
.link-arrow span { position: relative; }
.link-arrow span::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--ease-out);
}
.link-arrow:hover span::after { transform: scaleX(1); transform-origin: left; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform var(--t-mid) var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ------------------------------------------------------------
   5. HEADER & NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding-top: env(safe-area-inset-top);
  transition: transform var(--t-slow) var(--ease-out),
              background-color var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              backdrop-filter var(--t-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(247,244,237,.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-104%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
}

.header-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-500), var(--sage-500) 55%, var(--sage-700));
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.site-header.is-stuck .header-progress { opacity: 1; }

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--sage-700), var(--sage-500) 58%, var(--gold-500));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), var(--sh-1);
  transition: transform var(--t-mid) var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.brand-mark .ico { width: 21px; height: 21px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.brand-name em { color: var(--accent); font-weight: 500; }
.brand-sub {
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

/* Desktop nav */
.nav-desktop { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, 6px) scale(0);
  transition: transform var(--t-mid) var(--ease-out);
}
.nav-link:hover { color: var(--text); background: var(--tint-2); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { transform: translate(-50%, 0) scale(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

/* Mobile nav toggle */
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-toggle[aria-expanded="true"] { color: var(--accent); border-color: var(--line-strong); }

/* Mobile drawer */
.nav-scrim {
  position: fixed; inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(31,42,30,.52);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.nav-scrim.is-open { opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  z-index: var(--z-nav);
  width: min(88vw, 380px);
  height: 100dvh;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 16px) var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  background: linear-gradient(190deg, var(--surface) 0%, var(--bg-alt) 100%);
  border-left: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  transition: color var(--t-fast) var(--ease-out), padding-left var(--t-mid) var(--ease-out);
}
.mobile-nav-link:hover, .mobile-nav-link.is-active { color: var(--accent); padding-left: 10px; }
.mnl-idx {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--text-dim);
}
.mobile-nav-link.is-active .mnl-idx { color: var(--accent-soft); }

.mobile-nav-foot { margin-top: auto; font-size: .875rem; color: var(--text-dim); }
.mobile-nav-foot a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  color: var(--text); font-weight: 600;
}
.mobile-nav-foot p { margin: 4px 0 0; }

/* ------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: clamp(48px, 8vh, 88px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transform: scale(1.14);
  filter: saturate(.96) contrast(1.03) brightness(1.02);
  animation: heroZoom 2400ms var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1.02); } }

.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(24,32,23,.92) 0%, rgba(24,32,23,.74) 32%, rgba(24,32,23,.20) 62%, rgba(24,32,23,.46) 100%),
    linear-gradient(180deg, rgba(24,32,23,.58) 0%, rgba(24,32,23,0) 26%, rgba(24,32,23,0) 56%, var(--bg) 100%),
    linear-gradient(118deg, rgba(54,71,51,.42) 0%, rgba(143,162,138,.16) 58%, transparent 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: .10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

@media (max-width: 899px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(24,32,23,.74) 0%, rgba(24,32,23,.32) 20%, rgba(24,32,23,.72) 46%, rgba(24,32,23,.92) 72%, var(--bg) 100%),
      linear-gradient(125deg, rgba(54,71,51,.36) 0%, rgba(143,162,138,.14) 60%, transparent 100%);
  }
}

.hero-inner { position: relative; width: 100%; }

.hero-title {
  font-size: clamp(3rem, 11vw, 7rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.03em;
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line-in {
  display: block;
  transform: translateY(105%) rotate(2.5deg);
  opacity: 0;
  animation: lineUp 1000ms var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .line-in { animation-delay: 180ms; }
.hero-title .line:nth-child(2) .line-in { animation-delay: 320ms; }
.hero-title em {
  color: var(--gold-300);
  font-weight: 700;
}
@keyframes lineUp { to { transform: translateY(0) rotate(0); opacity: 1; } }

.hero-lede { max-width: 46ch; color: var(--text-muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-6);
}
@media (max-width: 519px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  grid-template-rows: auto auto auto;
  gap: var(--s-4);
  margin-top: clamp(28px, 4.5vw, 52px);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.fact {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
}
.fact dt {
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 6px;
}
.fact dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fact-unit { font-family: var(--font-body); font-size: .8125rem; font-weight: 500; color: var(--accent-soft); }
.fact dd.fact-note {
  display: block;
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-dim);
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--text-dim);
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--t-fast) var(--ease-out);
}
.scroll-cue:hover { color: var(--accent); }
.scroll-cue-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--accent-soft));
  transform-origin: top;
  animation: cueDrop 2000ms var(--ease-in-out) infinite;
}
@keyframes cueDrop {
  0%,100% { transform: scaleY(.35); opacity: .5; }
  50%     { transform: scaleY(1);   opacity: 1; }
}

/* ------------------------------------------------------------
   7. MARQUEE
   ------------------------------------------------------------ */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  background: var(--sage-500);
  border-block: 1px solid rgba(31,42,30,.10);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: clamp(.9375rem, 2vw, 1.1875rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--sage-900);
  white-space: nowrap;
}
.marquee-group i { color: var(--gold-800); font-size: .625em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   8. ABOUT
   ------------------------------------------------------------ */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }

.about-grid {
  display: grid;
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.about-media { position: relative; }

.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-3);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { aspect-ratio: 4 / 3.2; }
.frame-tall img { transform: scale(1.1); will-change: transform; }

.frame-inset {
  position: absolute;
  right: -8px; bottom: -34px;
  width: min(46%, 210px);
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  border-color: rgba(200,169,107,.55);
  box-shadow: var(--sh-3), 0 0 0 6px var(--bg-alt);
}

.about-stamp {
  position: absolute;
  top: -16px; left: -12px;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--accent-ink);
  font-family: var(--font-display);
  line-height: 1;
  box-shadow: var(--sh-2);
  rotate: -8deg;
}
.about-stamp span { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
.about-stamp strong { font-size: 1.375rem; font-weight: 600; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--s-6) 0 var(--s-6);
}
.pill-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pill-list .ico { width: 16px; height: 16px; color: var(--accent); }

/* ------------------------------------------------------------
   9. SERVICES
   ------------------------------------------------------------ */
.services { background: var(--bg-alt); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
  gap: var(--s-4);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-5) var(--s-5) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(165deg, var(--sage-50), rgba(255,255,255,0) 62%),
    var(--surface);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 50% -10%, rgba(200,169,107,.26), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--sh-2);
}
.service-card:hover::before { opacity: 1; }

.service-ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: var(--s-4);
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(200,169,107,.28), rgba(143,162,138,.24));
  color: var(--accent);
}
.service-name { font-size: 1.375rem; margin-bottom: 8px; }
.service-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: var(--s-4); }
.service-meta {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 var(--s-3);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.service-meta .ico { width: 14px; height: 14px; }
.service-price {
  margin: 0 0 var(--s-4);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service-price .cur { font-size: .6em; color: var(--accent); margin-right: 2px; }
.service-was {
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 6px;
}

.service-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 11px 0;
  min-height: 44px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  cursor: pointer;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.service-book .ico { width: 15px; height: 15px; transition: transform var(--t-mid) var(--ease-out); }
.service-card:hover .service-book { color: var(--accent); }
.service-book:hover .ico { transform: translateX(4px); }

/* Featured mobile service */
.service-feature {
  display: grid;
  margin-top: var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  box-shadow: var(--sh-2);
}
.sf-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.sf-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24,32,23,.82));
}
.service-feature:hover .sf-media img { transform: scale(1.05); }

.sf-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.sf-tag {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  margin-bottom: var(--s-4);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  border: 1px solid var(--line-strong);
  color: var(--accent-soft);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sf-tag .ico { width: 14px; height: 14px; }
.sf-title { font-size: clamp(1.625rem, 3.4vw, 2.375rem); margin-bottom: var(--s-4); }
.sf-desc { color: var(--text-muted); font-size: .9375rem; max-width: 52ch; }
.sf-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.sf-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.25rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sf-price .cur { font-size: .55em; color: var(--accent); }
.sf-unit { font-family: var(--font-body); font-size: .8125rem; color: var(--text-dim); font-weight: 500; }

/* ------------------------------------------------------------
   10. GALLERY + LIGHTBOX
   ------------------------------------------------------------ */
.gallery { background: linear-gradient(180deg, var(--bg-alt), var(--bg) 60%); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.g-item { position: relative; display: flex; }

.g-btn {
  position: relative;
  display: block;
  flex: 1;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  transition: border-color var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
  touch-action: manipulation;
}

.g-btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92) brightness(.98);
  transition: transform 780ms var(--ease-out), filter var(--t-slow) var(--ease-out);
}
.g-btn:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.07); filter: saturate(1) brightness(1); }

.g-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(180deg, transparent 45%, rgba(24,32,23,.88));
  color: #F4F2EA;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.g-btn:hover .g-overlay, .g-btn:focus-visible .g-overlay { opacity: 1; }
.g-cap {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  transform: translateY(8px);
  transition: transform var(--t-slow) var(--ease-out);
}
.g-btn:hover .g-cap { transform: translateY(0); }
.g-overlay .ico { width: 18px; height: 18px; color: var(--gold-300); flex: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  padding: clamp(64px, 7vw, 76px) clamp(56px, 8vw, 88px) clamp(56px, 6vw, 72px);
}
.lb-scrim {
  position: absolute; inset: 0;
  background: rgba(24,32,23,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.lightbox.is-open .lb-scrim { opacity: 1; }

.lb-panel {
  position: relative;
  width: min(100%, 1000px);
  /* Sized against the padded grid area rather than viewport units, so the
     caption and counter are never pushed off-screen. */
  max-height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(.94);
  opacity: 0;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-mid) var(--ease-out);
}
.lightbox.is-open .lb-panel { transform: scale(1); opacity: 1; }

.lb-figure {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 100%;
  min-height: 0;
}
.lb-figure img {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.lb-figure figcaption {
  flex: none;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Controls anchor to the viewport, not the image, so they never crowd the
   picture on small screens. */
.lb-close, .lb-prev, .lb-next, .lb-count { position: absolute; }

.lb-close, .lb-prev, .lb-next {
  background: rgba(24,32,23,.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(244,242,234,.30);
  color: var(--text);
}
.lb-close {
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
}
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }

.lb-count {
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------
   11. REVIEWS
   ------------------------------------------------------------ */
.reviews { background: var(--bg); }
.review-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--sage-50), transparent 55%), var(--surface);
  box-shadow: var(--sh-1);
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}
.review-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--sh-2); }

.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .ico { width: 16px; height: 16px; fill: currentColor; stroke-width: 0; }

.review-card blockquote { margin: 0; }
.review-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.review-by {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.review-by > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.review-by strong { font-size: .9375rem; font-weight: 600; }
.review-by small { font-size: .75rem; color: var(--text-dim); }
.avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sage-600), var(--sage-800));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ------------------------------------------------------------
   12. BOOKING
   The form itself is the Kaspio booking widget (loaded from
   bookings.kaspio.co.uk/embed/v1.js). It renders in its own shadow
   root, so nothing below can reach inside it: its look is set
   entirely through the --kb-* properties on .kaspio-booking, mapped
   onto this site's tokens.
   ------------------------------------------------------------ */
.booking {
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(143,162,138,.30), transparent 62%),
    radial-gradient(760px 420px at 6% 88%, rgba(200,169,107,.24), transparent 60%),
    var(--bg-alt);
}

.booking-layout {
  display: grid;
  gap: var(--s-5);
  align-items: start;
}

/* Same glass card the old form steps used */
.booking-panel {
  padding: clamp(20px, 3.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.kaspio-booking {
  /* Clears the fixed header whenever the widget scrolls itself into view */
  scroll-margin-top: calc(var(--header-h) + 20px);

  --kb-accent:          var(--accent-fill);
  --kb-on-accent:       var(--accent-ink);
  --kb-accent-text:     var(--accent);
  --kb-text:            var(--text);
  --kb-muted:           var(--text-dim);
  --kb-border:          var(--line);
  --kb-surface:         var(--surface);
  --kb-hover:           var(--accent-wash);
  --kb-radius:          var(--r-md);
  --kb-button-radius:   var(--r-pill);
  --kb-font:            var(--font-body);
  --kb-heading-font:    var(--font-display);
  --kb-heading-size:    1.375rem;
  --kb-heading-weight:  500;
  --kb-gap:             14px;
  min-height: 320px;
}

/* Shown only until the widget takes over, or if its script never loads */
.booking-fallback { margin: 0; color: var(--text-muted); }
.booking-fallback a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Side rail */
.booking-rail { position: relative; }
.rail-inner { display: flex; flex-direction: column; gap: var(--s-4); }

.rail-card {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--sage-50), transparent 60%), var(--surface);
  box-shadow: var(--sh-2);
}
.rail-title {
  margin: 0 0 var(--s-4);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.rail-points { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rail-points li {
  display: flex;
  gap: 10px;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.rail-points .ico { width: 17px; height: 17px; margin-top: 2px; color: var(--sage-700); flex: none; }

.rail-contact { background: var(--surface-3); }
.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out);
  word-break: break-word;
}
.rail-link .ico { width: 17px; height: 17px; color: var(--sage-700); flex: none; }
.rail-link:hover { color: var(--accent); }

/* ------------------------------------------------------------
   13. VISIT
   ------------------------------------------------------------ */
.visit { background: var(--bg); }
.visit-grid { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }

.hours { margin: var(--s-6) 0; max-width: 460px; }
.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.hours-row dt { font-size: .9375rem; font-weight: 500; }
.hours-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.hours-row.is-closed dd { color: var(--text-dim); }

.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.visit-media { aspect-ratio: 4 / 5; }
.visit-media img { transform: scale(1.08); will-change: transform; }
.visit-media figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(24,32,23,.80);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244,242,234,.20);
  color: #F4F2EA;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.visit-media figcaption .ico { width: 15px; height: 15px; color: var(--gold-300); }

/* ------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  background: var(--sage-800);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand-name { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.footer-brand p { max-width: 34ch; font-size: .875rem; color: var(--text-dim); }
.socials { display: flex; gap: 10px; margin-top: var(--s-5); }

.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-5); }
.footer-h {
  margin: 0 0 var(--s-4);
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 2px; }
.footer-nav li { font-size: .875rem; color: var(--text-dim); line-height: 1.9; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out);
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: var(--s-5);
  font-size: .75rem;
  color: var(--text-dim);
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------
   Sticky mobile CTA
   ------------------------------------------------------------ */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247,244,237,0), rgba(247,244,237,.96) 34%);
  transform: translateY(130%);
  transition: transform var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.mobile-cta.is-shown { transform: translateY(0); pointer-events: auto; }

@media (max-width: 859px) {
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------
   15. MOTION / REVEAL SYSTEM
   ------------------------------------------------------------ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease-out), transform 720ms var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 85ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}
/* Without JS nothing is hidden: the `html.js` guard above never applies. */

/* ------------------------------------------------------------
   16. RESPONSIVE
   ------------------------------------------------------------ */
@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .g-btn { aspect-ratio: 1 / 1; }
  .scroll-cue { display: flex; }
}

@media (min-width: 860px) {
  :root { --header-h: 88px; }
  .about-grid { grid-template-columns: 0.95fr 1fr; }
  .about-media { order: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feature { grid-template-columns: 1fr 1.15fr; }
  .sf-media { aspect-ratio: auto; height: 100%; }
  .visit-grid { grid-template-columns: 1fr 0.82fr; }
  .section-head-row { grid-template-columns: 1fr auto; }
  .section-head-row .section-sub { max-width: 34ch; text-align: right; }
  .footer-top { grid-template-columns: 1fr 1.25fr; }
  .mobile-cta { display: none; }
  .booking-layout { grid-template-columns: minmax(0,1fr) 330px; gap: var(--s-5); }
  .booking-rail .rail-inner { position: sticky; top: calc(var(--header-h) + 20px); }
}

@media (min-width: 1040px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(170px, 16.5vw, 250px);
    grid-auto-flow: dense;
  }
  .g-item { height: 100%; }
  .g-btn { aspect-ratio: auto; height: 100%; }
  .g-tall { grid-row: span 2; }
  .g-wide { grid-column: span 2; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-layout { grid-template-columns: minmax(0,1fr) 360px; gap: var(--s-6); }
}

@media (min-width: 1240px) {
  .hero-title { font-size: clamp(3.75rem, 6.4vw, 6.25rem); }
}

/* Short desktop windows: keep the whole hero above the fold. */
@media (min-width: 860px) and (max-height: 900px) {
  .hero-title { font-size: clamp(2.75rem, 5vw, 4.5rem) !important; }
  .hero-lede { font-size: 1.0625rem; }
  .hero-actions { margin-top: var(--s-5); }
  .hero-facts { margin-top: var(--s-5); }
}

/* Landscape phones: don't force a full-height hero */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 48px) 56px; }
  .scroll-cue { display: none; }
  .mobile-nav { padding-top: calc(var(--header-h) + 12px); }
}

/* ------------------------------------------------------------
   17. REDUCED MOTION & PRINT
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transform: scale(1.02); animation: none; }
  .hero-title .line-in { transform: none; opacity: 1; animation: none; }
  .marquee-track { animation: none; }
  .frame-tall img, .visit-media img { transform: none; }
  .btn:active, .icon-btn:active { transform: none; }
}

@media print {
  .site-header, .mobile-nav, .nav-scrim, .mobile-cta, .lightbox, .marquee, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
