/* =====================================================================
   Soie Clinic - style.css
   Signature design system
   Display: Georgia / Times · Body/UI: Arial / Helvetica. Signature components: signature.css
   ---------------------------------------------------------------------
   CONTENTS
    1  Tokens (exact :root block from the spec)
    2  Reset & base ([hidden] first, type defaults, selection, scrollbar, focus, skip link)
    3  Layout helpers (.container, .section, department-opener head, eyebrow, titles)
    4  Composition vocabulary (a commented recipe note only; no selectors)
    5  Buttons, text links, filters, icon controls
    6  Loader
    7  Custom cursor
    8  Navigation (bar, logo, links, CTA, burger, dark-hero variant, breadcrumbs)
    9  Hero
   10  Marquee
   11  About (spread, portrait, plaque, ruled points, stats lattice)
   12  Services (category lattice on index, editorial rows on services.html)
   13  Thread divider
   14  Gallery (filters, exhibit mats, comparison slider)
   15  Why (dark room lattice)
   16  Journey (plaster lattice)
   17  Hours (ruled table)
   18  Testimonials (review strip + guarded slider leftovers)
   19  Contact (branch diptych, social rule row)
   20  Footer
   21  Floating (FAB, to-top)
   22  Booking modal
   23  Lightbox
   24  Page hero + CTA band (inner pages)
   25  Service pages (chapter openers, folio block, ticks, mini-steps, aside)
   26  Accordion
   27  Products ledger
   28  Booking page
   29  Scroll reveal, image settle, thread draw
   30  Hero video / dark-hero family (active: every page header sits on a picture, see 31c)
   31  Responsive
   31b Films (the silent colour loop .film and its pause / play control .film-toggle)
   31c Hero backgrounds (.hero-bg, scrim, focal points, drift, .page-hero--media, .hero--media, .film-toggle--hero)
   32  Touch
   33  View transitions
   34  Reduced motion (always the LAST block)
   ===================================================================== */

/* ---------------------------------------------------------------
   1 · TOKENS
--------------------------------------------------------------- */
:root {
  /* ===== SURFACES (legacy names kept, values re-tuned to warm neutrals) ===== */
  --sand: #f4f1eb;  /* page ground (body). services.html inline background:var(--sand) resolves here */
  --sand-deep: #e8e3da;  /* warm plaster: #journey inline background, recessed panels, disabled fills */
  --linen: #f4f1eb;  /* paper: hero, page-hero, alternating sections, lattice cells, modal, nav when scrolled */
  --ivory:         #FFFFFF;  /* exhibit mats only (.ba, .rv-shot) */

  /* ===== INK ===== */
  --char: #292621;  /* primary text, primary button, strong rules */
  --char-soft: #6b665e;  /* secondary copy + all small labels that are muted (min colour for text < 16px on light) */
  --char-mute: #cbc2b7;  /* secondary copy on dark bands */
  --ink: #292621;  /* dark rooms: .why, .cta-band, service aside booking block, lightbox */
  --ink-2: #292621;  /* footer */

  /* ===== ACCENT (legacy names kept) ===== */
  --gold: #79534f;  /* muted rose: italic words, eyebrows and accents */
  --gold-deep: #65423f;  /* primary-button hover; inline link colour (HTML inline styles reference this) */
  --gold-soft: #a78a80;  /* decorative only: ghost numerals >= 40px, marquee sep. NEVER text < 16px on light */

  /* ===== HAIRLINES ===== */
  --line: #d5cec4;  /* rules/mats on #FAFAFA and #FFFFFF */
  --line-strong: #c8bcae;  /* rules on #F3F3F3 and #ECEAE7 grounds; interactive rests (fields, filters, accordion) */
  --ink-line:      rgba(255,255,255,.14);  /* rules on dark bands */
  --ink-line-soft: rgba(255,255,255,.06);  /* .why__bg column grid */
  --whisper:       rgba(184,168,138,.45);  /* champagne: .footer__thread ONLY. Nowhere else. */

  /* ===== SEMANTIC (do not change) ===== */
  --ok:            #2E7D4F;  /* #openStatus.is-open */
  --bad:           #B3261E;  /* #openStatus.is-closed, #bkPhone[aria-invalid="true"] */
  --wa:            #25D366;  /* WhatsApp: .fab-wa, .btn__wa-ico, .modal__branch-wa, #bkWaIcon */

  /* ===== LEGACY GRADIENT + SHADOW TOKENS, FLATTENED (keep names so nothing breaks) ===== */
  --grad-gold: #292621;
  --grad-gold-soft: #79534f;
  --sh-sm:   none;
  --sh-md:   none;
  --sh-lg:   0 30px 80px -40px rgba(0,0,0,.35);  /* .modal__panel and .lightbox__fig ONLY */
  --sh-gold: none;

  /* ===== TYPE ===== */
  --f-display: Georgia, 'Times New Roman', serif;
  --f-body: Arial, Helvetica, sans-serif;

  --t-d1:     clamp(3.4rem, 10.5vw, 10rem);   /* .hero__title */
  --t-d2:     clamp(2.8rem, 7vw, 6rem);       /* .page-hero__title */
  --t-h2:     clamp(2.3rem, 4.8vw, 4.2rem);   /* .section__title */
  --t-cta:    clamp(2.6rem, 5.5vw, 5rem);     /* .cta-band__title */
  --t-h2s:    clamp(1.8rem, 2.8vw, 2.5rem);   /* .svc__body h2, .bk__step-title, .cap-name, .branch__city(+) */
  --t-h3:     clamp(1.6rem, 2.2vw, 2rem);     /* .cat-card__title, .feat__title, .modal__title, .bk__card-title, .prod-card__title */
  --t-h4:     clamp(1.25rem, 1.6vw, 1.5rem);  /* .acc summary, .j-step__title, .opt__name, .footer__contact strong */
  --t-num:    clamp(2.8rem, 5vw, 4.5rem);     /* .stat__num, .about__badge-num */
  --t-lede:   clamp(1.08rem, 1.35vw, 1.3rem); /* ledes and section subs */
  --t-quote:  clamp(1.3rem, 1.7vw, 1.55rem);  /* italic serif voice: .about__lede, .services__foot p, .social__label */
  --t-body:   1rem;
  --t-small:  .9375rem;
  --t-ui:     .8125rem;    /* nav links, buttons, form values, plaque names */
  --t-eyebrow: .75rem;     /* .eyebrow, .filter, .cat-chip */
  --t-label:  .6875rem;    /* every other micro label: ONE size */

  /* ===== LAYOUT ===== */
  --maxw: 1280px;
  --gutter: clamp(21px, 5vw, 64px);   /* exactly 16px at phone width */
  --bleed:      max(var(--gutter), calc((100vw - var(--maxw)) / 2));  /* container edge -> viewport edge; grows past --maxw so bleeds always reach the edge */
  --gap:        clamp(1rem, 2vw, 2rem);     /* 12-column gutter */
  --section-y: clamp(56px, 7vw, 100px);
  --head-gap:   clamp(3rem, 6vw, 5rem);     /* .section__head -> content */
  --nav-h: 94px;
  --nav-h-scrolled: 94px;
  --sticky-top: calc(var(--nav-h-scrolled) + 2rem);  /* every position:sticky top uses this */
  --mat:        12px;                        /* exhibit mat padding */

  /* ===== SHAPE ===== */
  --radius: 24px;
  --radius-sm: 14px;

  /* ===== MOTION ===== */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);   /* everything that arrives */
  --ease-2:  cubic-bezier(0.65, 0, 0.35, 1);   /* exits, view-transition out */
  --d-micro:  240ms;   /* text-link colour, focus */
  --d: 350ms;   /* borders, fills, underlines, arrow nudge, nav height */
  --d-slow: 750ms;   /* loader fade, reveal opacity */
  --d-reveal: 950ms;  /* reveal translate */
  --d-image:  1600ms;  /* image settle 1.06 -> 1 */
  --d-draw:   2200ms;  /* SVG thread draw */

  /* silk (section 35): a longer tail than --ease for the big moves, and
     how far a photograph is allowed to lean toward the pointer */
  --silk-glide: cubic-bezier(0.16, 1, 0.3, 1);
  --silk-reach: 14px;
}

/* ---------------------------------------------------------------
   2 · RESET & BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* [hidden] sits directly after the reset so it beats every component display
   (JS toggles the attribute on #bkNote, #bkDone and option[data-branch]). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h-scrolled) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

body {
  font: 400 var(--t-body)/1.65 var(--f-body);
  background: var(--sand);
  color: var(--char);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern", "liga", "calt";
}

img { display: block; max-width: 100%; height: auto; border-radius: 0; box-shadow: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; border-radius: 0; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
em, i { font-synthesis: none; }

/* Type defaults: one serif voice at one weight; sans for everything else. */
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; }
p, li, .hero__lede, .page-hero__lede, .section__sub, .cta-band__sub, .acc__a { text-wrap: pretty; }

::selection { background: var(--sand-deep); color: var(--char); }

/* Restrained scrollbar on pointer devices. */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 0; }
}

/* Focus: a hairline, never a glow. Paper-coloured inside the dark rooms. */
:focus-visible { outline: 1px solid var(--char); outline-offset: 4px; }
.why :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible,
.svc__aside .info-card:last-child :focus-visible,
.bookbar :focus-visible,
.lightbox :focus-visible { outline-color: var(--linen); }

.skip-link {
  position: fixed; top: -100%; left: 0; z-index: 2000;
  background: var(--char); color: var(--linen);
  padding: .9rem 1.25rem;
  font: 500 var(--t-ui)/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  transition: top var(--d-micro) var(--ease);
}
.skip-link:focus { top: 0; left: 0; }

/* ---------------------------------------------------------------
   3 · LAYOUT HELPERS
   .container stays a normal block. Grids are applied per component.
--------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.section { padding: var(--section-y) 0; }
.page-hero + .section { border-top: 0; }   /* the page hero already carries the rule */

/* Department-opener head: eyebrow on row 1, title left / sub right on row 2, strong rule under. */
.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--char);
  margin-bottom: var(--head-gap);
  text-align: start;
  max-width: none;
}
.section__head .eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: 1.5rem; }
.section__head .section__title { grid-column: 1 / 8; grid-row: 2; text-align: start; margin: 0; max-width: 14ch; }
.section__head .section__sub { grid-column: 9 / -1; grid-row: 2; align-self: end; margin: 0; padding-bottom: .35em; max-width: 36ch; text-align: start; }
.why .section__head { border-bottom-color: var(--ink-line); }
.why .section__head .section__title { grid-column: 1 / 9; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 500 var(--t-eyebrow)/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow__dot { width: 24px; height: 1px; background: currentColor; border-radius: 0; display: inline-block; flex: none; }
.eyebrow--light { color: var(--char-mute); }

.section__title {
  font: 400 var(--t-h2)/1.02 var(--f-display);
  letter-spacing: -0.012em;
  color: var(--char);
  margin: 0;
}
.section__title em { font-style: italic; color: var(--gold); }
.section__title--center { text-align: center; margin-inline: auto; }
.section__title--light { color: var(--linen); }
.section__title--light em { color: rgba(255,255,255,.7); }

.section__sub { font-size: var(--t-lede); line-height: 1.5; color: #444444; }

/* Stand-alone subs (products note, before/after disclaimer): inline centring honoured, quote voice. */
.container > p.section__sub { font: italic 400 var(--t-quote)/1.35 var(--f-display); color: var(--char-soft); }
.gallery .container > p.section__sub { font-size: 1.15rem; line-height: 1.5; }
.gallery .container > p.section__sub::before { content: ""; display: block; width: 40px; height: 1px; background: var(--line-strong); margin: 0 auto 1.25rem; }

/* ---------------------------------------------------------------
   4 · COMPOSITION VOCABULARY (recipes only; no rules)
   The markup is frozen, so every composition is reached through the
   component classes below. The shared recipes, for reference:
     12-col grid   display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap)
     lattice       grid with gap:1px on a --line(-strong) background + 1px border; each cell paints itself opaque
     ledger        block; rows border-top 1px; list closes with border-bottom 1px
     ruled list    grid of flex li, padding .9rem 0, border-top 1px, optional .tick
     exhibit mat   padding var(--mat); background var(--ivory); border 1px var(--line); plaque under
     rule row      flex space-between, padding-top 2rem, border-top 1px
     bleed         margin-inline-(start|end): calc(-1 * var(--bleed)) from 981px; var(--gutter) below
     text link     underline 1px, offset .25em, colour var(--line-strong) -> currentColor on hover
     sticky rail   position:sticky; top:var(--sticky-top)
--------------------------------------------------------------- */

/* ---------------------------------------------------------------
   5 · BUTTONS, TEXT LINKS, FILTERS, ICON CONTROLS
   Two shapes only: a thin rectangle and a text link.
--------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  height: 52px; padding: 0 1.75rem;
  border: 1px solid transparent; border-radius: 0;
  font: 500 var(--t-ui)/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: none; cursor: pointer; transform: none; box-shadow: none;
  transition: color var(--d) var(--ease), background-color var(--d) var(--ease), border-color var(--d) var(--ease);
}
.btn::before { content: none; }              /* kill the sheen; keep the selector harmless */
.btn:hover, .btn:focus-visible { transform: none; box-shadow: none; }
.btn--lg { height: 60px; padding: 0 2.25rem; font-size: .875rem; }
.btn__arrow { width: 16px; height: 16px; flex: none; transition: transform var(--d) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* primary (class name kept) */
.btn--gold { background: var(--char); color: var(--linen); border-color: var(--char); }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--linen); }

/* ghost */
.btn--ghost { background: transparent; color: var(--char); border-color: var(--char); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--char); color: var(--linen); }

/* WhatsApp (branch cards): the icon stays green in every state */
.btn--wa { background: transparent; color: var(--char); border-color: var(--char); }
.btn--wa:hover, .btn--wa:focus-visible { background: var(--char); color: var(--linen); }
.btn .btn__wa-ico { width: 18px; height: 18px; flex: none; color: var(--wa); }

/* on dark surfaces: paper fill / paper outline */
.cta-band .btn--gold,
.svc__aside .info-card:last-child .btn--gold { background: var(--linen); color: var(--char); border-color: var(--linen); }
.cta-band .btn--gold:hover, .cta-band .btn--gold:focus-visible,
.svc__aside .info-card:last-child .btn--gold:hover,
.svc__aside .info-card:last-child .btn--gold:focus-visible { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--char); }
.cta-band .btn--ghost { color: var(--linen); border-color: rgba(255,255,255,.4); background: transparent; }
.cta-band .btn--ghost:hover, .cta-band .btn--ghost:focus-visible { border-color: var(--linen); background: var(--linen); color: var(--ink); }

