/* ==========================================================================
   Wild Oak Saunas — wild sauna, Devon
   Palette + type per brand guidelines (Fraunces / Hanken Grotesk)
   ========================================================================== */

:root {
  /* Neutrals — the spine */
  --ink:   #1C1A18;
  --char:  #393939;
  --stone: #57534E;
  --ash:   #9B948C;
  --smoke: #C9C2B8;

  /* Earth & fire — the accent */
  --ember: #C45B34;
  --clay:  #9E4527;
  --glow:  #E59A6B;

  /* Green — grounding */
  --moss:  #47533F;
  --sage:  #828B72;

  /* Paper — light relief */
  --linen: #EFE8DB;
  --paper: #F7F3EB;
  --bark:  #6B5D4F;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --text-hero: clamp(3.2rem, 9vw, 7.5rem);
  --text-xl:   clamp(2.4rem, 5.5vw, 4.5rem);
  --text-lg:   clamp(1.8rem, 3.5vw, 2.75rem);
  --text-md:   clamp(1.25rem, 2vw, 1.5rem);

  /* Rhythm */
  --space-section: clamp(6rem, 14vh, 11rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 1.25rem;
  --radius-lg: 2rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 1s;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ember); color: var(--paper); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 340;
  font-variation-settings: "opsz" 144;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 em, h2 em, h3 em, .accent {
  font-style: italic;
  color: var(--glow);
  font-weight: 380;
}

p { margin: 0; }

a { color: var(--glow); text-decoration: none; }

img { max-width: 100%; display: block; }

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

.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

section { padding-block: var(--space-section); }

/* Hairline break between two sections that share a background */
.section--ruled { padding-top: 0; }

.section--ruled > .wrap {
  border-top: 1px solid rgba(87, 83, 78, 0.4);
  padding-top: clamp(4rem, 8vh, 6rem);
}

/* Eyebrow label — small caps with rule, as in the brand sheet */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 2rem;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--ember);
}

.lede {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.55;
  color: var(--smoke);
  max-width: 34em;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              color 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--ember); color: var(--paper); }
.btn--primary:hover { background: var(--clay); }

.btn--ghost {
  background: transparent;
  color: var(--linen);
  border-color: var(--stone);
}
.btn--ghost:hover { border-color: var(--smoke); background: rgba(239, 232, 219, 0.05); }

/* Ghost button on light sections */
.on-light .btn--ghost { color: var(--ink); border-color: var(--smoke); }
.on-light .btn--ghost:hover { border-color: var(--bark); background: rgba(28, 26, 24, 0.04); }

