/* Willow & Wren Salon: concept design by Parity (fictional business). Revision 2, 2026-10-31.
   Palette: "Mulberry and Blush" (adapted from Salon and Spa Palettes for this demo; ratios in the project note).
   Fonts (picked by the user 2026-11-05): Cormorant Garamond Semibold (headings, roman + italic) and
   Plus Jakarta Sans (text), self-hosted, SIL OFL 1.1. Both are subset to the characters the demo uses.
   Cormorant is pinned at weight 600 and set 20% larger (size-adjust) so its small x-height reads at the
   heading sizes the layout was drawn for. Plus Jakarta Sans replaced Jost in Revision 2 (Jost read small):
   larger x-height, 18-19 px base size. Prices, times and counts stay in the sans.
   Signature effect: "arch rise" clip-path reveal. Revision 2 adds: drawn header rules, a sliding tab
   indicator, stars that settle in one by one, and the hero willow drawing itself (desktop). */

/* Cormorant Garamond: one Semibold file per style serves every heading weight (400-700), so no synthetic bold */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600-normal-subset.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 120%;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600-italic-subset.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  size-adjust: 120%;
}
/* Size-matched Georgia fallback: widths measured on the page's h1/h2 text, ascent/descent matched to
   Cormorant at 120%, so the swap doesn't rewrap or shift the headings */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia");
  font-style: normal;
  size-adjust: 108.9%;
  ascent-override: 101.8%;
  descent-override: 31.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia Italic"), local("Georgia-Italic");
  font-style: italic;
  size-adjust: 98.6%;
  ascent-override: 112.5%;
  descent-override: 34.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-wght-normal-subset.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Size-matched fallback (metrics measured from the subset font) so the swap doesn't shift the layout */
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104.1%;
  ascent-override: 99.7%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}

:root {
  --mulberry: #4A1631;
  --mulberry-deep: #33101F;
  --oxblood: #8C2846;
  --blush: #F2C9C3;
  --blush-soft: #F8E3DF;
  --porcelain: #FAF5F1;
  --oat: #F1E6DE;
  --white: #FFFFFF;
  --ink: #2B1520;
  --muted: #6A5260;
  --on-dark: #FAF5F1;
  --on-dark-muted: #DCC3CE;
  --line: #E4D3CC;                     /* decorative rules only */
  --line-dark: rgb(250 245 241 / .2);  /* decorative rules on mulberry */
  --field-border: #8C7581;             /* 4.22:1 on white */
  --error: #A1232B;
  --focus: var(--oxblood);

  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Jakarta Fallback", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-arch: cubic-bezier(.65, 0, .15, 1);
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(3.5rem, 7vw, 6rem);
  --rail-w: 0px;
  --bar-h: 60px;
  --arch: 999px 999px 0 0; /* corner-overlap scaling turns this into a semicircular top */
  --slide-ms: 7000ms;
}
@media (min-width: 1024px) {
  :root { --rail-w: 88px; --bar-h: 0px; }
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
/* Author display rules (e.g. a grid button) beat the UA's [hidden] rule, so restate it. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* top: the sticky mobile bar; bottom: the fixed concept label never covers a focused field */
  scroll-padding-top: calc(var(--bar-h) + 1.25rem);
  scroll-padding-bottom: 76px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  padding-left: var(--rail-w);
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;   /* 18 px on phones, 19 px from 1024 px */
  line-height: 1.6;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 1024px) { body { font-size: 1.1875rem; } }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.35rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--oxblood); }
p { margin: 0; text-wrap: pretty; }

a { color: var(--oxblood); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

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

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--porcelain); color: var(--mulberry);
  padding: .75rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type helpers ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1rem;
  font: 700 .875rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.hero-kicker::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; flex-shrink: 0; }