/* text links (.footer__nav a and .crumbs a own their declarations in their component blocks) */
.footer__contact a, .bk__wa-note a, .svc__body p a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em;
  text-decoration-color: var(--line-strong);
  /* a line of text is 19 to 20px tall, which is not a thumb. Vertical padding on
     an inline box grows the hit area without touching the line box, so the copy
     sets exactly as before and the negative margin keeps the paragraph flow. */
  padding-block: .8rem; margin-block: -.8rem;
  transition: text-decoration-color var(--d) var(--ease), color var(--d-micro);
}
.footer__contact a:hover, .bk__wa-note a:hover, .svc__body p a:hover { text-decoration-color: currentColor; }
.bk__wa-note a, .svc__body p a { font-weight: 500; }   /* inline font-weight:600 in the HTML wins; acceptable */

/* filters: text tabs on a hairline rail (not sticky).
   The rail is a horizontal scroll container, and a scroll container clips at its
   padding edge, so the rail line is a background (not a border) drawn 6px above the
   bottom, and the rail carries 6px of block padding: that keeps the active tab's
   underline and the 4px-offset focus ring inside the visible box. The block margins
   give those 6px back so the rhythm is unchanged. */
.filters {
  display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0;
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 0;
  background: linear-gradient(var(--line-strong), var(--line-strong)) 0 calc(100% - 6px) / 100% 1px no-repeat;
  padding-block: 6px;
  margin: calc(clamp(3rem, 6vw, 5rem) - 6px) 0 calc(3rem - 6px);
  position: static;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; position: relative;
  font: 500 var(--t-eyebrow)/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--char-soft); background: none;
  border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  padding: 1rem 0; margin: 0 2rem 0 0;   /* 45px tall (tap target); the underline lands exactly on the rail line */
  transform: none; white-space: nowrap;
  transition: color var(--d) var(--ease), border-color var(--d) var(--ease);
}
/* invisible hit area: the short words ("All", "Lips") are only 35 to 39px wide,
   so each filter reaches 44px across without the underline growing with it.
   The 2rem right margin absorbs it and still leaves 11px between two filters. */
.filter::after { content: ""; position: absolute; inset: 0 -4.5px; }
.filter:hover { color: var(--char); transform: none; }
.filter.is-active, .filter[aria-pressed="true"] { color: var(--char); border-bottom-color: var(--char); background: none; }

/* icon controls: square, hairline, glyph in ink */
.tst__arrow, .modal__close, .lightbox__close, .lightbox__nav, .to-top {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 0;
  border: 1px solid var(--line-strong); background: transparent; color: var(--char);
  font: 300 1.1rem/1 var(--f-body);
  transform: none; box-shadow: none;
  transition: background-color var(--d) var(--ease), color var(--d) var(--ease), border-color var(--d) var(--ease);
}
.tst__arrow svg, .modal__close svg, .lightbox__close svg, .lightbox__nav svg, .to-top svg { width: 18px; height: 18px; }
.tst__arrow:hover, .modal__close:hover, .to-top:hover { background: var(--char); color: var(--linen); border-color: var(--char); transform: none; }
.lightbox__close, .lightbox__nav { width: 52px; height: 52px; border-color: rgba(255,255,255,.3); color: var(--linen); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--linen); color: var(--ink); border-color: var(--linen); transform: none; }
.tst__nav { display: flex; justify-content: flex-end; align-items: center; gap: 0; margin-top: 1.5rem; }
.tst__nav .tst__arrow + .tst__arrow { margin-left: -1px; }

/* ---------------------------------------------------------------
   6 · LOADER  (index only; fades, never a curtain; removed by JS)
--------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 6000;
  background: var(--linen);
  display: grid; place-items: center;
  /* it clears quickly on purpose: the arrival in section 35 starts as this
     lifts, and the two are one moment, not two queued ones */
  transition: opacity 420ms var(--ease-2);
  transform: none;
}
.loader.is-done { opacity: 0; transform: none; pointer-events: none; }
html:not(.js) .loader { display: none; }
body.is-loading { overflow: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 0; }
.loader__mark { width: 72px; height: auto; animation: markIn 1.2s var(--ease) both; }
.loader__thread { width: 200px; height: 8px; margin: 1.25rem 0; display: block; opacity: .6; }
.loader__thread path { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s var(--ease) .3s forwards; }
.loader__word {
  font: italic 400 1.5rem/1 var(--f-display); letter-spacing: .02em; color: var(--char);
  animation: fadeUp 900ms var(--ease) .5s both;
}
@keyframes markIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------
   7 · CUSTOM CURSOR  (JS writes transform + opacity inline; CSS never does)
   Centred with negative margins, not transform. Mid-gray reads on both grounds.
--------------------------------------------------------------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 5000; pointer-events: none; border-radius: 50%; opacity: 0; transform: none; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--char-soft); transition: opacity .3s; }
.cursor-ring {
  width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 1px solid var(--char-soft);
  transition: opacity .3s, width .32s var(--ease), height .32s var(--ease), margin .32s var(--ease), background-color .32s, border-color .32s;
}
.cursor-ring.is-hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: rgba(107,107,107,.08); border-color: var(--gold); }
body.cursor-on .cursor, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-on, body.cursor-on * { cursor: none !important; }

/* ---------------------------------------------------------------
   8 · NAVIGATION
--------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: height var(--d) var(--ease), border-color var(--d) var(--ease);
}
/* The paper ground lives on a pseudo-element, NOT on .nav itself, so .nav never
   becomes the containing block of the fixed mobile overlay. No backdrop-filter. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--linen);
  opacity: 0; transition: opacity var(--d) var(--ease);
}
.nav.is-scrolled { height: var(--nav-h-scrolled); border-bottom-color: var(--line); box-shadow: none; }
.nav.is-scrolled::before { opacity: 1; }

.nav__wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; padding: 0;
}

.nav__logo { display: flex; align-items: center; gap: .75rem; position: relative; z-index: 1100; transform: none; }
.nav__logo img { width: auto; height: 56px; transition: height var(--d) var(--ease); }
.nav.is-scrolled .nav__logo img { height: 46px; }
.nav__logo:hover { transform: none; }
.nav__logo-tag {
  font: 500 var(--t-label)/16px var(--f-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0; padding-left: .75rem; border-left: 1px solid var(--line-strong);
}

.nav__links { display: flex; align-items: center; gap: 2rem; flex: 1; }
.nav__link:first-child { margin-inline-start: auto; }
.nav__cta { margin-inline-start: auto; }
.nav__link {
  font: 500 var(--t-ui)/1 var(--f-body); letter-spacing: .02em; color: var(--gold);
  padding: .5rem 0; position: relative; white-space: nowrap;
  transition: color var(--d) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--char); transform: scaleX(0); transform-origin: left;
  transition: transform var(--d) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--char); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* CTA keeps its classes, renders as the quiet ghost rectangle */
.nav .nav__cta { height: 40px; padding: 0 1.25rem; background: transparent; color: var(--char); border: 1px solid var(--char); font-size: .75rem; }
.nav .nav__cta:hover, .nav .nav__cta:focus-visible { background: var(--char); color: var(--linen); border-color: var(--char); }

/* burger: two 1px lines that cross */
.nav__burger { display: none; width: 44px; height: 44px; position: relative; z-index: 1100; background: none; border: 0; }
.nav__burger span {
  position: absolute; left: 11px; width: 22px; height: 1px; background: var(--char); border-radius: 0;
  transition: transform var(--d) var(--ease), top var(--d) var(--ease);
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { opacity: 0; }
.nav__burger span:nth-child(3) { top: 26px; }
body.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
body.menu-open, body.modal-open { overflow: hidden; }

/* breadcrumbs */
.crumbs { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); }
.crumbs a {
  position: relative; color: var(--char-soft);
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: .3em;
  padding-block: .95rem; margin-block: -.95rem;   /* inline: no layout change, 44px hit area */
  transition: text-decoration-color var(--d-micro), color var(--d-micro);
}
/* "Home" is only 41px wide, so the last 3px come from an invisible hit area.
   The separator beside it keeps .5rem of its own padding, so nothing collides. */
.crumbs a::after { content: ""; position: absolute; inset: 0 -1.5px; }
.crumbs a:hover { color: var(--char); text-decoration-color: var(--char); }
.crumbs > span:last-child { color: var(--char); }
.crumbs__sep { color: var(--line-strong); padding: 0 .5rem; }

/* ---------------------------------------------------------------
   9 · HERO  (paper room, 12-column editorial grid)
--------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: stretch;
  padding: 0; overflow: hidden;
  background: var(--linen);
  border-bottom: 1px solid var(--line-strong);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .035; mix-blend-mode: multiply; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* orbs are gone; script.js still writes inline transforms to them, harmlessly */
.hero__orb, .hero__orb--1, .hero__orb--2 { display: none; }

.hero__inner {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: var(--gap);
  position: relative; z-index: 2;
}
.hero__eyebrow { grid-column: 1 / -1; grid-row: 1; margin: 0; }

.hero__title {
  grid-column: 1 / -1; grid-row: 2; align-self: center;
  font: 400 var(--t-d1)/.92 var(--f-display); letter-spacing: -0.02em; color: var(--char);
  margin: clamp(2rem, 5vw, 4rem) 0;
  text-wrap: initial;
}
.hero__title-em { font-style: italic; font-weight: 400; color: var(--gold); background: none; -webkit-text-fill-color: currentColor; padding-right: .06em; }
.hero__dot { color: var(--gold); }

.hero__thread { grid-column: 1 / 4; grid-row: 3; align-self: start; width: clamp(140px, 14vw, 200px); height: 10px; margin: .6rem 0 0; display: block; opacity: .6; }
.hero__thread path, .page-hero__thread path, .thread-divider path { stroke: var(--line-strong); stroke-width: 1; }
html.js .hero__thread path { stroke-dasharray: 520; stroke-dashoffset: 520; }
.hero__thread.is-in path { animation: draw var(--d-draw) var(--ease-2) forwards; }

.hero__lede { grid-column: 7 / -1; grid-row: 3; font-size: var(--t-lede); line-height: 1.5; color: #444444; max-width: 40ch; margin: 0; }
.hero__lede em { font-family: var(--f-display); font-style: italic; font-size: 1.1em; color: var(--gold); }

.hero__actions { grid-column: 7 / -1; grid-row: 4; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0; }
.hero__actions .btn + .btn { margin-left: -1px; }

.hero__scroll {
  position: absolute; left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); bottom: 2.5rem; transform: none;
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; z-index: 2;
  font: 500 var(--t-label)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft);
}
.hero__scroll-line { width: 1px; height: 56px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--char); animation: scrollDot 3.2s var(--ease-2) infinite; }
@keyframes scrollDot { 0% { top: -50%; } 60%, 100% { top: 100%; } }
@media (max-height: 660px) { .hero__scroll { display: none; } }

/* ---------------------------------------------------------------
   10 · MARQUEE  (tracked labels on the ground; paused on hover)
--------------------------------------------------------------- */
.marquee {
  background: var(--sand);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  margin-top: -1px; padding: 1.1rem 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}
.marquee__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 500 var(--t-label)/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--char-soft); font-style: normal; white-space: nowrap; }
.marquee .marquee__sep { font-size: .5rem; color: var(--line-strong); letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------
   11 · ABOUT  (portrait bleeding left, body hangs in cols 7 to 12,
        stats lattice spans the full container under both)
--------------------------------------------------------------- */
.about { background: var(--sand); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto 1fr auto;   /* slack collects under the points, not between rows */
  column-gap: var(--gap); row-gap: 0;
  align-items: start;
}
.about__media {
  grid-column: 1 / 6; grid-row: 1 / span 5;
  position: relative; max-width: none; margin: 0;
  margin-inline-start: calc(-1 * var(--bleed));   /* reaches the viewport edge at every width */
}
.about__frame, .about__frame--card {
  background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0;
  overflow: hidden; position: relative; z-index: 1; aspect-ratio: auto;
}
.about__frame img { width: 100%; height: auto; display: block; aspect-ratio: auto; object-fit: initial; transform-origin: 50% 50%; background: var(--sand-deep); }
/* offset architectural frame */
.about__ring {
  position: absolute; inset: 20px -20px -20px 20px; width: auto; height: auto;
  border: 1px solid var(--line-strong); border-radius: 0; opacity: 1; z-index: 0; pointer-events: none;
}
/* ink plaque */
.about__badge {
  position: absolute; right: -1.5rem; bottom: 2.5rem; left: auto; top: auto; z-index: 2;
  background: var(--ink); color: var(--linen);
  padding: 1.25rem 1.5rem; min-width: 180px; max-width: none;
  border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none;
  display: grid; gap: .5rem; transform: none;
}
.about__badge-num { font: 400 3rem/1 var(--f-display); letter-spacing: -0.015em; color: var(--linen); font-variant-numeric: lining-nums tabular-nums; }
.about__badge-label { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--linen); }
.about__badge-label em { display: block; font: italic 400 1.15rem/1.3 var(--f-display); text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.7); margin-top: .2rem; }

.about__body { display: contents; }
.about__body > * { grid-column: 7 / -1; }
.about__body > .eyebrow { padding-top: clamp(1rem, 4vw, 4rem); margin-bottom: 1.5rem; }
.about__body > .section__title { margin-bottom: 1.75rem; text-align: start; }
.about__lede { font: italic 400 var(--t-quote)/1.35 var(--f-display); color: var(--char); max-width: 40ch; margin-bottom: 1.5rem; }
.about__text { color: #444444; max-width: 62ch; margin-bottom: 2.25rem; }
/* The ruled points anchor to the portrait's baseline: row 5 is the 1fr row, so the
   slack becomes a deliberate gap between prose and list instead of dead space
   under the list. (≤980px .about__body is display:block, so this is inert there.) */
.about__body > .about__points { align-self: end; }
.about__body > .stats { grid-column: 1 / -1; grid-row: 6; }

/* ruled points + hairline ticks */
.about__points { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); margin: 0; border-bottom: 1px solid var(--line-strong); }
.about__points li, ul.ticks li { display: flex; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--line-strong); font-size: 1rem; line-height: 1.5; color: var(--char); }
.tick { flex: none; width: 18px; height: 18px; border-radius: 0; background: none; position: relative; margin-top: .15em; }
.tick::after {
  content: ""; position: absolute; left: 3px; top: 4px; width: 10px; height: 5px;
  border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(-45deg);
}

