/* ==========================================================================
   Studio 428 Ltd. — stylesheet

   Design language: neutral grotesque type, a near-monochrome palette and as
   little ornament as the page can get away with. Hierarchy is carried by
   size, weight and space rather than by colour or decoration — the Rams /
   Ive reading of "clean". One typeface, one accent (black), consistent radii.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* ---- Brand palette -----------------------------------------------------
     Taken from the Salon 428 Logo Guide, 20 August 2026. These are the raw
     brand values and should not be edited — they are what the logo files and
     the printed material use. The semantic tokens below are what the site
     actually references, so a colour decision is made once, here. */
  --brand-ink:            #2b2825;   /* core neutral */
  --brand-paper:          #f5f0e6;   /* core neutral */
  --brand-stone:          #c4b8a8;   /* core neutral */
  --brand-moss:           #5c6b54;   /* accent */
  --brand-oxblood:        #5c1f28;   /* accent */
  --brand-neutral-mid:    #8a7f71;   /* extended */
  --brand-neutral-light:  #e4dacb;   /* extended */
  --brand-moss-mid:       #8e9c86;
  --brand-moss-light:     #e8ece4;
  --brand-oxblood-mid:    #b37870;
  --brand-oxblood-light:  #f5e4e2;
  --brand-brass:          #a8843f;   /* optional, photography and print stock */
  --brand-walnut:         #6b4a34;   /* optional */

  /* ---- Semantic tokens ---------------------------------------------------
     Warm-tinted throughout, so nothing on the page reads cool beside the
     cream of the logo. Every value here either is a brand colour or is mixed
     from two of them. */
  --ink:        var(--brand-ink);   /* primary text */
  --ink-soft:   #4f4842;            /* secondary text — ink lifted toward stone */
  --muted:      #6f6459;            /* tertiary / labels — see note below */
  --paper:      #ffffff;            /* cards and raised surfaces; the guide
                                       sets the logo "Ink on White" */
  --cream:      var(--brand-paper); /* page background */
  --sand:       #ede4d5;            /* alternate section background, sitting
                                       between Paper and Stone */
  --line:       #e2d8c8;            /* hairlines — Stone at low strength */
  --error:      #b3261e;            /* deliberately not Oxblood: an error must
                                       not be mistakeable for brand colour */

  /* NOTE ON --muted. The obvious choice was the brand's own extended neutral,
     #8a7f71, but it reaches only 3.45:1 on the Paper background and this token
     drives 12px uppercase labels. #6f6459 is the same warm neutral family and
     reaches 5.08:1, which passes AA for small text. Do not swap it back. */

  /* Accents. The guide describes Moss and Oxblood as the supporting colours,
     "used to bring warmth and a deliberate pop". Moss carries the quiet work —
     rules, underlines, hover borders. Oxblood carries the loud work — focus
     rings, active states, the button hover. */
  --clay:       var(--brand-moss);      /* quiet accent */
  --clay-deep:  var(--brand-oxblood);   /* strong accent */

  /* Type — one family throughout. Inter is the closest widely-available
     screen face to Helvetica; Apple devices get the real thing first. */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               Helvetica, "Segoe UI", Arial, sans-serif;
  --font-display: var(--font-sans);

  --step--1: clamp(0.75rem, 0.73rem + 0.1vw, 0.8rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.15vw, 1.0625rem);
  --step-1:  clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.85vw, 2.15rem);
  --step-3:  clamp(2rem, 1.6rem + 1.8vw, 3.4rem);
  --step-4:  clamp(2.5rem, 1.7rem + 3.8vw, 5.6rem);

  /* Tracking. Large text needs negative tracking to stop it looking loose;
     small uppercase labels need positive tracking to stay legible. */
  --track-display: -0.032em;
  --track-heading: -0.021em;
  --track-label:    0.1em;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --measure: 66ch;

  /* Form language — uniform radii, one very soft shadow, no textures. */
  --arch: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;

  /* THE MARK'S SILHOUETTE, as a border-radius.

     The "O" of SALON 428 is not a circle. Measured off the artwork, it is a
     rectangle 79.38 wide by 95.27 tall with exactly one corner rounded — the
     top left, at radius 39.7, which is precisely half the width — and the
     other three left square. A circle is knocked out of the middle. That one
     squared-off corner against an otherwise round form is the whole character
     of the mark, and it is what makes it read as a hood dryer.

     Translated to a button: a pill, squared off at the top right. 999px on the
     other three corners resolves to half the element's height, so the left end
     is a true semicircular cap at any size and the shape holds from the small
     header button up to the large hero one.

     Flip which corner is square by moving the 0 — the order is top-left,
     top-right, bottom-right, bottom-left. */
  --dryer: 999px 0 999px 999px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 10px 30px -14px rgba(0, 0, 0, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* Any author `display` declaration beats the UA stylesheet's rule for the
   `hidden` attribute, so an element like `.notice { display: flex }` stays
   visible when hidden. Restore the expected behaviour globally. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

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

/* Headings differ from body by weight, size and tracking only — never by
   family. Optical sizing: the bigger the text, the tighter it is set. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: var(--track-heading);
  margin: 0 0 0.5em;
}

h1 { font-size: var(--step-4); letter-spacing: var(--track-display); line-height: 1.02; }
h2 { font-size: var(--step-3); letter-spacing: var(--track-display); line-height: 1.06; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.014em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Oxblood is a dark accent, so on the dark panels the focus ring all but
   disappears — measured, it is 1.17:1 against Ink in the footer and 1.02:1
   over the hero scrim. Those surfaces get a cream ring instead, at 12.9:1.
   (The near-black accent this palette replaced had exactly the same problem,
   so this is a fix rather than a regression.) The header is excluded once it
   has stuck, because by then it is cream and the ink ring is correct again. */
.site-header--over:not(.is-stuck) :focus-visible,
.section--ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brand-paper);
}

/* Off-canvas via transform rather than a negative offset, so the link can
   never widen the scrollable area. */
.skip-link {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-size: var(--step--1);
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), 1280px);
  margin-inline: auto;
}

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

.section { padding-block: var(--section-y); }

.section--paper { background: var(--paper); }
.section--sand  { background: var(--sand); }
.section--ink   { background: var(--ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.stack > * + * { margin-top: 1.5rem; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 300;
}

.section--ink .lede { color: #ccc3b5; }

.section-head {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 60em) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; }
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section--ink .rule { border-color: #413b35; }

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.75em;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--dryer);
  background: var(--ink);
  color: var(--brand-paper);   /* the guide's own pairing: Paper on Ink */
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.3s var(--ease);
}

.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn:active { transform: translateY(1px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.btn--sm { padding: 0.7em 1.4em; letter-spacing: -0.004em; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.link-underline {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.004em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--clay);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.link-underline:hover { color: var(--clay-deep); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-stuck {
  background: rgba(245, 240, 230, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

/* The wordmark is the supplied logo. It is two ordinary <img> tags, one per
   colourway, with CSS fading between them — deliberately boring.

   An earlier version used a CSS mask filled with `currentColor`, which was
   tidier but broke: external SVGs referenced from masks are blocked under the
   file:// protocol, so the mark failed to paint when the site was opened by
   double-clicking rather than through the local server. Plain <img> has no
   such restriction and works identically from disk or a host.

   Both colourways sit in the same markup on every page, so the header and
   footer blocks stay byte-identical across all eight files. Which one shows is
   decided entirely in CSS, below and in section 9. */
.brand__logo {
  position: relative;
  display: block;
  width: 8.125rem;                 /* 130 x 20, the artwork's own 6.5:1 ratio */
  height: 1.25rem;
}

.brand__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.4s var(--ease);
}

/* Ink on light backgrounds is the default; cream is revealed by the rules that
   handle the dark hero and the footer. */
.brand__logo--paper { opacity: 0; }

.brand__tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5em;
}

.nav { display: none; }

@media (min-width: 62em) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2.5vw, 2.6rem);
  }
}

.nav__link {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: -0.004em;
  color: var(--ink-soft);
  padding-block: 0.4em;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav__link:hover { color: var(--ink); border-bottom-color: var(--clay); }
.nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* The booking CTA stays in the header at every width — it is the single most
   valuable control on the site, and burying it behind the hamburger on phones
   costs bookings. It just gets tighter on the narrowest screens. */
@media (max-width: 26em) {
  .header__actions .btn {
    padding: 0.7em 1.05em;
    letter-spacing: 0.04em;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
@media (min-width: 62em) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 7rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding-block: 0.3em;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn { margin-top: 2rem; align-self: flex-start; }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Arch media — the signature form, lifted from the moodboard
   -------------------------------------------------------------------------- */
.arch {
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sand);
}

.arch img, .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media { overflow: hidden; background: var(--sand); border-radius: var(--radius-sm); }

.ratio-portrait { aspect-ratio: 3 / 4; }
.ratio-tall     { aspect-ratio: 2 / 3; }
.ratio-square   { aspect-ratio: 1 / 1; }
.ratio-wide     { aspect-ratio: 4 / 3; }

/* --------------------------------------------------------------------------
   7. Hero (cinematic)
   -------------------------------------------------------------------------- */
.hero-cine {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.hero-cine__stage { position: absolute; inset: 0; z-index: -3; }

.hero-cine__slide {
  position: absolute;
  /* Bled well past the edges: a heavy blur samples transparent pixels at the
     boundary and would otherwise leave pale halos down each side. */
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.08) brightness(0.52);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.6s var(--ease);
  will-change: opacity;
}

.hero-cine__slide.is-active {
  opacity: 1;
  /* Only the visible slide animates, so the browser is never compositing
     five simultaneous Ken Burns transforms at once. */
  animation: hero-drift 14s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(-1.2%, -0.8%, 0); }
  to   { transform: scale(1.13) translate3d(1.2%, 0.8%, 0); }
}

/* A single clean gradient. The earlier film-grain overlay was texture for its
   own sake — the first thing to go under "as little design as possible". */
.hero-cine__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.62) 0%,
    rgba(28, 25, 23, 0.38) 42%,
    rgba(28, 25, 23, 0.80) 100%
  );
}

.hero-cine__content {
  position: relative;
  text-align: center;
  padding-block: clamp(7rem, 16vh, 11rem) clamp(5rem, 12vh, 8rem);
}

.hero-cine__title {
  font-size: clamp(2.6rem, 8.4vw, 6.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin: 0 0 1.75rem;
  color: var(--paper);
}

/* Emphasis by weight, not by colour or italics — the whole headline stays
   one colour and the eye still lands on the right phrase. */
.hero-cine__title em {
  font-style: normal;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

/* Each line sits in an overflow-hidden mask and rises into place. A small
   amount of lower breathing room keeps descenders such as the g in "right"
   from being clipped by the animation mask. */
.hero-cine__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.045em;
}

.hero-cine__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: hero-rise 1.15s var(--ease) forwards;
}

.hero-cine__title .line:nth-child(1) > span { animation-delay: 0.35s; }
.hero-cine__title .line:nth-child(2) > span { animation-delay: 0.47s; }
.hero-cine__title .line:nth-child(3) > span { animation-delay: 0.59s; }