/* Section number: a small filled arch, the salon's shape */
.k-num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: 2.5rem;
  height: 2.75rem;
  padding: .45rem .5rem 0;
  border-radius: 999px 999px 0 0;
  background: var(--mulberry);
  color: var(--blush);
  font: italic 500 1.15rem/1 var(--serif);
  letter-spacing: 0;
  text-transform: none;
}
.band-mulberry .k-num { background: var(--blush); color: var(--mulberry); }
.section-head { max-width: 62rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
/* Section headers stand out: very large Cormorant plus a short oxblood rule that draws in */
.section-head h2::after {
  content: "";
  display: block;
  width: clamp(3.5rem, 8vw, 6rem);
  height: 3px;
  margin-top: clamp(.9rem, 2vw, 1.3rem);
  background: var(--oxblood);
  transform-origin: left center;
}
.band-mulberry .section-head h2::after { background: var(--blush); }
.js .section-head.reveal h2::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .3s; }
.js .section-head.reveal.is-visible h2::after { transform: none; }
.section-lead { margin-top: 1.1rem; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.disclosure { margin-top: 2rem; font-size: 1rem; color: var(--muted); max-width: 44rem; }

/* ---------- Bands ---------- */
.band-mulberry { --focus: var(--blush); background: var(--mulberry); color: var(--on-dark); }
.band-mulberry h2 em, .band-mulberry h3 em { color: var(--blush); }
.band-mulberry .kicker { color: var(--blush); }
.band-mulberry .section-lead { color: var(--on-dark-muted); }
.band-mulberry .section-lead a { color: var(--blush); }
.band-oat { background: var(--oat); }
.band-blush { background: var(--blush); color: var(--mulberry); }
.band-blush .section-lead { color: var(--ink); }

/* ---------- Calls to action ---------- */
/* Framed button: square, letterspaced, with a hairline frame offset like stationery. */
.btn-framed {
  --bf-bg: var(--oxblood);
  --bf-fg: var(--porcelain);
  --bf-frame: var(--oxblood);
  --bf-hover: var(--mulberry);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 52px;
  margin: 5px;
  padding: .9rem 1.75rem;
  border: 0;
  border-radius: 0;
  background: var(--bf-bg);
  color: var(--bf-fg);
  font: 600 .875rem/1.2 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.btn-framed::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--bf-frame);
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.btn-framed:hover, .btn-framed:focus-visible { background: var(--bf-hover); text-decoration: none; }
.btn-framed:focus-visible { outline-offset: 8px; }
@media (hover: hover) and (pointer: fine) {
  .btn-framed:hover::after { transform: scale(1.035, 1.14); }
}
.btn-on-dark { --bf-bg: var(--blush); --bf-fg: var(--mulberry); --bf-frame: var(--blush); --bf-hover: var(--porcelain); }

/* Quiet link: italic serif with a hairline arrow that lengthens on hover. */
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--oxblood);
  font: italic 400 1.25rem/1.2 var(--serif);
  text-decoration: none;
  cursor: pointer;
}
.link-quiet::after {
  content: "";
  width: 1.9rem;
  height: 10px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5h58M53 .5 58.5 5 53 9.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") right center / auto 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5h58M53 .5 58.5 5 53 9.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") right center / auto 100% no-repeat;
  transition: width .4s var(--ease);
}
.link-quiet:hover, .link-quiet:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.link-quiet:hover::after, .link-quiet:focus-visible::after { width: 2.8rem; }
.link-sm { font-size: 1.1rem; }
.band-mulberry .link-quiet { color: var(--blush); }