/* stats lattice (lives inside .about__body; JS rewrites .stat__num text only) */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  margin-top: clamp(3.5rem, 6vw, 5rem); padding: 0;
}
.stat { background: var(--sand); padding: 2rem 1.5rem 2rem 0; display: grid; gap: .6rem; align-content: start; }
.stat + .stat { padding-left: 1.5rem; }
.stat__num { display: block; font: 400 var(--t-num)/1 var(--f-display); letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; color: var(--char); }
.stat__label { display: block; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); margin: 0; }

/* ---------------------------------------------------------------
   12 · SERVICES
   index: 2×2 lattice of category cells, landscape image on top of each.
   services.html (.page-hero ~ .services): four editorial rows, image
   and body alternating sides.
--------------------------------------------------------------- */
.services { background: var(--linen); border-top: 1px solid var(--line-strong); }

/* LATTICE: the grid background is the line; every cell paints itself opaque
   (a cell without a background shows the line colour). */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-card {
  background: var(--linen);
  display: flex; flex-direction: column;
  overflow: hidden; position: relative; isolation: auto;
  border: 0; border-radius: 0; box-shadow: none; padding: 0; min-height: 0; transform: none;
  transition: none;
}
.cat-card::after { content: none; }   /* veil removed */
.cat-card__img {
  display: block; width: 100%; aspect-ratio: 1400 / 781;
  position: static; inset: auto; z-index: auto;
  background-color: var(--sand-deep); background-size: cover; background-position: 50% 50%;
  opacity: 1; filter: saturate(.92) contrast(1.02);
  transform: scale(1); transform-origin: 50% 100%;
  transition: transform var(--d-image) var(--ease);
}
.cat-card__body { position: static; z-index: auto; padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; flex: 1; height: auto; }
.cat-card__ico { width: 22px; height: 22px; color: var(--gold); background: none; border: 0; transform: none; margin-bottom: 1.25rem; transition: none; }
.cat-card__ico svg { width: 22px; height: 22px; }
.cat-card__title { font: 400 var(--t-h3)/1.15 var(--f-display); letter-spacing: -0.005em; color: var(--char); margin-bottom: .75rem; transition: color var(--d) var(--ease); }
.cat-card__desc { font-size: var(--t-small); line-height: 1.6; color: var(--char-soft); max-width: 44ch; margin: 0 0 1.75rem; transition: none; }
.cat-chips { display: flex; flex-wrap: wrap; row-gap: .6rem; column-gap: 0; margin-top: auto; }

/* chips: a hairline-separated inline list, not pills. The a/span split in the HTML is untouched.
   The separator is a pseudo-element of fixed height, so the chips' block padding can
   grow on phones (tap target) without the hairline stretching with it. */
.cat-chip {
  position: relative;
  font: 500 var(--t-eyebrow)/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--char); background: none; border: 0; border-radius: 0;
  padding: 0 .9rem 0 0; margin: 0 .9rem 0 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: .3em;
  transform: none;
  transition: text-decoration-color var(--d) var(--ease), color var(--d) var(--ease);
}
.cat-chip:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: calc(50% - .7em);
  width: 1px; height: 1.4em; background: var(--line-strong);
}
a.cat-chip:hover { text-decoration-color: var(--char); transform: none; background: none; color: var(--char); }
span.cat-chip { color: var(--char-soft); cursor: default; }
.cat-chip:last-child { margin-right: 0; padding-right: 0; }

@media (hover: hover) {
  .cat-card:hover { transform: none; box-shadow: none; }
  .cat-card:hover .cat-card__title { color: var(--gold); }
  .cat-card:hover .cat-card__img { transform: scale(1.03); }
}

/* rule row under a grid: sentence left, action right */
.services__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  margin-top: clamp(3rem, 5vw, 4rem); padding-top: 2rem;
  border-top: 1px solid var(--line-strong); text-align: start;
}
.services .services__foot { border-top-color: var(--line); }
.services__foot p { font: italic 400 var(--t-quote)/1.35 var(--f-display); color: var(--char); margin: 0; }

/* services.html: editorial rows */
.page-hero ~ .services .cat-grid { display: block; background: none; border: 0; border-top: 1px solid var(--line-strong); }
.page-hero ~ .services .cat-card {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent; overflow: visible;   /* nothing to clip here (see below), and the chips' focus ring at the column edge must not be cut */
}
.page-hero ~ .services .cat-card__img { grid-column: 1 / 7; grid-row: 1; }
/* Editorial rows settle the BACKGROUND, not the box: the row is much larger than the
   picture, so a scaled box would spill into the padding and column gap. The frame ratio
   (1400/781) equals the asset ratio, so `auto 100%` renders identically to `cover`. */
.page-hero ~ .services .cat-card__img {
  transform: none !important;
  background-size: auto 100%;
  transition: background-size var(--d-image) var(--ease);
}
html.js .page-hero ~ .services .cat-card[data-reveal]:not(.is-in) .cat-card__img { background-size: auto 106%; }
@media (hover: hover) {
  .page-hero ~ .services .cat-card:hover .cat-card__img { background-size: auto 103%; }
}
.page-hero ~ .services .cat-card__body { grid-column: 8 / -1; grid-row: 1; padding: 0; }
.page-hero ~ .services .cat-card:nth-child(even) .cat-card__img { grid-column: 7 / -1; }
.page-hero ~ .services .cat-card:nth-child(even) .cat-card__body { grid-column: 1 / 6; }
.page-hero ~ .services .cat-card__title { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.08; letter-spacing: -0.01em; }
.page-hero ~ .services .cat-card__desc { font-size: var(--t-lede); line-height: 1.5; max-width: 44ch; }
.page-hero ~ .services .services__foot { border-top-color: var(--line-strong); }

/* ---------------------------------------------------------------
   13 · THREAD DIVIDER  (one pencil line, drawn on scroll)
--------------------------------------------------------------- */
.thread-divider { background: var(--linen); padding: 0; height: 96px; display: grid; place-items: center; }
.thread-divider svg { width: min(100% - 2 * var(--gutter), var(--maxw)); height: 24px; display: block; opacity: .6; }
html.js .thread-divider path { stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.thread-divider.is-in path { animation: draw var(--d-draw) var(--ease-2) forwards; }

/* ---------------------------------------------------------------
   14 · GALLERY  (evidence: matted, never cropped, never filtered)
--------------------------------------------------------------- */
.gallery { background: var(--sand); border-top: 1px solid var(--line-strong); }

.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.25rem, 2.5vw, 2.5rem); row-gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
}
.gallery .cmp-feature + .gallery__grid { margin-top: clamp(4rem, 7vw, 6rem); }
.filters + .gallery__grid { margin-top: 0; }
.svc__body .gallery__grid { margin-top: 1.5rem; column-gap: 1rem; row-gap: 1.5rem; }

/* exhibit mat */
.ba {
  position: relative; display: block;
  background: var(--ivory); padding: var(--mat); border: 1px solid var(--line); border-radius: 0; box-shadow: none;
  aspect-ratio: auto; overflow: visible; cursor: zoom-in; transform: none;
  transition: border-color var(--d) var(--ease);
  animation: baIn 600ms var(--ease) both;
}
@keyframes baIn { from { opacity: 0; } to { opacity: 1; } }
.ba.is-hidden { display: none; }
.ba img { width: 100%; height: auto; object-fit: initial; transform: none; transition: none; background: var(--sand-deep); }
.ba:focus-visible { outline: 1px solid var(--char); outline-offset: 4px; }
/* plaque on the mat */
.ba__cap {
  position: static; inset: auto; z-index: auto;
  padding: .875rem 0 0; background: none; opacity: 1; transform: none;
  display: flex; flex-direction: column; gap: .2rem; text-align: start;
}
.ba__tag { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); }
.ba__name { font: 500 var(--t-small)/1.3 var(--f-body); color: var(--char); }
/* corner marker */
.ba::after {
  content: ""; position: absolute; top: calc(var(--mat) + .75rem); right: calc(var(--mat) + .75rem); z-index: 2;
  width: 10px; height: 10px; display: block;
  background: var(--ivory); border: 1px solid var(--char); border-radius: 0;
  opacity: 0; transform: none; font-size: 0;
  transition: opacity var(--d) var(--ease);
}
@media (hover: hover) {
  .ba:hover { border-color: var(--char); transform: none; box-shadow: none; }
  .ba:hover img { transform: none; }
  .ba:hover::after { opacity: 1; }
}

/* comparison slider: JS writes --pos inline; CSS drives every part from var(--pos), no transitions */
.cmp-feature { max-width: none; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.cmp {
  --pos: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1400 / 660;
  border: 1px solid var(--line-strong); border-radius: 0; box-shadow: none;
  background: var(--sand-deep);
}
.cmp img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.cmp__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px;
  transform: translateX(-50%); background: var(--linen);
  outline: 1px solid rgba(0,0,0,.15); box-shadow: none; pointer-events: none;
}
.cmp__grip {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 0;
  background: var(--linen); color: var(--char); border: 1px solid var(--char); box-shadow: none;
  display: grid; place-items: center; pointer-events: none;
}
.cmp__grip svg { width: 20px; height: 20px; }
.cmp__tag {
  position: absolute; top: 1rem; z-index: 2; pointer-events: none;
  padding: .4rem .7rem; border-radius: 0;
  background: var(--linen); color: var(--char); border: 1px solid var(--char);
  font: 500 var(--t-label)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.cmp__tag--before { left: 1rem; }
.cmp__tag--after { right: 1rem; }
.cmp__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
  touch-action: pan-y;
}
.cmp__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.cmp__range::-moz-range-thumb { width: 60px; height: 999px; border: none; }
.cmp__range:focus-visible ~ .cmp__grip { outline: 1px solid var(--char); outline-offset: 3px; }
/* caption row */
.cmp-feature__cap {
  display: flex; align-items: baseline; justify-content: flex-start; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); text-align: start;
}
.cap-name { font: 400 var(--t-h2s)/1.1 var(--f-display); letter-spacing: -0.008em; color: var(--char); }
.cap-meta { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); }
.cmp-feature__hint { margin: .5rem 0 0; text-align: start; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); }

/* ---------------------------------------------------------------
   15 · WHY  (dark room; 3×2 lattice of features)
--------------------------------------------------------------- */
.why {
  background: var(--ink); color: var(--linen); position: relative; overflow: hidden;
  border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
  padding: clamp(6rem, 10vw, 9rem) 0;
}
.why__bg {
  position: absolute; inset: 0; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  background: repeating-linear-gradient(90deg, var(--ink-line-soft) 0 1px, transparent 1px calc(100% / 12));
  pointer-events: none; opacity: 1; filter: none;
}
.why .container { position: relative; z-index: 1; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.feat {
  background: var(--ink); min-height: 260px;
  padding: clamp(2rem, 3.5vw, 3.25rem);
  display: flex; flex-direction: column; justify-content: space-between;
  border: 0; border-radius: 0; backdrop-filter: none; transform: none;
  transition: background-color 560ms var(--ease);
}
.feat__ico { width: 22px; height: 22px; color: var(--linen); background: none; border: 0; border-radius: 0; margin-bottom: 3rem; display: block; transform: none; transition: none; }
.feat__ico svg { width: 22px; height: 22px; }
.feat__title { font: 400 var(--t-h3)/1.15 var(--f-display); letter-spacing: -0.005em; color: var(--linen); margin-bottom: .6rem; }
.feat__desc { font-size: var(--t-small); line-height: 1.6; color: var(--char-mute); max-width: 36ch; }
@media (hover: hover) {
  .feat:hover { background: #1B1B1B; transform: none; }
  .feat:hover .feat__ico { transform: none; }
}

/* ---------------------------------------------------------------
   16 · JOURNEY  (plaster band; 5-column lattice; #journey has inline background)
--------------------------------------------------------------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); position: static; }
.j-step {
  background: var(--sand-deep); text-align: start; position: relative;
  padding: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2vw, 2rem);
  border: 0; border-radius: 0; box-shadow: none; transform: none; transition: none;
}
.j-step:not(:last-child)::after { content: none; }
.j-step__num {
  position: static; transform: none; width: auto; height: auto;
  background: none; box-shadow: none; display: block;
  font: 400 clamp(2.5rem, 3vw, 3.25rem)/1 var(--f-display); color: var(--gold-soft);
  margin-bottom: 1.5rem;
}
.j-step__ico { width: 22px; height: 22px; margin: 0 0 1rem; display: block; background: none; border: 0; border-radius: 0; color: var(--gold); transform: none; transition: none; }
.j-step__ico svg { width: 22px; height: 22px; }
.j-step__title { font: 400 var(--t-h4)/1.2 var(--f-display); color: var(--char); }
.j-step__desc { font-size: var(--t-small); line-height: 1.6; color: #444444; margin-top: .5rem; max-width: 28ch; }   /* body ink: --char-soft is 4.44:1 on plaster, under AA for 15px */

/* ---------------------------------------------------------------
   17 · HOURS  (intro left, ruled 7-row table right, quiet is-today row)
--------------------------------------------------------------- */
.hours { background: var(--linen); }
.hours__wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0; align-items: start; }
.hours__intro { grid-column: 1 / 6; }
.hours__intro .eyebrow { margin-bottom: 1.5rem; }
.hours__intro .section__title { text-align: start; }
.hours__note { font-size: var(--t-lede); line-height: 1.5; color: #444444; max-width: 40ch; margin: 1.25rem 0 1.75rem; }
.hours__status {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 0; border: 0; border-radius: 0; background: none;
  font: 500 var(--t-label)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft);
  margin-bottom: 2rem;
}
.hours__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--char-soft); box-shadow: none; animation: none; flex: none; }
.hours__status.is-open { color: var(--ok); }
.hours__status.is-open .hours__dot { background: var(--ok); box-shadow: none; animation: none; }
.hours__status.is-closed { color: var(--bad); }
.hours__status.is-closed .hours__dot { background: var(--bad); }
.hours__intro .btn { display: flex; width: fit-content; }