@keyframes hero-rise { to { transform: translateY(0); } }
@keyframes hero-in   { to { opacity: 1; } }

.hero-cine__lede {
  max-width: 34ch;
  margin: 0 auto 2.75rem;
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: hero-in 1.1s var(--ease) 0.85s forwards;
}

.hero-cine__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: hero-in 1.1s var(--ease) 1s forwards;
}

.btn--lg {
  padding: 1.05em 2.6em;
  font-size: 1rem;
  letter-spacing: -0.006em;
}

/* The button earns attention through size, contrast and position. The halo
   that used to pulse here was decoration doing a job the layout already does. */
.hero-cine__actions .btn--lg:hover { transform: translateY(-1px); }

.hero-cine__alt { color: rgba(255, 255, 255, 0.75); border-bottom-color: rgba(255, 255, 255, 0.32); }
.hero-cine__alt:hover { color: var(--paper); border-bottom-color: var(--paper); }

.hero-cine__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
  justify-content: center;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: hero-in 1.1s var(--ease) 1.2s forwards;
}

.hero-cine__meta a { text-decoration: none; }
.hero-cine__meta a:hover { color: var(--paper); }

.hero-cine__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: hero-in 1.2s var(--ease) 1.6s forwards;
}

.hero-cine__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  transform-origin: top;
  animation: scroll-cue 2.4s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.35; }
  50%      { transform: scaleY(1);    opacity: 1; }
}

/* The header floats over the hero on the home page only. */
.site-header--over {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border-bottom-color: transparent;
}

.site-header--over .nav__link { color: var(--paper); }
.site-header--over .brand__logo--ink   { opacity: 0; }
.site-header--over .brand__logo--paper { opacity: 1; }
.site-header--over .brand__tag { color: rgba(255, 255, 255, 0.6); }
.site-header--over .nav__link:hover { color: var(--paper); border-bottom-color: var(--clay); }
.site-header--over .nav-toggle { border-color: rgba(255, 255, 255, 0.35); }
.site-header--over .nav-toggle span { background: var(--paper); }
.site-header--over .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-header--over .btn:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

/* Inner-page openers share the homepage's full-viewport cinematic scale. */
.hero-cine--inner .hero-cine__content { max-width: 66rem; }
.hero-cine--inner .hero-cine__title { font-size: clamp(3rem, 7.5vw, 6rem); }
.hero-cine--inner .eyebrow {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}

/* Once scrolled past the hero it becomes the normal sticky bar again. */
.site-header--over.is-stuck {
  position: fixed;
  background: rgba(245, 240, 230, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header--over.is-stuck .nav__link { color: var(--ink-soft); }
.site-header--over.is-stuck .brand__logo--ink   { opacity: 1; }
.site-header--over.is-stuck .brand__logo--paper { opacity: 0; }
.site-header--over.is-stuck .brand__tag { color: var(--muted); }
.site-header--over.is-stuck .nav-toggle { border-color: var(--line); }
.site-header--over.is-stuck .nav-toggle span { background: var(--ink); }
.site-header--over.is-stuck .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* The mobile menu panel is cream, so the white-on-hero treatment has to flip
   back to dark while it is open or the brand and the close icon vanish. */
body.nav-open .site-header--over .brand__logo--ink   { opacity: 1; }
body.nav-open .site-header--over .brand__logo--paper { opacity: 0; }
body.nav-open .site-header--over .brand__tag { color: var(--muted); }
body.nav-open .site-header--over .nav-toggle { border-color: var(--line); }
body.nav-open .site-header--over .nav-toggle span { background: var(--ink); }
body.nav-open .site-header--over .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Ticker strip */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding-block: 1rem;
}

.marquee__track {
  display: flex;
  justify-content: space-around;
  min-width: 200%;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Each repeated half includes its trailing space and fills the viewport,
   so translating by half the track loops without a jump or an empty tail. */
.marquee__track > span {
  flex-shrink: 0;
  padding-right: 3rem;
}

.marquee__track span::after {
  content: "◦";
  margin-left: 3rem;
  color: var(--clay);
}

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

/* --------------------------------------------------------------------------
   8. Feature rows & cards
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 60em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.split__media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.split__media-pair > :last-child { margin-top: clamp(2rem, 6vw, 4rem); }

.card-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.pillar {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pillar h3 { font-size: var(--step-1); margin: 0 0 0.4em; }
.pillar p { font-size: var(--step-0); color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   9. Services
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   PANEL WALL — shared component

   A full-bleed row of tall panels that fills the screen, each cycling a set of
   greyscale photographs. Used by the services page (three appointment lengths)
   and the team page (five stylists). One implementation, because they are the
   same object; only the grid that lays them out differs per page.

   Each panel runs the same crossfade as the home page hero: greyscale, slow
   opacity swap, one photograph at a time. The blur is far lighter here — 2px
   against the hero's 16px — because the hero blurs to push a photograph behind
   a headline, whereas here the photograph is most of the point. At the hero's
   settings these read as identical grey rectangles. The scrim carries the text
   contrast instead.

   Entry timing is driven by --n, the panel's index, set inline when rendered.
   Using a custom property rather than :nth-child means the same rules serve a
   wall of three and a wall of five without being written twice.
   -------------------------------------------------------------------------- */
.wall-panel {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: var(--ink);
  border: 0;
  /* Full bleed and flush against each other, so no radius — a rounded corner
     against the viewport edge reads as a mistake. Panels are separated by a
     hairline instead. The mark's squared-corner motif still lives on the
     buttons, where it has room to read. */
  border-radius: 0;
  border-right: 1px solid rgba(245, 240, 230, 0.14);
  animation: wall-panel-in 1.1s var(--ease) backwards;
  animation-delay: calc(var(--n, 0) * 0.12s + 0.05s);
}

.wall-panel:last-child { border-right: 0; }

@keyframes wall-panel-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wall-panel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.68);
  opacity: 0;
  transform: scale(1.06);
  /* Opacity carries the crossfade between photographs; filter and transform
     carry the hover. Different durations because they are different jobs —
     a 2.2s hover response would feel broken. */
  transition: opacity 2.2s var(--ease),
              filter 0.55s var(--ease),
              transform 0.7s var(--ease);
}

/* Carried in the markup, so with no JavaScript each panel is a single static
   photograph rather than an empty box. */
.wall-panel__slide.is-active { opacity: 1; }

.wall-panel__scrim {
  position: absolute;
  inset: 0;
  /* Lightened from the original 0.30/0.55/0.88. The wall still has to carry
     cream type at the bottom, which is why the foot of the gradient barely
     moves — the lifting happens in the top two thirds, which is the part the
     eye reads as "how dark is this page". */
  background: linear-gradient(to bottom,
    rgba(28, 25, 23, 0.16) 0%,
    rgba(28, 25, 23, 0.40) 55%,
    rgba(28, 25, 23, 0.84) 100%);
}

.wall-panel__body {
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  padding: clamp(1.75rem, 3vw, 3rem) clamp(1.25rem, 2vw, 2.25rem);
  color: var(--brand-paper);
}

/* Each line rises in on its own beat, offset again by the panel's own index,
   so the wall reads across rather than every column twitching in unison.

   `backwards` fill, for the same reason as the coming-soon page: the shifted
   state lives only inside the keyframes, so if the animation never runs the
   text simply sits where it belongs. The failure mode is "no animation",
   never "no text". */
.wall-panel__eyebrow,
.wall-panel__title,
.wall-panel__meta,
.wall-panel__count {
  animation: wall-line-in 0.85s var(--ease) backwards;
}

.wall-panel__eyebrow { animation-delay: calc(var(--n, 0) * 0.12s + 0.34s); }
.wall-panel__title   { animation-delay: calc(var(--n, 0) * 0.12s + 0.42s); }
.wall-panel__meta    { animation-delay: calc(var(--n, 0) * 0.12s + 0.50s); }
.wall-panel__count   { animation-delay: calc(var(--n, 0) * 0.12s + 0.58s); }

@keyframes wall-line-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.wall-panel__eyebrow {
  display: block;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.72);
  margin-bottom: 0.5rem;
  transition: color 0.5s var(--ease);
}

.wall-panel__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: var(--track-display);
  line-height: 1.05;
}

.wall-panel__meta {
  display: block;
  margin-top: 0.75rem;
  max-width: 30ch;
  font-size: var(--step--1);
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.78);
}

.wall-panel__count {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
  border-top: 1px solid rgba(245, 240, 230, 0.25);
  padding-top: 0.7rem;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

/* Hover and keyboard focus.

   The panels are flush against each other, so lifting one on hover would tear
   a gap in the wall. The highlight is done inside the panel instead: the
   photograph brightens and pushes in slightly, and a hairline runs round the
   edge. Everything eases over half a second — a snappier transition makes a
   full-height panel feel like it is flinching. */
.wall-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(245, 240, 230, 0);
  transition: box-shadow 0.5s var(--ease);
}

/* The wall already draws its own high-contrast inset focus indicator. Remove
   the global oxblood outline here so returning focus after a profile closes
   cannot leave a clipped red edge at the side of the viewport. */
.wall-panel:focus-visible { outline: none; }

.wall-panel:hover .wall-panel__slide.is-active,
.wall-panel:focus-visible .wall-panel__slide.is-active {
  filter: grayscale(1) contrast(1.12) brightness(0.86);
  transform: scale(1.03);
}

.wall-panel:hover::after,
.wall-panel:focus-visible::after {
  box-shadow: inset 0 0 0 1px rgba(245, 240, 230, 0.5);
}

.wall-panel:hover .wall-panel__eyebrow,
.wall-panel:focus-visible .wall-panel__eyebrow { color: var(--brand-paper); }

.wall-panel:hover .wall-panel__count,
.wall-panel:focus-visible .wall-panel__count {
  color: rgba(245, 240, 230, 0.85);
  border-color: rgba(245, 240, 230, 0.5);
}

/* The chosen panel keeps its colour, so it stays obvious which one is open
   when you scroll back up to it. */
.wall-panel[aria-pressed="true"] .wall-panel__slide.is-active {
  filter: grayscale(0) contrast(1.02) brightness(0.82);
}

.wall-panel[aria-pressed="true"]::after {
  box-shadow: inset 0 0 0 2px var(--brand-paper);
}

/* ---- Services page: three appointment lengths ---------------------------- */

/* The header on the wall pages is .site-header--over, which is
   position:absolute and therefore out of the flow, so the panels genuinely
   start at y=0 and no height needs subtracting. */
.services-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;                 /* fallback for older mobile browsers */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
}

/* ---- Team page: five stylists -------------------------------------------- */
.team-wall {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  /* Column count is set inline by the team page from the number of visible
     stylists (--cols), so hiding or later adding a stylist never leaves an
     empty column. Falls back to 5 if the script has not run. */
  grid-template-columns: repeat(var(--cols, 5), 1fr);
  background: var(--ink);
}