.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Inline text link with animated underline */
.text-link {
  position: relative;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--glow);
  padding-bottom: 0.25rem;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out),
              backdrop-filter 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(28, 26, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(87, 83, 78, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 420;
  color: var(--linen);
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.logo em { font-style: italic; color: var(--glow); font-weight: 380; }

/* Badge sits beside the name as a seal — too small here for its ring
   lettering to read, so the typed name stays */
.logo__badge {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav__link {
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}

.site-nav__link:hover { color: var(--linen); }
.site-nav__link[aria-current="page"] { color: var(--glow); }

.site-nav .btn { padding: 0.7rem 1.5rem; font-size: 0.8125rem; white-space: nowrap; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--linen);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

/* The four-item nav needs about 880px alongside the logo, so it collapses
   into the menu earlier than the rest of the layout */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(28, 26, 24, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0s 0.45s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s var(--ease-out);
  }

  .site-nav__link { font-size: 1.05rem; }

  body.nav-locked { overflow: hidden; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .logo__badge { width: 2.6rem; height: 2.6rem; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  /* top padding keeps the content stack clear of the fixed header on short screens */
  padding-block: 6rem clamp(3.5rem, 8vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}

/* Capped by height too, so the full stack fits short laptop screens */
.hero__title {
  font-size: min(var(--text-hero), 12.5vh);
  font-weight: 300;
  max-width: 11em;
}

.hero .lede { margin-top: clamp(1.25rem, 3.5vh, 2.25rem); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.75rem, 4.5vh, 3rem);
}

/* Line-by-line rise on load */
.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.3s var(--ease-out) forwards;
}

.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero .lede,
.hero__actions,
.hero .eyebrow {
  opacity: 0;
  animation: fade-up 1.2s var(--ease-out) forwards;
}

.hero .eyebrow { animation-delay: 0.05s; }
.hero .lede { animation-delay: 0.45s; }
.hero__actions { animation-delay: 0.6s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Background video — sits beneath the glow scrim; if the file is missing
   the translucent gradients simply read against the Ink body */
.hero__video,
.cta-band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.cta-band__video {
  z-index: -2;
  opacity: 0.25;
}

/* Badge above the eyebrow, in moss tones. Screen blending only ever
   lightens, so the embers and flares show through it untouched. Sized so the
   ring lettering still reads. */
.hero__mark {
  width: clamp(96px, min(15vw, 22vh), 210px);
  aspect-ratio: 208 / 207;
  margin-bottom: clamp(1rem, 2.5vh, 2rem);
  background: linear-gradient(150deg, var(--sage), var(--moss) 70%);
  -webkit-mask: url("../assets/logo.svg") center / contain no-repeat;
  mask: url("../assets/logo.svg") center / contain no-repeat;
  opacity: 0.8;
  mix-blend-mode: screen;
  animation: mark-in 1.6s var(--ease-out) both;
}

@keyframes mark-in {
  from { opacity: 0; filter: blur(10px); scale: 1.06; }
}

/* Ember glow + steam — slow, ambient, never literal */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 45% at 78% 88%, rgba(196, 91, 52, 0.2), transparent 70%),
    radial-gradient(40% 35% at 12% 100%, rgba(71, 83, 63, 0.45), transparent 75%),
    linear-gradient(185deg, rgba(28, 26, 24, 0.6) 0%, rgba(28, 26, 24, 0.55) 45%, rgba(28, 26, 24, 0.92) 100%);
}

.steam {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  animation: drift 16s ease-in-out infinite;
}

.steam--1 {
  width: 26rem; height: 26rem;
  left: 58%; bottom: -14rem;
  background: rgba(229, 154, 107, 0.13);
}

.steam--2 {
  width: 20rem; height: 20rem;
  left: 76%; bottom: -10rem;
  background: rgba(201, 194, 184, 0.07);
  animation-delay: 5s;
  animation-duration: 20s;
}

.steam--3 {
  width: 16rem; height: 16rem;
  left: 4%; bottom: -8rem;
  background: rgba(130, 139, 114, 0.1);
  animation-delay: 9s;
  animation-duration: 24s;
}

@keyframes drift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-55vh) translateX(6vw) scale(1.35); opacity: 0; }
}

/* Scroll hint */
/* Centred with auto margins: the fade-up entrance owns transform. Pinned to
   the bottom of the first screen, since the hero can run a little taller. */
.scroll-hint {
  position: absolute;
  top: calc(100svh - 7.75rem);
  left: 0;
  right: 0;
  width: fit-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.3em; /* balances the letter-spacing after the last letter */
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0;
  animation: fade-up 1.2s var(--ease-out) 1.1s forwards;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--stone), transparent);
  animation: hint-pulse 2.6s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.55); opacity: 0.4; }
}

@media (max-width: 760px) {
  .scroll-hint { display: none; }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(9rem, 22vh, 14rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 85% 0%, rgba(196, 91, 52, 0.1), transparent 70%),
    var(--ink);
}

.page-hero h1 {
  font-size: var(--text-xl);
  font-weight: 310;
  max-width: 12em;
}

.page-hero .lede { margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   Manifesto — big rising lines
   -------------------------------------------------------------------------- */

.manifesto p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 320;
  line-height: 1.25;
  color: var(--smoke);
  max-width: 24em;
}

.manifesto p strong {
  font-weight: 380;
  color: var(--linen);
}

.manifesto p + p { margin-top: 2.5rem; }

/* --------------------------------------------------------------------------
   Ritual cards
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.section-head h2 { font-size: var(--text-xl); font-weight: 310; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.ritual-card {
  background: var(--char);
  border: 1px solid rgba(87, 83, 78, 0.4);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.ritual-card:hover {
  transform: translateY(-6px);
  border-color: var(--sage);
}

.ritual-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ember);
  margin-bottom: auto;
}

.ritual-card h3 {
  font-size: 1.9rem;
  margin: 3rem 0 0.875rem;
}

.ritual-card p { color: var(--ash); font-size: 0.9875rem; }

/* --------------------------------------------------------------------------
   Light sections
   -------------------------------------------------------------------------- */