/* ---------- Header: a vertical rail on desktop, a slim bar on phones ---------- */
.site-header {
  --focus: var(--blush);
  position: sticky;
  top: 0;
  z-index: 60;
  view-transition-name: site-header;
}
.rail {
  height: var(--bar-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .25rem;
  padding: 0 .5rem;
  background: var(--mulberry);
  color: var(--on-dark);
}
.menu-toggle, .nojs-menu, .menu-close {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: 0 .55rem;
  border: 0;
  background: none;
  color: inherit;
  font: 600 .8125rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.menu-toggle { justify-self: start; }
.nojs-menu { justify-self: start; }
.js .nojs-menu, html:not(.js) .menu-toggle { display: none; }
.menu-lines {
  position: relative;
  width: 24px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transition: transform .4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .menu-toggle:hover .menu-lines { transform: scaleX(1.25); }
}
.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.brand-mark { width: 21px; height: 27px; color: var(--blush); flex-shrink: 0; }
.brand-word { font-family: var(--serif); font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.brand-word em, .rail-word em, .overlay-brand em, .footer-logo em { color: var(--blush); }
.rail-word { display: none; }
.rail-actions { justify-self: end; display: flex; align-items: center; gap: .35rem; }
.rail-call {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  color: inherit;
}
.rail-call svg { width: 22px; height: 22px; }
.rail-book {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 64px;
  margin: 4px;
  padding: 0 .9rem;
  background: var(--blush);
  color: var(--mulberry);
  font: italic 400 1.15rem/1 var(--serif);
  text-decoration: none;
  transition: background-color .3s var(--ease);
}
.rail-book::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgb(242 201 195 / .7); pointer-events: none; transition: transform .45s var(--ease); }
.rail-book:hover, .rail-book:focus-visible { background: var(--porcelain); text-decoration: none; }
.rail-book:focus-visible { outline-offset: 7px; }
@media (hover: hover) and (pointer: fine) { .rail-book:hover::after { transform: scale(1.08); } }

@media (min-width: 420px) { .rail-call { display: grid; } }
@media (max-width: 379.98px) {
  .brand-mark { display: none; }
  .brand-word { font-size: 1.15rem; }
  .menu-toggle { gap: .5rem; padding-inline: .35rem; }
}

@media (min-width: 1024px) {
  .site-header { position: fixed; top: 0; bottom: 0; left: 0; width: var(--rail-w); }
  .rail {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1.1rem 0 76px; /* bottom: room for the fixed concept label */
    border-right: 1px solid var(--mulberry-deep);
  }
  .menu-toggle, .nojs-menu { flex-direction: column; gap: .7rem; width: 72px; min-height: 68px; padding: .6rem 0; font-size: .75rem; letter-spacing: .12em; justify-content: center; }
  .brand { margin-top: 1.25rem; }
  .brand-word { display: none; }
  .brand-mark { width: 28px; height: 36px; }
  .rail-word {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    white-space: nowrap;
    font-family: var(--serif);
    font-size: 1.15rem;
    letter-spacing: .06em;
    color: var(--on-dark);
  }
  .rail-word span { color: var(--on-dark-muted); font-size: .85em; }
  .rail-actions { flex-direction: column; gap: 1.1rem; }
  .rail-book { width: 60px; height: 60px; min-width: 0; padding: 0; font-size: 1.3rem; }
}
@media (min-width: 1024px) and (max-height: 640px) { .rail-word { display: none; } .rail-actions { margin-top: auto; } }

/* ---------- Full-screen menu (a modal <dialog>) ---------- */
.menu-overlay {
  --focus: var(--blush);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--mulberry-deep);
  color: var(--on-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu-overlay::backdrop { background: var(--mulberry-deep); }
.overlay-inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: .5rem var(--gutter) 5.5rem;
}
.overlay-bar { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.overlay-brand { font-family: var(--serif); font-size: 1.3rem; }
.menu-close { margin-right: -.55rem; }
.close-x { position: relative; width: 22px; height: 22px; }
.close-x::before, .close-x::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; }
.close-x::before { transform: rotate(45deg); }
.close-x::after { transform: rotate(-45deg); }
.overlay-nav { align-self: center; }
.overlay-nav ol { margin: 0; padding: 0; list-style: none; }
.overlay-nav a {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: .3rem 0;
  color: var(--on-dark);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.1rem + 4.4vw, 4.6rem);
  line-height: 1.12;
}
.o-num { min-width: 2.4rem; font-style: italic; font-size: 1.05rem; color: var(--blush); }
.o-label { background: linear-gradient(currentColor, currentColor) no-repeat 0 92% / 0 1px; transition: background-size .45s var(--ease), color .3s; }
.overlay-nav a:hover .o-label, .overlay-nav a:focus-visible .o-label { font-style: italic; color: var(--blush); background-size: 100% 1px; }
.overlay-aside { display: grid; gap: 1.1rem; align-content: end; justify-items: start; color: var(--on-dark-muted); font-size: 1rem; }
.overlay-aside address { font-style: normal; line-height: 1.9; }
.overlay-aside a:not(.btn-framed) { color: var(--on-dark); }
.overlay-photo { display: none; width: 180px; aspect-ratio: 1; border-radius: var(--arch); overflow: hidden; background: var(--mulberry); }
.overlay-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .overlay-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr);
    grid-template-rows: auto 1fr;
    column-gap: 4rem;
    padding: 1rem clamp(2rem, 6vw, 6rem) 4rem;
  }
  .overlay-bar { grid-column: 1 / -1; }
  .overlay-photo { display: block; }
  .overlay-aside { align-self: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .menu-overlay[open] { animation: curtain .75s var(--ease-arch) both; }
  .menu-overlay[open] .overlay-nav li { animation: rise .7s var(--ease) both; animation-delay: calc(.28s + var(--i, 0) * 55ms); }
  .menu-overlay[open] .overlay-aside { animation: fade .8s var(--ease) .55s both; }
}
@keyframes curtain { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Hero: photo stage + blush panel ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--blush);
  color: var(--mulberry);
}
.stage {
  position: relative;
  height: clamp(240px, 46svh, 560px);
  overflow: hidden;
  background: var(--oat);
}
@media (max-height: 700px) and (max-width: 1023.98px) { .stage { height: clamp(220px, 40svh, 560px); } }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.3s var(--ease);
}
.slide.is-current { opacity: 1; z-index: 1; }
html:not(.js) .slide:not(:first-child) { display: none; }
.slide-media { width: 100%; height: 100%; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide:nth-child(2) img { object-position: 50% 40%; }
.slide:nth-child(3) img { object-position: 50% 55%; }
.slide:nth-child(4) img { object-position: 45% 60%; }
.slide-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px - 184px);
  display: grid;
  gap: 0;
  padding: .5rem .75rem .55rem;
  background: var(--porcelain);
  color: var(--ink);
}
.cap-title { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.2; color: var(--mulberry); }
.cap-meta { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.cap-book { display: inline-block; padding-block: .15rem; color: var(--oxblood); font-weight: 600; }
@media (max-width: 479.98px) {
  /* Phones: the caption moves to the top so it never crowds the controls */
  .slide-cap { top: 12px; bottom: auto; max-width: calc(100% - 24px); }
}
.stage-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  background: var(--porcelain);
  color: var(--mulberry);
}
html:not(.js) .stage-controls { display: none; }
.stage-controls button {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.stage-controls button:hover { background: var(--mulberry); color: var(--porcelain); }
.stage-controls button:focus-visible { outline-color: var(--oxblood); outline-offset: -4px; }
.stage-controls svg { width: 22px; height: 22px; }
.stage-count { min-width: 3.4em; text-align: center; font-size: .875rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.play-icon { position: relative; width: 12px; height: 13px; }
.play-icon::before, .play-icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3.5px; background: currentColor; }
.play-icon::before { left: 1px; }
.play-icon::after { right: 1px; }
.stage.is-paused .play-icon::before { left: 2px; width: 0; height: 0; background: none; border-style: solid; border-width: 6.5px 0 6.5px 11px; border-color: transparent transparent transparent currentColor; }
.stage.is-paused .play-icon::after { display: none; }
.stage-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgb(74 22 49 / .12); }
.stage-bar { display: block; height: 100%; background: var(--oxblood); transform: scaleX(0); transform-origin: left center; }
.stage.is-running .stage-bar { animation: progress var(--slide-ms) linear forwards; }
.stage.is-held .stage-bar, .stage.is-paused .stage-bar { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.6rem var(--gutter) 2.25rem;
}
.hero-kicker { margin-bottom: 0; }
@media (max-width: 479.98px) {
  .hero-kicker { letter-spacing: .14em; }
  .hero-kicker::before { display: none; }
}
.willow {
  position: absolute;
  z-index: -1;
  top: -6px;
  right: -1.5rem;
  width: clamp(120px, 11vw, 170px);
  height: auto;
  color: var(--oxblood);
  opacity: .4;
  pointer-events: none;
}
.willow use { fill: none; stroke: currentColor; stroke-width: 1.1; }
@media (max-width: 1023.98px) { .willow { display: none; } }
.hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--mulberry);
}
.hero h1 .line { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.6rem; }
.hero-actions .btn-framed { margin-left: 5px; }

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    height: clamp(600px, calc(100svh - 72px), 960px);
  }
  .stage { height: auto; }
  .slide-cap { left: 24px; bottom: 24px; max-width: 360px; gap: .1rem; padding: .9rem 1.2rem 1rem; }
  .cap-title { font-size: 1.45rem; }
  .cap-meta { font-size: .9375rem; }
  .stage-controls { right: 24px; bottom: 24px; }
  .hero-panel { padding: clamp(2rem, 3.6vw, 3.5rem); }
}