.hours__card { grid-column: 7 / -1; align-self: center; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; overflow: visible; }
.hours__card::before { content: none; }
.hours__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  min-height: 44px; padding: 1.1rem 0; margin: 0;
  border-top: 1px solid var(--line); border-bottom: 0; background: none; transition: none;
}
.hours__row:last-child { border-bottom: 1px solid var(--line); }
.hours__day { font: 500 var(--t-small)/1.4 var(--f-body); color: var(--char); }
.hours__time { font: 500 var(--t-small)/1.4 var(--f-body); font-variant-numeric: lining-nums tabular-nums; color: var(--char); text-align: end; }
/* today: strong rules, italic day, small CSS-generated marker (existing pseudo-element, restyled) */
.hours__row.is-today { border-top: 1px solid var(--char); border-bottom: 1px solid var(--char); margin-inline: 0; padding-inline: 0; background: none; }
.hours__row.is-today + .hours__row { border-top-color: transparent; }
.hours__row.is-today .hours__day { font: italic 400 1.15rem/1.3 var(--f-display); color: var(--char); }
.hours__row.is-today .hours__day::after {
  content: "Today"; font: 500 var(--t-label)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); background: none; padding: 0; margin-left: .75rem; border-radius: 0; vertical-align: middle;
}

/* ---------------------------------------------------------------
   18 · TESTIMONIALS  (review-screenshot strip on white mats)
   #rvStrip gap is exactly 18px: script.js steps by .rv-shot width + 18.
--------------------------------------------------------------- */
.testimonials { background: var(--sand); border-top: 1px solid var(--line-strong); }
.rv { width: min(100% - 2 * var(--gutter), var(--maxw)); max-width: none; margin-inline: auto; }
.rv__strip, #rvStrip {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
  padding: 2rem 0 2rem;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.rv__strip::-webkit-scrollbar { display: none; }
.rv-shot {
  flex: 0 0 auto; height: clamp(300px, 34vw, 420px);
  padding: 10px; background: var(--ivory); border: 1px solid var(--line); border-radius: 0; box-shadow: none;
  scroll-snap-align: start; cursor: zoom-in; transform: none; overflow: visible; margin: 0;
  transition: border-color var(--d) var(--ease);
}
.rv-shot img { height: 100%; width: auto; max-width: none; display: block; background: var(--sand-deep); }
@media (hover: hover) {
  .rv-shot:hover { border-color: var(--char); transform: none; box-shadow: none; }
}
/* guarded slider module (no markup on any page today; script.js checks before running) */
.tst { max-width: none; margin-inline: auto; }
.tst__viewport { overflow: hidden; }
.tst__track { display: flex; transition: transform .8s var(--ease); }
.tst__card { flex: 0 0 100%; }
.tst__dots { display: flex; gap: .5rem; }
.tst__dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 0; background: var(--line-strong); }
.tst__dot.is-active { background: var(--char); }

/* ---------------------------------------------------------------
   19 · CONTACT  (two branches as a diptych with one vertical rule)
--------------------------------------------------------------- */
.contact { background: var(--linen); border-top: 1px solid var(--line-strong); }
.page-hero + .contact { border-top: 0; }
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.branch {
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  padding: 0 clamp(2rem, 4vw, 4rem) 0 0; transform: none; position: relative; transition: none;
}
.branch + .branch { border-left: 1px solid var(--line); padding: 0 0 0 clamp(2rem, 4vw, 4rem); }
.branch::before { display: none; content: none; }
.branch > * { position: static; }
.branch__label { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1.25rem; }
.branch__city { font: 400 clamp(2rem, 3.4vw, 3rem)/1.05 var(--f-display); letter-spacing: -0.01em; color: var(--char); margin: 0 0 1rem; }
.branch__addr { display: flex; align-items: center; gap: .6rem; font-size: var(--t-small); line-height: 1.6; color: #444444; margin-bottom: 2rem; }
.branch__pin { width: 16px; height: 16px; color: var(--gold); flex: none; }
/* contact.html: no head above, larger city names */
.page-hero ~ .contact .branches { border-top: 0; padding-top: clamp(2rem, 4vw, 3rem); }
.page-hero ~ .contact .branch__city { font-size: clamp(2.4rem, 3.8vw, 3.4rem); }

/* social rule row */
.social {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 3rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--line); text-align: start;
}
.social__label { display: block; font: italic 400 var(--t-quote)/1.35 var(--f-display); color: var(--char); margin: 0; }
.social__row { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: flex-start; }
.social__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 var(--t-ui)/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--char);
  background: none; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 0 0 .4rem; transform: none; box-shadow: none;
  transition: border-color var(--d) var(--ease);
}
/* invisible hit-area extension (~44px tall) that leaves the underline where it is */
.social__link::after { content: ""; position: absolute; inset: -.6rem 0; }
.social__link svg { width: 18px; height: 18px; color: currentColor; transition: none; }
@media (hover: hover) {
  .social__link:hover { border-bottom-color: var(--char); transform: none; box-shadow: none; background: none; color: var(--char); }
  .social__link:hover svg { color: currentColor; }
}

/* contact.html hours block follows the diptych */
.contact + .hours .hours__wrap { border-top: 1px solid var(--line); margin-top: clamp(4rem, 7vw, 6rem); padding-top: clamp(4rem, 7vw, 6rem); }

/* ---------------------------------------------------------------
   20 · FOOTER  (charcoal; the one champagne whisper is the top thread)
--------------------------------------------------------------- */
.footer { background: var(--ink-2); color: var(--linen); position: relative; padding: 0; }
.footer__thread { height: 1px; background: var(--whisper); }
.footer__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.footer__brand { grid-column: 1 / 5; }
.footer__brand img { height: 72px; width: auto; margin: 0; }
.footer__tag { font-size: var(--t-small); line-height: 1.6; color: var(--char-mute); max-width: 34ch; margin: 1.5rem 0; }
.footer__social { display: flex; gap: 0; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 0; display: grid; place-items: center;
  border: 1px solid var(--ink-line); color: var(--char-mute); background: none; transform: none;
  transition: color var(--d) var(--ease), border-color var(--d) var(--ease);
}
.footer__social a + a { margin-left: -1px; }
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { color: var(--linen); border-color: rgba(255,255,255,.5); background: none; transform: none; }

.footer h4 { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-mute); margin-bottom: .75rem; }
.footer__nav { grid-column: 6 / 9; display: grid; gap: .6rem; align-content: start; }
.footer__nav a {
  font-size: var(--t-small); line-height: 1.4; color: var(--linen); opacity: .85; width: fit-content;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: transparent;
  /* The hit box fills half the .6rem row gap on each side and no more, so the
     eight boxes tile the list instead of overlapping: before this, each link's
     box ran 9.6px into the next one's, and because the later sibling wins the
     hit test, the 9.6px directly under "Home" opened About. 30.2px unambiguous
     beats 40.2px with a wrong-link band in it. Going to a true 44px needs the
     row rhythm to grow, which is the owner's call, not a CSS one. */
  padding: .3rem 0; margin-block: -.3rem;
  transition: text-decoration-color var(--d) var(--ease), opacity var(--d-micro);
}
.footer__nav a:hover { text-decoration-color: var(--linen); opacity: 1; padding-left: 0; color: var(--linen); }
.footer__contact { grid-column: 9 / -1; }
.footer__contact p { font-size: var(--t-small); line-height: 1.6; color: var(--char-mute); margin-bottom: 1.5rem; }
.footer__contact strong { display: block; font: 400 var(--t-h4)/1.2 var(--f-display); color: var(--linen); margin-bottom: .2rem; }
.footer__contact a { color: var(--linen); font-weight: 500; font-size: var(--t-small); text-decoration-color: rgba(255,255,255,.35); }
.footer__contact a:hover { text-decoration-color: currentColor; }

.footer__bottom { border-top: 1px solid var(--ink-line); }
.footer__bottom-in {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0;
  font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--char-mute);
  font-variant-numeric: lining-nums tabular-nums;
}
.footer__bottom-in p { margin: 0; color: inherit; }
.footer__made span { font: italic 400 1.15rem/1 var(--f-display); text-transform: none; letter-spacing: 0; color: var(--linen); }

/* ---------------------------------------------------------------
   21 · FLOATING  (WhatsApp disc keeps its green; static ring, no pulse; to-top square)
--------------------------------------------------------------- */
.fab-wa {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #FFFFFF; border: 0;
  display: grid; place-items: center; box-shadow: none; transform: none;
  transition: background-color var(--d) var(--ease);
}
.fab-wa svg { width: 24px; height: 24px; }
.fab-wa:hover { background: #1FB85A; transform: none; box-shadow: none; }
.fab-wa__pulse { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(37,211,102,.35); animation: none; pointer-events: none; }

.to-top {
  position: fixed; right: 1.5rem; bottom: 5.5rem; left: auto; z-index: 900;
  width: 44px; height: 44px;
  background: var(--linen); border: 1px solid var(--char); color: var(--char);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--d) var(--ease), transform var(--d) var(--ease), visibility 0s var(--d), background-color var(--d) var(--ease), color var(--d) var(--ease);
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--char); color: var(--linen); border-color: var(--char); transform: none; }
.to-top.is-visible:hover { transform: none; }

/* ---------------------------------------------------------------
   22 · BOOKING MODAL  (paper panel, ink frame, ruled branch rows)
--------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center; padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease-2), visibility 0s 300ms;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity var(--d) var(--ease), visibility 0s; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22,22,22,.62); backdrop-filter: none; -webkit-backdrop-filter: none; }
.modal__panel {
  position: relative; z-index: 1;
  width: min(92vw, 540px); max-width: 100%; max-height: 90svh; overflow: auto; -webkit-overflow-scrolling: touch;
  background: var(--linen); border: 1px solid var(--char); border-radius: 0; box-shadow: var(--sh-lg);
  padding: clamp(2rem, 4vw, 3rem); text-align: start;
  transform: translateY(16px); opacity: 0;
  transition: transform 300ms var(--ease-2), opacity 300ms var(--ease-2);
}
.modal.is-open .modal__panel { transform: none; opacity: 1; transition: transform 720ms var(--ease), opacity var(--d) var(--ease); }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; color: var(--char); }
.modal__logo { width: 56px; height: auto; margin: 0 0 1.5rem; }
.modal__eyebrow { justify-content: flex-start; margin: 0; }
.modal__title, #modalTitle { font: 400 var(--t-h3)/1.15 var(--f-display); letter-spacing: -0.005em; color: var(--char); margin: .75rem 0 .5rem; }
.modal__sub { font-size: var(--t-small); line-height: 1.6; color: var(--char-soft); margin-bottom: 1.5rem; }
.modal__branches { display: block; gap: 0; }
.modal__branch {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; text-align: start;
  padding: 1.4rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0;
  background: none; color: var(--char); transform: none; box-shadow: none;
  transition: background-color var(--d) var(--ease);
}
.modal__branch:last-child { border-bottom: 1px solid var(--line); }
.modal__branch-city { display: block; font: 400 var(--t-h4)/1.2 var(--f-display); color: var(--char); }
.modal__branch-addr { display: block; font-size: .875rem; line-height: 1.5; color: var(--char-soft); margin-top: .2rem; }
.modal__branch-wa { width: 22px; height: 22px; color: var(--wa); flex: none; }
@media (hover: hover) {
  .modal__branch:hover {
    background: var(--sand); transform: none; box-shadow: none; border-color: var(--line);
    margin-inline: calc(-1 * clamp(2rem, 4vw, 3rem)); padding-inline: clamp(2rem, 4vw, 3rem);
  }
}
.bk__wa-note { font-size: .8125rem; line-height: 1.6; color: var(--char-soft); margin-top: 1.5rem; text-align: start; }

/* ---------------------------------------------------------------
   23 · LIGHTBOX  (ink room; the exhibit keeps its mat)
--------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3500;
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(22,22,22,.96); backdrop-filter: none; -webkit-backdrop-filter: none;
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease-2), visibility 0s 300ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--d) var(--ease), visibility 0s; }
.lightbox__fig {
  max-width: min(92vw, 1100px); text-align: start; margin: 0;
  padding: var(--mat); background: var(--char); border: 1px solid rgba(255,255,255,.2); box-shadow: var(--sh-lg);
  transform: scale(.98); transition: transform 720ms var(--ease);
}
.lightbox.is-open .lightbox__fig { transform: none; }
.lightbox__fig img, #lbImg { max-height: min(84vh, calc(100svh - 10rem)); max-width: 100%; width: auto; height: auto; display: block; margin: 0; border-radius: 0; box-shadow: none; }
.lightbox__fig figcaption, #lbCap { margin-top: .75rem; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-mute); text-align: start; }
.lightbox__fig figcaption:empty { display: none; }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; }
.lightbox__nav { position: absolute; top: calc(50% - 26px); transform: none; }
.lightbox__nav--prev { left: clamp(.75rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(.75rem, 3vw, 2rem); }

/* ---------------------------------------------------------------
   24 · PAGE HERO + CTA BAND  (inner pages)
--------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: visible;
  background: var(--linen); border-bottom: 1px solid var(--line-strong);
  padding: calc(var(--nav-h) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3rem, 5vw, 4.5rem);
}
.page-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0; }
.page-hero .crumbs { grid-column: 1 / -1; grid-row: 1; }
.page-hero .eyebrow { grid-column: 1 / -1; grid-row: 2; margin-bottom: 1.5rem; }
.page-hero__title {
  grid-column: 1 / 11; grid-row: 3;
  font: 400 var(--t-d2)/.98 var(--f-display); letter-spacing: -0.015em; color: var(--char);
  max-width: 16ch; margin: 0;
}
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__lede { grid-column: 7 / -1; grid-row: 4; margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: var(--t-lede); line-height: 1.5; color: #444444; max-width: 44ch; }
.page-hero__thread {
  grid-column: 1 / 4; grid-row: 4; align-self: start;
  margin-top: calc(clamp(1.5rem, 3vw, 2.5rem) + .6em);
  width: clamp(120px, 12vw, 180px); height: 10px; display: block; opacity: .6;
}
html.js .page-hero__thread path { stroke-dasharray: 520; stroke-dashoffset: 520; }
.page-hero__thread.is-in path { animation: draw var(--d-draw) var(--ease-2) forwards; }

.cta-band {
  background: var(--ink); color: var(--linen); position: relative; overflow: visible; text-align: start;
  border-top: 1px solid var(--ink-line);
  padding: clamp(6rem, 10vw, 9rem) 0;
}
.cta-band::before { content: none; }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; align-items: end; }
.cta-band__title { grid-column: 1 / 9; grid-row: 1; font: 400 var(--t-cta)/1 var(--f-display); letter-spacing: -0.012em; color: var(--linen); margin: 0; }
.cta-band__title em { font-style: italic; color: rgba(255,255,255,.7); }
.cta-band__sub { grid-column: 1 / 7; grid-row: 2; color: var(--char-mute); font-size: var(--t-lede); line-height: 1.5; max-width: 40ch; margin: 0; }
.cta-band__actions { grid-column: 9 / -1; grid-row: 1 / 3; align-self: end; display: flex; flex-direction: column; gap: 0; justify-content: flex-start; }
.cta-band__actions .btn { width: 100%; }
.cta-band__actions .btn + .btn { margin-top: -1px; }

/* ---------------------------------------------------------------
   25 · SERVICE PAGES  (reading column + sticky ruled aside)
--------------------------------------------------------------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; }
.svc__body { grid-column: 1 / 8; max-width: 62ch; }
.svc__aside { grid-column: 9 / -1; position: sticky; top: var(--sticky-top); display: block; gap: 0; }

/* chapter openers */
.svc__body h2 {
  font: 400 var(--t-h2s)/1.1 var(--f-display); letter-spacing: -0.008em; color: var(--char);
  border-top: 1px solid var(--line-strong); padding-top: 1.75rem;
  margin: clamp(3rem, 5vw, 4.5rem) 0 1.25rem;
}
.svc__body h2:first-child { margin-top: 0; }