.on-light {
  background: var(--linen);
  color: var(--ink);
}

.on-light .lede,
.on-light p { color: var(--bark); }

.on-light h2, .on-light h3, .on-light .strong-text { color: var(--ink); }

.on-light .eyebrow { color: var(--clay); }
.on-light .eyebrow::before { background: var(--clay); }

.on-light h2 em, .on-light h3 em { color: var(--clay); }

/* Location cards */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.location-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  box-shadow: 0 1px 2px rgba(28, 26, 24, 0.05);
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(28, 26, 24, 0.25);
}

.location-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.location-card__media > div {
  position: absolute;
  inset: 0;
  transition: transform 1.2s var(--ease-out);
}

.location-card:hover .location-card__media > div { transform: scale(1.05); }

.location-card__body { padding: 1.75rem 1.75rem 2rem; }

.location-card__body h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }

.location-card__body p { font-size: 0.9375rem; }

.location-card__meta {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.875rem;
}

.location-card__meta.is-soon { color: var(--ash); }

/* Video and photo fills inside media blocks — the gradient classes below stay
   on the container as the loading / reduced-motion fallback */
.media-video,
.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.02);
  transition: transform 1.2s var(--ease-out);
}

.media-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg, rgba(28, 26, 24, 0.12) 0%, rgba(28, 26, 24, 0.45) 100%),
    linear-gradient(rgba(71, 83, 63, 0.15), rgba(71, 83, 63, 0.15));
}

.location-card:hover .media-video,
.location-card:hover .media-photo { transform: scale(1.05); }