/* Hero load-in: short, and the photo (the LCP) is never hidden. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { animation: rise .9s var(--ease) both; }
  .js .hero h1 .line + .line { animation-delay: .09s; }
  .js .hero-kicker, .js .hero-actions { animation: rise .9s var(--ease) .22s both; }
  .js .stage:not(.has-moved) .slide:first-child img { animation: settle 2.4s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.06); } }

/* Willow sprig draws itself once (desktop only; the sprig is hidden below 1024 px) */
@media (prefers-reduced-motion: no-preference) {
  .js .willow-stem { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-stem 2.6s var(--ease) .2s forwards; }
  .js .willow use { animation: fade .9s var(--ease) both; animation-delay: calc(.5s + var(--i, 0) * 150ms); }
}
@keyframes draw-stem { to { stroke-dashoffset: 0; } }

/* ---------- Intro ---------- */
.intro { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 4rem; }
.standfirst {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.35rem);
  line-height: 1.3;
  color: var(--mulberry);
  max-width: 34em;
}
.standfirst::first-letter {
  float: left;
  margin: .1em .1em 0 -.02em;
  font-size: 3.05em;
  line-height: .78;
  color: var(--oxblood);
}
.promises {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem 2.5rem;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.promises li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); align-items: baseline; color: var(--muted); font-size: 1rem; }
.promises strong { color: var(--ink); font-weight: 700; }
.p-num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--oxblood); }
@media (min-width: 900px) {
  .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Services & prices: one tabbed price list ---------- */
.menu { padding-block: var(--space); }
.menu-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 4rem; align-items: end; }
.price-notes {
  position: relative;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  background: var(--blush-soft);
}
.price-notes::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgb(140 40 70 / .28); pointer-events: none; }
.price-notes ul { margin: 0; padding: 0 1.4rem 1.3rem 2.6rem; display: grid; gap: .45rem; font-size: 1rem; }
.price-notes li::marker { color: var(--oxblood); }
.price-notes strong { font-weight: 700; }
@media (min-width: 1000px) {
  .menu-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .price-notes { margin-bottom: clamp(2rem, 4vw, 3rem); }
}
/* Disclosure summaries (price notes, map) */
details > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: .75rem 1.4rem;
  font: 500 1.35rem/1.2 var(--serif);
  color: var(--mulberry);
  cursor: pointer;
  list-style: none;
}
details > summary::-webkit-details-marker { display: none; }
details > summary:focus-visible { outline-offset: -3px; }
details[open] > summary { font-style: italic; color: var(--oxblood); }
.sum-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.sum-icon::before, .sum-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.sum-icon::after { transform: rotate(90deg); }
details[open] .sum-icon::after { transform: rotate(0deg); }