/* Five columns need tighter type than three, or every name wraps. */
.team-wall .wall-panel__title { font-size: clamp(1.4rem, 1.65vw, 2.1rem); }
.team-wall .wall-panel__body  { padding: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1rem, 1.4vw, 1.5rem); }
.team-wall .wall-panel__meta  { max-width: 24ch; }

/* Between roughly tablet and laptop, five columns are too narrow to read. A
   six-column track lets three sit on the first row and the remaining two split
   the second evenly, so the wall never strands a panel alone. */
@media (max-width: 1200px) and (min-width: 861px) {
  .team-wall {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .team-wall .wall-panel { grid-column: span 2; border-bottom: 1px solid rgba(245, 240, 230, 0.14); }
  .team-wall .wall-panel:nth-child(4),
  .team-wall .wall-panel:nth-child(5) { grid-column: span 3; border-bottom: 0; }
  .team-wall .wall-panel:nth-child(3) { border-right: 0; }
  .team-wall .wall-panel__title { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
}

@media (max-width: 860px) {
  /* Stacked, the panels share the screen as equal bands rather than each
     keeping a portrait shape, which would run to several screens. */
  .services-hero {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  /* Five stylists will not fit one screen as readable bands, so the team wall
     goes two across with the last spanning the full width. */
  .team-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .team-wall .wall-panel:nth-child(5) { grid-column: span 2; }
  .team-wall .wall-panel__title { font-size: clamp(1.3rem, 5vw, 1.9rem); }

  .wall-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 240, 230, 0.14);
  }
  .wall-panel:last-child { border-bottom: 0; }
  .wall-panel__body { padding: 1.35rem 1.15rem; }
  .wall-panel__meta { display: none; }
  .wall-panel__count { margin-top: 0.8rem; padding-top: 0.55rem; }
}

/* Very short screens: bands would be unreadable strips, so the wall is allowed
   to run past the fold and the page scrolls. */
@media (max-height: 560px) and (max-width: 860px) {
  .services-hero,
  .team-wall { min-height: 0; }
  .wall-panel { min-height: 13rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-panel,
  .wall-panel__eyebrow,
  .wall-panel__title,
  .wall-panel__meta,
  .wall-panel__count { animation: none; }
  .wall-panel__slide { transition: none; }
  .wall-panel:hover .wall-panel__slide.is-active { transform: none; }
}

/* --------------------------------------------------------------------------
   Stylist profile — a modal panel inside the team page.

   Deliberately not five separate HTML files. Every stylist's details already
   live in salon.js, so a page each would mean the same facts written twice and
   free to drift; adding a stylist would mean adding a file, a nav entry and a
   copy of the layout. One dialog rendered from the data means adding a stylist
   is adding a record.

   Built on the native <dialog> element, which brings focus trapping, Escape to
   close, inert background content and ::backdrop for free — all things that
   are easy to implement badly by hand.
   -------------------------------------------------------------------------- */
.profile {
  width: min(72rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
  background: var(--cream);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.profile::backdrop {
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(6px);
}

.profile[open] { animation: profile-in 0.45s var(--ease); }

@keyframes profile-in {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.profile__shell {
  min-height: 100%;
}

.profile__intro {
  display: grid;
  grid-template-columns: minmax(19rem, 0.92fr) minmax(0, 1.08fr);
  min-height: 31rem;
}

.profile__media {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.04);
}

.profile__body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2.25rem, 4.5vw, 4.75rem);
}

.profile__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.profile__close:hover { background: var(--sand); border-color: var(--ink); }

.profile__role {
  display: block;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.4rem;
}

.profile__name { font-size: var(--step-3); margin: 0 0 0.75rem; }

.profile__bio {
  max-width: 48ch;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.profile .stylist__days {
  margin-top: 0;
  color: var(--muted);
}

.profile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.profile__gallery-wrap {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: var(--ink);
  color: var(--brand-paper);
}

.profile__gallery-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile__gallery-heading h3 {
  margin: 0;
  color: inherit;
  font-size: var(--step-1);
}

.profile__gallery-heading .link-underline {
  font-size: var(--step--1);
}

.profile__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(245, 240, 230, 0.18);
}

.profile__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--brand-ink);
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.35s var(--ease);
}

.profile__gallery img:hover { filter: grayscale(0) contrast(1); }

@media (max-width: 720px) {
  .profile {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }
  .profile__intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .profile__media { min-height: 21rem; }
  .profile__body { padding: 2rem 1.25rem; }
  .profile__actions { margin-top: 1.75rem; }
  .profile__gallery-wrap { padding: 1rem; }
  .profile__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .profile[open] { animation: none; }
}

body.profile-open { overflow: hidden; }

/* The price list rolling down when a length is chosen. The section itself
   eases open; the rows then arrive in sequence rather than as one block, which
   is what makes it read as unrolling rather than as a jump cut.

   Row delays are capped: with 10 services in the Quick bucket, an uncapped
   60ms step would leave the last row arriving two-thirds of a second after the
   scroll finishes, which reads as lag rather than as choreography. */
[data-menu]:not([hidden]) {
  animation: menu-roll 0.75s var(--ease);
}

@keyframes menu-roll {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

[data-menu]:not([hidden]) .service-group {
  animation: menu-roll 0.7s var(--ease) backwards;
}

[data-menu]:not([hidden]) .service-row {
  animation: row-in 0.6s var(--ease) backwards;
  animation-delay: calc(var(--row, 0) * 55ms + 0.18s);
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-menu]:not([hidden]),
  [data-menu]:not([hidden]) .service-group,
  [data-menu]:not([hidden]) .service-row { animation: none; }
}

/* Active-filter notice above the price list. */
.filter-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.filter-note__clear {
  font: inherit;
  cursor: pointer;
  padding: 0.35em 0.9em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--dryer);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.filter-note__clear:hover { border-color: var(--ink); background: var(--sand); }

.services-empty {
  padding: 3rem 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.chip {
  padding: 0.6em 1.3em;
  font-family: inherit;
  font-size: 0.875rem;
  letter-spacing: -0.004em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.chip:hover { border-color: var(--ink); color: var(--ink); }

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.service-group + .service-group { margin-top: clamp(3rem, 6vw, 5rem); }

.service-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--ink);
}

.service-group__head h3 { margin: 0; }

.service-group__note {
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.service-row {
  display: grid;
  gap: 0.5rem 1.5rem;
  grid-template-columns: 1fr auto;
  align-items: start;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48em) {
  /* Price column at 10rem: "Complimentary" (~8.5rem at the top of the type
     scale) sits on one line with clear margin before the Book button, so it
     neither clips nor breaks to a stray "y". */
  .service-row { grid-template-columns: minmax(0, 1fr) 10rem auto; align-items: center; }
}

.service-row__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.014em;
  margin: 0 0 0.2em;
}

.service-row__desc {
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
  max-width: 46ch;
}

.service-row__price {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.014em;
  font-feature-settings: "tnum" 1;
  /* Kept on one line so "Complimentary" reads as one word, never broken to a
     stray "y". The price column below is sized to hold the longest label. */
  white-space: nowrap;
}

.service-row__price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

.service-row__action { grid-column: 1 / -1; }
@media (min-width: 48em) { .service-row__action { grid-column: auto; } }

/* --------------------------------------------------------------------------
   10. Team
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

/* Keep the six-person preview balanced: two rows on smaller desktops,
   then a single compact row when there is enough room. */
@media (min-width: 64em) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid--compact { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 80em) {
  .team-grid--compact { grid-template-columns: repeat(6, 1fr); }
}

.team-grid--compact .stylist { display: flex; flex-direction: column; }
.team-grid--compact .stylist > .link-underline { margin-top: auto; align-self: flex-start; }

.stylist__media { margin-bottom: 1.25rem; }
.stylist__media .arch { aspect-ratio: 3 / 4; }

.stylist__name { font-size: var(--step-2); margin: 0 0 0.15em; }

.stylist__role {
  display: block;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.9rem;
}

.stylist__bio { font-size: var(--step-0); color: var(--ink-soft); }

.stylist__days {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }

.tag {
  font-size: 0.68rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(2, 1fr);
}

/* `width: 100%` pins each tile to its grid track. Without it a stretched
   square tile takes its height from a taller 3:4 neighbour and then lets
   aspect-ratio compute its WIDTH back from that height, bursting the track. */
.gallery > * { min-width: 0; width: 100%; }

@media (min-width: 52em) {
  .gallery { grid-template-columns: repeat(4, 1fr); }

  /* The tall tiles stretch across two rows. `aspect-ratio: auto` is essential
     here — left in place, the ratio would size the tile's WIDTH from its
     two-row height and burst it out of its grid track. */
  .gallery > :nth-child(1),
  .gallery > :nth-child(4) {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

.gallery .media { height: 100%; }
.gallery .media img { transition: transform 1.2s var(--ease); }
.gallery .media:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

#ch-words { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

#ch-words .quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}

#ch-words .quote {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
}

#ch-words .quote blockquote {
  margin-bottom: 0.7rem;
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
}

#ch-words .quote figcaption { font-size: 0.68rem; }

@media (max-width: 820px) {
  #ch-words .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  #ch-words .quote-grid { grid-template-columns: 1fr; }
}

.quote blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.022em;
}

.quote figcaption {
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 1.5rem; }

.field label,
.fieldset__legend {
  display: block;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9em 1.1em;
  font-family: inherit;
  font-size: var(--step-0);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay-deep);
  box-shadow: 0 0 0 3px rgba(92, 31, 40, 0.14);
}

.field__hint { display: block; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: none; color: var(--muted); margin-top: 0.5rem; }

.field__error {
  display: none;
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.45rem;
  letter-spacing: 0.04em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field.has-error .field__error { display: block; }

.field-row { display: grid; gap: 0 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }

.checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
}

.checkbox input { width: auto; margin-top: 0.25rem; flex: none; }

/* --------------------------------------------------------------------------
   14. Booking (Phorest)
   -------------------------------------------------------------------------- */