/* Abstract "photo" placeholders — gradients + grain until photography lands */
.media-river {
  background:
    radial-gradient(120% 90% at 20% 110%, rgba(229, 154, 107, 0.35), transparent 55%),
    linear-gradient(165deg, var(--moss) 0%, #2E3528 60%, var(--ink) 100%);
}

.media-beach {
  background:
    radial-gradient(110% 80% at 80% 110%, rgba(196, 91, 52, 0.4), transparent 60%),
    linear-gradient(160deg, var(--sage) 0%, var(--moss) 55%, var(--ink) 100%);
}

.media-dusk {
  background:
    radial-gradient(130% 100% at 50% 120%, rgba(158, 69, 39, 0.55), transparent 65%),
    linear-gradient(170deg, var(--char) 0%, var(--ink) 100%);
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Splatter — the green camo markings from the feather flag
   Treated as a layer nearer the camera: it drifts faster than the page,
   casts a soft shadow and throws what sits behind it slightly out of focus.
   -------------------------------------------------------------------------- */

.has-splatter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Artwork is drawn into the bottom-left corner; modifiers mirror it.
   Keep opacity and filter off this element: either would stop the
   depth-of-field blur below from seeing the section behind it. */
.splatter {
  --splat-field: var(--moss);
  --splat-pale: var(--sage);
  --splat-opacity: 1;
  --splat-shadow: rgba(0, 0, 0, 0.5);
  --splat-origin: 0% 100%;
  --splat-dof: radial-gradient(ellipse 75% 75% at 22.2% 77.8%, #000 30%, transparent);
  --splat-focus: 10px;
  --splat-dim: 1;
  --bleed: 56px;   /* hangs past the section edge so parallax never shows a gap */
  --depth: 48px;   /* parallax travel */
  --shift: 0;      /* set by main.js: -1 above mid-screen, 1 below */
  --fy: 1;
  position: absolute;
  z-index: -1;
  width: clamp(240px, 40vw, 620px);
  aspect-ratio: 1;
  pointer-events: none;
  translate: 0 calc(var(--shift) * var(--depth));
  will-change: translate;
}

/* Depth of field — soft focus on whatever is behind, strongest at the edge
   the camo grows from. The layer overhangs the artwork by 40% so the focus
   falloff can reach past it; the mask is centred on the artwork's origin
   within that larger box and ends inside it, so no rectangle shows. */
.splatter::before {
  content: "";
  position: absolute;
  inset: -40%;
  -webkit-backdrop-filter: blur(var(--splat-focus)) brightness(var(--splat-dim));
  backdrop-filter: blur(var(--splat-focus)) brightness(var(--splat-dim));
  -webkit-mask-image: var(--splat-dof);
  mask-image: var(--splat-dof);
  opacity: 0;
  transition: opacity 1.6s var(--ease-out) var(--d, 0.1s);
}

.splatter__art {
  position: absolute;
  inset: 0;
  opacity: 0;
  scale: 0.9;
  transform-origin: var(--splat-origin);
  filter: blur(12px) drop-shadow(0 0 0 transparent);
  transition: opacity 1.2s var(--ease-out),
              scale 1.8s var(--ease-out),
              filter 1.6s var(--ease-out);
  transition-delay: var(--d, 0.1s);
}

.splatter__art::before,
.splatter__art::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.splatter__art::before {
  background: var(--splat-field);
  -webkit-mask-image: url("../assets/splatter/field.svg");
  mask-image: url("../assets/splatter/field.svg");
}

/* Pale shapes sit a touch nearer again: they drift a little further and
   arrive just after the field */
.splatter__art::after {
  background: var(--splat-pale);
  -webkit-mask-image: url("../assets/splatter/pale.svg");
  mask-image: url("../assets/splatter/pale.svg");
  translate: 0 calc(var(--shift) * 14px * var(--fy));
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) calc(var(--d, 0.1s) + 0.35s);
}

.splatter.is-visible::before { opacity: 1; }

.splatter.is-visible .splatter__art {
  opacity: var(--splat-opacity);
  scale: 1;
  filter: blur(0) drop-shadow(0 16px 28px var(--splat-shadow));
}

.splatter.is-visible .splatter__art::after { opacity: 1; }

.splatter--bl { left: -3%; bottom: calc(var(--bleed) * -1); }
.splatter--br { right: -3%; bottom: calc(var(--bleed) * -1); transform: scaleX(-1); }
.splatter--tl { left: -3%; top: calc(var(--bleed) * -1); transform: scaleY(-1); --fy: -1; }
.splatter--tr { right: -3%; top: calc(var(--bleed) * -1); transform: scale(-1, -1); --fy: -1; }

.splatter--sm { width: clamp(170px, 24vw, 360px); }

/* Edge variant — grows from the middle of a side rather than a corner */
.splatter--l,
.splatter--r {
  --splat-origin: 0% 50%;
  --splat-dof: radial-gradient(ellipse 75% 45% at 22.2% 50%, #000 30%, transparent);
  --edge-h: clamp(300px, 40vw, 560px);
  width: auto;
  height: var(--edge-h);
  aspect-ratio: 1 / 2;
  top: calc(50% - var(--edge-h) / 2);
}

.splatter--l { left: -8px; }
.splatter--r { right: -8px; transform: scaleX(-1); }

.splatter--l .splatter__art::before,
.splatter--r .splatter__art::before {
  -webkit-mask-image: url("../assets/splatter/edge-field.svg");
  mask-image: url("../assets/splatter/edge-field.svg");
}

.splatter--l .splatter__art::after,
.splatter--r .splatter__art::after {
  -webkit-mask-image: url("../assets/splatter/edge-pale.svg");
  mask-image: url("../assets/splatter/edge-pale.svg");
}

/* Sit below the fixed header and arrive after the headline */
.page-hero .splatter { top: calc(50% + 2.5rem - var(--edge-h) / 2); --d: 0.35s; }
.hero .splatter { --d: 0.6s; }

/* Over footage, also dim what's behind so it recedes. Flat grounds skip this:
   it would show where the section is clipped. */
.hero .splatter,
.cta-band .splatter { --splat-dim: 0.8; }

.on-light .splatter { --splat-shadow: rgba(28, 26, 24, 0.22); }

/* On a moss ground the field steps up to sage so it still reads */
.quote-section .splatter {
  --splat-field: var(--sage);
  --splat-pale: color-mix(in srgb, var(--sage), var(--linen) 45%);
  --splat-opacity: 0.4;
  --splat-shadow: rgba(0, 0, 0, 0.3);
}

@media (max-width: 760px) {
  .splatter {
    width: clamp(190px, 58vw, 300px);
    --splat-opacity: 0.6;
    --splat-focus: 6px;
    --bleed: 36px;
    --depth: 28px;
  }
  .splatter--sm { width: clamp(130px, 38vw, 200px); }
  .splatter--l, .splatter--r { width: auto; --edge-h: clamp(240px, 70vw, 340px); }
  .page-hero .splatter { right: -44px; top: calc(84% - var(--edge-h) / 2); }
  .quote-section .splatter { --splat-opacity: 0.3; }
}

/* --------------------------------------------------------------------------
   Quote (moss)
   -------------------------------------------------------------------------- */

.quote-section {
  background: var(--moss);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 85% 20%, rgba(239, 232, 219, 0.06), transparent 70%);
}

.quote-section blockquote {
  margin: 0;
  position: relative;
}

.quote-section blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 320;
  font-style: italic;
  line-height: 1.3;
  color: var(--linen);
  max-width: 20em;
}

.quote-section cite {
  display: block;
  margin-top: 2.25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.quote-section cite::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 2rem;
  height: 1px;
  background: var(--sage);
  margin-right: 0.875rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 65% at 50% 115%, rgba(196, 91, 52, 0.28), transparent 70%);
}