/* Tabs: hidden without JS (every category then shows as a plain list) */
.tablist {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--mulberry);
  border-left: 1px solid var(--line);
}
@media (min-width: 640px) { .tablist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tablist { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tab {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "num name" "num from";
  align-content: center;
  gap: .1rem .55rem;
  min-height: 72px;
  padding: .8rem .9rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: inherit;   /* buttons don't inherit it; without this the "from" prices fell back to the browser's button font */
  text-align: left;
  cursor: pointer;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.t-num { grid-area: num; font: italic 500 1.05rem/1.35 var(--serif); color: var(--oxblood); }
.t-name { grid-area: name; font: 500 clamp(1.2rem, 1.05rem + .5vw, 1.4rem)/1.15 var(--serif); color: var(--mulberry); }
.t-from { grid-area: from; font-size: .9375rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tab:hover { background: var(--blush-soft); }
.tab:focus-visible { outline-offset: -4px; }
/* Selected: mulberry fill (shape and colour change, not colour alone), drawn by the sliding ink layer */
.tab[aria-selected="true"] .t-name { color: var(--porcelain); font-style: italic; }
.tab[aria-selected="true"] .t-num { color: var(--blush); }
.tab[aria-selected="true"] .t-from { color: var(--on-dark-muted); }
.tab[aria-selected="true"]:hover { background: transparent; }
.tab[aria-selected="true"]:focus-visible { outline-color: var(--blush); }
.tab-ink {
  position: absolute;
  z-index: 0;
  left: 0; top: 0;
  width: var(--ink-w, 0);
  height: var(--ink-h, 0);
  background: var(--mulberry);
  transform: translate(var(--ink-x, 0), var(--ink-y, 0));
  pointer-events: none;
}
.tab-ink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--oxblood); }
.tablist:not(.is-ready) .tab[aria-selected="true"] { background: var(--mulberry); }
.tablist.is-ready .tab-ink { transition: transform .5s var(--ease-arch), width .5s var(--ease-arch), height .5s var(--ease-arch); }

.menu-cat { padding-bottom: 2rem; }
.menu-cat + .menu-cat { padding-top: 1rem; }
.menu-cat > h3 {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--mulberry);
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem);
  color: var(--mulberry);
}
.tabs-on .menu-cat { padding: 0; }
.tabs-on .menu-cat > h3 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.menu-cat:focus-visible { outline-offset: 6px; }
.cat-num { font-style: italic; font-size: .55em; color: var(--oxblood); }
.cat-note { margin: .8rem 0 .4rem; max-width: 44rem; color: var(--muted); font-size: 1rem; }
.tabs-on .cat-note { margin-top: 0; }
.svc-list { margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.svc { display: grid; align-content: start; padding: 1rem 0 .3rem; border-bottom: 1px solid var(--line); }
.svc-line { display: flex; align-items: baseline; gap: .6rem; }
.svc-name { font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.svc-leader { flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 1px dotted var(--field-border); transform: translateY(-.3em); }
.svc-price { font-weight: 700; font-size: 1.0625rem; color: var(--oxblood); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.svc-desc { margin-top: .2rem; max-width: 34rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.svc-time { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* Panel entrance: the rows settle in one after another */
@media (prefers-reduced-motion: no-preference) {
  .tabs-on .menu-cat.is-entering .svc, .tabs-on .menu-cat.is-entering .cat-note { animation: rise .55s var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
}
.svc-book {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--oxblood);
  font: italic 400 1.1rem/1 var(--serif);
  text-decoration: none;
}
.svc-book::after {
  content: "";
  width: 1.3rem;
  height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5h58M53 .5 58.5 5 53 9.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") right center / auto 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M0 5h58M53 .5 58.5 5 53 9.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") right center / auto 100% no-repeat;
  transition: width .35s var(--ease);
}
.svc-book:hover, .svc-book:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.svc-book:hover::after, .svc-book:focus-visible::after { width: 2rem; }

/* ---------- Our work: an asymmetric spread with the arch rise ---------- */
.work-section { padding-block: var(--space); }
.work-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.work-head .section-head { margin-bottom: 0; }
.work-head .section-lead { margin-top: 1.2rem; }
@media (min-width: 1000px) {
  .work-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .work-head .section-lead { margin-top: 0; }
}
.spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1rem;
  margin: 0; padding: 0;
  list-style: none;
  align-items: start;
}
.w1 { grid-column: 1 / -1; width: 86%; justify-self: end; }
.w3, .w5 { margin-top: 3.5rem; }
.w6 { grid-column: 1 / -1; width: 70%; }
@media (min-width: 640px) and (max-width: 999.98px) {
  .w1 { width: 62%; }
  .w6 { width: 52%; justify-self: center; }
}
@media (min-width: 1000px) {
  .spread { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 0 clamp(1.5rem, 3vw, 2.75rem); }
  .w1 { grid-column: 1; grid-row: 1; width: auto; }
  .w2 { grid-column: 2; grid-row: 1; margin-top: 8rem; }
  .w3 { grid-column: 3; grid-row: 1; margin-top: 0; }
  .w4 { grid-column: 2; grid-row: 2; margin-top: 3rem; }
  .w5 { grid-column: 3; grid-row: 2; margin-top: 5.5rem; }
  .w6 { grid-column: 1; grid-row: 2; width: 72%; justify-self: end; margin-top: 3rem; }
}
.work figure { margin: 0; }
.work figcaption {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  color: var(--mulberry);
}
.w-num { font-style: italic; font-size: .85em; color: var(--oxblood); }

.arch-frame { position: relative; }
.arch-frame::before {
  /* thin outline arch, offset; outside the clipped element so it isn't clipped */
  content: "";
  position: absolute;
  inset: -9px 9px 9px -9px;
  border: 1px solid var(--oxblood);
  border-radius: var(--arch);
  opacity: .4;
  pointer-events: none;
}
.band-mulberry .arch-frame::before { border-color: var(--blush); }
.arch {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--blush-soft);
  clip-path: inset(0 0 0 0 round var(--arch));
}
.arch-tall { aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Hidden state only applies when JS is running and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .arch-reveal {
    clip-path: inset(100% 0 0 0 round var(--arch));
    transition: clip-path 1.35s var(--ease-arch);
    transition-delay: calc(var(--i, 0) * 120ms);
  }
  .js .arch-reveal img {
    transform: scale(1.18);
    transform-origin: 50% 100%;
    transition: transform 1.9s var(--ease);
    transition-delay: calc(var(--i, 0) * 120ms);
  }
  .js .arch-frame::before { opacity: 0; transform: translate(-6px, 6px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
  .js .arch-reveal.is-in { clip-path: inset(0 0 0 0 round var(--arch)); }
  .js .arch-reveal.is-in img { transform: none; }
  .js .arch-frame.is-in::before { opacity: .4; transform: none; transition-delay: .5s; }
}

/* ---------- Team and reviews: horizontal rows ---------- */
.team-section { padding-block: var(--space); }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.row-head .section-head { margin-bottom: 0; }
.row-controls { display: flex; gap: .6rem; }
html:not(.js) .row-controls { display: none; }
.row-controls button {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  padding: 0;
  border: 1px solid var(--mulberry);
  border-radius: 0;
  background: transparent;
  color: var(--mulberry);
  cursor: pointer;
  transition: background-color .25s, color .25s, opacity .25s;
}
.row-controls svg { width: 22px; height: 22px; }
.row-controls button:hover:not([aria-disabled="true"]) { background: var(--mulberry); color: var(--porcelain); }
.row-controls button[aria-disabled="true"] { opacity: .38; cursor: default; }
.row-track {
  --track-pad: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: .75rem var(--track-pad) 1.75rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--track-pad);
  scrollbar-width: thin;
  scrollbar-color: var(--oxblood) var(--line);
}
.person {
  flex: 0 0 clamp(250px, 26vw, 310px);
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: .45rem;
}
.portrait {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: .9rem;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--blush);
  transition: transform .6s var(--ease);
}
@media (min-width: 768px) { .portrait { aspect-ratio: 5 / 6; } }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s var(--ease); }
/* Inner hairline arch over the photo (a pseudo-element, so it never blocks the image) */
.portrait::after {
  content: "";
  position: absolute;
  inset: 10px 10px 0;
  border: 1px solid rgb(250 245 241 / .75);
  border-bottom: 0;
  border-radius: var(--arch);
  pointer-events: none;
  transition: inset .6s var(--ease);
}
.person h3 { font-size: 1.65rem; color: var(--mulberry); }
.role { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oxblood); }
.bio { color: var(--muted); font-size: 1rem; }
.person .link-quiet { justify-self: start; margin-top: .2rem; }
@media (hover: hover) and (pointer: fine) {
  .person:hover .portrait { transform: translateY(-6px); }
  .person:hover .portrait img { transform: scale(1.04); }
  .person:hover .portrait::after { inset: 16px 16px 0; }
}