.booking {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* Grid items default to `min-width: auto`, which lets a wide descendant push
   the track past the container instead of scrolling inside it. Every grid
   child here is explicitly allowed to shrink. */
.booking > * { min-width: 0; }

@media (min-width: 64em) {
  .booking { grid-template-columns: minmax(0, 1fr) 20rem; }
}

/* The Phorest calendar, framed in our own page. The frame sits on a loading
   message, so a slow third-party response reads as "loading" rather than as a
   blank hole in the layout. */
.booking-frame {
  position: relative;
  height: clamp(680px, 118vh, 1120px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.booking-frame__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

.booking-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.booking-frame iframe[data-loaded="true"] { opacity: 1; }

.booking-context {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--step-0);
  color: var(--ink-soft);
}

.booking-escape {
  margin: 1.5rem 0 0;
  font-size: var(--step--1);
  color: var(--muted);
}

.booking-escape .link-underline { margin-left: 0.5rem; }

/* Summary rail */
.summary {
  position: sticky;
  top: 110px;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.summary h3 {
  font-size: var(--step--1);
  font-family: var(--font-sans);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.summary dl { margin: 0; }

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
}

.summary__row dt { color: var(--muted); letter-spacing: var(--track-label); text-transform: uppercase; flex: none; }
.summary__row dd { margin: 0; text-align: right; }
.summary__row dd em { font-style: normal; color: var(--muted); }

.summary__row dd a { color: var(--clay-deep); }

.summary__note { font-size: 0.72rem; color: var(--muted); margin: 1.25rem 0 0; line-height: 1.5; }

/* Notice / setup banner */
.notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  background: rgba(43, 40, 37, 0.05);
  border-left: 2px solid var(--clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.notice p { margin: 0; max-width: none; }
.notice strong { font-weight: 500; }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.info-list { list-style: none; margin: 0; padding: 0; }

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-0);
}

.info-list li span:first-child { color: var(--muted); letter-spacing: var(--track-label); text-transform: uppercase; font-size: var(--step--1); }
.info-list li[data-today="true"] { color: var(--clay-deep); }
.info-list li[data-today="true"] span:first-child { color: var(--clay-deep); }

/* Holds the Google Maps iframe. The placeholder styling (centred text on sand)
   is gone now that there is a real map; what stays is the frame around it. The
   iframe is positioned to fill it exactly, since iframes ignore aspect-ratio
   and object-fit. The squared-top-right corner echoes the mark, the same shape
   the buttons carry. */
.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* The embed is full-colour Google chrome; a light desaturation settles it
     into the page without making the map hard to read. */
  filter: saturate(0.9) contrast(0.98);
}

.map-frame__link {
  margin: 0.9rem 0 0;
  font-size: var(--step--1);
}

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

.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 1.35rem;
}

.faq summary {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--clay-deep);
  flex: none;
  transition: transform 0.3s var(--ease);
}

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

.faq details p { margin: 1rem 0 0; color: var(--ink-soft); font-size: var(--step-0); }

/* --------------------------------------------------------------------------
   16. CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; }

.site-footer {
  background: var(--ink);
  color: #a89e91;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
  font-size: var(--step--1);
}

.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  padding-bottom: 3rem;
  border-bottom: 1px solid #3a342e;
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.25rem;
}

.site-footer .brand__logo--ink   { opacity: 0; }
.site-footer .brand__logo--paper { opacity: 1; }
.site-footer .brand__tag { color: #a89e91; }

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-footer a { text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--paper); }
.site-footer p { color: #a89e91; }

/* The hours list is shared with the contact page, where it sits on white, so
   in the footer every one of its colours has to be inverted — including the
   "today" highlight, which resolves to the near-black emphasis colour and
   would otherwise be invisible against the near-black panel. */
.site-footer .info-list li {
  border-bottom-color: #3a342e;
  color: #d6ccbd;
}

.site-footer .info-list li span:first-child { color: #a89e91; }

.site-footer .info-list li[data-today="true"],
.site-footer .info-list li[data-today="true"] span:first-child {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #8f8478;
}

/* --------------------------------------------------------------------------
   Developer credit — appears on every page, below the salon's own footer.

   Deliberately a separate strip rather than folded into .footer-bottom: this
   line is about the site, not the salon, and keeping it visually distinct
   (its own thin band, a hairline above it) means it never reads as part of
   the salon's own copyright statement. Small by design — the ask was for it
   to sit quietly at the very bottom, not compete with the salon's own
   branding above it.

   One <img>, not the raw inline SVG, and the site links to the SAME svg file
   from nine pages — inlining ~51KB of path data in every HTML file would add
   nearly half a megabyte to the site for a mark that appears at 90px wide.
   The browser fetches it once and reuses it from cache on every other page. */
.dev-credit {
  background: var(--ink);
  border-top: 1px solid #3a342e;
  padding-block: 0.9rem;
}

.dev-credit__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dev-credit__label {
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: #6b6259;
}

.dev-credit a {
  display: inline-flex;
  align-items: center;
  /* Opacity rather than a colour change on hover/focus: the mark is
     monochrome, so a subtle lift in prominence reads as "clickable" without
     needing a second colour introduced this far down the page. */
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
}

.dev-credit a:hover,
.dev-credit a:focus-visible { opacity: 1; }

.dev-credit img {
  display: block;
  height: 21px; /* was 14px — sized up 50% per request */
  width: auto;
}

/* --------------------------------------------------------------------------
   17. Page masthead (inner pages)
   -------------------------------------------------------------------------- */
.masthead { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.masthead h1 { max-width: 16ch; }
.masthead .lede { max-width: 52ch; }

/* --------------------------------------------------------------------------
   17b. Shop
   -------------------------------------------------------------------------- */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: rgba(28, 25, 23, 0.16);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(25% - 1px);
  min-width: 0;
  min-height: clamp(18rem, 24vw, 23rem);
  color: var(--brand-paper);
  background: #64625f;
  border: 0;
  border-radius: 0;
  transition: background-color 0.25s var(--ease);
}

.product:hover { transform: none; background: #595754; }

.product__badge {
  align-self: flex-start;
  margin: 1.25rem 1.25rem 0;
  padding: 0.35em 0;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.72);
  border-bottom: 1px solid rgba(245, 240, 230, 0.4);
}

.product__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 4vw, 4rem) 1.25rem 0;
  flex: 1;
}

.product__name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 0.15em;
}

.product__size {
  display: block;
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.62);
  margin-bottom: 0.6rem;
}

.product__blurb {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.76);
}

.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
}

.product .btn--ghost {
  color: var(--brand-paper);
  border-color: rgba(245, 240, 230, 0.46);
  background: rgba(28, 25, 23, 0.18);
}

.product .btn--ghost:hover {
  color: var(--ink);
  border-color: var(--brand-paper);
  background: var(--brand-paper);
}

.product__price {
  font-size: 1rem;
  font-weight: 500;
  font-feature-settings: "tnum" 1;
}

.shop-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 62ch;
}

.shop-note a { color: var(--ink); }

.shop-catalogue-section {
  padding: 0;
  background: var(--cream);
  color: var(--ink);
}

.shop-catalogue {
  display: grid;
  grid-template-columns: clamp(11rem, 15vw, 14rem) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  width: 100%;
  background: var(--ink);
}

.shop-filter-panel {
  position: sticky;
  top: 1.25rem;
  min-height: 24rem;
  overflow: hidden;
  color: var(--brand-paper);
  background: var(--ink);
}

.shop-filter-panel__body {
  padding: clamp(2rem, 3vw, 3rem) clamp(1.15rem, 2vw, 2rem);
}

.shop-filter-panel__eyebrow {
  display: block;
  margin-bottom: 1.2rem;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.62);
}

.shop-filter-panel .filter-bar {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.shop-filter-panel .chip {
  width: 100%;
  padding: 0.6rem 0;
  text-align: left;
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.72);
  border: 0;
  border-radius: 0;
  transform-origin: left center;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease), text-shadow 0.25s var(--ease);
}

.shop-filter-panel .chip:hover {
  color: var(--brand-paper);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.shop-filter-panel .chip[aria-pressed="true"] {
  color: var(--brand-paper);
  background: transparent;
  transform: scale(1.1);
  text-shadow: 0 0 9px rgba(255, 255, 255, 0.62), 0 0 22px rgba(255, 255, 255, 0.28);
}

.shop-products { min-width: 0; background: var(--cream); }

.notice--dark {
  margin: 0;
  color: var(--muted);
  background: var(--paper);
  border-color: var(--line);
  border-radius: 0;
}

.notice--dark strong { color: var(--ink); }

.shop-catalogue-section .shop-note {
  margin: 0;
  padding: 1.5rem;
  max-width: none;
  color: var(--muted);
  border-color: var(--line);
}

.shop-catalogue-section .shop-note a { color: var(--ink); }

.site-header--over:not(.is-stuck) .cart-button {
  color: var(--brand-paper);
  border-color: rgba(245, 240, 230, 0.4);
}

.site-header--over:not(.is-stuck) .cart-button__count {
  color: var(--ink);
  background: var(--brand-paper);
}

@media (max-width: 1200px) {
  .product { flex-basis: calc(33.333% - 1px); }
}

@media (max-width: 900px) {
  .shop-catalogue { grid-template-columns: 1fr; }
  .shop-filter-panel {
    position: relative;
    min-height: 0;
  }
  .shop-filter-panel .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
  }
  .shop-filter-panel .chip { width: auto; }
  .product { flex-basis: calc(50% - 1px); }
}

@media (max-width: 520px) {
  .product { min-height: 18rem; flex-basis: 100%; }
}

/* Bag button in the header */
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.05em;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.cart-button:hover { border-color: var(--ink); }

.cart-button__count {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
}

/* Scrim shared by the bag and the checkout */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(28, 25, 23, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.scrim.is-visible { opacity: 1; visibility: visible; }

body.no-scroll { overflow: hidden; }

/* Bag drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(100%, 27rem);
  height: 100%;
  background: var(--cream);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.cart-drawer.is-open { transform: none; }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 { margin: 0; font-size: 1.15rem; }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }

.cart-drawer__foot {
  padding: 1.35rem var(--gutter) calc(1.35rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.icon-button:hover { background: var(--sand); }

.cart-empty { padding: 3.5rem 0; text-align: center; color: var(--muted); }
.cart-empty p { margin: 0 auto 1.25rem; }

.cart-lines { list-style: none; margin: 0; padding: 0; }

.cart-line {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--sand);
  border-radius: var(--radius-sm);
  color: #bdb3a5;
  overflow: hidden;
}

.cart-line__art img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__art .product__art { width: 55%; }

.cart-line__body { min-width: 0; }
.cart-line__name { display: block; font-weight: 500; font-size: 0.9rem; }
.cart-line__size { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6rem; }

.cart-line__end { text-align: right; }
.cart-line__price { display: block; font-weight: 500; font-size: 0.9rem; font-feature-settings: "tnum" 1; }

.cart-line__remove {
  margin-top: 0.5rem;
  padding: 0;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.cart-line__remove:hover { color: var(--ink); border-bottom-color: var(--ink); }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.qty button {
  width: 1.9rem;
  height: 1.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.qty button:hover { background: var(--sand); }
.qty span { min-width: 1.5rem; text-align: center; font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.fulfilment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.25rem;
  margin-bottom: 1rem;
  background: var(--sand);
  border-radius: 999px;
}

.fulfilment__opt {
  padding: 0.6em 0.5em;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.fulfilment__opt[aria-checked="true"] {
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow);
}

.cart-nudge {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.totals { margin: 0 0 0.75rem; }

.totals__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.4rem;
  font-size: 0.85rem;
}

.totals__row dt { color: var(--muted); }
.totals__row dd { margin: 0; font-feature-settings: "tnum" 1; }

.totals__grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.85rem;
  margin-bottom: 1.1rem;
  border-top: 1px solid var(--line);
}

.totals__grand strong { font-size: 1.25rem; font-weight: 600; font-feature-settings: "tnum" 1; }

.btn--full { width: 100%; }

/* Checkout */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 130;
  width: min(100% - 2rem, 40rem);
  max-height: min(88vh, 52rem);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.checkout-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }

.checkout-modal__close { position: absolute; top: 0.85rem; right: 0.85rem; }

.checkout__intro { color: var(--muted); margin-bottom: 1.75rem; }

.order-review {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.order-review h3 { font-size: 0.8rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.order-review ul { list-style: none; margin: 0 0 0.85rem; padding: 0; }
.order-review li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.3rem; font-size: 0.85rem; }
.order-review li span:last-child { font-feature-settings: "tnum" 1; }

.order-review__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.order-review__total strong { font-size: 1.15rem; font-weight: 600; }

/* The payment handover. Deliberately not a form. */
.payment-stub {
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
}

.payment-stub h3 { font-size: 0.8rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.payment-stub p { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.payment-stub__demo { color: var(--ink); margin-bottom: 0 !important; }

.confirm { text-align: center; padding-block: 1rem; }

.confirm__mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.confirm__lede { font-size: var(--step-1); margin-inline: auto; max-width: 34ch; }
.confirm .payment-stub__demo { max-width: 40ch; margin: 1.5rem auto 0; font-size: 0.8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   17c. Policies
   -------------------------------------------------------------------------- */
.policy-updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.policy-content { padding-top: clamp(2rem, 4vw, 3rem); }

.policy-toc {
  padding: 1.5rem 1.75rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.policy-toc h2 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.policy-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 40em) { .policy-toc ol { columns: 1; } }

.policy-toc li { counter-increment: toc; break-inside: avoid; margin-bottom: 0.5rem; }

.policy-toc a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.policy-toc a::before { content: counter(toc) ". "; color: var(--muted); }
.policy-toc a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.policy > section { padding-top: clamp(2.25rem, 4vw, 3rem); scroll-margin-top: 6rem; }
.policy > section + section { border-top: 1px solid var(--line); }

.policy h2 {
  font-size: var(--step-2);
  letter-spacing: var(--track-heading);
  margin-bottom: 0.7em;
}

.policy p { color: var(--ink-soft); }
.policy strong { color: var(--ink); font-weight: 500; }

.policy ul { margin: 0 0 1.1em; padding-left: 1.1rem; color: var(--ink-soft); max-width: var(--measure); }
.policy li { margin-bottom: 0.6rem; }
.policy a { color: var(--ink); }

/* h3 exists only inside the Liability section, which is long enough to need
   subheadings where the other sections do not. */
.policy h3 {
  font-size: var(--step-0);
  letter-spacing: var(--track-heading);
  margin: 1.75em 0 0.6em;
  color: var(--ink);
}

/* The derived list of services that take a deposit. Two columns, because as a
   single run of nine it looks like a wall of exceptions rather than the short
   list it actually is. */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 0.4rem 1.5rem;
  max-width: none;
}

.policy-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.policy-list li span { color: var(--muted); white-space: nowrap; font-size: var(--step--1); }

/* Cancellation notice on the booking page — a full-width HORIZONTAL band above
   the calendar, not a tall box wedged into the narrow summary column. Oxblood
   because this is the one thing on the page that costs money if missed; the
   accent is used as a block only here, so it reads as "read me" rather than
   decoration.

   Layout: a lead paragraph, then three short policy columns that run across.
   The columns collapse to a stack on narrow screens where side-by-side would
   be too tight. */
.book-policy {
  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--brand-oxblood-light);
  border-left: 3px solid var(--brand-oxblood);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.book-policy__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  margin-bottom: 1.5rem;
}

.book-policy__flag {
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--brand-oxblood);
  flex: none;
}

.book-policy__lead p {
  margin: 0;
  flex: 1 1 20rem;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* The three columns. Flex first as a universal fallback (older engines get a
   horizontal row that wraps), then grid auto-fit for modern browsers, which
   gives even columns and a clean single-column collapse when tight. */
.book-policy__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.book-policy__item { flex: 1 1 13rem; }

@supports (grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr))) {
  .book-policy__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  .book-policy__item { flex: initial; }
}

.book-policy__item h3 {
  margin: 0 0 0.4rem;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
}

.book-policy__item p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
}

.book-policy strong { color: var(--ink); font-weight: 500; }

.book-policy__more {
  margin: 1.5rem 0 0;
  font-size: var(--step--1);
}

.policy-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.policy-foot p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Scoped to the paragraph on purpose. A bare `.policy-foot a` also matches the
   Book button sitting beside it and overrides its white label, painting black
   text on a black pill. */
.policy-foot p a { color: var(--ink); }

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
/* Gated on .js, which an inline script in each page's <head> sets and removes
   again if main.js never reports in. Without that gate, a failure to load
   main.js leaves every revealable element stuck at zero opacity — most of a
   page, invisible. See the note in the <head> snippet. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Children of a stagger container arrive one after another rather than as a
   single block. Applied to grids, where a simultaneous fade reads as a flash. */
.reveal-stagger > * { --reveal-delay: 0s; }
.reveal-stagger > :nth-child(2) { --reveal-delay: 0.09s; }
.reveal-stagger > :nth-child(3) { --reveal-delay: 0.18s; }
.reveal-stagger > :nth-child(4) { --reveal-delay: 0.27s; }
.reveal-stagger > :nth-child(5) { --reveal-delay: 0.36s; }
.reveal-stagger > :nth-child(6) { --reveal-delay: 0.45s; }

/* Headline mask: each line rises out from behind its own clipped edge.

   The clipping is PER LINE, not on the heading as a whole. With one mask round
   a two-line heading, the first line translated down by its own height lands
   exactly where the second line sits and shows through — the effect only works
   if each line has its own edge to hide behind.

   The lines are also staggered, so a headline unfolds rather than arriving
   flat. padding-bottom gives descenders somewhere to live: at line-height 1.02
   a "y" or "g" is cut off by an overflow edge sitting on the baseline. */
.js [data-reveal="mask"] { opacity: 1; transform: none; }

.js [data-reveal="mask"] > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.js [data-reveal="mask"] > span > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease);
}

.js [data-reveal="mask"] > span:nth-child(2) > span { transition-delay: 0.11s; }
.js [data-reveal="mask"] > span:nth-child(3) > span { transition-delay: 0.22s; }

.js [data-reveal="mask"].is-visible > span > span { transform: none; }

/* --------------------------------------------------------------------------
   STORY RAIL — chapter progress down the home page

   The home page reads as a sequence: why here, what we do, the team, the
   space, what guests say, book. The rail gives that sequence a spine, so a
   long scroll feels like progress through something rather than an unbounded
   drop. Six ticks, the current one filled, its label alongside.

   Decorative and aria-hidden: a screen reader already has the headings to move
   by, and a second parallel navigation would be noise. It is also hidden
   whenever there is not comfortably room beside the content, since a rail
   overlapping the text is worse than no rail.
   -------------------------------------------------------------------------- */
.rail {
  position: fixed;
  left: clamp(1rem, 2.4vw, 2.25rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

/* Revealed once the reader is past the hero — over the hero it would compete
   with the headline, and there is no progress to report yet. */
.rail.is-live { opacity: 1; }

/* Breakpoints measured, not guessed. Content is min(100% - 2*gutter, 1280px),
   so the free space each side is what the rail has to live in:

     1280px viewport -> 51px each side   (rail overlaps the text)
     1400px          -> 60px             (ticks fit, labels do not)
     1700px          -> 210px            (labels fit)

   Below 1400 there is no rail at all, because a rail sitting on top of the
   copy is worse than no rail. Between 1400 and 1700 it is ticks only, with the
   chapter name in a native title tooltip so nothing is lost — a tooltip floats
   above the layout instead of pushing into it. */
@media (min-width: 1400px) {
  .rail { display: flex; }
  .rail__label { display: none; }
}

@media (min-width: 1700px) {
  .rail__label { display: block; }
}

.rail__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  font-size: var(--step--1);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-align: left;
}

.rail__tick {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.45;
  transition: width 0.5s var(--ease), opacity 0.5s var(--ease);
}

.rail__label {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}

.rail__item:hover .rail__tick,
.rail__item:focus-visible .rail__tick { opacity: 0.9; }
.rail__item:hover .rail__label,
.rail__item:focus-visible .rail__label { opacity: 0.75; transform: none; }

.rail__item[aria-current="true"] { color: var(--clay-deep); }
.rail__item[aria-current="true"] .rail__tick { width: 2.6rem; opacity: 1; }
.rail__item[aria-current="true"] .rail__label { opacity: 1; transform: none; }

/* Over the dark closing band the rail has to invert or it disappears. */
.rail.is-on-dark .rail__item { color: rgba(245, 240, 230, 0.6); }
.rail.is-on-dark .rail__item[aria-current="true"] { color: var(--brand-paper); }

/* --------------------------------------------------------------------------
   CHAPTER ENTRANCES

   Every section used to arrive the same way: an 18px rise. Repeated six times
   that reads as a template rather than as a story. Each chapter now enters in
   a way that suits what it contains, while staying inside the same vocabulary
   of rise, fade and ease.
   -------------------------------------------------------------------------- */

/* Services: the two halves converge, which is what the split layout is for. */
.js #ch-services .split > *:first-child { transform: translateX(-24px); }
.js #ch-services .split > *:last-child  { transform: translateX(24px); }
.js #ch-services .split.is-visible > * { transform: none; }
.js #ch-services .split > * {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

/* The space: the gallery settles in rather than sliding, so the images read as
   photographs being laid down rather than as UI moving. */
.js #ch-space [data-reveal] .media {
  transform: scale(0.96);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js #ch-space [data-reveal].is-visible .media { transform: none; }

/* Words: the quotes arrive softly, which suits them being spoken. */
.js #ch-words [data-reveal] { transform: translateY(26px); }

/* --------------------------------------------------------------------------
   SCROLL-DRIVEN PARALLAX

   Progressive enhancement, and deliberately so. Where the browser supports
   scroll-driven animations this is handled entirely by the compositor: no
   scroll listener, no layout reads, nothing that can jank. Where it does not,
   there is simply no parallax and the reveals above carry the page. Doing it
   with a JS scroll handler instead would mean paying for it on every browser,
   including the ones least able to afford it.
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js #ch-space .gallery .media img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    @keyframes drift {
      from { transform: translateY(-2.5%) scale(1.06); }
      to   { transform: translateY(2.5%) scale(1.06); }
    }

    /* The hero settles back as the story starts, so leaving it feels like
       turning a page rather than scrolling past a banner. */
    .hero-cine__stage {
      animation: hero-recede linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }

    @keyframes hero-recede {
      from { transform: scale(1); opacity: 1; }
      to   { transform: scale(1.04); opacity: 0.45; }
    }
  }
}