.cta-band h2 {
  font-size: var(--text-xl);
  font-weight: 310;
  margin-inline: auto;
  max-width: 13em;
}

.cta-band .lede { margin: 1.75rem auto 0; text-wrap: balance; }

.cta-band .btn { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   Timeline (experience page)
   -------------------------------------------------------------------------- */

.timeline { display: grid; gap: 0; }

.timeline__row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2.5rem;
  padding-block: 2.5rem;
  border-top: 1px solid rgba(87, 83, 78, 0.4);
}

.timeline__row:last-child { border-bottom: 1px solid rgba(87, 83, 78, 0.4); }

.timeline__time {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--glow);
  padding-top: 0.4rem;
}

.timeline__row h3 { font-size: 1.7rem; margin-bottom: 0.625rem; }

.timeline__row p { color: var(--ash); max-width: 38em; }

@media (max-width: 600px) {
  .timeline__row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Two-column lists */
.list-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.list-cols h3 { font-size: 1.6rem; margin-bottom: 1.5rem; }

.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.tick-list li {
  display: flex;
  gap: 0.875rem;
  color: var(--smoke);
  font-size: 0.9875rem;
}

.tick-list li::before {
  content: "—";
  color: var(--ember);
  flex-shrink: 0;
}

.on-light .tick-list li { color: var(--bark); }
.on-light .tick-list li::before { color: var(--clay); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(28, 26, 24, 0.25);
}

.price-card--featured {
  background: var(--moss);
}

.price-card--featured h3,
.price-card--featured .price-card__amount { color: var(--linen); }
.price-card--featured p { color: var(--smoke); }
.price-card--featured .price-card__tag { color: var(--glow); }

.price-card__tag {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.price-card h3 { font-size: 1.5rem; }

.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 320;
  margin-block: 1.25rem 0.5rem;
  color: var(--ink);
}

.price-card__amount small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--bark);
  font-weight: 400;
}

.price-card--featured .price-card__amount small { color: var(--sage); }

.price-card p { font-size: 0.9375rem; }

/* FAQ */
.faq details {
  border-top: 1px solid rgba(87, 83, 78, 0.4);
  padding-block: 1.5rem;
}

.faq details:last-child { border-bottom: 1px solid rgba(87, 83, 78, 0.4); }

.faq summary {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 350;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: var(--linen);
  transition: color 0.3s var(--ease-out);
}

.faq summary:hover { color: var(--glow); }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ember);
  transition: transform 0.4s var(--ease-out);
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin-top: 1rem;
  color: var(--ash);
  max-width: 44em;
}

/* --------------------------------------------------------------------------
   Locations page — feature rows
   -------------------------------------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.feature-row + .feature-row { margin-top: var(--space-section); }

.feature-row:nth-child(even) .feature-row__media { order: 2; }

.feature-row__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.feature-row h3 { font-size: var(--text-lg); margin-bottom: 1.25rem; }

.feature-row p { color: var(--ash); max-width: 30em; }

.feature-row .location-card__meta { margin-bottom: 1.25rem; }

.feature-row__facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-row__facts li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(87, 83, 78, 0.4);
  font-size: 0.9375rem;
  color: var(--smoke);
}

.feature-row__facts li span:first-child { color: var(--ash); }

@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .feature-row__media { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   Location directions link
   -------------------------------------------------------------------------- */