/* ---------- Reviews: a swipeable row of cards with visible star ratings ---------- */
.reviews-section { padding-block: var(--space); }
.review-track { align-items: stretch; }
.review-track:focus-visible { outline-offset: -3px; }
.quote { flex: 0 0 min(84%, 400px); scroll-snap-align: start; display: flex; }
.quote figure {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--porcelain);
  border-top: 4px solid var(--oxblood);
}
.stars { display: flex; gap: .2rem; color: var(--oxblood); }
.stars svg { width: 24px; height: 24px; fill: currentColor; }
.stars svg:nth-child(2) { --s: 1; } .stars svg:nth-child(3) { --s: 2; } .stars svg:nth-child(4) { --s: 3; } .stars svg:nth-child(5) { --s: 4; }
.quote blockquote { flex: 1 1 auto; margin: 0; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); line-height: 1.35; color: var(--mulberry); }
.quote figcaption { font-size: 1rem; color: var(--ink); }
.q-name { font-weight: 700; }
.tag {
  display: inline-block;
  margin-left: .5rem;
  padding: .1rem .55rem;
  border: 1px solid rgb(74 22 49 / .55);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: .1em;
  white-space: nowrap;
}
/* Stars settle in one by one when the card scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .js .quote.reveal .stars svg {
    opacity: 0;
    transform: scale(.35) rotate(-40deg);
    transition: opacity .35s var(--ease), transform .6s cubic-bezier(.3, 1.5, .5, 1);
    transition-delay: calc(.35s + var(--i, 0) * 80ms + var(--s, 0) * 90ms);
  }
  .js .quote.reveal.is-visible .stars svg { opacity: 1; transform: none; }
}

/* ---------- First visit & policies ---------- */
.before { padding-block: var(--space); }
.before-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 5rem; }
@media (min-width: 1000px) { .before-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.sub-title {
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--mulberry);
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  color: var(--mulberry);
}
/* Steps: a swipeable row on phones, a 2 x 2 grid from 640 px */
.steps {
  display: flex;
  gap: 1rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: .4rem var(--gutter) 1.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--oxblood) var(--line);
}
.steps:focus-visible { outline-offset: -2px; }
.steps li { flex: 0 0 min(80%, 300px); scroll-snap-align: start; padding: 1.2rem 1.25rem 1.35rem; background: var(--porcelain); border-top: 3px solid var(--oxblood); }
.step-no { display: block; margin-bottom: .45rem; font: italic 500 1.5rem/1 var(--serif); color: var(--oxblood); }
.steps h4 { margin-bottom: .4rem; font-size: 1.3rem; color: var(--mulberry); }
.steps p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) {
  .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
}
.pol-lead { margin: -.2rem 0 .5rem; color: var(--muted); font-size: 1rem; }
.acc-item { border-bottom: 1px solid #D9C6BD; }
.acc-item h4 { font-size: 1.3rem; }
.acc-btn {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border: 0;
  background: none;
  color: var(--mulberry);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .25s;
}
.acc-btn:hover, .acc-btn[aria-expanded="true"] { color: var(--oxblood); font-style: italic; }
.acc-btn:focus-visible { outline-offset: -2px; }
.acc-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 2px; background: currentColor;
  transition: transform .4s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 2.5rem 1.2rem 0; color: var(--muted); font-size: 1rem; }