/* --------------------------------------------------------------------------
   CROSS-PAGE TRANSITIONS

   The services and team pages open on a full-screen dark wall; the shop,
   studio, visit and policies pages open bright. Measured across the first
   screen of each, that is a jump of about 65 points of CIE L* — roughly
   two-thirds of the entire lightness scale — landing in a single frame. The
   eye has to adapt, and it reads as a jolt.

   Two things are done about it. This is the first: the change is spread over
   time instead of happening between one frame and the next.

   Cross-document view transitions are progressive enhancement in the truest
   sense — a browser without them navigates exactly as before, and there is no
   script, no loader and no interception of links. Nothing to go wrong.
   -------------------------------------------------------------------------- */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  /* Long enough to let the eye follow the change, short enough not to feel
     like waiting for a page. Below about 250ms a large brightness change still
     reads as a snap; much above 400ms and navigation starts to feel sluggish. */
  animation-duration: 340ms;
  animation-timing-function: var(--ease);
}

/* Cross-fade rather than a slide: the problem here is brightness, not
   position, so moving things sideways would add motion without addressing it. */
::view-transition-old(root) { animation-name: vt-fade-out; }
::view-transition-new(root) { animation-name: vt-fade-in; }

@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* The blanket reduced-motion rule further down uses `*`, which does not reach
   the view-transition pseudo-element tree — those live outside the document.
   A cross-fade involves no movement and is gentle on vestibular triggers, but
   the preference is a preference, so it is honoured here explicitly. */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 1ms; }
}

/* --------------------------------------------------------------------------
   ARRIVAL GRADIENT

   The second thing: narrowing the gap itself, from the light side.

   The plain inner pages now open on a warm graded band rather than flat cream
   — deeper at the top, where the eye lands first and where the dark page it
   just left was darkest, resolving into the page background by the time the
   content starts. It is Stone, not Ink: the aim is to take the edge off the
   arrival, not to turn these pages dark.
   -------------------------------------------------------------------------- */
/* The gradient runs the full height of the first screen, not just the
   masthead. Confined to the masthead it only moved the arrival by about five
   points of L*, because everything below it snapped straight back to cream —
   the eye reads the whole first screen, not the top third of it.

   It sits on the body so it can span sections, sized to exactly one viewport
   and not repeated; below the fold the body colour takes over. The sections
   that follow a masthead are all transparent, so it shows through. A section
   with its own background (--paper, --sand, --ink) will cover it, which is
   correct: those are deliberate surfaces and should not be tinted. */
body.masthead-page {
  background-image: linear-gradient(
    to bottom,
    var(--brand-stone) 0%,
    color-mix(in srgb, var(--brand-stone) 55%, var(--cream)) 34%,
    color-mix(in srgb, var(--brand-stone) 18%, var(--cream)) 68%,
    var(--cream) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100vh;
}

/* Without color-mix the intermediate stops are dropped and the gradient simply
   runs Stone to cream over the same distance — slightly steeper, same idea. */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  body.masthead-page {
    background-image: linear-gradient(to bottom, var(--brand-stone) 0%, var(--cream) 100%);
  }
}

.masthead { position: relative; }

/* The sticky header sits over the top of that band, so it has to carry the
   same tone or it reads as a pale strip laid on a darker page. */
.masthead-page .site-header:not(.site-header--over) { background: var(--brand-stone); }
.masthead-page .site-header.is-stuck { background: rgba(245, 240, 230, 0.86); }

/* Stone is a mid tone, so the quiet greys that work on cream stop passing on
   it. Measured against Stone: --muted (#6f6459) is 2.96:1, which fails AA
   outright, and --ink-soft is 4.61:1, which passes but only just. Both are
   darkened here for the length of the band, and returned to normal once the
   header has stuck and the page below is cream again. */