.map-external {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Flag feature (locations)
   -------------------------------------------------------------------------- */

.flag-feature__grid {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.flag-illo {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.flag-illo svg {
  width: 100%;
  height: auto;
  display: block;
}

.flag-feature h2 {
  font-size: var(--text-xl);
  font-weight: 310;
  margin-bottom: 1.75rem;
}

.flag-feature p:not(.eyebrow) {
  color: var(--ash);
  max-width: 30em;
}

.flag-feature p + p { margin-top: 1.25rem; }

.flag-feature .text-link {
  display: inline-block;
  margin-top: 2rem;
}

.flag-sway {
  transform-box: view-box;
  transform-origin: 112px 525px;
  animation: flag-sway 6.5s ease-in-out infinite alternate;
}

@keyframes flag-sway {
  from { transform: rotate(-1deg); }
  to   { transform: rotate(1.3deg); }
}

@media (max-width: 760px) {
  .flag-feature__grid { grid-template-columns: 1fr; }
  .flag-illo { max-width: 230px; margin-inline: 0; }
}

/* --------------------------------------------------------------------------
   Booking page
   -------------------------------------------------------------------------- */

.book-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 820px) {
  .book-layout { grid-template-columns: 1fr; }
}

/* Acuity scheduler shell — the widget itself is light-themed and styled
   from the Acuity dashboard, so it sits in a deliberate Paper panel */
.acuity-embed {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.75rem;
  overflow: hidden;
  color-scheme: light;
}

.acuity-embed iframe {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 0.5rem);
}

.book-form {
  display: grid;
  gap: 1.5rem;
}

.field { display: grid; gap: 0.5rem; }

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--char);
  border: 1px solid rgba(87, 83, 78, 0.5);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: var(--linen);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B948C' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(229, 154, 107, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}

.form-note { font-size: 0.875rem; color: var(--ash); }

.cf-turnstile { margin-top: 1rem; }

.form-error { margin-top: 1rem; font-size: 0.875rem; color: var(--glow); }
.form-error a { color: inherit; }

/* Honeypot field for bots; kept off-screen rather than display:none so bots still fill it */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  background: var(--moss);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: none;
}

.form-success.is-visible { display: block; }

.form-success h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--smoke); }

/* Booking sidebar */
.book-aside {
  background: var(--char);
  border: 1px solid rgba(87, 83, 78, 0.4);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  position: sticky;
  top: 7rem;
}

.book-aside h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.book-aside dl { margin: 0; display: grid; gap: 1.1rem; }

.book-aside dt {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.book-aside dd {
  margin: 0.2rem 0 0;
  color: var(--smoke);
  font-size: 0.9375rem;
}

.book-aside hr {
  border: 0;
  border-top: 1px solid rgba(87, 83, 78, 0.4);
  margin-block: 1.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(87, 83, 78, 0.4);
  padding-block: clamp(4rem, 8vh, 6rem) 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}


/* Large enough here for the badge's own lettering to carry the name */
.site-footer .logo__badge { width: clamp(6.5rem, 12vw, 8rem); height: auto; }

.site-footer__tag {
  margin-top: 1rem;
  color: var(--ash);
  font-size: 0.9375rem;
  max-width: 24em;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 1.25rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.site-footer ul a {
  color: var(--smoke);
  font-size: 0.9375rem;
  transition: color 0.3s var(--ease-out);
}

.site-footer ul a:hover { color: var(--glow); }

.site-footer__fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(87, 83, 78, 0.3);
  font-size: 0.8125rem;
  color: var(--ash);
}

/* --------------------------------------------------------------------------
   Scroll reveals
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--reveal-duration) var(--ease-out),
              transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--d, 0s);
}

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

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero__title .line > span,
  .hero .lede, .hero .eyebrow, .hero__actions {
    opacity: 1;
    transform: none;
  }

  .hero__video,
  .cta-band__video,
  .media-video { display: none; }
}