/* FOLIO NUMERALS (decorative, CSS-generated). To remove site-wide, delete this block or set content: none. */
.svc__body { counter-reset: folio; }
.svc__body > h2::before {
  counter-increment: folio; content: counter(folio, decimal-leading-zero);
  display: block; font: 500 var(--t-label)/1 var(--f-body); letter-spacing: .16em; color: var(--gold); margin-bottom: 1rem;
}

.svc__body p { font-size: 1.0625rem; line-height: 1.7; color: #444444; margin-bottom: 1.25rem; }

/* ruled tick list, two columns */
.svc__body ul.ticks, ul.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); margin: 1.25rem 0 1.75rem; border-bottom: 1px solid var(--line-strong); }
ul.ticks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc__body ul.ticks li { align-items: flex-start; font-size: 1rem; }
.svc__body ul.ticks .tick { margin-top: .15em; }

/* mini steps: a vertical timeline with 25px numeral squares */
.mini-steps { counter-reset: step; list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: block; position: relative; gap: 0; }
.mini-steps::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.mini-steps li { position: relative; padding: 0 0 1.75rem 2.75rem; font-size: 1rem; line-height: 1.65; color: var(--char-soft); }
.mini-steps li:last-child { padding-bottom: 0; }
.mini-steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: .15rem; width: 25px; height: 25px;
  display: grid; place-items: center;
  background: var(--sand); border: 1px solid var(--char); border-radius: 0;
  font: 500 .625rem/1 var(--f-body); letter-spacing: .06em; color: var(--char); box-shadow: none;
}
.mini-steps li strong { display: block; font: 600 1rem/1.4 var(--f-body); color: var(--char); margin-bottom: .2rem; }

/* aside: ruled info rows, then the ink booking block */
.info-card { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; padding: 1.5rem 0; margin: 0; }
.svc__aside .info-card:nth-last-child(2) { border-bottom: 1px solid var(--line-strong); }
.info-card__label { display: flex; align-items: center; gap: .6rem; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.info-card__label svg { width: 14px; height: 14px; flex: none; }
.info-card__value { display: block; font: 400 clamp(1.8rem, 2.4vw, 2.2rem)/1.05 var(--f-display); letter-spacing: -0.008em; color: var(--char); font-variant-numeric: lining-nums tabular-nums; }
.info-card__text { font-size: .875rem; line-height: 1.6; color: var(--char-soft); margin-top: .4rem; }
.svc__aside .info-card:last-child { background: var(--ink); color: var(--linen); padding: 2rem; margin-top: 2rem; border: 0; }
.svc__aside .info-card:last-child .info-card__text { color: var(--char-mute); font: italic 400 1.15rem/1.5 var(--f-display); }

/* ---------------------------------------------------------------
   26 · ACCORDION  (native details; ruled rows; two-stroke "+")
--------------------------------------------------------------- */
.acc { display: block; max-width: 880px; margin-inline: auto; gap: 0; }
.svc__body .acc { max-width: none; }
.acc details { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; overflow: visible; transition: none; }
.acc details:last-child { border-bottom: 1px solid var(--line-strong); }
.acc details[open] { box-shadow: none; border-color: var(--line-strong); }
.acc summary {
  display: grid; grid-template-columns: 1fr 20px; gap: 2rem; align-items: center;
  padding: 1.6rem 0; list-style: none; cursor: pointer;
  font: 400 var(--t-h4)/1.25 var(--f-display); color: var(--char);
  transition: color var(--d) var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; width: 20px; height: 20px; border: 0; border-radius: 0; color: transparent; font-size: 0;
  background:
    linear-gradient(var(--char), var(--char)) center / 100% 1px no-repeat,
    linear-gradient(var(--char), var(--char)) center / 1px 100% no-repeat;
  transition: transform var(--d) var(--ease);
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details[open] summary { color: var(--gold); }
.acc__a { padding: 0 3rem 1.8rem 0; font-size: 1rem; line-height: 1.7; color: #444444; max-width: 60ch; }

/* ---------------------------------------------------------------
   27 · PRODUCTS  (a ledger of eight ruled rows)
--------------------------------------------------------------- */
.prod-grid { display: block; border-top: 1px solid var(--line-strong); gap: 0; }
.prod-card {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  padding: 2.25rem 1rem; margin-inline: -1rem;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; box-shadow: none; transform: none; overflow: visible; isolation: auto;
  transition: background-color var(--d) var(--ease);
}
.prod-card::before { content: none; }
.prod-card__cat { grid-column: 1 / 3; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }
.prod-card__title { grid-column: 3 / 7; font: 400 var(--t-h3)/1.15 var(--f-display); letter-spacing: -0.005em; color: var(--char); margin: 0; }
.prod-card__desc { grid-column: 7 / 11; font-size: var(--t-small); line-height: 1.6; color: var(--char-soft); margin: 0; max-width: 44ch; }
.prod-card__foot { grid-column: 11 / -1; text-align: end; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); margin: 0; border: 0; padding: 0; }
@media (hover: hover) {
  .prod-card:hover { background: var(--linen); transform: none; box-shadow: none; }
}

/* ---------------------------------------------------------------
   28 · BOOKING PAGE  (numbered steps left, sticky ticket right)
--------------------------------------------------------------- */
.bk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; }
.bk__form { grid-column: 1 / 8; display: block; gap: 0; }
/* the sticky ticket rail. Scoped to the element, because the error summary the
   form now opens with carries the same class name (see the block at the end of
   this section) and must never inherit the rail's column or its sticky. */
aside.bk__summary { grid-column: 9 / -1; position: sticky; top: var(--sticky-top); }

.bk__form > div { border-top: 1px solid var(--line-strong); padding: 2.75rem 0; }
.bk__form > div:first-child { border-top: 0; padding-top: 0; }
.bk__step-label { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; gap: 0 1rem; margin-bottom: 1.5rem; }
.bk__step-num { font: italic 400 1.75rem/1 var(--f-display); color: var(--gold); width: auto; height: auto; background: none; border: 0; box-shadow: none; display: block; }
.bk__step-title { font: 400 var(--t-h2s)/1.1 var(--f-display); letter-spacing: -0.008em; color: var(--char); margin: 0; }

/* branch options: lattice with a drawn radio */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.opt {
  position: relative; display: block; cursor: pointer;
  background: var(--linen); border: 0; border-radius: 0; box-shadow: none;
  padding: 1.25rem 1.5rem 1.25rem 3rem; transform: none;
  transition: box-shadow var(--d) var(--ease);
}
.opt:hover { transform: none; box-shadow: none; border-color: transparent; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt::before { content: ""; position: absolute; left: 1.5rem; top: 1.45rem; width: 12px; height: 12px; border: 1px solid var(--char); background: var(--linen); }
.opt:has(input:checked) { box-shadow: inset 0 0 0 1px var(--char); background: var(--linen); }
.opt:has(input:checked)::after { content: ""; position: absolute; left: calc(1.5rem + 3px); top: calc(1.45rem + 3px); width: 6px; height: 6px; background: var(--char); border-radius: 0; mask: none; -webkit-mask: none; }
.opt:has(input:focus-visible) { outline: 1px solid var(--char); outline-offset: 2px; }
.opt__name { font: 400 var(--t-h4)/1.2 var(--f-display); color: var(--char); display: block; }
.opt__meta { font-size: .8125rem; line-height: 1.5; color: var(--char-soft); display: block; margin-top: .2rem; }

/* underline fields */
.bk__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.bk__field { display: grid; gap: .6rem; }
.bk__field-label { display: block; font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }
.bk input[type="text"], .bk input[type="tel"], .bk input[type="date"], .bk select {
  width: 100%; height: 3.25rem; padding: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  font: 400 1.05rem/1 var(--f-body); color: var(--char);
  -webkit-appearance: none; appearance: none; box-shadow: none;
  transition: border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.bk select { padding-right: 1.5rem; }
.bk input::placeholder { color: var(--char-mute); opacity: 1; }
.bk input[type="text"]:focus, .bk input[type="tel"]:focus, .bk input[type="date"]:focus, .bk select:focus { outline: none; border-bottom-color: var(--char); box-shadow: inset 0 -1px 0 var(--char); }
/* an invalid field trades its hairline for the same hairline in --bad, and keeps
   it while focused, so the field never looks repaired before it is. Because the
   red rule then reads the same focused as unfocused, focus is said a second way:
   the house hairline ring, in the error colour. */
.bk input[aria-invalid="true"],
.bk input[aria-invalid="true"]:focus { border-bottom-color: var(--bad); box-shadow: inset 0 -1px 0 var(--bad); }
.bk input[aria-invalid="true"]:focus-visible { outline: 1px solid var(--bad); outline-offset: 4px; }
.bk__field:has(input[aria-invalid="true"]) .bk__field-label { color: var(--bad); }
.select-wrap, .bk .select-wrap { position: relative; }
.select-wrap::after, .bk .select-wrap::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; pointer-events: none; background: none;
  border-right: 1px solid var(--char); border-bottom: 1px solid var(--char);
  transform: translateY(-70%) rotate(45deg);
}

/* time slots (JS-created buttons + hint) */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.slot {
  height: 44px; padding: 0 .4rem; background: var(--linen); border: 0; border-radius: 0;
  font: 500 var(--t-ui)/1 var(--f-body); font-variant-numeric: lining-nums tabular-nums; color: var(--char);
  text-align: center; transform: none; box-shadow: none;
  transition: background-color var(--d) var(--ease), color var(--d) var(--ease);
}
.slot:hover { background: var(--sand-deep); transform: none; border-color: transparent; }
.slot.is-selected { background: var(--char); color: var(--linen); box-shadow: none; border-color: transparent; }
.slots__hint { grid-column: 1 / -1; background: var(--linen); padding: 1.1rem 1.25rem; font: italic 400 1.15rem/1.5 var(--f-display); color: var(--char-soft); margin: 0; }

/* the ticket */
.bk__card { background: var(--linen); border: 1px solid var(--char); border-radius: 0; box-shadow: none; padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: visible; }
.bk__card::before { content: none; }
.bk__card-title { font: 400 var(--t-h3)/1.15 var(--f-display); letter-spacing: -0.005em; color: var(--char); padding-bottom: 1rem; border-bottom: 1px solid var(--char); margin-bottom: .5rem; }
.bk__rows { display: block; margin: 0; gap: 0; }
.bk__row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: inherit; }
.bk__row dt { font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--char-soft); align-self: baseline; }
.bk__row dd { font: 500 var(--t-small)/1.4 var(--f-body); font-variant-numeric: lining-nums tabular-nums; text-align: end; color: var(--char); margin: 0; }
.bk__submit, #bkSubmit { width: 100%; height: 60px; margin-top: 1.5rem; }
#bkWaIcon { color: var(--wa); }
#bkSubmit[aria-disabled="true"], .bk__submit[aria-disabled="true"] { background: var(--sand-deep); color: var(--char-soft); border-color: var(--sand-deep); cursor: not-allowed; opacity: 1; }
#bkSubmit[aria-disabled="true"]:hover, #bkSubmit[aria-disabled="true"]:focus-visible { background: var(--sand-deep); color: var(--char-soft); border-color: var(--sand-deep); }
#bkSubmit[aria-disabled="true"] .btn__arrow { transform: none; }
#bkNote { font-size: .8125rem; line-height: 1.6; color: var(--char-soft); margin-top: 1rem; text-align: start; }
.bk__done {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-top: 1.5rem; padding: 1.5rem 0 0; border: 0; border-top: 1px solid var(--char); border-radius: 0; background: none;
}
.bk__done[hidden] { display: none; }   /* stays hidden until the booking is sent */
.bk__done svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: .1rem; }
.bk__done p { font-size: var(--t-small); line-height: 1.6; color: var(--char); margin: 0; }
.bk__done strong { font-weight: 600; }

/* form usability: the required marker, the inline error, the error summary.
   House vocabulary only: radius 0, no shadow, hairline rules, --bad for the
   error voice and --char-soft for the quiet marker. No new token anywhere.

   The summary is #bkForm's first child and carries the same class as the ticket
   rail, so every rule here is scoped by #bkForm and cannot reach the aside. */
#bkForm > .bk__summary {
  border: 1px solid var(--bad);
  padding: 1.5rem 1.5rem .8rem;
  margin-bottom: 2.75rem;
  background: var(--linen);
}
#bkForm > .bk__summary[hidden] { display: none; }
/* it takes focus after a failed submit, so it needs a ring of its own: the ink
   hairline would read as decoration on a block that is already ruled in --bad */
#bkForm > .bk__summary:focus-visible { outline: 1px solid var(--bad); outline-offset: 3px; }

.bk__summary-title {
  font: 500 var(--t-label)/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--bad); margin: 0 0 .5rem;
}
.bk__summary-list { list-style: none; margin: 0; padding: 0; display: block; }
/* each item is a block link, so the rows tile at 44px with nothing between them
   to mis-tap into. Text stays inline-sized: the box ends where the words end. */