.masthead .lede,
.masthead-page .site-header:not(.site-header--over):not(.is-stuck) .nav__link { color: #3f3933; }
.masthead-page .site-header:not(.site-header--over):not(.is-stuck) .brand__tag { color: #4f4842; }
.masthead-page .site-header.is-stuck .nav__link { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Unified green button states

   Moss is the site's action colour. Conventional controls use a filled green
   response; compact text-only controls keep their shape and turn green through
   type, border, or selection. Full-photo service and stylist panels retain
   their image treatment instead of being covered by a colour block.
   -------------------------------------------------------------------------- */
.btn:hover,
.btn:focus-visible,
.btn:active,
.product .btn--ghost:hover,
.product .btn--ghost:focus-visible,
.site-header--over.is-stuck .btn:hover,
.site-header--over.is-stuck .btn:focus-visible,
body.nav-open .site-header--over .btn:hover,
body.nav-open .site-header--over .btn:focus-visible {
  color: var(--brand-paper);
  background: var(--clay);
  border-color: var(--clay);
  outline-color: var(--clay);
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"],
.profile__close:hover,
.profile__close:focus-visible,
.icon-button:hover,
.icon-button:focus-visible,
.qty button:hover,
.qty button:focus-visible {
  color: var(--brand-paper);
  background: var(--clay);
  border-color: var(--clay);
  outline-color: var(--clay);
}

.nav-toggle:hover span,
.nav-toggle:focus-visible span,
.nav-toggle[aria-expanded="true"] span { background: var(--brand-paper); }

.filter-note__clear:hover,
.filter-note__clear:focus-visible,
.chip:hover,
.chip:focus-visible,
.chip[aria-pressed="true"],
.cart-button:hover,
.cart-button:focus-visible,
.fulfilment__opt:hover,
.fulfilment__opt:focus-visible,
.fulfilment__opt[aria-checked="true"] {
  color: var(--brand-paper);
  background: var(--clay);
  border-color: var(--clay);
  outline-color: var(--clay);
}

.cart-button:hover .cart-button__count,
.cart-button:focus-visible .cart-button__count {
  color: var(--clay);
  background: var(--brand-paper);
}

.cart-line__remove:hover,
.cart-line__remove:focus-visible,
.rail__item:hover,
.rail__item:focus-visible,
.rail__item[aria-current="true"] { color: var(--clay); }

/* Shop filters were intentionally designed as glowing text rather than pills.
   Keep that language while changing the selected/hover response to green. */
.shop-filter-panel .chip:hover,
.shop-filter-panel .chip:focus-visible,
.shop-filter-panel .chip[aria-pressed="true"] {
  color: var(--brand-moss-mid);
  background: transparent;
  border-color: transparent;
  text-shadow: 0 0 10px rgba(142, 156, 134, 0.7),
               0 0 22px rgba(142, 156, 134, 0.34);
}

.rail.is-on-dark .rail__item:hover,
.rail.is-on-dark .rail__item:focus-visible,
.rail.is-on-dark .rail__item[aria-current="true"] { color: var(--brand-moss-mid); }

/* --------------------------------------------------------------------------
   Reduced motion — everything above is decorative, so it all switches off.
   The hero keeps its first frame and the copy is simply present, since those
   entrances are what make the headline visible at all.
   -------------------------------------------------------------------------- */
@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;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal="mask"] > span > span { transform: none; }
  .marquee__track { animation: none; }

  /* The chapter entrances added for the home page story, all of which move
     things and none of which carry meaning on their own. */
  .js #ch-services .split > *,
  .js #ch-space [data-reveal] .media,
  .js #ch-words [data-reveal] { transform: none; }

  /* The rail stays — it is orientation, not decoration — but stops sliding. */
  .rail__label { opacity: 1; transform: none; }

  .hero-cine__slide.is-active { animation: none; transform: scale(1.04); }
  .hero-cine__title .line > span { transform: none; }
  .hero-cine__lede,
  .hero-cine__actions,
  .hero-cine__meta,
  .hero-cine__scroll { opacity: 1; }
  .hero-cine__scroll i { animation: none; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav, .step__nav, .marquee { display: none !important; }
  body { background: #fff; }
}


/* ===================================================================
   Rounded-square brand motif + pre-launch colour fields (site-wide).
   Added for the V6 revert: colour-block placeholders on Team, and the
   smooth rounded-square emblem on every brand-colour field.
   =================================================================== */
/* --- Team pre-launch treatment ported from the newer build: brand-colour
       fields instead of portraits, and a placeholder client-work gallery.
       Everything else on the page keeps the V6 (dark) look. --- */
:root{ --shape-cutout: url("../img/logo/428-shape.svg"); }
/* ---- Photo tone: retain sharp detail while keeping colours subdued. ---- */
.hero-cine__slide{ filter: grayscale(1) contrast(1.05) brightness(0.5) !important; }
.wall-panel__slide:not(.brand-field),
.wall-panel:hover .wall-panel__slide:not(.brand-field).is-active,
.wall-panel:focus-visible .wall-panel__slide:not(.brand-field).is-active,
.wall-panel[aria-pressed="true"] .wall-panel__slide:not(.brand-field).is-active{
  filter: grayscale(1) contrast(1.03) brightness(0.55) !important;
  transform: scale(1.14) !important;
}
.media img, .arch img, .gallery img, .stylist__media img, .ratio-tall img, .ratio-portrait img, .ratio-square img{
  filter: grayscale(1) contrast(1.02) brightness(0.8);
}
/* Light section photo tone; no blur applied. */
.section--paper .media img,
.section--paper .arch img,
.section--paper .gallery img,
.section--paper .stylist__media img,
.section--paper .ratio-tall img,
.section--paper .ratio-portrait img,
.section--paper .ratio-square img{
  filter: grayscale(1) contrast(1.01) brightness(0.94);
}
.brand-field{ --brand-field-bg: var(--brand-stone); position:relative; display:block;
  width:100%; height:100%; min-height:inherit; overflow:hidden; isolation:isolate;
  background:var(--brand-field-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -34px 70px -44px rgba(43,40,37,.52); }
.brand-field::before{ content:""; position:absolute; inset:0; z-index:0; background:
  radial-gradient(circle at 16% 12%, rgba(255,255,255,.22), transparent 32%),
  linear-gradient(145deg, rgba(245,240,230,.18), transparent 46%),
  linear-gradient(325deg, rgba(43,40,37,.24), transparent 58%); }
.brand-field::after{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(150deg, rgba(245,240,230,.36), rgba(245,240,230,.06) 72%);
  -webkit-mask: var(--shape-cutout) center / 62% auto no-repeat; mask: var(--shape-cutout) center / 62% auto no-repeat; }
.brand-field--ink{ --brand-field-bg: var(--brand-ink); }
.brand-field--stone{ --brand-field-bg: var(--brand-stone); }
.brand-field--moss{ --brand-field-bg: var(--brand-moss); }
.brand-field--oxblood{ --brand-field-bg: var(--brand-oxblood); }
.brand-field--neutral{ --brand-field-bg: var(--brand-neutral-mid); }
.brand-field--paper{ --brand-field-bg: var(--brand-paper); }
.brand-field--brass{ --brand-field-bg: var(--brand-brass); }
.brand-field--walnut{ --brand-field-bg: var(--brand-walnut); }
/* wall: colour field carries no photo filter */
.wall-panel__slide.brand-field,
.wall-panel:hover .wall-panel__slide.brand-field.is-active,
.wall-panel:focus-visible .wall-panel__slide.brand-field.is-active{ filter:none; transform:none; }
.wall-panel[aria-pressed="true"] .wall-panel__slide.brand-field.is-active{ filter:none; }
/* profile: two-column grid, colour media, placeholder client-work gallery */
.profile__grid{ display:grid; grid-template-columns: minmax(21rem, .9fr) minmax(0, 1.1fr); max-height:inherit; }
.profile__media{ position:relative; background:var(--ink); }
.profile__media .brand-field{ min-height:100%; }
.profile__media .brand-field::after{ -webkit-mask-size:54% auto; mask-size:54% auto; }
.profile__work{ margin-top:clamp(2rem,4vw,3rem); padding-top:1.5rem; border-top:1px solid var(--line); }
.profile__work-head{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:.25rem 1rem; margin-bottom:1rem; }
.profile__work-head h3{ margin:0; font-size:var(--step--1); letter-spacing:var(--track-label); text-transform:uppercase; color:var(--ink); }
.profile__work-head p{ margin:0; font-size:var(--step--1); color:var(--muted); }
.profile__gallery{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:.65rem; }
.profile__gallery-item{ display:block; min-width:0; aspect-ratio:4/5; margin:0; overflow:hidden;
  border-radius:var(--radius-sm); border:1px solid rgba(43,40,37,.07);
  box-shadow: var(--shadow-soft, 0 18px 40px -24px rgba(43,40,37,.45)); }
.profile__gallery-item img{ width:100%; height:100%; object-fit:cover; }
.profile__gallery-item.brand-field{ min-height:0; }
.profile__gallery-item.brand-field::after{ opacity:.08; }
@media (max-width:800px){
  .profile__grid{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    max-height:none;
  }
  .profile__media{
    min-height:0;
    height:clamp(14rem,32vh,18rem);
  }
  .profile__body{
    padding:1.75rem 1.25rem 2.25rem;
    background:var(--cream);
  }
}


/* ===================================================================
   Book page (V6 revert) — "Book your visit" hero actions, the
   "Calendar coming shortly" card, and the "Need help" dialog.
   =================================================================== */
.book-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.75rem; }
.book-help-open{ background:none; border:0; color:inherit; font:inherit; cursor:pointer; padding:0; }
.book-unavailable{
  max-width:640px; margin:0 auto; text-align:center;
  padding:clamp(2rem,5vw,3.5rem);
  border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--sand);
}
.book-unavailable .eyebrow{ display:block; margin-bottom:.5rem; }
.book-unavailable h2{ margin:0 0 .75rem; }
.book-unavailable p{ color:var(--ink-soft); max-width:52ch; margin:0 auto; }
.book-unavailable__actions{
  margin-top:1.75rem !important; display:flex; flex-wrap:wrap; gap:.9rem 1.5rem;
  align-items:center; justify-content:center;
}
.book-help{ border:0; padding:0; background:transparent; max-width:min(92vw,34rem); color:var(--ink); }
.book-help::backdrop{ background:rgba(28,25,23,.62); }
.book-help__panel{
  position:relative; background:var(--cream); color:var(--ink);
  padding:clamp(1.75rem,4vw,2.75rem); border-radius:var(--radius-sm);
  box-shadow:var(--shadow-soft, 0 30px 80px -30px rgba(28,25,23,.6));
}
.book-help__panel h2{ margin:.35rem 0 .75rem; }
.book-help__panel p{ color:var(--ink-soft); }
.book-help__close{
  position:absolute; top:.6rem; right:.6rem; width:2.4rem; height:2.4rem;
  display:grid; place-items:center; font-size:1.4rem; line-height:1; cursor:pointer;
  color:var(--ink); background:transparent; border:1px solid var(--line); border-radius:999px;
}
.book-help__actions{ margin-top:1.5rem; display:flex; flex-wrap:wrap; gap:.9rem 1.5rem; align-items:center; }

/* September 2026 client paths: preserve existing brand, panel and type styles. */
.services-hero--clients { grid-template-columns:repeat(2,minmax(0,1fr)); min-height:100vh; min-height:100svh; }
.services-hero--clients .wall-panel { text-decoration:none; }
.services-hero--clients .wall-panel__title { font-size:clamp(2.15rem,4.3vw,5.2rem); max-width:10ch; }
.services-hero--clients .wall-panel[aria-expanded="true"]::after { opacity:1; }
.client-path-section[hidden] { display:none; }
.client-path-section, .service-group { scroll-margin-top:7rem; }
.client-copy-status { max-width:62ch; margin:1.5rem 0 2.5rem; color:var(--muted); }
.client-service-list { border-top:1px solid var(--line); margin-top:2rem; }
.client-service-choice { display:grid; grid-template-columns:3rem minmax(0,1fr) auto; align-items:center; gap:1.5rem; padding:2rem 0; min-height:5rem; border-bottom:1px solid var(--line); color:inherit; text-decoration:none; }
.client-service-choice h3 { margin:0; font-size:clamp(1.5rem,3vw,2.4rem); }
.client-service-choice__number { font-size:.875rem; color:var(--muted); }
.client-service-choice__action { font-size:.875rem; text-decoration:underline; text-underline-offset:.3em; }
.client-service-choice:hover { color:var(--clay-deep); }
.client-service-choice:focus-visible { outline:2px solid var(--clay-deep); outline-offset:5px; }
.service-catalogue { margin-top:3.5rem; }
.service-catalogue summary { cursor:pointer; padding:1rem 0; font-size:1rem; }
.service-catalogue .lede { margin:1.5rem 0 2.5rem; max-width:52ch; }
.client-consultation-action { margin-top:2.5rem; }
.booking-selection { margin:0 0 2.5rem; padding-bottom:2rem; border-bottom:1px solid var(--line); }
.booking-selection h2 { margin:.5rem 0 1rem; }
.booking-selection .client-copy-status { margin:1rem 0; }
@media(max-width:860px) {
  .js #ch-services .split > :first-child,
  .js #ch-services .split > :last-child { transform:none; }
  .services-hero--clients { grid-template-columns:1fr; grid-template-rows:repeat(2,minmax(17rem,1fr)); }
  .services-hero--clients .wall-panel:first-child .wall-panel__body { padding-top:7rem; }
  .services-hero--clients .wall-panel__title { font-size:clamp(2rem,8vw,3.25rem); max-width:none; }
  .client-service-choice { grid-template-columns:2rem minmax(0,1fr); gap:.75rem; padding:1.5rem 0; }
  .client-service-choice__action { grid-column:2; }
}
@media(prefers-reduced-motion:reduce) {
  .js #ch-services .split > :first-child,
  .js #ch-services .split > :last-child { transform:none; }
}

/* Client menu and consultation revision — September 30. */
.client-service-group { border-bottom:1px solid var(--line); }
.client-service-choice { grid-template-columns:minmax(0,1fr) auto; border-bottom:0; list-style:none; cursor:pointer; }
.client-service-choice::-webkit-details-marker { display:none; }
.client-service-choice__action { grid-column:auto; }
.client-service-group[open] > summary { color:var(--brand-oxblood); }
.client-service-group[open] > summary .client-service-choice__action { text-decoration:none; }
.client-service-group__body { padding:0 0 2rem; }
.client-service-group__body .service-row__desc { font-size:.9375rem; }
.client-service-group__body .service-row__price small { font-size:.8125rem; }
.client-service-group__body .service-row:last-child { border-bottom:0; }
.services-faq h2 { margin-top:0; }
.marquee { position:relative; }
.consultation-hero { min-height:100svh; }
.consultation-hero h1 { font-size:clamp(2.5rem,5vw,4.5rem); letter-spacing:-.045em; line-height:1.04; margin:0 0 1rem; }
.consultation-hero .hero-cine__lede { max-width:38ch; margin-inline:auto; opacity:1; }
.consultation-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(2rem,4vw,3rem); align-items:start; }
.consultation-intro { position:static; }
.consultation-intro h2 { font-size:clamp(2rem,3.5vw,3.6rem); }
.consultation-intro p { max-width:68ch; }
.consultation-form[hidden], .consultation-review[hidden] { display:none; }
.consultation-form fieldset { min-width:0; border:0; padding:0; margin:0 0 2.75rem; scroll-margin-top:6rem; }
.consultation-form legend { font-size:1.65rem; font-weight:500; letter-spacing:-.025em; padding:0 0 1.4rem; }
.consultation-form .field label { font-size:.875rem; }
.consultation-form input, .consultation-form textarea, .consultation-form select { font-size:1rem; }
.consultation-required, .consultation-note { font-size:.9375rem; color:var(--muted); }
.consultation-form textarea { min-height:7rem; }
.consultation-form .field__hint { font-size:.8125rem; line-height:1.5; }
.consultation-error { display:block; color:var(--error); font-size:.875rem; margin:.4rem 0; }
.consultation-error:empty { display:none; }
.consultation-form [aria-invalid="true"] { border-color:var(--error); }
.waiver-template-label { display:inline-block; color:var(--brand-oxblood); border:1px solid var(--brand-oxblood-mid); border-radius:var(--radius-sm); padding:.35rem .6rem; font-size:.8125rem; margin-top:0; }
.waiver-copy { padding:1.5rem; background:var(--sand); border-left:3px solid var(--brand-oxblood); margin:1.5rem 0; }
.waiver-copy h3 { font-size:1.1rem; margin:0 0 1rem; }
.waiver-copy ul { padding-left:1.1rem; margin:0; }
.waiver-copy li { font-size:.9375rem; line-height:1.65; margin-bottom:.8rem; }
.waiver-copy li:last-child { margin-bottom:0; }
.waiver-check { display:flex; gap:.9rem; align-items:flex-start; line-height:1.6; margin:1.5rem 0; cursor:pointer; }
.waiver-check input { flex:none; width:1.3rem; height:1.3rem; margin:.2rem 0 0; accent-color:var(--brand-oxblood); }
.consultation-review { border-top:2px solid var(--brand-oxblood); margin-top:2rem; padding-top:2rem; scroll-margin-top:6rem; overflow-wrap:anywhere; }
.consultation-review__list { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1fr); gap:.75rem 1.5rem; padding:1.5rem 0; border-block:1px solid var(--line); }
.consultation-review__list dt { color:var(--muted); }
.consultation-review__list dd { margin:0; white-space:pre-wrap; }
.consultation-actions { display:flex; align-items:center; flex-wrap:wrap; gap:1.5rem; }
.consultation-actions button { background:none; border:0; color:inherit; font:inherit; cursor:pointer; }
.consultation-status { font-size:.9375rem; margin-top:1.5rem; }
@media(max-width:860px) {
  .client-service-choice { grid-template-columns:minmax(0,1fr) auto; gap:1rem; }
  .client-service-choice h3 { font-size:clamp(1.4rem,5.5vw,1.9rem); }
  .client-service-choice__action { font-size:.8125rem; }
  .section .arch:not(.brand-field), .section .media { max-height:min(42svh,22rem); }
  .section .arch img, .section .media img { object-fit:cover; max-height:min(42svh,22rem); }
  .stylist__media .arch.brand-field { max-height: min(36svh,18rem); }
  .profile__media { max-height:38svh; min-height:0; }
  .consultation-hero .hero-cine__lede { font-size:1rem; }
  .consultation-section { padding-block:2.5rem; }
}
@media(max-width:420px) {
  .client-service-choice { grid-template-columns:1fr; gap:.5rem; }
  .consultation-review__list { grid-template-columns:1fr; gap:.3rem; }
  .consultation-review__list dd { margin-bottom:.8rem; }
  .waiver-copy { padding:1.1rem; }
}
/* Cover the full single-column breakpoint and short landscape screens too. */
@media(max-width:959px), (max-height:600px) {
  .section .split > .arch.ratio-tall { height:min(40svh,20rem); width:auto; max-width:70%; aspect-ratio:2/3; justify-self:center; margin-inline:auto; }
  .section .arch:not(.brand-field), .section .media { max-height:min(42svh,22rem); }
  .section .arch img, .section .media img { object-fit:cover; max-height:min(42svh,22rem); }
  .stylist__media .arch.brand-field { max-height:min(36svh,18rem); }
  .profile__media { max-height:38svh; min-height:0; }
}

/* Screenshot refinements: edge-to-edge content photos and a white menu close icon. */
body.nav-open .site-header .nav-toggle[aria-expanded="true"] span { background:#fff; }
@media(max-width:959px) {
  .section .split > .arch.ratio-tall {
    width:calc(100% + (var(--gutter) * 2));
    max-width:none;
    height:min(40svh,20rem);
    aspect-ratio:auto;
    justify-self:stretch;
    margin-inline:calc(-1 * var(--gutter));
    border-radius:0;
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent);
    mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent);
  }
  .section .split > .arch.ratio-tall img {
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.06);
  }
}