.js .acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .45s var(--ease), visibility 0s linear .45s;
}
.js .acc-panel.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .45s var(--ease), visibility 0s;
}

/* ---------- Gifts and new guests: a slim band ---------- */
.gifts { padding-block: clamp(3rem, 6vw, 4.5rem); }
.gifts-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4.5rem; align-items: center; }
.giftcards { display: none; position: relative; width: min(100%, 340px); aspect-ratio: 1.58; margin: 1rem auto; }
.giftcard {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .4rem;
  border-radius: 10px;
  background: var(--mulberry);
  color: var(--porcelain);
  box-shadow: 0 30px 50px -28px rgb(51 16 31 / .55);
  transform: rotate(-4deg);
}
.giftcard::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(242 201 195 / .55); border-radius: 4px; }
.giftcard-back { background: var(--blush); transform: rotate(5deg) translate(5%, 6%); box-shadow: none; }
.giftcard-back::before { border-color: rgb(74 22 49 / .3); }
.gc-mark { width: 26px; height: 33px; color: var(--blush); }
.gc-word { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.1; }
.gc-word em { color: var(--blush); }
.gc-label { font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--blush); }
.gifts-title { margin-bottom: 1.25rem; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.02; color: var(--mulberry); }
.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; }
.offer { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.offer h3 { margin-bottom: .45rem; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.15; color: var(--mulberry); }
.offer p { color: var(--muted); font-size: 1rem; }
@media (min-width: 640px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .gifts-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .giftcards { display: block; }
}

/* ---------- Visit & book: form beside address, hours and map ---------- */
.visit-book { padding-block: var(--space); }
.vb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem 4.5rem; align-items: start; }
@media (min-width: 1000px) { .vb-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.form-title { margin-bottom: 1.25rem; font-size: clamp(1.6rem, 1.35rem + 1vw, 2.1rem); color: var(--mulberry); }
.visit-info { display: grid; gap: 1.75rem; color: var(--on-dark); }
.vi-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2rem; }
@media (min-width: 640px) and (max-width: 999.98px) { .vi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vi-title { margin-bottom: .5rem; font: 700 .875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }
address { font-style: normal; }
.small { margin-top: .5rem; font-size: 1rem; color: var(--on-dark-muted); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); overflow-wrap: anywhere; }
.hours { width: 100%; max-width: 30rem; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--line-dark); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--on-dark-muted); white-space: nowrap; }
.map-details { border: 1px solid var(--line-dark); }
.map-details > summary { padding-inline: 1rem; font-size: 1.25rem; color: var(--on-dark); }
.map-details[open] > summary { color: var(--blush); }
.map { margin: 0; padding: 0 1rem 1rem; }
.map svg { width: 100%; height: auto; }
.map figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--on-dark-muted); }

.concept-note {
  max-width: 34rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-dark);
  font-size: 1rem;
  color: var(--on-dark-muted);
}
.concept-note strong { color: var(--on-dark); font-weight: 600; }
.form-card {
  --focus: var(--oxblood);
  position: relative;
  margin: 10px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--porcelain);
  color: var(--ink);
}
.form-card::before { content: ""; position: absolute; inset: -10px; border: 1px solid rgb(242 201 195 / .6); pointer-events: none; }
.form-card a, .form-card .link-quiet { color: var(--oxblood); } /* the card is light inside a dark band: undo the band's blush link colour */
.book-form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.optional { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: .9375rem; }
.field input, .field select {
  width: 100%;
  min-height: 52px;
  padding: .75rem .9rem;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background-color: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.3 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%232B1520' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 16px;
}
.field input:focus-visible, .field select:focus-visible { outline-offset: 2px; border-color: var(--oxblood); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { font-size: .9375rem; color: var(--muted); }
.field-hint:empty, .field-error:empty { display: none; }
.field-error { display: flex; gap: .45rem; font-size: .9375rem; font-weight: 600; color: var(--error); }
.field-error::before { content: "!"; flex-shrink: 0; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-top: .12rem; border-radius: 50%; background: var(--error); color: var(--white); font-size: .75rem; }
.field-error.shake { animation: shake .4s var(--ease); }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.hp[hidden] { display: none !important; }

.btn-submit { width: calc(100% - 10px); margin-top: .5rem; }
.spinner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid rgb(250 245 241 / .35);
  border-top-color: var(--porcelain);
  border-radius: 50%;
  opacity: 0;
}
.btn-submit[data-state="loading"] { pointer-events: none; }
.btn-submit[data-state="loading"] .btn-label { opacity: 0; }
.btn-submit[data-state="loading"] .spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.form-privacy { font-size: .9375rem; color: var(--muted); }