.bk__summary-list a {
  display: block; width: fit-content; padding: .7rem 0;
  font-size: var(--t-small); line-height: 1.5; color: var(--bad);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em;
  text-decoration-color: var(--bad);
  transition: text-decoration-thickness var(--d-micro) var(--ease);
}
/* the underline stays: these are the only links inside a block of red text, so
   it is how they read as links. Hover thickens it rather than removing it. */
@media (hover: hover) {
  .bk__summary-list a:hover { text-decoration-thickness: 2px; }
}

/* the marker beside a required label. Quiet by colour, not by shrinking below
   the one micro size in the system: it is the only word that says the field
   cannot be skipped, so it has to stay readable. */
.bk__req {
  display: inline; margin-left: .55rem;
  font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--char-soft);
}

/* the inline error. The field's grid declares three rows: label, input and one
   error line, and an explicit track exists whether or not anything sits in it.
   So the line is reserved from the first paint and nothing below the field
   moves when a message appears. (The reset's [hidden] display:none !important
   stays untouched: this reserves the room without un-hiding anything.) */
.bk__field { grid-template-rows: auto auto calc(var(--t-ui) * 1.35); }   /* exactly one error line */
.bk__err {
  display: block; align-self: start;
  font-size: var(--t-ui); line-height: 1.35; color: var(--bad);
}

/* ---------------------------------------------------------------
   29 · SCROLL REVEAL, IMAGE SETTLE, THREAD DRAW
   JS contract: [data-reveal] gets .is-in (immediately under reduced
   motion) and an inline transition-delay. CSS never sets that delay.
   The hidden state exists only under html.js so no-JS renders fully.
--------------------------------------------------------------- */
/* Retimed for section 35: a shorter travel on the silk curve, with opacity
   leading, so a section reads as one thing arriving rather than eight things
   queueing. initReveals caps the stagger to match. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 620ms var(--ease), transform 900ms var(--silk-glide);
}
html.js [data-reveal].is-in, [data-reveal].is-in { opacity: 1; transform: none; }

/* The one photographic signature: mood images start at 1.06 and relax to 1
   when their [data-reveal] ancestor arrives. Hover (1.03) wins once revealed. */
html.js .cat-card[data-reveal]:not(.is-in) .cat-card__img { transform: scale(1.06); }
.about__frame img { transform: scale(1); transition: transform var(--d-image) var(--ease); }
html.js .about__media[data-reveal]:not(.is-in) .about__frame img { transform: scale(1.06); }

/* ---------------------------------------------------------------
   30 · HERO VIDEO / DARK-HERO FAMILY  (active: script.js adds
        .nav--dark-hero and swaps in the cream logo when .hero--video
        or .page-hero--media exists, i.e. on every page; the pictures
        themselves live in section 31c)
--------------------------------------------------------------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: none; transform: none; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(22,22,22,.55); }
.hero--video { background: var(--ink); border-bottom-color: var(--ink-line); }
.hero--video .hero__title, .hero--video .hero__lede { color: var(--linen); }
.hero--video .hero__title-em, .hero--video .hero__dot, .hero--video .hero__lede em { color: rgba(255,255,255,.7); }
.hero--video .hero__eyebrow { color: var(--char-mute); }
.hero--video .hero__scroll { color: var(--char-mute); }
.hero--video .hero__scroll-line { background: var(--ink-line); }
.hero--video .hero__scroll-line::after { background: var(--linen); }
.hero--video .hero__thread path { stroke: var(--ink-line); }
.hero--video .btn--gold { background: var(--linen); color: var(--char); border-color: var(--linen); }
.hero--video .btn--gold:hover { background: var(--sand-deep); border-color: var(--sand-deep); }
.hero--video .btn--ghost { color: var(--linen); border-color: rgba(255,255,255,.4); }
.hero--video .btn--ghost:hover { border-color: var(--linen); background: var(--linen); color: var(--ink); }
.hero--video .hero__orb { display: none; }

.nav--dark-hero:not(.is-scrolled) .nav__link,
.nav--dark-hero:not(.is-scrolled) .nav__logo-tag { color: var(--linen); }
.nav--dark-hero:not(.is-scrolled) .nav__link::after { background: var(--linen); }
.nav--dark-hero:not(.is-scrolled) .nav__logo-tag { border-left-color: var(--ink-line); }
.nav--dark-hero:not(.is-scrolled) .nav__cta { color: var(--linen); border-color: var(--linen); }
.nav--dark-hero:not(.is-scrolled) .nav__cta:hover,
.nav--dark-hero:not(.is-scrolled) .nav__cta:focus-visible { background: var(--linen); color: var(--char); border-color: var(--linen); }
.nav--dark-hero:not(.is-scrolled) .nav__burger span { background: var(--linen); }
.nav--dark-hero:not(.is-scrolled) :focus-visible { outline-color: var(--linen); }   /* logo, links, CTA, burger: the ink ring would vanish on the picture */
/* …but never inside the paper mobile overlay */
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__link { color: var(--char); }
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__link.is-active { color: var(--gold); }
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__logo-tag { color: var(--gold); border-left-color: var(--line-strong); }
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__burger span { background: var(--char); }
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__cta { color: var(--linen); border-color: var(--char); background: var(--char); }
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__cta:hover,
body.menu-open .nav--dark-hero:not(.is-scrolled) .nav__cta:focus-visible { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--linen); }
body.menu-open .nav--dark-hero:not(.is-scrolled) :focus-visible { outline-color: var(--char); }
/* without JS the bar never learns it is on a picture (no .nav--dark-hero, no
   .is-scrolled), so it keeps its paper ground and its ink stays legible */
html.no-js .nav { border-bottom-color: var(--line); }
html.no-js .nav::before { opacity: 1; }

/* ---------------------------------------------------------------
   31 · RESPONSIVE  (descending, so narrower rules win)
   ≤1160 burger + overlay · ≤1050 journey 2-col · ≤980 spreads stack ·
   ≤899 gallery 2-col · ≤860 branches/stats/points/cta/ledger/head ·
   ≤760 ticks 1-col · ≤720 cat-grid + why 1-col · ≤560 phone · ≤380 xs
--------------------------------------------------------------- */
@media (max-width: 1279px) {
  .page-hero ~ .gallery .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .page-hero ~ .gallery .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

/* the two bleeds and the strip's right bleed exist from 981px up
   (--bleed = distance from the container edge to the viewport edge, so they
   land on the edge above --maxw too; html/body overflow-x: clip absorbs 100vw) */
@media (min-width: 981px) {
  .cmp { margin-inline-start: calc(-1 * var(--bleed)); width: calc(100% + var(--bleed)); }
  .rv__strip, #rvStrip { width: calc(100% + var(--bleed)); padding-right: var(--bleed); }
  /* about.html: mirrored spread, portrait bleeds right */
  .page-hero ~ .about .about__media { grid-column: 8 / -1; margin-inline-start: 0; margin-inline-end: calc(-1 * var(--bleed)); }
  .page-hero ~ .about .about__body > * { grid-column: 1 / 7; }
  .page-hero ~ .about .about__body > .stats { grid-column: 1 / -1; grid-row: 6; }
  .page-hero ~ .about .about__badge { left: -1.5rem; right: auto; }
  .page-hero ~ .about .about__ring { inset: 20px 20px -20px -20px; }
}

/* burger + paper overlay */
@media (max-width: 1160px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 1050;
    display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: calc(var(--nav-h-scrolled) + 2rem) var(--gutter) 1.5rem;
    background: var(--linen);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--d) var(--ease), transform var(--d) var(--ease), visibility 0s linear var(--d);
  }
  body.menu-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__link {
    width: 100%; margin: 0; flex: none;
    font: 400 clamp(2rem, 7vw, 2.75rem)/1.1 var(--f-display); letter-spacing: -0.01em; color: var(--char);
    padding: 1.1rem 0; border-bottom: 1px solid var(--line-strong);
    opacity: 0; transform: translateY(10px);
    transition: opacity var(--d) var(--ease), transform var(--d) var(--ease), color var(--d) var(--ease);
  }
  .nav__link:first-child { margin-inline-start: 0; }
  .nav__link:nth-last-child(2) { margin-bottom: 1.5rem; }   /* breathing room before the CTA when the list overflows */
  .nav__link::after { display: none; }
  .nav__link:hover { color: var(--char); }
  .nav__link.is-active { color: var(--gold); }
  body.menu-open .nav__link { opacity: 1; transform: none; }
  body.menu-open .nav__link:nth-child(1) { transition-delay: 40ms; }
  body.menu-open .nav__link:nth-child(2) { transition-delay: 80ms; }
  body.menu-open .nav__link:nth-child(3) { transition-delay: 120ms; }
  body.menu-open .nav__link:nth-child(4) { transition-delay: 160ms; }
  body.menu-open .nav__link:nth-child(5) { transition-delay: 200ms; }
  body.menu-open .nav__link:nth-child(6) { transition-delay: 240ms; }
  body.menu-open .nav__link:nth-child(7) { transition-delay: 280ms; }
  .nav .nav__cta {
    margin: auto 0 0; width: 100%; height: 60px; flex: none; justify-content: center;
    background: var(--char); color: var(--linen); border-color: var(--char); font-size: var(--t-ui);
  }
  .nav .nav__cta:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
  .hero__scroll { display: none; }
}

@media (max-width: 1050px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .j-step:last-child { grid-column: 1 / -1; }
}

/* every two-column spread stacks; sticky asides become static */
@media (max-width: 980px) {
  /* hero: single column, rows auto */
  .hero__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto auto; }
  .hero__eyebrow, .hero__title, .hero__thread, .hero__lede, .hero__actions { grid-column: 1 / -1; }
  .hero__thread { grid-row: 3; margin: 1rem 0; }
  .hero__lede { grid-row: 4; max-width: 100%; }
  .hero__actions { grid-row: 5; }

  /* page hero */
  .page-hero .crumbs, .page-hero .eyebrow, .page-hero__title, .page-hero__lede { grid-column: 1 / -1; }
  .page-hero__lede { margin-top: 1.5rem; max-width: 100%; }
  .page-hero__thread { display: none; }

  /* about: media first, full-bleed both sides, plaque inside the frame, ring hidden */
  .about__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .about__body { display: block; }
  .about__media { grid-column: auto; grid-row: auto; margin: 0 0 2.5rem; margin-inline: calc(-1 * var(--gutter)); }
  .about__body > * { grid-column: auto; }
  .about__body > .eyebrow { padding-top: 0; }
  .about__badge { right: 1rem; bottom: 1rem; left: auto; }
  .page-hero ~ .about .about__badge { left: 1rem; right: auto; }
  .about__ring { display: none; }

  /* services.html rows: image above body */
  .page-hero ~ .services .cat-card { grid-template-columns: 1fr; }
  .page-hero ~ .services .cat-card__img,
  .page-hero ~ .services .cat-card__body,
  .page-hero ~ .services .cat-card:nth-child(even) .cat-card__img,
  .page-hero ~ .services .cat-card:nth-child(even) .cat-card__body { grid-column: 1 / -1; grid-row: auto; }
  .page-hero ~ .services .cat-card__body { padding-top: 1.75rem; }

  /* gallery slider bleeds both sides */
  .cmp { margin-inline: calc(-1 * var(--gutter)); width: auto; }

  /* why */
  .why__grid { grid-template-columns: 1fr 1fr; }

  /* hours */
  .hours__wrap { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .hours__intro, .hours__card { grid-column: 1 / -1; align-self: start; }

  /* footer */
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1 / 7; }
  .footer__contact { grid-column: 7 / -1; }

  /* service pages */
  .svc { grid-template-columns: 1fr; }
  .svc__body { grid-column: 1 / -1; }
  .svc__aside { grid-column: 1 / -1; position: static; margin-top: 3rem; }

  /* booking */
  .bk { grid-template-columns: 1fr; }
  .bk__form { grid-column: 1 / -1; }
  aside.bk__summary { grid-column: 1 / -1; position: static; margin-top: 2.5rem; }
}

@media (max-width: 899px) {
  .gallery__grid, .page-hero ~ .gallery .gallery__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}