#service-request { max-height:calc(100svh - 2rem); overflow-y:auto; }
.client-path-hint { display:block; max-width:29ch; margin:.85rem 0 0; font-size:clamp(.875rem,1.35vw,1.125rem); line-height:1.5; font-weight:400; color:rgba(255,255,255,.82); }

/* Consultation entry and the separate existing-client service page. */
.consultation-hero .hero-cine__actions { justify-content:center; }
.consultation-success[hidden] { display:none; }
.consultation-success { scroll-margin-top:7rem; }
.consultation-success h2 { font-size:clamp(2rem,4vw,3.5rem); }
.consultation-status { scroll-margin-top:7rem; outline-offset:.5rem; }
.consultation-form button:disabled { opacity:.6; cursor:wait; }
.consultation-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.existing-clients-hero { min-height:0; }
.existing-clients-hero .hero-cine__content { padding-block:clamp(8rem,14vw,11rem) clamp(3rem,6vw,5rem); }
.existing-clients-hero h1 { font-size:clamp(2.5rem,5.5vw,5rem); line-height:1.05; letter-spacing:-.045em; margin:0 0 1.2rem; }
.existing-clients-hero .hero-cine__lede { opacity:1; margin-inline:auto; max-width:35ch; }
.existing-clients-page #existing-services { --client-intro-gap:clamp(1.5rem,3vw,2.5rem); scroll-margin-top:6rem; padding-top:var(--client-intro-gap); }
.existing-clients-page .existing-services .client-copy-status { margin:0 0 var(--client-intro-gap); }
.existing-clients-page .existing-services .client-service-list { margin-top:0; }

/* Existing-client website requests. Keep the shared contact form styles intact. */
.existing-clients-page #service-request { width:min(92vw,40rem); max-width:min(92vw,40rem); }
.existing-clients-page #service-request .book-help__panel { padding:clamp(1.25rem,4vw,2.5rem); }
.existing-clients-page #service-request h2 { padding-right:1.5rem; overflow-wrap:anywhere; }
.existing-clients-page .service-request-form { margin-top:1.75rem; }
.existing-clients-page .service-request-form fieldset { min-width:0; margin:0; padding:0; border:0; }
.existing-clients-page .service-request-form .field label { font-size:.8125rem; }
.existing-clients-page .service-request-form .field label span { text-transform:none; letter-spacing:0; }
.existing-clients-page .service-request-form input,
.existing-clients-page .service-request-form select,
.existing-clients-page .service-request-form textarea { min-width:0; font-size:1rem; }
.existing-clients-page .service-request-form textarea { min-height:6.5rem; }
.existing-clients-page .service-request-form .field__hint { font-size:.8125rem; letter-spacing:0; }
.existing-clients-page .service-request-form .field__error { font-size:.875rem; letter-spacing:0; }
.existing-clients-page .service-request-required,
.existing-clients-page .service-request-phone { font-size:.9375rem; }
.existing-clients-page .service-request-status { margin-top:1.25rem; font-size:.9375rem; line-height:1.6; overflow-wrap:anywhere; outline-offset:.25rem; }
.existing-clients-page .service-request-status:empty { display:none; }
.existing-clients-page .service-request-status.is-error { color:var(--error); }
.existing-clients-page .service-request-success { margin-top:1.5rem; padding-top:1.5rem; border-top:1px solid var(--line); }
.existing-clients-page .service-request-success h3 { font-size:1.65rem; }
.existing-clients-page .service-request-form[hidden],
.existing-clients-page .service-request-success[hidden] { display:none; }
.existing-clients-page .service-request-form button:disabled,
.existing-clients-page #service-request .book-help__close:disabled { opacity:.6; cursor:wait; }
.existing-clients-page .service-request-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.existing-clients-page .service-request-phone { margin:1.5rem 0 0; padding-top:1.25rem; border-top:1px solid var(--line); }


/* V9: approved detail photographs. Originals retain their colour; all toning
   is a reversible presentation treatment, separate from staff and product art. */
.hero-cine__slide.photo-background {
  inset:-3%;
  background-image:var(--photo-image);
  background-position:var(--photo-position,center);
  filter:grayscale(1) contrast(.94) brightness(.92) !important;
}
.hero-cine__slide.photo-background.is-active { opacity:.72; }
.hero-cine:has(.photo-background) .hero-cine__scrim {
  background:linear-gradient(to bottom,rgba(43,40,37,.56),rgba(43,40,37,.38) 45%,rgba(43,40,37,.74));
}
.hero-cine:has(.photo-background) .eyebrow { color:rgba(255,255,255,.78); }
.hero-cine:has(.photo-background) .hero-cine__lede { color:rgba(255,255,255,.88); }
.services-hero .wall-panel__slide.photo-background,
.services-hero .wall-panel:hover .wall-panel__slide.photo-background,
.services-hero .wall-panel:focus-visible .wall-panel__slide.photo-background {
  filter:grayscale(1) contrast(.74) brightness(.78) !important;
  transform:scale(1.04) !important;
  opacity:.74;
  object-position:50% 58%;
}
.services-hero .wall-panel__scrim {
  background:linear-gradient(to bottom,rgba(43,40,37,.28),rgba(43,40,37,.16) 35%,rgba(43,40,37,.85));
}
img.photo-detail {
  filter:grayscale(1) contrast(.78) brightness(1.06) !important;
  opacity:.88;
  object-fit:cover;
  object-position:var(--photo-position,center);
}
.arch:has(.photo-detail), .media:has(.photo-detail) { background:var(--brand-paper); }
.photo-moodboard-label { color:var(--muted); margin-bottom:1.4rem; }
.photo-wash { position:relative; isolation:isolate; }
.photo-wash::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:var(--photo-image); background-size:cover; background-position:center;
  filter:grayscale(1) contrast(.6); opacity:.08;
  -webkit-mask-image:linear-gradient(to bottom,#000,transparent);
  mask-image:linear-gradient(to bottom,#000,transparent);
}
.masthead.photo-wash::before {
  inset:0 0 0 auto;
  width:min(50rem,100%);
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center 70%;
  opacity:.18;
  -webkit-mask-image:radial-gradient(ellipse,#000 24%,transparent 72%);
  mask-image:radial-gradient(ellipse,#000 24%,transparent 72%);
}
@media(max-width:640px) {
  .hero-cine__slide.photo-background, .photo-wash::before { background-image:var(--photo-image-small,var(--photo-image)); }
}
/* Keep the previously approved compact, full-width mobile photo treatment. */
@media(max-width:959px) {
  .section .split > .arch.ratio-tall:has(.photo-detail) { height:min(40svh,20rem); }
  .section .split__media-pair .arch:has(.photo-detail) { max-height:min(38svh,19rem); }
  .section .split__media-pair img.photo-detail { max-height:min(38svh,19rem); }
}

/* October 5: reserve space for the absolute scroll cue even on short laptops.
   Its label, animated line, bottom offset and gap all fit below the phone. */
.hero-cine:has(.hero-cine__meta) .hero-cine__content { padding-bottom: 8.5rem; }

/* Six profiles retain the existing wall treatment without a stranded sixth tile. */
@media (min-width: 861px) and (max-width: 1200px) {
  .team-wall--six .wall-panel:nth-child(n) { grid-column: span 2; }
  .team-wall--six .wall-panel:nth-child(n+4) { border-bottom: 0; }
}
@media (max-width: 860px) {
  .team-wall--six .wall-panel:nth-child(n) { grid-column: auto; }
}
.team-wall--six .wall-panel__title { overflow-wrap: anywhere; }
.phorest-handoff { margin:2rem 0; padding:clamp(1.25rem,3vw,2rem); border:1px solid var(--line); border-radius:var(--radius-sm); }
.phorest-handoff h3 { font-size:var(--step-2); }
.phorest-handoff p { max-width:68ch; }
.phorest-handoff .btn { margin-top:.5rem; }

.phorest-shop .btn:disabled { opacity:.55; cursor:not-allowed; }
.phorest-shop__status { margin-top:.75rem; font-size:var(--step--1); color:var(--muted); }

/* October 5 launch audit: preserve the design while improving navigation. */
main section[id], main details[id] { scroll-margin-top:7rem; }
.rail:not(.is-live) { visibility:hidden; }
.footer-tools { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.motion-toggle { font:inherit; color:inherit; background:transparent; border:0; padding:.5rem 0; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
.motion-toggle:disabled { cursor:default; text-decoration:none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation:none !important; transition:none !important; }
.motion-paused { scroll-behavior:auto; }
.motion-paused [data-reveal], .motion-paused .hero-cine__content, .motion-paused .hero-cine__title .line > span, .motion-paused .wall-panel__body > * { opacity:1 !important; transform:none !important; }
.motion-paused .hero-cine__slide { transition:none; }
.motion-paused .hero-cine__lede, .motion-paused .hero-cine__actions, .motion-paused .hero-cine__meta, .motion-paused .hero-cine__scroll { opacity:1; }
.motion-paused [data-reveal="mask"] > span > span, .motion-paused #ch-services .split > * { transform:none; }
body.dark-theme .hero-cine__meta { color:var(--ink-soft); }
body.dark-theme .wall-panel__count { color:rgba(245,240,230,.8); }
a[href^="tel:"] { white-space:nowrap; }
/* Avoid filtered cross-origin iframe layers disappearing in embedded browsers. */
.map-frame iframe { filter:none; }