.form-success { padding: 1.5rem 0 .5rem; text-align: center; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 1.25rem; color: var(--oxblood); }
.check-path { stroke-dasharray: 40; stroke-dashoffset: 0; }
.form-success.is-shown .check-path { animation: draw .6s var(--ease) .15s both; }
@keyframes draw { from { stroke-dashoffset: 40; } }
.success-title { margin-bottom: .75rem; font-size: 2.2rem; color: var(--mulberry); }
.success-title:focus { outline: none; }
.success-title:focus-visible { outline: 2px solid var(--oxblood); }
.success-text { max-width: 28rem; margin-inline: auto; color: var(--ink); }
.success-concept { margin: .75rem auto 1.25rem; font-size: .9375rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  --focus: var(--blush);
  padding: clamp(3.5rem, 7vw, 5rem) 0 5.5rem; /* bottom: clear of the fixed concept label */
  background: var(--mulberry-deep);
  color: var(--on-dark-muted);
  font-size: 1rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
/* Phones: brand and links span both columns; address and hours sit side by side; links in two columns */
@media (max-width: 639.98px) {
  .footer-brand, #footer-nav { grid-column: 1 / -1; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@media (max-width: 459.98px) { .footer-grid > div { grid-column: 1 / -1; } }
@media (min-width: 640px) { .footer-grid { gap: 2.25rem 3rem; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .8fr); } }
.footer-logo { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--on-dark); text-decoration: none; font-family: var(--serif); font-size: 1.6rem; }
.footer-logo .brand-mark { width: 24px; height: 31px; }
.footer-brand p { margin-top: .75rem; max-width: 18rem; }
.footer-title { margin-bottom: .75rem; font: 700 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }
.site-footer p + p { margin-top: .6rem; }
.site-footer a { color: var(--on-dark); }
.footer-tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-base { position: relative; margin-top: 3rem; padding-top: 1.5rem; font-size: .9375rem; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line-dark); }

/* ---------- Shared Parity concept pill: identical on all four demos (Revision 1 integration, 2026-10-28) ---------- */
.concept-notice { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: calc(100vw - 32px); }
.concept-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px 8px 12px; border-radius: 999px;
  background: #1F2933; color: #F6F2EA;
  font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .01em;
  white-space: nowrap; text-decoration: none;
  box-shadow: 0 6px 18px rgb(31 41 51 / .28);
}
.concept-pill:link, .concept-pill:visited, .concept-pill:hover { color: #F6F2EA; }
.concept-pill:hover span { text-decoration: underline; text-underline-offset: .2em; }
.concept-pill:focus-visible { outline: 3px solid #F6F2EA; outline-offset: 2px; box-shadow: 0 0 0 7px #1F2933, 0 6px 18px rgb(31 41 51 / .28); }
.concept-pill__mark { display: block; width: 16px; height: 16px; flex: none; } /* official Parity icon (2026-11-11) */
.concept-pill__short { display: none; }
/* Narrow phones: shorter visible text on one line; the full text stays the link's accessible name */
@media (max-width: 360px) {
  .concept-pill__long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; }
  .concept-pill__short { display: inline; }
}
/* Salon only: sit just right of the fixed 88 px vertical side bar where it shows (--rail-w is 0 below 1024 px) */
.concept-notice { left: calc(var(--rail-w) + 16px); max-width: calc(100vw - var(--rail-w) - 32px); }

/* ---------- Scroll reveals (basic motion set) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Privacy page ---------- */
.page-plain { padding-block: clamp(3rem, 8vw, 6rem); }
.prose { max-width: 44rem; }
.prose h1 { margin-bottom: 1.25rem; font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.4rem); color: var(--mulberry); }
.prose h2 { margin: 2.5rem 0 .75rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); color: var(--mulberry); }
.prose p:not(.kicker), .prose ul { color: var(--ink); } /* :not(.kicker): a broad p colour rule overrode the kicker (round 1 bug #11 again) */
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.prose .concept-note { margin-top: 1.5rem; border-color: var(--line); color: var(--ink); background: var(--blush-soft); }
.prose .concept-note strong { color: var(--mulberry); }
.prose .updated { margin-top: 2.5rem; color: var(--muted); font-size: .9375rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js .reveal { transform: none; transition: opacity .01ms; }
  .js .reveal:not(.is-visible) { opacity: 1; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .person:hover .portrait, .person:hover .portrait img { transform: none; }
  .btn-framed:hover::after, .rail-book:hover::after { transform: none; }
  .btn-submit[data-state="loading"] .spinner { animation: none; border-color: var(--porcelain); }
}


/* ---------- Current legal page in the footer list (2026-10-31): not shown by the aria-current attribute alone ---------- */
.footer-links a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ===== CSP utilities (2026-11-15): these replace style="" attributes, which a Content-Security-Policy without
   'unsafe-inline' blocks (Website Security Standard). ===== */
/* CSP (2026-11-15): stagger indexes come from data-i="N" instead of style="--i:N", because the site's
   Content-Security-Policy has no 'unsafe-inline' (Website Security Standard). Add a rule here if an index above 9 is used. */
[data-i="0"] { --i: 0; }
[data-i="1"] { --i: 1; }
[data-i="2"] { --i: 2; }
[data-i="3"] { --i: 3; }
[data-i="4"] { --i: 4; }
[data-i="5"] { --i: 5; }
[data-i="6"] { --i: 6; }
[data-i="7"] { --i: 7; }
[data-i="8"] { --i: 8; }
[data-i="9"] { --i: 9; }