@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; }
  .section__head .section__title, .why .section__head .section__title { grid-column: 1 / -1; max-width: none; }
  .section__head .section__sub { grid-column: 1 / -1; grid-row: 3; margin-top: 1.25rem; padding-bottom: 0; }

  .branches { grid-template-columns: 1fr; }
  .branch { padding-right: 0; }
  .branch + .branch { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; }

  .stats { grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
  .stat, .stat + .stat { padding: 1.5rem 1.25rem; }
  .stat__num { font-size: clamp(2.4rem, 9vw, 3rem); }
  .about__points { grid-template-columns: 1fr; }

  .cta-band .container { grid-template-columns: 1fr; row-gap: 0; }
  .cta-band__title, .cta-band__sub, .cta-band__actions { grid-column: 1 / -1; grid-row: auto; }
  .cta-band__sub { margin-top: 1.5rem; }
  .cta-band__actions { margin-top: 2rem; }

  .prod-card { grid-template-columns: 1fr; padding: 1.75rem 0; margin-inline: 0; row-gap: .5rem; }
  .prod-card__cat, .prod-card__title, .prod-card__desc, .prod-card__foot { grid-column: 1 / -1; max-width: none; }
  .prod-card__foot { text-align: start; margin-top: .75rem; }

  .filters { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
}

@media (max-width: 760px) {
  .svc__body ul.ticks, ul.ticks { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .cat-grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 22px 1fr; gap: 1rem; align-items: start; min-height: 0; padding: 1.5rem; }
  .feat__ico { margin: .2em 0 0; }
  .feat__title { grid-column: 2; margin-bottom: 0; }
  .feat__desc { grid-column: 2; margin-top: .4rem; }
}

@media (max-width: 560px) {
  .nav { height: var(--nav-h-scrolled); }
  .nav__logo img, .nav.is-scrolled .nav__logo img { height: 44px; }

  .hero { min-height: 92svh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn + .btn { margin-left: 0; margin-top: -1px; }

  .services__foot { flex-direction: column; align-items: stretch; }
  .services__foot .btn { width: 100%; }

  /* tap targets: chips grow to ~36px; the desc margin and a negative bottom margin
     hand the added padding back so the visual rhythm is unchanged */
  .cat-chip { padding-block: .6rem; }
  .cat-chips { row-gap: 0; margin-bottom: -.6rem; }
  .cat-card__desc { margin-bottom: calc(1.75rem - .6rem); }
  .filter { padding: 1rem .25rem; margin-right: 1.25rem; }
  .cmp__tag { font-size: .625rem; }
  .cmp__grip { width: 40px; height: 40px; }

  .journey { grid-template-columns: 1fr; }
  .j-step:last-child { grid-column: auto; }

  .rv-shot { height: clamp(260px, 62vw, 340px); }
  .tst__arrow { width: 44px; height: 44px; }

  .page-hero ~ .contact .branch__city, .branch__city { font-size: clamp(2rem, 9vw, 2.6rem); }
  .btn--wa { width: 100%; }
  .social { gap: 1.5rem; }
  .social__row { gap: 1.5rem; }

  .footer__brand, .footer__nav, .footer__contact { grid-column: 1 / -1; }
  .footer__bottom-in { flex-direction: column; align-items: flex-start; gap: .5rem; }

  .opt-grid, .bk__fields { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .slot { height: 48px; }
  .bk input[type="text"], .bk input[type="tel"], .bk input[type="date"], .bk select { font-size: 1rem; }

  .acc summary { font-size: 1.15rem; grid-template-columns: 1fr 16px; gap: 1.25rem; }
  .acc summary::after { width: 16px; height: 16px; }
  .acc__a { padding-right: 0; max-width: none; }

  .fab-wa { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
  .to-top { display: none; }
  .modal { padding: 1rem; }
  .modal__panel { width: calc(100% - 2rem); padding: 1.75rem; }
  .modal__close { top: .75rem; right: .75rem; }
  .modal__close, .footer__social a { width: 44px; height: 44px; }   /* tap targets */
  .lightbox { padding: 1rem 1rem 4.5rem; }
  .lightbox__close, .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: 1rem; }
  .lightbox__close { right: 1rem; }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: calc(1rem + 44px + .75rem); }
  .lightbox__fig img, #lbImg { max-height: calc(100svh - 8rem); }
}

/* extra-small phones (320 to 380px) */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(2.9rem, 14vw, 3.4rem); }
  .page-hero__title { font-size: clamp(2.6rem, 12vw, 2.8rem); }
  .section__title { font-size: clamp(2.1rem, 10vw, 2.3rem); }
  .gallery__grid, .page-hero ~ .gallery .gallery__grid { grid-template-columns: 1fr; }
  .btn { padding-inline: 1.25rem; }
  .btn--lg { padding-inline: 1.5rem; }
}

/* ---------------------------------------------------------------
   31b · FILMS  (the silent loop element and its pause / play control)
   video[data-film] is a short, silent colour loop that serves as a
   header background (see 31c); its poster is the still it rests on.
   JS contract (initFilms): the film carries data-src (and optionally
   data-src-portrait); the src is attached on approach, the film plays
   only while in view, and its [data-media-toggle] button (the next
   sibling of the film, or of the film's wrapper) flips aria-pressed.
   JS adds .is-film-live to a film that is playing and .is-paused to
   its parent after a user pause. No JS, reduced motion or Save-Data:
   the poster simply stays.
--------------------------------------------------------------- */

/* the film element: a silent loop that behaves like a photograph */
.film {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  background: var(--sand-deep);            /* loading ground (spec §9 law 4) */
  border: 0; border-radius: 0; box-shadow: none;
  pointer-events: none;                    /* decorative: no context menu, no native overlays */
}
.film::-webkit-media-controls { display: none !important; }

/* PAUSE / PLAY: a 32px hairline square inside a 44px hit area.
   ::before draws the square, ::after the icon (pause = one box whose left and
   right borders are the two 2px bars; play = a border triangle). No text. */
.film-toggle {
  position: absolute; z-index: 2;
  right: calc(var(--mat) + 6px); bottom: calc(var(--mat) + 6px);   /* default corner, 12px in; .film-toggle--hero (31c) places it on a header */
  width: 44px; height: 44px; padding: 0; margin: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  color: #FFFFFF; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.film-toggle::before {
  content: ""; position: absolute; inset: 6px;
  background: rgba(22,22,22,.6);             /* worst case over a white frame is about #737373: 4.7:1 against the white icon (WCAG 1.4.11) */
  border: 1px solid rgba(255,255,255,.8);
  transition: background-color var(--d) var(--ease), border-color var(--d) var(--ease);
}
.film-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 10px; margin: -5px 0 0 -4px;
  border: 0 solid currentColor; border-width: 0 2px;
}
.film-toggle[aria-pressed="true"]::after {
  width: 0; height: 0; margin: -5px 0 0 -3px;
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
/* focus: white hairline / ink hairline / solid ink square, legible on any frame */
.film-toggle:focus-visible { outline: 1px solid #FFFFFF; outline-offset: -3px; }
.film-toggle:focus-visible::before {
  background: var(--ink); border-color: #FFFFFF;
  outline: 1px solid var(--ink); outline-offset: 0;
}
@media (hover: hover) {
  .film-toggle:hover::before { background: rgba(22,22,22,.72); border-color: #FFFFFF; }
}
.film-toggle:active::before { background: rgba(22,22,22,.72); border-color: #FFFFFF; transition-duration: 120ms; }
/* nothing to control without JS (the poster is the photograph) */
html.no-js .film-toggle, .film-toggle[hidden] { display: none; }

/* ---------------------------------------------------------------
   31c · HERO BACKGROUNDS  (every page header sits on its own picture)
   Markup: .hero-bg[data-bg="slug"] is the FIRST child of the host
   section (.hero.hero--video.hero--media on index, .page-hero.page-hero--media
   on the inner pages). It holds one <picture> (a still) or one video.film
   (a loop); on the film pages button.film-toggle--hero follows it.
   Paint order inside the host: .hero-bg (z 0: the picture, then its
   ::after scrim), content (.hero__inner z 2, .page-hero .container z 1),
   control (z 3). All copy on these heroes is light. The pictures are in
   full colour and are never filtered here; the grade lives in the files.

   SCRIM. Copy sits on both sides (title left, lede and actions right)
   and the nav crosses the top, so the scrim holds EVERYWHERE: an even
   ink layer (.60) under a vertical gradient that never drops below .12
   and deepens to .50 at the foot, plus a left-hand gradient (.32 to 0).
   Worst case = a pure white frame at the scrim's weakest point:
     coverage = 1 - (1 - .60) * (1 - .12)      = .648
     ground   = 255 - (255 - 22) * .648        = 104  (#686868, luminance .138)
     #FAFAFA titles, nav ink    (.956 + .05) / (.138 + .05) = 5.3:1
     rgba(255,255,255,.88) small copy, composited #EDEDED (.846)   = 4.75:1
     rgba(255,255,255,.7) italic <em>, composited #D2D2D2 (.642)   = 3.7:1
                                (display sizes only, where 3:1 is the bar)
   From 980px down the copy stacks in one column, so the scrim there is
   even across the width with a floor of 1 - .40 * .86 = .656 (ground #666666).
   Any frame darker than white only raises these numbers. Small copy here
   therefore never uses the grey tokens (--char-mute, --char-soft):
   it uses --on-media or lighter.
--------------------------------------------------------------- */
.hero--media, .page-hero--media { --on-media: rgba(255,255,255,.9); }
/* a wide, soft halo of ink behind the copy: invisible as a shadow, it only keeps
   letters clean where a bright part of the picture passes behind them */
.hero--media .hero__inner, .page-hero--media .container { text-shadow: 0 0 28px rgba(22,22,22,.55), 0 1px 2px rgba(22,22,22,.35); }
.hero--media .btn, .page-hero--media .btn { text-shadow: none; }

/* the ground and the picture */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: var(--ink);                  /* what shows while the picture loads, or if it never does */
}
.hero-bg picture { display: block; position: absolute; inset: 0; }
.hero-bg .hero-bg__media {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--bg-pos, 50% 50%);
  background: var(--ink);                  /* replaces the plaster ground of .film: nothing flashes light on ink */
  border: 0; border-radius: 0; box-shadow: none;
}
/* The owner wants the COLOUR to read, so the even layer is lighter (.42) than the
   worst-case arithmetic above assumes, and the weight moves to where the copy
   actually sits: the nav strip at the top, the title column on the left and the
   lede band along the foot. Behind the lede (about 80% down) coverage is still
   1 - .58 * .62 = .64; behind the title (left, about 60% down) 1 - .58 * .80 * .58 = .73;
   the picture's own subject (centre and right, upper half) sits under only about .49. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,22,22,.34) 0%, rgba(22,22,22,.12) 22%, rgba(22,22,22,.12) 46%, rgba(22,22,22,.58) 100%),
    linear-gradient(90deg, rgba(22,22,22,.46) 0%, rgba(22,22,22,.22) 38%, rgba(22,22,22,0) 72%),
    rgba(22,22,22,.42);
}

/* FOCAL POINTS. One line per header: --bg-pos frames the picture on wide
   screens, --bg-pos-sm from 760px down (where the films switch to their
   portrait cut and the stills are cropped to a tall box). Both are
   object-position values (x y). Everything starts centred because the
   pictures were not in place when this was written: tune a line here once
   its picture is, nothing else needs to change. */
.hero-bg[data-bg="home"]            { --bg-pos: 50% 50%; --bg-pos-sm: 62% 50%; }
.hero-bg[data-bg="about"]           { --bg-pos: 50% 50%; --bg-pos-sm: 80% 50%; }
.hero-bg[data-bg="services"]        { --bg-pos: 60% 45%; --bg-pos-sm: 68% 45%; }
.hero-bg[data-bg="products"]        { --bg-pos: 60% 40%; --bg-pos-sm: 74% 40%; }
.hero-bg[data-bg="before-after"]    { --bg-pos: 50% 50%; --bg-pos-sm: 45% 50%; }
.hero-bg[data-bg="faq"]             { --bg-pos: 55% 55%; --bg-pos-sm: 62% 55%; }
.hero-bg[data-bg="contact"]         { --bg-pos: 40% 45%; --bg-pos-sm: 38% 45%; }
.hero-bg[data-bg="book"]            { --bg-pos: 55% 40%; --bg-pos-sm: 62% 40%; }
.hero-bg[data-bg="botox"]           { --bg-pos: 58% 45%; --bg-pos-sm: 64% 45%; }
.hero-bg[data-bg="dermal-filler"]   { --bg-pos: 50% 35%; --bg-pos-sm: 50% 35%; }
.hero-bg[data-bg="dentistry"]       { --bg-pos: 50% 55%; --bg-pos-sm: 45% 55%; }
.hero-bg[data-bg="veneers"]         { --bg-pos: 55% 45%; --bg-pos-sm: 58% 45%; }
.hero-bg[data-bg="laser"]           { --bg-pos: 70% 40%; --bg-pos-sm: 80% 40%; }
.hero-bg[data-bg="facial"]          { --bg-pos: 50% 50%; --bg-pos-sm: 55% 50%; }
.hero-bg[data-bg="hydrafacial"]     { --bg-pos: 50% 50%; --bg-pos-sm: 50% 50%; }
.hero-bg[data-bg="peeling"]         { --bg-pos: 70% 50%; --bg-pos-sm: 78% 50%; }
.hero-bg[data-bg="skin-boosters"]   { --bg-pos: 50% 40%; --bg-pos-sm: 50% 40%; }   /* film  */
.hero-bg[data-bg="exosomes"]        { --bg-pos: 60% 45%; --bg-pos-sm: 50% 50%; }   /* film  */
.hero-bg[data-bg="body-contouring"] { --bg-pos: 50% 55%; --bg-pos-sm: 50% 50%; }   /* film  */
@media (max-width: 760px) {
  .hero-bg[data-bg] { --bg-pos: var(--bg-pos-sm, 50% 50%); }   /* same breakpoint as the portrait cut in initFilms */
}

/* STILLS breathe: a very slow drift around the focal point, transform only.
   Never on a film (it already moves). Off under reduced motion (section 34). */
@keyframes bgDrift { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-bg img.hero-bg__media {
  transform-origin: var(--bg-pos, 50% 50%);
  animation: bgDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* INNER PAGES: a taller, cinematic header. The section becomes a column so its
   container can fill the height; the existing 12-column grid keeps every
   placement and only gains a 1fr row between the crumbs and the eyebrow, so
   the crumbs stay under the nav while eyebrow, title and lede settle into the
   lower third. min-height only: a long title or a short window simply grows
   the header, nothing is ever clipped. */
.page-hero--media {
  background: var(--ink); overflow: hidden; border-bottom-color: var(--ink-line);
  display: flex; flex-direction: column;
  min-height: clamp(460px, 68vh, 720px);
  min-height: clamp(460px, 68svh, 720px);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.page-hero--media > .container { flex: 1 0 auto; grid-template-rows: auto 1fr auto auto; }
.page-hero--media .eyebrow { align-self: end; }

/* light ink */
.page-hero--media .crumbs,
.page-hero--media .crumbs a { color: var(--on-media); }
.page-hero--media .crumbs a:hover,
.page-hero--media .crumbs a:focus-visible { color: #FFFFFF; text-decoration-color: currentColor; }
.page-hero--media .crumbs > span:last-child { color: var(--linen); }
.page-hero--media .crumbs__sep { color: rgba(255,255,255,.55); }   /* punctuation only */
.page-hero--media .eyebrow { color: var(--on-media); }             /* .eyebrow__dot follows through currentColor */
.page-hero--media .page-hero__title { color: var(--linen); }
.page-hero--media .page-hero__title em { color: rgba(255,255,255,.7); }
.page-hero--media .page-hero__lede { color: var(--on-media); }
.page-hero--media .page-hero__thread,
.hero--media .hero__thread { opacity: 1; }
.page-hero--media .page-hero__thread path,
.hero--media .hero__thread path { stroke: rgba(255,255,255,.5); }  /* CSS stroke beats the inline gradient attribute */
.hero--media :focus-visible,
.page-hero--media :focus-visible { outline-color: var(--linen); }

/* CUSTOM CURSOR ON A PICTURE. Section 7 paints the dot and the ring in mid-gray
   (#6B6B6B, #545454 on hover) and hides the native pointer; on the scrimmed
   picture (ground between about #2A2A2A and #686868) that is close to 1:1.
   While the pointer is over a picture header, or over the bar that floats on
   it, the dot and ring turn light. The ink outline keeps the dot visible on
   the linen primary button. :not(.menu-open) leaves the gray cursor on the
   paper mobile overlay. A browser without :has() keeps the section 7 cursor. */
body.cursor-on:not(.menu-open):has(.hero--media:hover, .page-hero--media:hover, .nav--dark-hero:not(.is-scrolled):hover) .cursor { background: var(--linen); outline: 1px solid var(--char); }
body.cursor-on:not(.menu-open):has(.hero--media:hover, .page-hero--media:hover, .nav--dark-hero:not(.is-scrolled):hover) .cursor-ring { border-color: rgba(255,255,255,.75); }
body.cursor-on:not(.menu-open):has(.hero--media:hover, .page-hero--media:hover, .nav--dark-hero:not(.is-scrolled):hover) .cursor-ring.is-hover { border-color: #FFFFFF; background: rgba(255,255,255,.1); }

/* HOME: the section carries "hero hero--video hero--media", so the dark-hero
   family in section 30 already turns the title, lede, buttons and scroll cue
   light. What follows only lifts the small copy off the grey tokens, keeps
   the grain off the picture and gives the buttons their focus and press states. */
.hero--media .hero__grain { display: none; }
.hero--media .hero__eyebrow,
.hero--media .hero__scroll { color: var(--on-media); }
.hero--media .hero__lede em { color: #FFFFFF; }                    /* body-size italic: the .7 of the display <em> would miss 4.5:1 */
.hero--media .hero__scroll-line { background: rgba(255,255,255,.3); }
.hero--media .btn--ghost { border-color: rgba(255,255,255,.55); }
.hero--media .btn--gold:focus-visible,
.hero--media .btn--gold:active { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--char); }
.hero--media .btn--ghost:focus-visible,
.hero--media .btn--ghost:active { border-color: var(--linen); background: var(--linen); color: var(--ink); }

/* PAUSE / PLAY ON A HEADER. Bottom-right is taken: .fab-wa is fixed at
   right 1.5rem / bottom 1.5rem (56px plus its 6px ring), and up to about
   1550px wide the container's right edge falls inside that column, so on the
   full-height home hero the two would overlap at scroll 0 (on phones at every
   width). The control therefore hangs on the container's LEFT edge: the
   visible square lines up with the text column. The edge is measured the
   way .hero__scroll measures it (from the section's own width, not from
   --bleed, which counts the scrollbar in its 100vw). z 3 lifts the control
   above .hero__inner, whose box covers the whole hero. */
.film-toggle--hero {
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2));   /* the container's left edge inside the section */
  z-index: 3;
  left: calc(var(--edge) - 6px); right: auto;
  bottom: clamp(1rem, 3vw, 2rem);
}
/* home, while the scroll cue is on screen (it hides at 1160px wide and at 660px
   tall): the cue owns the container's left edge, so the control steps to its
   right and stands on the same baseline (cue: bottom 2.5rem, about 56px wide) */
@media (min-width: 1161px) and (min-height: 661px) {
  .hero--media .film-toggle--hero { left: calc(var(--edge) + 5rem); bottom: calc(2.5rem - 6px); }
}

/* short windows (small laptops): give back some of the headroom above the
   crumbs so a two-line title still fits inside the first screen */
@media (min-width: 981px) and (max-height: 720px) {
  .page-hero--media { padding-top: calc(var(--nav-h) + 2.5rem); }
}

/* ABOUT: the back-lit Soie sign fills nearly the full height of its photograph, so this
   one header stands taller: the whole wordmark stays inside the frame on a desktop. */
@media (min-width: 981px) {
  .page-hero--tall { min-height: clamp(560px, 90vh, 920px); min-height: clamp(560px, 90svh, 920px); }
}

/* stacked layouts: one text column, so the scrim is even across the width */
@media (max-width: 980px) {
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(22,22,22,.34) 0%, rgba(22,22,22,.12) 24%, rgba(22,22,22,.2) 42%, rgba(22,22,22,.62) 100%),
      rgba(22,22,22,.44);
  }
  .page-hero--media {
    min-height: clamp(420px, 62vh, 640px);
    min-height: clamp(420px, 62svh, 640px);
    padding-bottom: 4.5rem;                /* the lede ends 18px above the control's square */
  }
  .film-toggle--hero { bottom: 1rem; }
}
@media (max-width: 600px) {
  .page-hero--media {
    min-height: clamp(400px, 58vh, 560px);
    min-height: clamp(400px, 58svh, 560px);
  }
}

/* ---------------------------------------------------------------
   32 · TOUCH  (no hover): plaques and markers always visible,
        no image scale, presses answer in 120ms, cursor hidden
--------------------------------------------------------------- */
@media (hover: none) {
  .ba::after { opacity: 1; }
  .cat-card:hover .cat-card__img { transform: none; }
  .cat-card:hover .cat-card__title { color: var(--char); }
  .btn:hover, .btn--wa:hover, .social__link:hover, .branch:hover, .rv-shot:hover, .ba:hover, .filter:hover, .slot:hover { transform: none; }
  .btn:active, .filter:active, .slot:active, .nav__link:active, .cat-chip:active, .footer__nav a:active, .modal__branch:active, .social__link:active { transition-duration: 120ms; }
  .btn--gold:active { background: var(--gold-deep); border-color: var(--gold-deep); }
  .btn--ghost:active, .btn--wa:active { background: var(--char); color: var(--linen); }
  .modal__branch:active { background: var(--sand); }
  .cursor, .cursor-ring { display: none; }
}

/* ---------------------------------------------------------------
   33 · PAGE TRANSITIONS  (View Transitions API; opacity only)
--------------------------------------------------------------- */
@view-transition { navigation: none; }
::view-transition-old(root) { animation: vtOut 240ms var(--ease-2) both; }
::view-transition-new(root) { animation: vtIn 360ms var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------
   35 · SILK  (the motion system)
   "Soie" is French for silk, so the physics is silk: nothing snaps,
   nothing bounces, everything has weight and settles. Two ideas
   carry it and the rest answers something the visitor did.
     A · THE ARRIVAL. The header photograph is uncovered, never
         faded, and the words follow it in one short cascade. Once
         per page, then the page is calm and [data-reveal] takes
         over below the fold exactly as before.
     B · THE RAIL. The brand's hairline measures how far you have
         read. Pure CSS on a scroll timeline, so it costs no main
         thread at all; where scroll timelines are missing the
         track simply stays empty.
     C · THE LEAN. On a fine pointer the photograph leans a few
         pixels toward the hand. script.js writes --px and --py
         already smoothed, and CSS only reads them.
   Only transform, opacity and clip-path animate here. The img
   inside keeps its own bgDrift, so the lean and the uncover are
   applied to the wrapper around it and never fight it.
--------------------------------------------------------------- */

/* A · THE ARRIVAL --------------------------------------------- */
@keyframes silkUncover { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes silkRise    { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
/* the headline is not faded in: it is uncovered, top line first, the way it
   is read. The -14% keeps descenders and the italic's overhang out of the clip. */
@keyframes silkUnmask  { from { clip-path: inset(-14% 0 104% 0); } to { clip-path: inset(-14% 0 -14% 0); } }

html.is-arrived .hero-bg picture,
html.is-arrived .hero-bg video.hero-bg__media {
  animation: silkUncover 1150ms var(--silk-glide) both;
}
/* the copy: one cascade, done inside 1.5s */
html.is-arrived .hero__inner > [data-reveal],
html.is-arrived .page-hero--media > .container > [data-reveal] {
  opacity: 1; transform: none; transition: none;
  animation: silkRise 820ms var(--silk-glide) both;
}
/* the headline overrides the cascade above, so it has to out-specify it */
html.is-arrived .hero__inner > .hero__title,
html.is-arrived .page-hero--media > .container > .page-hero__title {
  animation: silkUnmask 1000ms var(--silk-glide) 150ms both;
}
html.is-arrived .hero__eyebrow,
html.is-arrived .page-hero--media .crumbs              { animation-delay: 60ms; }
html.is-arrived .page-hero--media .eyebrow             { animation-delay: 240ms; }
html.is-arrived .hero__lede,
html.is-arrived .page-hero--media .page-hero__lede     { animation-delay: 400ms; }
html.is-arrived .hero__thread,
html.is-arrived .page-hero--media .page-hero__thread   { animation-delay: 520ms; }
html.is-arrived .hero__actions                         { animation-delay: 560ms; }
html.is-arrived .hero__scroll {
  animation: silkRise 820ms var(--silk-glide) 700ms both;
}

/* B · THE RAIL ------------------------------------------------- */
.rail {
  position: fixed; z-index: 3; pointer-events: none;
  top: calc(var(--nav-h-scrolled) + 1.5rem); bottom: 1.5rem;
  left: max(calc(var(--gutter) / 2), calc((100vw - var(--maxw)) / 4));
  width: 1px; background: var(--line);
}
.rail__line {
  display: block; width: 100%; height: 100%;
  background: var(--gold); transform-origin: 50% 0; transform: scaleY(0);
}
@supports (animation-timeline: scroll()) {
  @keyframes silkRail { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  .rail__line { animation: silkRail linear both; animation-timeline: scroll(root block); }
}
@media (max-width: 1180px) { .rail { display: none; } }

/* C · THE LEAN  (desktop pointer only; script.js gates the class) */
html.silk-pointer .hero-bg[data-silk] picture,
html.silk-pointer .hero-bg[data-silk] video.hero-bg__media {
  transform: translate3d(calc(var(--px, 0) * var(--silk-reach)), calc(var(--py, 0) * var(--silk-reach)), 0);
}

/* D · THE MORPH  (cross-document and lightbox)
   Every page holds exactly one header picture and one page title, so giving
   them the same name on every page makes the browser carry them from page to
   page instead of cutting. script.js hands the name "exhibit" from a gallery
   thumbnail to the lightbox picture for the length of that transition only.
   Browsers without view transitions keep the plain opacity fade in section 33. */
.hero-bg__media                     { view-transition-name: page-media; }
.hero__title, .page-hero__title     { view-transition-name: page-title; }
::view-transition-group(page-media),
::view-transition-group(page-title),
::view-transition-group(exhibit)    { animation-duration: 520ms; animation-timing-function: var(--silk-glide); }
/* the picture cross-fades while its box travels, so neither side is squashed */
::view-transition-old(page-media),
::view-transition-new(page-media),
::view-transition-old(exhibit),
::view-transition-new(exhibit)      { animation-duration: 520ms; height: 100%; object-fit: cover; }

/* E · MOTION THAT ANSWERS AN ACTION --------------------------- */
/* the accordion opens instead of appearing: 0fr to 1fr is the only way to
   animate to an unknown height without touching layout properties */
.acc details .acc__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--d) var(--silk-glide);
}
.acc details .acc__a > * { min-height: 0; }
.acc details[open] .acc__a { grid-template-rows: 1fr; }
/* a press answers the finger before the browser has decided it was a tap */
.filter:active, .slot:active, .cat-chip:active, .film-toggle:active { transition-duration: 120ms; }
/* the mobile menu deals its links out rather than showing a finished list */
@media (max-width: 980px) {
  body.menu-open .nav__links .nav__link,
  body.menu-open .nav__links .nav__cta { animation: silkRise 520ms var(--silk-glide) both; }
  body.menu-open .nav__links > :nth-child(1) { animation-delay: 60ms; }
  body.menu-open .nav__links > :nth-child(2) { animation-delay: 105ms; }
  body.menu-open .nav__links > :nth-child(3) { animation-delay: 150ms; }
  body.menu-open .nav__links > :nth-child(4) { animation-delay: 195ms; }
  body.menu-open .nav__links > :nth-child(5) { animation-delay: 240ms; }
  body.menu-open .nav__links > :nth-child(6) { animation-delay: 285ms; }
  body.menu-open .nav__links > :nth-child(7) { animation-delay: 330ms; }
  body.menu-open .nav__links > :nth-child(8) { animation-delay: 375ms; }
}

/* F · THE CURSOR SAYS THE WORD  (script.js writes the text and the class) */
.cursor-ring.has-label {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center;
  background: rgba(22,22,22,.72); border-color: transparent;
  font: 500 .58rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--linen);
}
body.cursor-on:not(.menu-open):has(.hero--media:hover, .page-hero--media:hover) .cursor-ring.has-label { border-color: transparent; }

/* G · THE BOOKING BAR  (phones, treatment pages: the one page kind
   where a visitor already has intent). It clears the WhatsApp disc. */
.bookbar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(22, 22, 22, .93); border-top: 1px solid var(--ink-line);
  transform: translate3d(0, 110%, 0); transition: transform var(--d) var(--silk-glide);
}
.bookbar.is-up { transform: none; }
.bookbar__cta { width: calc(100% - 4.5rem); justify-content: center; }
@media (min-width: 761px) { .bookbar { display: none; } }

/* ---------------------------------------------------------------
   34 · REDUCED MOTION  (always the LAST block in the file)
   JS already short-circuits reveals, parallax, cursor and loader.
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cat-card__img, .about__frame img { transform: none !important; }
  .hero-bg__media { animation: none !important; transform: none !important; will-change: auto !important; }   /* no drift: the header picture holds still */
  .film-toggle { display: none !important; }   /* films never load here (initFilms); the poster is the photograph */
  /* section 35: the arrival lands instantly, the rail and the lean do not run at all */
  html.is-arrived .hero-bg picture, html.is-arrived .hero-bg video.hero-bg__media,
  html.is-arrived .hero__inner > [data-reveal], html.is-arrived .page-hero--media > .container > [data-reveal],
  html.is-arrived .hero__title, html.is-arrived .page-hero--media .page-hero__title, html.is-arrived .hero__scroll {
    animation: none !important; clip-path: none !important; opacity: 1 !important; transform: none !important;
  }
  .rail { display: none !important; }
  .bookbar { transition: none !important; }
  .acc details .acc__a { transition: none !important; }
  body.menu-open .nav__links .nav__link, body.menu-open .nav__links .nav__cta { animation: none !important; }
  .cursor-ring.has-label { display: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .page-hero ~ .services .cat-card__img { background-size: auto 100% !important; }
  .loader { display: none !important; }
  .marquee__track, .fab-wa__pulse, .hero__scroll-line::after { animation: none !important; }
  .hero__thread path, .page-hero__thread path, .thread-divider path, .loader__thread path { stroke-dashoffset: 0 !important; animation: none !important; }
  body.cursor-on, body.cursor-on * { cursor: auto !important; }
  body.cursor-on .cursor, body.cursor-on .cursor-ring { display: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
