/* Roberto Pozzato — one stylesheet for both sections.
   Hairdressing = white ground, black text. Education = black ground, white text.
   Same grid, type, spacing and navigation in both; colour alone says where you are. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.08rem + 0.45vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.26rem + 1vw, 2.125rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.1vw, 3.25rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.75rem);
  --step-5: clamp(2.75rem, 1.5rem + 5.6vw, 7rem);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1360px;
  --space-section: clamp(96px, 9vw, 136px);      /* section top: the heading sits here */
  --space-section-end: clamp(64px, 6vw, 96px);   /* section bottom: less than the top */
  --space-block: clamp(40px, 5vw, 72px);
  --step-h2: clamp(1.875rem, 1.2rem + 2.3vw, 3.25rem);
  --track-display: -0.02em;
  --bar-h: 92px;       /* the header bar itself */
  /* The whole sticky header: bar + its 1px hairline + the top safe area (viewport-fit=cover). */
  --header-h: calc(var(--bar-h) + 1px + env(safe-area-inset-top, 0px));
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

:root,
[data-theme="light"],
.theme-light {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #595959;
  --rule: #dcdcdc;
  --rule-soft: rgba(0, 0, 0, 0.08);
  --tone: #f1f1ef;
  --tone-2: #e7e7e4;
  --field: #8a8a8a;
  --error: #a3141c;
  --btn-bg: #000000;
  --btn-fg: #ffffff;
  --focus: #000000;
}

[data-theme="dark"],
.theme-dark {
  color-scheme: dark;
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a8a8a8;
  --rule: #303030;
  --rule-soft: rgba(255, 255, 255, 0.09);
  --tone: #121212;
  --tone-2: #1b1b1b;
  --field: #8c8c8c;
  --error: #ff8a82;
  --btn-bg: #ffffff;
  --btn-fg: #000000;
  --focus: #ffffff;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  color: var(--fg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }

/* Bodoni Moda's display optical sizes thin the hairlines until letters break up on screen
   (the bar of H, A, 4). Pin a text optical size for every serif setting. */
.page-title, .section__title, .intro__title, .band__title, .subhead, .step__title,
.offerings__name, .group-formats__name, .statement, .hero__main, .hero__date, .steps-row__num, .step__num,
.services__name, .details dd, .pillars__item, .form__legend, .menu__panel .nav__link, .legal h2,
.admin__title, .admin__card-num, .neutral-mark a {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
}
ul[class], ol[class] { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
main { display: block; outline: none; }
::selection { background: var(--fg); color: var(--bg); }
html { scrollbar-color: var(--muted) var(--bg); caret-color: var(--fg); }

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

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

.skip-link {
  position: fixed; /* never scrolled out of view (QA 2026-11-16: hidden at -103px on a snapped page) */
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)), var(--max));
  margin-inline: auto;
}
/* Anchors and snapped sections land below the sticky header, never under it. */
html { scroll-padding-top: var(--header-h); }

/* ---------- Logos (client SVGs, currentColor) ---------- */
.logo { display: block; height: auto; color: inherit; }
/* The two section logos are the same horizontal lockup in the same box (owner, 21 November 2026). */
.logo--edu-horizontal, .logo--hair-horizontal { height: 38px; width: auto; }
.brand-compact { display: none; height: 34px; width: auto; }
.site-header__brand { color: var(--fg); }
.interim-flag { display: inline-grid; gap: 12px; justify-items: start; }

/* Irradiation: a white mark on black reads heavier than the same mark black on white. White logos get a
   hairline of the ground colour around every path: -5% ink, measured with tools/logos/measure.mjs. */
:root { --logo-thin: 0.7; }
[data-theme="dark"] .logo :is(path, rect),
.split__ink--light .logo :is(path, rect) {
  stroke: #000;
  stroke-width: var(--logo-thin);
  stroke-linejoin: round;
}

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), transform 120ms var(--ease);
  touch-action: manipulation;
}
.button:hover { background: transparent; color: var(--fg); }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline-offset: 4px; }
.button--small { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.button--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.button--ghost:hover { background: var(--fg); color: var(--bg); }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: text-decoration-thickness 160ms var(--ease);
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
/* Sticky, so it never scrolls away or ends up behind the browser's own bars; it clears the safe area
   (notch, Safari's top bar) because the page uses viewport-fit=cover. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: var(--bar-h);
}
.site-header__brand { text-decoration: none; display: inline-flex; align-items: center; padding: 6px 0; }
.nav--inline { justify-self: center; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); }
.site-header__actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.nav-cta[aria-current="page"] { background: transparent; color: var(--fg); }


/* Small-screen menu: a native disclosure, no JavaScript needed. */
.menu { display: none; }
.menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__icon { position: relative; width: 20px; height: 9px; border-block: 1px solid currentColor; }
.menu[open] .menu__icon { border-color: transparent; }
.menu[open] .menu__icon::before,
.menu[open] .menu__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid currentColor;
}
.menu[open] .menu__icon::before { transform: rotate(45deg); }
.menu[open] .menu__icon::after { transform: rotate(-45deg); }
.menu__panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  padding: 8px var(--gutter) 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.menu__panel .nav__list { flex-direction: column; gap: 0; }
.menu__panel .nav__link {
  min-height: 56px;
  font-family: var(--serif);
  font-size: var(--step-2);
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
  width: 100%;
}
.menu__cta { margin-top: 24px; width: 100%; }

@media (max-width: 1080px) {
  .nav--inline { display: none; }
  .menu { display: block; }
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 720px) {
  :root { --bar-h: 72px; }
  .brand-full { display: none; }
  .brand-compact { display: block; height: 32px; }
  .nav-cta { display: none; }
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 6px; }
  .menu__toggle { padding: 0 6px; min-width: 44px; justify-content: center; }
  .menu__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Split home ---------- */
/* One mark, centred on the page, a little above the middle. The seam (--seam) runs through it at rest;
   hovering or focusing a half moves the seam past the mark, so the mark takes that side's colours and
   names that side. --seam is a registered property so the halves and the mark's two clipped copies move
   in lockstep. */
@property --seam {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 50%;
}
.split {
  --seam: 50%;
  --mark-w: clamp(150px, 12.5vw, 190px);
  --mark-y: 41vh;       /* vh/svh, not %: also used in padding, where % means width */
  --seam-hair: calc(50% + var(--mark-w) / 2 + 32px);
  --seam-edu: calc(50% - var(--mark-w) / 2 - 32px);
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}
@supports (height: 1svh) { .split { --mark-y: 41svh; } }
.split__half {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* content sits under the mark, clear of it */
  padding: calc(var(--mark-y) + var(--mark-w) * 0.3 + 56px) 32px 48px;
  text-align: center;
  background: var(--bg);
  color: var(--fg);
}
.split__half--hair { left: 0; width: var(--seam); --bg: #fff; --fg: #000; --muted: #595959; --btn-bg: #000; --btn-fg: #fff; --focus: #000; }
.split__half--edu { left: var(--seam); right: 0; --bg: #000; --fg: #fff; --muted: #a8a8a8; --btn-bg: #fff; --btn-fg: #000; --focus: #fff; }
.split__content { display: flex; flex-direction: column; align-items: center; max-width: 30rem; }
.split__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
}
.split__line { margin-top: 14px; color: var(--muted); font-size: var(--step-0); }
.split__cta { margin-top: 36px; position: static; }
/* The whole half is clickable, but there is still a single link per half. */
.split__cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.split__half:hover .split__cta { background: transparent; color: var(--fg); }

/* The mark: two full-size layers with the same centred logo, each clipped to its half. */
.split__mark { position: absolute; inset: 0; z-index: 2; margin: 0; pointer-events: none; }
.split__ink { position: absolute; inset: 0; }
.split__ink .logo--split {
  position: absolute;
  left: 50%;
  top: var(--mark-y);
  width: var(--mark-w);
  transform: translate(-50%, -50%);
}
.split__ink--dark { color: #000; clip-path: inset(0 calc(100% - var(--seam)) 0 0); }
.split__ink--light { color: #fff; clip-path: inset(0 0 0 var(--seam)); }
.logo--split .mk-sub { opacity: 0; transition: opacity 300ms var(--ease); }
.logo--split .mk-sub--rule { opacity: 1; }

@media (hover: hover) and (min-width: 721px) {
  .split:has(.split__half--hair:hover),
  .split:has(.split__half--hair :focus-visible) { --seam: var(--seam-hair); }
  .split:has(.split__half--edu:hover),
  .split:has(.split__half--edu :focus-visible) { --seam: var(--seam-edu); }
  .split:has(.split__half:hover) .mk-sub--rule,
  .split:has(.split__half :focus-visible) .mk-sub--rule { opacity: 0; }
  .split:has(.split__half--hair:hover) .mk-sub--hair,
  .split:has(.split__half--hair :focus-visible) .mk-sub--hair,
  .split:has(.split__half--edu:hover) .mk-sub--edu,
  .split:has(.split__half--edu :focus-visible) .mk-sub--edu { opacity: 1; }
}
/* Keyboard focus without hover support still gets the same state. */
@media (hover: none) and (min-width: 721px) {
  .split:has(.split__half--hair :focus-visible) { --seam: var(--seam-hair); }
  .split:has(.split__half--edu :focus-visible) { --seam: var(--seam-edu); }
}

.split__legal {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 3;
  font-size: var(--step--1);
  color: #fff;
  mix-blend-mode: difference;
}
.split__legal a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 4px; }
.split__legal a:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .split { transition: --seam 350ms var(--ease); }
  .split__content { animation: rise 1000ms var(--ease) both; }
  .split__half--edu .split__content { animation-delay: 140ms; }
  .split__mark .logo--split { animation: fade 900ms var(--ease) both; }
  .hero__title, .page-hero .page-title { animation: rise 900ms var(--ease) both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Phones: two stacked panels, the mark sits on the seam between them (black over white, white over black). */
@media (max-width: 720px) {
  .split { --mark-w: clamp(132px, 38vw, 160px); --mark-y: 50%; height: auto; min-height: 0; overflow: visible; }
  .split__half {
    position: relative;
    left: auto; right: auto; width: auto;
    min-height: 50vh;
    min-height: 50svh;
    justify-content: center;
    padding: 40px 20px;
  }
  /* The seam runs through the gap between the monogram and the name (61.8% down the mark):
     monogram black on white above, name white on black below. Mark height = 0.54 x width. */
  .split__ink .logo--split { transform: translate(-50%, -61.8%); }
  .split__half--hair { padding-bottom: calc(var(--mark-w) * 0.54 * 0.618 + 40px); }
  .split__half--edu { padding-top: calc(var(--mark-w) * 0.54 * 0.382 + 40px); }
  .split__ink--dark { clip-path: inset(0 0 50% 0); }
  .split__ink--light { clip-path: inset(50% 0 0 0); }
  .split__line { margin-top: 10px; }
  .split__cta { margin-top: 26px; }
  /* iPhone Safari draws the page under its floating toolbar: the two panels fill the small viewport (toolbar shown),
     so the dark panel carries on below itself to the large one, and the page behind is dark too. Without this a
     strip of the film and the white page showed under "Enter Education" (owner's iPhone, 21 Nov 2026). */
  html:has(.split) { background-color: #060606; overscroll-behavior-y: none; }
  @supports (height: 1lvh) {
    .split__half--edu::after {
      content: ""; position: absolute; left: 0; right: 0; top: 100%;
      height: calc(100lvh - 100svh);   /* 0 where the viewport has one size: no extra scroll there */
      background: inherit; pointer-events: none;
    }
  }
}

/* ---------- Image frames (tone blocks until photographs arrive) ---------- */
.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--tone), var(--tone-2));
}
.frame picture { display: block; width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--empty::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.4vw, 18px);
  border: 1px solid var(--rule-soft);
  pointer-events: none;
}
.frame__note {
  position: absolute;
  left: clamp(20px, 2.4vw, 32px);
  bottom: clamp(18px, 2.2vw, 30px);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* Content the client has not supplied yet: visible in preview only. */
.pending {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed currentColor;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.6;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--muted);
  vertical-align: middle;
}

/* ---------- Type helpers ---------- */
.page-title,
.section__title,
.intro__title,
.band__title,
.subhead,
.step__title,
.offerings__name,
.group-formats__name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.page-title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.5rem); line-height: 1; letter-spacing: var(--track-display); }
.page-lead { margin-top: 32px; max-width: 40ch; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.statement { font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; color: var(--fg); max-width: 26ch; text-wrap: balance; }
.prose { max-width: 60ch; }
.prose-lead { font-size: var(--step-1); line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.subhead { font-size: var(--step-3); line-height: 1.1; margin-top: var(--space-block); margin-bottom: 24px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  padding-block: clamp(32px, 6vw, 96px) var(--space-section);
}
.hero__text { grid-column: 1 / span 7; padding-bottom: clamp(0px, 2vw, 24px); }
.hero__frame { grid-column: 9 / -1; }
.hero__title { display: flex; flex-direction: column; font-weight: 400; margin: 0; }
.hero__brand { margin-bottom: clamp(40px, 5vw, 72px); color: var(--fg); }
.hero__brand .logo--hair-stacked { width: clamp(200px, 18vw, 280px); }
.hero__main { font-family: var(--serif); font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.5rem); line-height: 1; letter-spacing: var(--track-display); text-wrap: balance; }
.hero__date { font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; margin-top: clamp(14px, 1.6vw, 22px); color: var(--muted); }
.hero__lead { margin-top: clamp(28px, 3.4vw, 48px); font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(32px, 3.4vw, 48px); }

.hero--statement .hero__text { grid-column: 1 / span 7; }
.hero--statement .hero__main { font-size: clamp(2.6rem, 1.3rem + 5vw, 6rem); }
.hero--statement .hero__lead { max-width: 46ch; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; row-gap: 48px; }
  .hero__text, .hero__frame, .hero--statement .hero__text { grid-column: 1 / -1; }
  .hero__frame { max-width: 560px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section) var(--space-section-end); border-top: 1px solid var(--rule); }
.section--tight { padding-block: 0 var(--space-section-end); border-top: 0; }
.section__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: var(--space-block); }
.section__head .section__title { grid-column: 1 / span 6; margin: 0; }
.section__lead { grid-column: 8 / -1; color: var(--muted); max-width: 40ch; }
.section__title { font-size: var(--step-h2); line-height: 1.08; margin-bottom: var(--space-block); }

.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.intro__title { grid-column: 1 / span 5; font-size: var(--step-h2); line-height: 1.08; }
.intro__body { grid-column: 7 / -1; }
.link-list { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 28px; }

.steps-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); counter-reset: none; }
.steps-row__item { display: flex; flex-direction: column; gap: 18px; padding-top: 22px; border-top: 1px solid var(--fg); }
.steps-row__num { font-family: var(--serif); font-size: var(--step-3); line-height: 1; }
.steps-row__title { font-size: var(--step-0); font-weight: 500; max-width: 18ch; }

@media (max-width: 900px) {
  .intro, .section__head { grid-template-columns: 1fr; row-gap: 24px; }
  .intro__title, .intro__body, .section__head .section__title, .section__lead { grid-column: 1 / -1; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .steps-row__item { flex-direction: row; align-items: baseline; gap: 20px; padding-block: 18px; border-top-color: var(--rule); }
  .steps-row__num { font-size: var(--step-2); min-width: 1.4em; }
}

/* Call-to-action band at the foot of each page */
.band { border-top: 1px solid var(--rule); }
.band__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 32px;
  padding-block: var(--space-section) var(--space-section-end);
  align-items: end;
}
.band__title { grid-column: 1 / span 6; font-size: var(--step-h2); line-height: 1.08; }
.band__body { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.band__body p { max-width: 40ch; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
@media (max-width: 900px) {
  .band__title, .band__body { grid-column: 1 / -1; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 128px) var(--space-block); }
.page-hero--short { min-height: 60vh; padding-bottom: var(--space-section); }

.split-content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 48px;
  padding-bottom: var(--space-section);
}
.split-content__media { grid-column: 1 / span 5; }
.split-content__text { grid-column: 7 / -1; align-self: center; }
.split-content__text .subhead:first-child { margin-top: 0; }
.split-content__text .statement { margin-bottom: 24px; }
.split-content__text .prose + p { margin-top: 24px; }
@media (max-width: 900px) {
  .split-content__media, .split-content__text { grid-column: 1 / -1; }
  .split-content__media { max-width: 560px; }
}

/* Experience: five steps, a true sequence, so numbered */
.steps { display: grid; row-gap: clamp(72px, 10vw, 152px); margin-bottom: var(--space-section); }
.step {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 32px;
  align-items: center;
}
.step__media { grid-column: 1 / span 7; }
.step__text { grid-column: 9 / -1; }
.step:nth-child(even) .step__media { grid-column: 6 / -1; grid-row: 1; }
.step:nth-child(even) .step__text { grid-column: 1 / span 4; grid-row: 1; }
.step__num { display: block; font-family: var(--serif); font-size: var(--step-2); color: var(--muted); margin-bottom: 20px; }
.step__title { font-size: var(--step-3); line-height: 1.08; margin-bottom: 20px; }
@media (max-width: 900px) {
  .step__media, .step__text,
  .step:nth-child(even) .step__media,
  .step:nth-child(even) .step__text { grid-column: 1 / -1; grid-row: auto; }
}

/* Services table */
.services { width: 100%; border-collapse: collapse; }
.services thead th {
  padding: 0 0 16px;
  text-align: left;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--fg);
}
.services tbody tr { border-bottom: 1px solid var(--rule); }
.services tbody th,
.services tbody td { padding: clamp(24px, 2.6vw, 36px) 0; vertical-align: top; text-align: left; }
.services__name { width: 55%; padding-right: 24px; font-family: var(--serif); font-size: var(--step-2); font-weight: 400; line-height: 1.2; }
.services__note { display: block; margin-top: 8px; font-family: var(--sans); font-size: var(--step-0); color: var(--muted); }
.services__time { width: 45%; padding-right: 24px; }
.services__price { color: var(--muted); }
.times { display: grid; gap: 6px; }
.times li { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; max-width: 340px; }
.times__label { color: var(--muted); }
.times__min { font-weight: 500; font-variant-numeric: tabular-nums; }
.notes { margin-top: 32px; color: var(--muted); }
.notes--single { margin-top: 40px; }
.notes li + li { margin-top: 8px; }
@media (max-width: 720px) {
  .services thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .services, .services tbody, .services tr, .services th, .services td { display: block; width: 100%; }
  .services tbody tr { padding-block: 26px; }
  .services tbody tr:first-child { border-top: 1px solid var(--fg); }
  .services tbody th, .services tbody td { padding: 0; }
  .services__name { margin-bottom: 16px; }
  .services td.services__time, .services td.services__price { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding-block: 6px; }
  .services td.services__time::before, .services td.services__price::before { content: attr(data-label); font-size: var(--step--1); color: var(--muted); padding-top: 2px; }
  .times li { max-width: none; justify-content: flex-start; flex-direction: column; gap: 0; }
}

/* Work gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding-bottom: var(--space-section);
}
.gallery__item--1, .gallery__item--4 { margin-top: clamp(48px, 9vw, 140px); }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--1, .gallery__item--4 { margin-top: 0; }
  .gallery__item--1, .gallery__item--3, .gallery__item--5 { margin-top: 48px; }
}

/* Contact details */
.details { border-top: 1px solid var(--fg); max-width: 880px; }
.details__row { display: grid; grid-template-columns: 12em 1fr; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.details dt { color: var(--muted); font-size: var(--step--1); padding-top: 6px; }
.details dd { font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 560px) {
  .details__row { grid-template-columns: 1fr; gap: 6px; }
}

/* Education: pillars, offerings, group formats */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.pillars__item {
  padding: 26px 0 clamp(48px, 5vw, 72px);
  border-top: 1px solid var(--fg);
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.2;
  text-wrap: balance;
}
.offerings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.offerings__item { padding-top: 26px; border-top: 1px solid var(--fg); }
.offerings__media, .group-formats__media { margin-bottom: 28px; }
.offerings__name { font-size: var(--step-3); line-height: 1.08; margin-bottom: 20px; }
.group-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.group-formats__item { padding-top: 26px; border-top: 1px solid var(--rule); }
.group-formats__name { font-size: var(--step-2); line-height: 1.15; margin-bottom: 16px; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offerings { grid-template-columns: 1fr; row-gap: 48px; }
}
@media (max-width: 560px) {
  .pillars, .group-formats { grid-template-columns: 1fr; }
  .group-formats { row-gap: 40px; }
  .pillars__item { padding-bottom: 32px; }
}

/* ---------- Forms ---------- */
.form-page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 48px;
  padding-block: clamp(48px, 8vw, 128px) var(--space-section);
}
.form-page__intro { grid-column: 1 / span 5; }
.form-page__intro .page-title { font-size: var(--step-4); }
.form { grid-column: 7 / -1; display: grid; gap: 30px; align-content: start; }
@media (max-width: 900px) {
  .form-page__intro, .form { grid-column: 1 / -1; }
}

.assurance {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--fg);
  font-weight: 500;
  max-width: 36ch;
}

.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 26px; min-width: 0; }
.form__group + .form__group { margin-top: 18px; padding-top: 40px; border-top: 1px solid var(--rule); }
.form__legend { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.form__legend + * { clear: both; }
.form__group-hint { margin-top: -12px; }

.field { display: grid; gap: 8px; min-width: 0; scroll-margin-top: 24px; }
.field__input, .choice input { scroll-margin-top: 96px; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset > legend { padding: 0; margin-bottom: 8px; }
.field__label { font-size: 0.9375rem; font-weight: 500; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__hint { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }
.field__error { font-size: var(--step--1); font-weight: 600; color: var(--error); line-height: 1.5; }
.field__input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field__input:hover { border-color: var(--fg); }
.field__input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--fg); }
.field__input--area { min-height: 120px; resize: vertical; }
.field--invalid .field__input { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--fg);
  border-bottom: 1.5px solid var(--fg);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select option { background: var(--bg); color: var(--fg); }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 10px; cursor: pointer; line-height: 1.4; }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--fg); cursor: pointer; }
.choice--consent { font-weight: 500; }
.consent { padding-top: 24px; border-top: 1px solid var(--rule); }
.consent__hint { padding-left: 32px; }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.form__assure { font-size: var(--step--1); color: var(--muted); max-width: 32ch; }

.error-summary {
  padding: 20px 24px;
  border: 2px solid var(--error);
  border-radius: var(--radius);
}
.error-summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.error-summary__title { font-family: var(--sans); font-size: var(--step-0); font-weight: 600; line-height: 1.4; margin: 0; }
.error-summary ul { margin: 12px 0 0; padding-left: 20px; }
.error-summary li + li { margin-top: 4px; }
.error-summary a { color: var(--error); font-weight: 500; }

/* Honeypot: off-screen for people, still present for bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.thanks .assurance { margin-top: 40px; }

/* ---------- Neutral pages (privacy, 404, unsubscribe) ---------- */
.neutral-mark { padding-top: 32px; margin-bottom: clamp(40px, 6vw, 88px); }
.neutral-mark a { display: inline-flex; min-height: 44px; align-items: center; color: var(--fg); }
.neutral-mark .logo--monogram { height: 48px; width: auto; }
.legal { max-width: 72ch; padding-bottom: var(--space-section); }
.legal .page-title { font-size: var(--step-4); }
.legal__meta { margin: 16px 0 40px; color: var(--muted); font-size: var(--step--1); }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); margin: 48px 0 14px; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.draft-flag { padding: 14px 18px; border: 2px dashed var(--fg); margin-bottom: 32px; }

/* ---------- Footer ---------- */
/* Two rows: the logo with the place under it and the links on one line beside it; then a hairline and the legal line.
   Phones: the same order in one column, the links as two tidy columns. */
.site-footer { border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--muted); }
.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 28px;
  padding-block: 48px 36px;
  align-items: center;
}
.site-footer__brand { display: grid; gap: 12px; justify-items: start; }
.site-footer__brand .logo { color: var(--fg); display: block; }
.site-footer__logo { height: 32px !important; }
.site-footer__mono { height: 40px; width: auto; }
.site-footer__place { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-footer__links a:hover { color: var(--fg); text-decoration: underline; }
.site-footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 2px 20px; }
@media (max-width: 720px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-block: 40px 32px; }
  .site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; justify-content: stretch; }
}
}

/* ---------- Admin ---------- */
.admin { font-size: 0.9375rem; }
.admin__wrap { width: min(100% - 40px, 1440px); margin-inline: auto; }
.admin__bar { border-bottom: 1px solid var(--rule); }
.admin__bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; min-height: 68px; }
.admin__brand { font-weight: 600; text-decoration: none; }
.admin__tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.admin__tabs a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--muted); }
.admin__tabs a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-underline-offset: 0.5em; }
.admin__logout { margin-left: auto; }
.admin__main { padding-block: 40px 80px; }
.admin__title { font-family: var(--serif); font-weight: 400; font-size: var(--step-3); line-height: 1.1; }
.admin__count { font-family: var(--sans); font-size: 1rem; color: var(--muted); vertical-align: middle; margin-left: 8px; }
.admin__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin__login { max-width: 420px; margin: 8vh auto 0; display: grid; gap: 28px; }
.admin__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0; }
.admin__card { display: grid; gap: 6px; padding: 24px; border: 1px solid var(--rule); text-decoration: none; }
.admin__card:hover { border-color: var(--fg); }
.admin__card-num { font-family: var(--serif); font-size: var(--step-4); line-height: 1; }
.admin__muted { color: var(--muted); }
.admin__empty { padding: 40px 0; color: var(--muted); border-top: 1px solid var(--rule); }
.admin__filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: end; margin-bottom: 28px; padding: 20px; border: 1px solid var(--rule); }
.admin__filters .field__input { min-height: 44px; padding-block: 8px; }
.admin__filter-actions { display: flex; gap: 16px; align-items: center; }
.admin__table-wrap { overflow-x: auto; border-top: 1px solid var(--fg); }
.admin__table { width: 100%; border-collapse: collapse; }
.admin__table th, .admin__table td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.admin__table th { font-weight: 600; white-space: nowrap; }
.admin__long { min-width: 260px; max-width: 420px; }
.admin__long p + p { margin-top: 6px; }
.nowrap { white-space: nowrap; }

/* ---------- Hairdressing booking (Stage 2a) ----------
   Same grid, type and rules as the forms: intro left, the step's form right; black rules carry the structure. */
.book {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 40px;
  padding-block: clamp(40px, 6vw, 96px) var(--space-section-end);
}
.book__intro { grid-column: 1 / span 4; display: grid; gap: 24px; align-content: start; min-width: 0; }
.book__main { grid-column: 6 / -1; min-width: 0; display: grid; gap: 32px; align-content: start; }
.book--wide .book__main { grid-column: 5 / -1; }
.book .form { grid-column: auto; } /* .form is placed on the 12-column form grid elsewhere; here it sits in its column */
.book__title { font-size: var(--step-4); text-wrap: balance; }
.book .page-lead, .book__lead { margin-top: 0; }
.book__lead p + p { margin-top: 12px; }
.book__assure { color: var(--muted); max-width: 36ch; }
.book__hold { padding-top: 14px; border-top: 1px solid var(--fg); font-weight: 500; max-width: 36ch; }
.book__empty { padding: 24px 0; color: var(--muted); border-top: 1px solid var(--rule); max-width: 52ch; }
.book__notice { padding: 14px 18px; border: 1px solid var(--fg); font-weight: 500; }
.book__back { margin-top: 8px; }
@media (max-width: 900px) {
  .book__intro, .book__main, .book--wide .book__main { grid-column: 1 / -1; }
}

/* Progress: a sequence, so numbered; a black rule marks the steps done and the current one. */
.book-steps__now { font-size: var(--step--1); font-weight: 500; }
.book-steps__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.book-steps__list li { display: grid; gap: 4px; padding-top: 8px; border-top: 2px solid var(--rule); font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.book-steps__list li.is-done, .book-steps__list li.is-current { border-top-color: var(--fg); }
.book-steps__list li.is-current { color: var(--fg); font-weight: 600; }
.book-steps__num { font-family: var(--serif); font-size: 0.9375rem; }
@media (max-width: 1200px) { .book-steps__label { display: none; } }

/* 1. Services: large serif rows like the Services page */
.book-options { border-top: 1px solid var(--fg); }
.book-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 20px;
  align-items: center;
  padding: clamp(14px, 2.2vh, 24px) 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding-left 160ms var(--ease), box-shadow 160ms var(--ease);
}
.book-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--fg); cursor: pointer; }
.book-option__name { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); line-height: 1.15; }
.book-option__variant { display: block; margin-top: 4px; font-family: var(--sans); font-size: var(--step--1); color: var(--muted); }
.book-option__meta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.book-option__time { color: var(--muted); font-size: var(--step--1); max-width: 26ch; }
.book-option__price { font-weight: 500; font-variant-numeric: tabular-nums; }
.book-option:has(input:checked) { box-shadow: inset 3px 0 0 var(--fg); padding-left: 16px; }
.book-option:hover .book-option__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.book-option.is-off { cursor: not-allowed; color: var(--muted); }
.book-option.is-off:hover .book-option__name { text-decoration: none; }
.book-option.is-off .book-option__price { font-weight: 400; }
.book-addon { padding-top: 8px; }
.book-addon__legend { font-size: var(--step-1); }
@media (max-width: 560px) {
  .book-option { grid-template-columns: auto minmax(0, 1fr); }
  .book-option__meta { grid-column: 2; justify-items: start; text-align: left; }
}

/* 2. Questions */
.choices--stack { grid-template-columns: 1fr; }
.choice__hint { display: block; color: var(--muted); font-size: var(--step--1); }
.book-q__set + .book-q__set { margin-top: clamp(4px, 1vh, 12px); }
.field__file { font-size: var(--step--1); max-width: 100%; }
.field__file::file-selector-button {
  margin-right: 14px; min-height: 44px; padding: 0 16px; border: 1px solid var(--fg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 500; cursor: pointer;
}
.field__file::file-selector-button:hover { background: var(--fg); color: var(--bg); }
.book-files { border-top: 1px solid var(--rule); }
.book-files li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--step--1); }
.choice--inline { min-height: 0; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__pair { grid-template-columns: 1fr; } }

/* 3. Time: a strip of days (links), then the day's times as large radio tiles */
.slots { display: grid; gap: clamp(20px, 3vh, 32px); min-width: 0; }
.slots > * { min-width: 0; }
.slots__days { min-width: 0; max-width: 100%; }
.slots__days ul { list-style: none; margin: 0; display: flex; max-width: 100%; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.slots__day {
  flex: none; display: grid; justify-items: center; gap: 2px; width: 64px; padding: 10px 0 12px;
  border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; scroll-snap-align: start;
}
.slots__day:hover { border-color: var(--fg); }
.slots__day[aria-current="date"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.slots__wd, .slots__mo { font-size: 0.75rem; }
.slots__dn { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.slots__more { display: flex; gap: 24px; margin-top: 4px; font-size: var(--step--1); }
.slots__form { gap: 20px; }
.slots__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slots__time { position: relative; display: block; }
.slots__time input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.slots__time span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--field); border-radius: var(--radius);
  font-variant-numeric: tabular-nums; font-weight: 500; transition: background-color 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease);
}
.slots__time:hover span { border-color: var(--fg); }
.slots__time input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.slots__time input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* 4-6. Summary, policy, consequences, test payment */
.book-summary { border-top: 1px solid var(--fg); }
.book-summary__row { display: grid; grid-template-columns: minmax(8em, 34%) minmax(0, 1fr); gap: 4px 16px; padding-block: clamp(8px, 1.4vh, 14px); border-bottom: 1px solid var(--rule); }
.book-summary dt { color: var(--muted); font-size: var(--step--1); padding-top: 2px; }
.book-summary dd { overflow-wrap: anywhere; white-space: pre-line; }
.book__intro .book-summary__row { grid-template-columns: 1fr; gap: 2px; }
.book-review { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1100px) { .book--wide .book-review { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.book-review__form { gap: 22px; }
.book-policy { padding-top: 18px; border-top: 1px solid var(--fg); }
.book-policy__title { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); line-height: 1.2; margin-bottom: 12px; }
.book-policy ul { padding-left: 20px; display: grid; gap: 6px; font-size: var(--step--1); line-height: 1.5; }
.book-policy__draft { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border: 1px dashed var(--fg); font-size: 0.8125rem; font-weight: 500; }
.book-consequence { display: grid; gap: 20px; max-width: 46rem; }
.book-consequence__text { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; max-width: 32ch; text-wrap: pretty; }
.test-flag { padding: 12px 16px; border: 2px dashed var(--fg); font-size: var(--step--1); line-height: 1.5; }
.test-pay { display: grid; gap: 28px; max-width: 40rem; }
.test-pay__flag { padding: 18px 22px; border: 2px dashed var(--fg); font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; text-align: center; }
.test-pay__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }

/* ---------- Admin: bookings ---------- */
.admin__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin__flash { padding: 12px 16px; border: 1px solid var(--fg); margin-bottom: 20px; }
.admin__flash--warn { border-style: dashed; }
.admin__attention { border: 2px solid var(--error); padding: 14px 20px; margin-bottom: 24px; }
.admin__attention li + li { margin-top: 4px; }
.admin__subtitle { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); line-height: 1.2; margin-bottom: 12px; }
.admin__head--section { margin-top: 48px; }
.admin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; margin-bottom: 20px; }
.admin__panel { border: 1px solid var(--rule); padding: 20px 22px; min-width: 0; margin-bottom: 20px; overflow-x: auto; }
@media (max-width: 560px) { .admin__panel { padding: 16px 14px; } .admin__dl { grid-template-columns: 1fr; gap: 2px 0; } .admin__dl dd { margin-bottom: 8px; } }
.admin__grid .admin__panel { margin-bottom: 0; }
.admin__dl { display: grid; grid-template-columns: minmax(8em, 38%) minmax(0, 1fr); gap: 8px 16px; }
.admin__dl dt { color: var(--muted); }
.admin__dl dd { overflow-wrap: anywhere; }
.admin__pre { white-space: pre-wrap; }
.admin__photos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.admin__photos li { display: grid; gap: 4px; }
.admin__photos img { width: 160px; height: 200px; object-fit: cover; background: var(--tone); }
.admin__actions-panel { display: grid; gap: 0; }
.admin__action { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); max-width: 760px; }
.admin__action:first-of-type { border-top: 0; padding-top: 0; }
.admin__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.admin__inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.admin__form { display: grid; gap: 16px; }
.admin__form .field__input, .admin__table--form .field__input, .admin__action .field__input { min-height: 44px; padding-block: 8px; }
.admin__fieldset { border: 1px solid var(--rule); padding: 16px 20px 20px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.admin__fieldset > legend { padding: 0 6px; margin-left: -6px; }
.admin__table--form td, .admin__table--form th { vertical-align: middle; }
.admin__scroll { overflow-x: auto; max-width: 100%; }
.admin__table--form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--fg); }
.admin__tiers li { display: grid; grid-template-columns: 6.5em 8em auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.admin__money { display: flex; align-items: center; gap: 4px; }
.admin__narrow { width: 6em; }
.admin__switch { border: 2px solid var(--fg); padding: 20px 24px; margin-bottom: 28px; display: grid; gap: 12px; max-width: 880px; }
.admin__switch.is-on { box-shadow: inset 8px 0 0 var(--fg); padding-left: 36px; }
ul.admin__missing, ul.admin__warnings { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.button:disabled, .button[disabled] { opacity: 0.35; cursor: not-allowed; }
.button:disabled:hover { background: var(--btn-bg); color: var(--btn-fg); }
.admin__form > .button, .admin__action > .button { justify-self: start; }
.admin__warnings { color: var(--muted); }
.admin__copy code { display: block; padding: 8px 10px; background: var(--tone); font-size: 0.8125rem; word-break: break-all; }
.admin__list li { padding: 8px 0; border-bottom: 1px solid var(--rule-soft); }
.admin__inline-form { display: inline; }
.link-button { background: none; border: 0; padding: 0 0 0 10px; min-height: 32px; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.link-button:hover { color: var(--fg); }
.admin__log li { padding: 6px 0; border-bottom: 1px solid var(--rule-soft); overflow-wrap: anywhere; }
.admin__rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.admin__rule { display: grid; grid-template-columns: minmax(0, 1fr) 11em; gap: 8px; align-items: center; }
.admin__rule .field__input { min-height: 44px; padding-block: 6px; }
.admin__examples li { padding: 6px 0; border-bottom: 1px solid var(--rule-soft); }
.admin__table--kv th { font-weight: 400; color: var(--muted); white-space: normal; }
.admin__table--kv td { text-align: right; font-variant-numeric: tabular-nums; }
.admin__settings { max-width: 880px; margin-bottom: 28px; }
.admin__filters--cal { align-items: end; }
.cal { display: grid; gap: 4px; }
.cal__day { border-top: 1px solid var(--fg); padding: 14px 0 18px; }
.cal__date { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); margin-bottom: 8px; }
.cal__date a { text-decoration: none; }
.cal__date a:hover { text-decoration: underline; }
.cal__empty { padding: 4px 0; }
.cal__item { display: grid; grid-template-columns: 15em minmax(0, 1fr) 16em; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.cal__time { font-variant-numeric: tabular-nums; }
.cal__buffer { display: block; color: var(--muted); font-size: 0.8125rem; }
.cal__status { color: var(--muted); }
.cal__item--cancelled, .cal__item--expired, .cal__item--rescheduled { color: var(--muted); }
.cal__item--held .cal__status, .cal__item--pending_payment .cal__status { font-style: italic; }
.cal__item--block { color: var(--muted); }
.cal__item--block .cal__what { font-style: italic; }
@media (max-width: 760px) { .cal__item { grid-template-columns: 1fr; } }

/* ---------- One screen per section ----------
   Owner rule: each section fits the screen without scrolling. On desktop and tablet (>= 768 wide and
   >= 600 tall) every .screen is exactly the viewport minus the header; type, images and spacing scale with
   the viewport's width AND height so 1024x768 up to 1920x1080 fit. Long content is split into more screens.
   Phones and short screens: the first screen (the hero) fits the viewport; later sections take their height. */
:root {
  --screen: calc(100vh - var(--header-h));
  --screen-pad: clamp(24px, 6vh, 72px);
}
@supports (height: 1svh) { :root { --screen: calc(100svh - var(--header-h)); } }

/* Shared building blocks for screen layouts (all widths) */
.two-up, .exp, .formats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; padding-block: clamp(48px, 8vw, 96px); }
.two-up__head { grid-column: 1 / span 4; }
.two-up__body { grid-column: 6 / -1; }
.two-up--gallery .two-up__head { grid-column: 1 / span 3; }
.two-up--gallery .two-up__body { grid-column: 4 / -1; }
/* Hairdressing home: the appointment text beside Roberto at work */
.intro--media .intro__text { grid-column: 1 / span 6; align-self: center; }
.intro--media .intro__title { margin-bottom: clamp(20px, 3vh, 40px); }
.intro--media .intro__media { grid-column: 8 / -1; }
.exp__head, .formats__head { grid-column: 1 / -1; }
.exp .steps-row, .formats .offerings { grid-column: 1 / -1; }
.steps-row--full .steps-row__item { gap: 12px; }
.steps-row__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.2; font-optical-sizing: none; font-variation-settings: "opsz" 18; }
.steps-row--full .steps-row__body { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.steps-row__media { margin-bottom: 8px; }
.split-content__text .page-title { margin-bottom: clamp(24px, 4vh, 48px); }
.split-content { padding-block: clamp(48px, 8vw, 96px); }
.two-up .notes { margin-top: 28px; }
.gallery.two-up__body { padding-bottom: 0; }
@media (max-width: 900px) {
  .two-up__head, .two-up__body, .two-up--gallery .two-up__head, .two-up--gallery .two-up__body,
  .intro--media .intro__text, .intro--media .intro__media { grid-column: 1 / -1; }
  .intro--media { row-gap: 40px; }
  .steps-row--full .steps-row__item { flex-direction: column; align-items: flex-start; }
}

/* Education form: two screens of three columns (intro, About you, What to learn | salon, anything else, send) */
.form-page--wide { display: block; padding-block-start: 0; } /* the first .form__screen carries its own padding; the extra top padding made scroll-snap park the page below the top (QA 2026-11-16) */
.form--screens { display: block; }
.form__screen { display: grid; gap: 30px; align-content: start; padding-block: clamp(32px, 6vw, 64px); }
.form__col { display: grid; gap: 30px; align-content: start; min-width: 0; }
.form__alerts:empty { display: none; }
@media (min-width: 768px) {
  .form__screen { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); }
  .form__screen .form-page__intro { grid-column: 1; grid-row: 1 / span 2; }
  .form__screen .form__alerts { grid-column: 2 / -1; }
  .form__screen .form-page__intro .page-title { font-size: var(--step-h2); }
  .form__screen .choices { grid-template-columns: 1fr; }
  .form__screen + .form__screen { border-top: 1px solid var(--rule); }
}

@media (min-width: 768px) and (min-height: 600px) {
  .screen {
    box-sizing: border-box;
    min-height: var(--screen);
    padding-block: var(--screen-pad);
    align-content: center;
  }
  /* Content blocks that are not already grids stack and centre vertically. */
  .section.screen, .page-hero.screen { display: grid; align-content: center; }
  .section.screen { padding-block: var(--screen-pad); }
  .band__inner.screen { padding-block: var(--screen-pad); }

  /* Height-aware type: the smaller of a width-based and a height-based size. */
  .hero__main, .page-title { font-size: clamp(2.25rem, min(1.4rem + 4.4vw, 8.4vh), 5.5rem); }
  .hero--statement .hero__main { font-size: clamp(2.25rem, min(1.3rem + 5vw, 9vh), 6rem); }
  :root { --step-h2: clamp(1.75rem, min(1.2rem + 2.3vw, 5.6vh), 3.25rem); }
  .hero__date { font-size: clamp(1.5rem, min(1.4rem + 2.1vw, 5vh), 3.25rem); }
  .hero__lead, .page-lead, .prose-lead, .band__body p { font-size: clamp(1rem, min(0.95rem + 0.45vw, 2.6vh), 1.4375rem); }
  .hero__brand { margin-bottom: clamp(20px, 4.5vh, 64px); }
  .hero__brand .logo--hair-stacked { width: clamp(150px, 24vh, 280px); }
  .hero__lead { margin-top: clamp(16px, 3.4vh, 48px); }
  .hero__actions { margin-top: clamp(20px, 3.4vh, 48px); }
  .page-lead { margin-top: clamp(14px, 2.6vh, 32px); }

  /* Images bound by the screen's height as well as their column's width. */
  .hero.screen { padding-block: var(--screen-pad); align-items: center; }
  .hero__frame, .split-content__media {
    width: min(100%, calc((var(--screen) - 2 * var(--screen-pad)) * 0.8));
    justify-self: end;
  }
  .split-content__media { justify-self: start; }
  .split-content.screen { align-items: center; padding-block: var(--screen-pad); }

  /* The Experience: five steps across one screen */
  .exp.screen, .two-up.screen, .formats.screen { padding-block: var(--screen-pad); row-gap: clamp(20px, 5vh, 56px); }
  .steps-row--full { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps-row--full .steps-row__item { flex-direction: column; align-items: flex-start; padding-block: 22px 0; border-top-color: var(--fg); }
  .steps-row__media { height: clamp(90px, 18vh, 220px); aspect-ratio: auto; width: 100%; }
  .section.screen .section__title { margin-bottom: clamp(24px, 5vh, 72px); }
  .section__head { margin-bottom: clamp(24px, 5vh, 72px); }

  /* Six pillars: 3 x 2 */
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars__item { padding: clamp(14px, 2.6vh, 26px) 0 clamp(20px, 5vh, 72px); font-size: clamp(1.25rem, min(1rem + 1vw, 3.6vh), 2.125rem); }

  /* Services table */
  .services tbody th, .services tbody td { padding-block: clamp(10px, 2.4vh, 32px); }
  .services__name { font-size: clamp(1.15rem, min(0.9rem + 1vw, 3.4vh), 2rem); }

  /* Work: up to six frames in a 3 x 2 grid sized by the screen's height */
  .gallery.two-up__body {
    --row: calc((var(--screen) - 2 * var(--screen-pad) - clamp(12px, 1.6vw, 24px)) / 2);
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-auto-rows: var(--row);
    gap: clamp(12px, 1.6vw, 24px);
    justify-content: start;
    align-items: start;
    padding: 0;
  }
  .gallery.two-up__body .gallery__item { height: var(--row); width: auto; max-width: 100%; aspect-ratio: 4 / 5; margin: 0; }
  /* Home: the at-work photograph bound by the screen's height */
  .intro--media .intro__media { width: min(100%, calc((var(--screen) - 2 * var(--screen-pad)) * 0.8)); justify-self: end; }
  .intro--media.screen { align-items: center; }

  /* Formats: offerings and group formats with height-bound photos */
  .offerings__media, .group-formats__media { aspect-ratio: auto; height: clamp(150px, 30vh, 380px); margin-bottom: clamp(14px, 2.4vh, 28px); }
  .offerings__name { font-size: var(--step-h2); margin-bottom: 10px; }
  .offerings__item, .group-formats__item { padding-top: clamp(14px, 2.4vh, 26px); }
  .group-formats__media { height: clamp(160px, 36vh, 440px); }
  .notes--single { margin-top: clamp(16px, 3vh, 40px); }

  /* Forms: intro | form side by side, compact fields on shorter screens */
  .form-page.screen { padding-block: var(--screen-pad); align-items: center; }
  .form-page .form-page__intro { grid-column: 1 / span 4; }
  .form-page .form { grid-column: 6 / -1; gap: clamp(14px, 2.6vh, 30px); }
  .form__screen.screen { padding-block: clamp(16px, 3vh, 48px); align-content: center; row-gap: clamp(14px, 2.6vh, 30px); }
  .form__col { gap: clamp(12px, 2.2vh, 26px); }
  .form__screen .form__group + .form__group { padding-top: clamp(12px, 2.4vh, 32px); }
  .form__screen .choice { min-height: 32px; padding-block: 4px; }
  .form__screen .field__input--area { min-height: 76px; }
  .field__input { min-height: clamp(44px, 6vh, 54px); padding-block: 8px; }
  .form__group { gap: clamp(12px, 2.2vh, 26px); }
  .form__group + .form__group { padding-top: clamp(16px, 3vh, 40px); }
  .choice { min-height: 40px; padding-block: 6px; }
  .assurance { margin-top: clamp(16px, 3vh, 36px); }
  .page-hero--short.screen { min-height: var(--screen); }
}

@media (min-width: 768px) and (min-height: 600px) {
  .form__screen .form-page__intro { grid-column: 1; grid-row: 1 / span 2; }
  .form__screen .form__legend { font-size: clamp(1.25rem, min(1rem + 0.8vw, 3.4vh), 1.75rem); }
}

@media (min-width: 768px) and (max-width: 1199px) and (min-height: 600px) {
  .form__screen .choice { min-height: 28px; padding-block: 2px; }
  .form__screen .field__input--area { min-height: 60px; }
}

/* Phones and short screens: the hero is exactly one screen with its call to action in view. */
@media (max-width: 767px), (max-height: 599px) {
  .hero.screen { padding-top: 0; }
  .hero.screen .hero__text {
    min-height: var(--screen);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 24px;
    box-sizing: border-box;
  }
  .hero__brand .logo--hair-stacked { width: clamp(140px, 22vh, 220px); }
}

/* Optional snap between screens (never with reduced motion). */
@media (min-width: 761px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
}
@media (min-width: 761px) and (min-height: 600px) {
  .screen, .fit, .site-footer { scroll-snap-align: start; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Services page while bookings are Live: price beside each length */
.times__price { font-variant-numeric: tabular-nums; }
.admin__title--section { margin-top: 56px; margin-bottom: 12px; }
.admin__checks { display: grid; gap: 2px; font-size: 0.875rem; }
.admin__label { font-size: 0.9375rem; font-weight: 600; margin-top: 4px; }
.admin__checklist { display: grid; gap: 6px; }
.admin__checklist li { display: grid; grid-template-columns: 1.5em 1fr; gap: 6px; }
.admin__checklist .admin__check { font-weight: 700; }
.admin__checklist li.is-missing { color: var(--error); }

/* ---------- Hairdressing handover (17 Nov 2026) ---------- */
/* Home hero: headline, the British/Italian line, two paragraphs, the launch line, the Priority List button */
.hero--guest .hero__main { text-wrap: balance; }
.hero--guest .hero__date { color: var(--fg); }
.hero__para { margin-top: clamp(14px, 2.2vh, 24px); max-width: 44ch; font-size: var(--step-0); line-height: 1.6; color: var(--muted); }
.hero__date + .hero__para, .hero__title + .hero__para { margin-top: clamp(20px, 3.4vh, 40px); }
.hero__launch { display: grid; gap: 2px; margin-top: clamp(20px, 3.4vh, 40px); padding-top: 14px; border-top: 1px solid var(--fg); max-width: 30rem; }
.hero__launch-name { font-weight: 600; }
.hero__launch-line { font-family: var(--serif); font-size: var(--step-1); }
.page-title--long { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.split-content--long .prose, .split-content--long .prose-lead { max-width: 60ch; }
.split-content__text .prose-lead + .prose, .split-content__text .prose + .prose { margin-top: 14px; }
/* Your Time With Me: four options */
.services__intro { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.options { border-top: 1px solid var(--fg); }
.options__item { display: grid; grid-template-columns: minmax(8em, 30%) minmax(0, 1fr) auto; gap: 4px 24px; padding-block: clamp(14px, 2.4vh, 26px); border-bottom: 1px solid var(--rule); }
.options__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); line-height: 1.15; grid-row: span 2; }
.options__desc { color: var(--fg); max-width: 52ch; }
.options__note { grid-column: 2; font-size: var(--step--1); font-weight: 600; }
.options__price { grid-column: 3; grid-row: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.options__help { margin-top: 24px; }
@media (max-width: 720px) {
  .options__item { grid-template-columns: 1fr auto; }
  .options__name { grid-row: auto; }
  .options__desc, .options__note { grid-column: 1 / -1; }
  .options__price { grid-column: 2; grid-row: 1; }
}
.book-option__note { display: block; margin-top: 6px; font-family: var(--sans); font-size: var(--step--1); font-weight: 600; }
.book-option__variant { max-width: 52ch; line-height: 1.5; }
.book__help { color: var(--fg); }
.admin__desc { min-width: 260px; min-height: 64px; }

/* ---------- Hairdressing handover (19 Nov 2026) ---------- */
/* Photographs whose subject sits high in the frame (tall hair): never crop into the top. */
.frame--top img { object-position: 50% 0; }
.screen--long { height: auto; } /* long content (menus, biography, awards) may run past one screen */
.band__closing, .closing { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: var(--step-1); line-height: 1.3; color: var(--fg); }
.band__body .band__closing { color: var(--fg); margin-top: -8px; }

/* Home 2 + About: awards grouped by organisation. Text only (no badges supplied): the organisation in serif over a
   black rule, the credits beneath. Two columns on desktop, one stacked column on phones. No slider. */
.awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3.4vh, 44px) clamp(24px, 4vw, 72px); }
.awards__group { border-top: 1px solid var(--fg); padding-top: clamp(10px, 1.6vh, 16px); break-inside: avoid; }
.awards__org { font-family: var(--serif); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); line-height: 1.15; margin-bottom: clamp(8px, 1.4vh, 14px); text-wrap: balance; }
.awards__items { display: grid; gap: 6px; padding: 0; list-style: none; color: var(--fg); }
.awards__items li { line-height: 1.45; }
.accolades { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; align-items: start; }
.accolades__head { grid-column: 1 / span 4; display: grid; gap: clamp(16px, 3vh, 28px); }
.accolades__head .section__title, .selected__head .section__title, .time__head .section__title { margin-bottom: 0; }
.accolades .awards { grid-column: 6 / -1; }
.accolades .awards__items { font-size: var(--step-1); }
.recognition .awards, .highlights__groups { margin-bottom: clamp(8px, 2vh, 24px); }

/* About: career highlights in three groups, with backstage and teaching photographs */
.highlights__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vh, 40px) clamp(24px, 3vw, 56px); padding: 0; list-style: none; }
.highlights__group { border-top: 1px solid var(--fg); padding-top: clamp(10px, 1.6vh, 16px); }
.highlights__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(20px, 4vh, 48px); }

/* Home 4: selected portfolio, three frames */
.selected { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; align-items: center; }
.selected__head { grid-column: 1 / span 3; display: grid; gap: clamp(16px, 3vh, 28px); align-content: center; }
.selected__grid { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.selected__item { aspect-ratio: 4 / 5; }

/* Home 6: Your Time With Me, the way into the three menus */
.time { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(20px, 4vh, 40px); align-items: start; }
.time__head { grid-column: 1 / span 5; display: grid; gap: clamp(14px, 2.6vh, 24px); }
.time__more, .intro__more { color: var(--muted); margin-top: clamp(10px, 2vh, 18px); }
.time__head .time__more { margin-top: 0; }
.time__list { grid-column: 7 / -1; border-top: 1px solid var(--fg); padding: 0; list-style: none; }
.time__item { border-bottom: 1px solid var(--rule); }
.time__link { display: grid; gap: 4px; padding-block: clamp(14px, 2.6vh, 26px); text-decoration: none; min-height: 44px; }
.time__name { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1.1; }
.time__link:hover .time__name, .time__link:focus-visible .time__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.time__range { color: var(--muted); font-variant-numeric: tabular-nums; }
.time__all { grid-column: 7 / -1; }
.time-intro { display: grid; gap: clamp(14px, 2.6vh, 24px); align-content: start; }
.time-intro .time__list { grid-column: auto; }
.time__list--jump .time__link { padding-block: clamp(10px, 1.8vh, 18px); }
.time__list--jump .time__name { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); }
.time-intro .hero__actions { margin-top: 0; }

/* Home 7: Meet Roberto, the portrait on the left */
.intro--meet .intro__media { grid-column: 1 / span 5; justify-self: start; }
.intro--meet .intro__text { grid-column: 7 / -1; }

/* Home 8: the Priority List form at the foot */
.band--form .page-title--long { font-size: var(--step-h2); }

/* Your Time With Me: one menu per service. The duration and its price share one line. */
.menu { border-top: 1px solid var(--rule); align-items: start; }
.menu__title { font-family: var(--serif); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: var(--step-h2); line-height: 1.08; letter-spacing: -0.005em; text-wrap: balance; }
.menu__intro { margin-top: clamp(14px, 2.6vh, 24px); max-width: 40ch; font-size: var(--step-1); line-height: 1.5; text-wrap: pretty; }
.menu__notes { margin-top: clamp(18px, 3.4vh, 36px); display: grid; gap: 10px; max-width: 40ch; }
.menu__restriction { font-weight: 600; }
.menu__gst { color: var(--muted); font-size: var(--step--1); }
.menu__list { border-top: 1px solid var(--fg); padding: 0; list-style: none; }
.menu__item { display: grid; grid-template-columns: minmax(11.5em, 34%) minmax(0, 1fr); gap: 6px 24px; padding-block: clamp(14px, 2.6vh, 28px); border-bottom: 1px solid var(--rule); }
.menu__time { font-family: var(--serif); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); line-height: 1.15; font-variant-numeric: lining-nums; white-space: nowrap; }
.menu__text { display: grid; gap: 8px; }
.menu__desc { max-width: 52ch; }
.menu__note { font-size: var(--step--1); font-weight: 600; max-width: 52ch; }
.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--rule); padding-block: clamp(48px, 8vw, 96px); align-items: start; }
.care__block { display: grid; gap: clamp(12px, 2vh, 18px); align-content: start; }
.care__price { padding-top: 12px; border-top: 1px solid var(--fg); white-space: normal; }

/* Booking step 1: the three menus as radio rows, the extensions choice, the add-on */
.book-menu { border: 0; padding: 0; margin: 0; min-width: 0; }
.book-menu + .book-menu { margin-top: 8px; }
.book-menu__title { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: var(--step-2); line-height: 1.15; padding: 0; margin-bottom: 10px; }
.book-menu__intro { max-width: 60ch; margin-bottom: 14px; }
.book-menu__note { margin-top: 12px; font-weight: 600; }
.book-menu .book-option { grid-template-columns: auto minmax(0, 1fr); }
.book-option.is-off .book-option__variant { color: var(--muted); }
.book-ext { display: grid; gap: 12px; padding: clamp(16px, 2.4vw, 24px); border: 1px solid var(--fg); }
.book-ext__title { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 400; font-size: var(--step-2); line-height: 1.15; }
.book-ext__choice { display: flex; flex-wrap: wrap; gap: 8px; }
.book-ext__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--fg); border-radius: 999px; text-decoration: none; font-weight: 500; }
.book-ext__link[aria-current="true"] { background: var(--fg); color: var(--bg); }
.book-ext__text { max-width: 62ch; }
/* Cut & Finish with extensions: the way to the appointments for extensions (Roberto, 23 Nov 2026): full width on a phone. */
.book-ext__see { justify-self: start; }
@media (max-width: 640px) { .book-ext__see { justify-self: stretch; width: 100%; } }
/* Back bar (Roberto, 24 Nov 2026): "← Back" on every booking screen with a previous step, left-aligned under the RP
   header and above the step's title, in a thin opaque white row pinned just under the sticky header while the page
   scrolls (at the top edge of the view if the header ever scrolls away). It is a sibling of the header, outside
   <main>, so it stays to the end of the page. Anchors, focused fields and error summaries land below both bars. */
:root { --backbar-h: 48px; }
.book-backbar {
  position: sticky;
  top: var(--header-h);
  z-index: 19; /* under the header (20), so the small-screen menu opens over it */
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
}
.book-backbar__inner { display: flex; align-items: center; min-height: var(--backbar-h); }
.book-backbar__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 16px 0 0; margin: 2px 0;
  background: none; border: 0; color: var(--fg); font: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.book-backbar__arrow { position: relative; top: -0.12em; font-size: 1.125rem; line-height: 1; transition: transform 160ms var(--ease); } /* the glyph sits low */
.book-backbar__link:hover .book-backbar__text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.book-backbar__link:hover .book-backbar__arrow { transform: translateX(-3px); }
.book-backbar__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
html:has(.book-backbar) { scroll-padding-top: calc(var(--header-h) + var(--backbar-h) + 1px); }
@media (min-width: 768px) and (min-height: 600px) {
  .book-backbar + main .book.screen { min-height: calc(var(--screen) - var(--backbar-h) - 1px); }
}
@media (prefers-reduced-motion: reduce) { .book-backbar__arrow { transition: none; } }
/* "Choose another time" on the details step: a button (it keeps what is typed, like Back) that looks like a link. */
.book__link-button { padding: 0; min-height: 44px; color: var(--fg); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.book__link-button:hover { text-decoration-thickness: 2px; }
.book-extform legend.book-chosen__name { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--fg); width: 100%; }
/* The add-on goes with some of these appointments only: hidden while one that doesn't take it is chosen (the server
   refuses that pairing anyway, so browsers without :has() still get a clear message). */
.book-extform:has(input[data-noaddon]:checked) .book-addon { display: none; }
/* Step 1, first screen: the three services as large rows (Roberto, 23 Nov 2026), then the chosen one alone. */
.book-pick { display: grid; gap: 16px; }
.book-pick__title { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 400; font-size: var(--step-2); line-height: 1.15; }
.book-pick__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.book-pick__item {
  display: grid; gap: 4px; padding: clamp(16px, 2.4vh, 26px) 32px clamp(16px, 2.4vh, 26px) 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; position: relative; transition: padding-left 160ms var(--ease), box-shadow 160ms var(--ease);
}
a.book-pick__item::after { content: "→"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; }
a.book-pick__item:hover, a.book-pick__item:focus-visible { box-shadow: inset 3px 0 0 var(--fg); padding-left: 16px; }
a.book-pick__item:hover .book-pick__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.book-pick__item.is-off { color: var(--muted); }
.book-pick__name { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.1; }
.book-pick__meta { font-weight: 500; font-variant-numeric: tabular-nums; }
.book-pick__text { color: var(--muted); font-size: var(--step--1); max-width: 60ch; }
.book-chosen { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.book-chosen__name { font-family: var(--serif); font-optical-sizing: none; font-weight: 400; font-size: var(--step-3); line-height: 1.1; }
.book-chosen__change { min-height: 44px; display: inline-flex; align-items: center; }
#menu { scroll-margin-top: 12px; }
.slots__tz { margin: -4px 0 12px; color: var(--muted); font-size: var(--step--1); }
.book__hold [data-hold-count] { font-variant-numeric: tabular-nums; }
.book-policy__sub { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 400; font-size: var(--step-1); margin-top: 8px; }
.book-policy p + p { margin-top: 10px; }
.admin__service + .admin__service { margin-top: 28px; }

@media (max-width: 900px) {
  .accolades__head, .accolades .awards, .selected__head, .selected__grid, .time__head, .time__list, .time__all,
  .intro--meet .intro__media, .intro--meet .intro__text { grid-column: 1 / -1; }
  .highlights__groups { grid-template-columns: 1fr; }
  .care { grid-template-columns: 1fr; }
}
/* Phones: cards stack; the duration and price stay on one line above the description */
@media (max-width: 720px) {
  .awards { grid-template-columns: 1fr; }
  .menu__item { grid-template-columns: 1fr; }
  .selected__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selected__item:first-child { grid-column: 1 / -1; }
  .highlights__media { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (min-height: 600px) {
  .accolades.screen, .selected.screen, .time.screen { display: grid; align-items: center; align-content: center; }
  .selected__grid { --h: calc(var(--screen) - 2 * var(--screen-pad)); grid-template-columns: repeat(3, minmax(0, calc(var(--h) * 0.8))); justify-content: end; }
  .intro--meet .intro__media { justify-self: start; }
  /* the photographs keep their own proportions (heads stay whole): equal heights, natural widths */
  .highlights__media { display: flex; flex-wrap: wrap; justify-content: flex-start; }
  .highlights__frame { height: clamp(160px, 34vh, 380px); width: auto; flex: none; }
  .menu.screen { align-items: center; }
}

/* Phones: the Priority List button stays in the sticky header (it never covers the page), with a shorter label. */
.nav-cta__short { display: none; }
@media (max-width: 720px) {
  [data-section="hairdressing"] .nav-cta { display: inline-flex; padding-inline: 12px; min-height: 40px; font-size: 0.8125rem; white-space: nowrap; }
  [data-section="hairdressing"] .nav-cta__full { display: none; }
  [data-section="hairdressing"] .nav-cta__short { display: inline; }
}

/* The opening screen fits small laptops too (1280x720, 1366x768, 1024x768): the guest hero's type and spacing follow
   the viewport's height. */
@media (min-width: 768px) and (min-height: 600px) {
  .hero--guest.screen { padding-block: clamp(16px, 4vh, 72px); }
  .hero--guest .hero__main { font-size: clamp(2rem, min(1.2rem + 3.8vw, 7.4vh), 5.5rem); }
  .hero--guest .hero__date { font-size: clamp(1.25rem, min(1.1rem + 1.7vw, 4vh), 3.25rem); margin-top: clamp(8px, 1.4vh, 22px); }
  .hero--guest .hero__para { font-size: clamp(0.9375rem, 2.2vh, 1.0625rem); line-height: 1.5; margin-top: clamp(8px, 1.6vh, 24px); max-width: 52ch; }
  .hero--guest .hero__date + .hero__para, .hero--guest .hero__title + .hero__para { margin-top: clamp(12px, 2.6vh, 40px); }
  .hero--guest .hero__launch { margin-top: clamp(12px, 2.6vh, 40px); padding-top: clamp(8px, 1.4vh, 14px); }
  .hero--guest .hero__actions { margin-top: clamp(12px, 2.6vh, 48px); }
  .hero--guest .hero__text { padding-bottom: 0; }
}
/* Booking progress: five steps share the row, so "Appointment" no longer runs into "Time" */
.book-steps__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.book-steps__label { font-size: 0.6875rem; letter-spacing: -0.01em; }

/* ---------- Client materials (19 Nov 2026): official logo, award graphics, guest reviews ---------- */

/* Official award artwork beside the readable text (Digital Hair Awards); every other award stays text only. */
.awards__group--art { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(16px, 2vw, 28px); align-items: start; }
.awards__badge { display: block; width: clamp(104px, 9vw, 150px); }
.awards__badge img { width: 100%; height: auto; }
.awards__logo { height: clamp(40px, 5vh, 56px); width: auto; margin-bottom: 12px; }

/* Guest reviews: excerpts from Google reviews of the salons where Roberto worked. Cards stack on phones. */
.reviews { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(24px, 4vh, 40px); align-items: start; }
.reviews__head { grid-column: 1 / span 4; display: grid; gap: clamp(14px, 2.6vh, 24px); align-content: start; }
.reviews__head .section__title { margin-bottom: 0; }
.reviews__note { color: var(--muted); max-width: 40ch; }
.reviews__list { grid-column: 6 / -1; display: grid; gap: 0; border-top: 1px solid var(--fg); padding: 0; list-style: none; }
.review { display: grid; gap: 6px; padding-block: clamp(14px, 2.6vh, 26px); border-bottom: 1px solid var(--rule); }
.review__stars { font-size: 0.9375rem; letter-spacing: 0.18em; line-height: 1; }
.review__label { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.review__quote { margin: 0; }
.review__quote p { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.25; text-wrap: pretty; max-width: 34em; }
.review__name { font-family: var(--sans); font-size: var(--step-0); font-weight: 600; margin-top: 6px; }
.review__source { color: var(--muted); font-size: var(--step--1); }
.review__link { font-size: var(--step--1); }
.reviews-page { padding-block: clamp(48px, 8vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; align-items: start; }
.reviews-page .reviews__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
.reviews__list--all { grid-column: 6 / -1; }
.book-policy__legal { margin-top: 14px; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) {
  .reviews__head, .reviews__list, .reviews-page .reviews__head, .reviews__list--all { grid-column: 1 / -1; }
  .reviews-page .reviews__head { position: static; }
}
@media (min-width: 768px) and (min-height: 600px) {
  .reviews.screen { align-content: center; align-items: center; }
  .reviews .review__quote p { font-size: clamp(1.125rem, min(0.95rem + 0.8vw, 3.2vh), 1.625rem); }
  .reviews .review { padding-block: clamp(10px, 2vh, 22px); }
}
.site-footer__links li { min-width: 0; overflow-wrap: anywhere; }
.site-footer__inner > * { min-width: 0; }
/* Home: the group with the badge gets the wider column, so its credits still read in one or two lines */
.accolades .awards { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.accolades .awards__badge { width: clamp(88px, 7.4vw, 124px); }
@media (max-width: 720px) { .accolades .awards { grid-template-columns: 1fr; } }
/* Home reviews on wider screens: the heading row, then the three cards side by side (one screen) */
@media (min-width: 901px) {
  .reviews .reviews__head { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
  .reviews .reviews__head .section__title { grid-column: 1 / span 6; }
  .reviews .reviews__head .reviews__note { grid-column: 8 / -1; max-width: none; }
  .reviews .reviews__head > p:last-child { grid-column: 8 / -1; }
  .reviews .reviews__list { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 2.6vw, 44px); border-top: 0; }
  .reviews .review { border-top: 1px solid var(--fg); border-bottom: 0; align-content: start; }
}
@media (min-width: 768px) and (min-height: 600px) {
  .details__row { padding-block: clamp(12px, 2.4vh, 24px); }
}
@media (min-width: 768px) and (min-height: 600px) {
  .reviews.screen { row-gap: clamp(14px, 3vh, 40px); padding-block: clamp(20px, 5vh, 72px); }
  .reviews .review__quote p { font-size: clamp(1.0625rem, min(0.9rem + 0.8vw, 2.9vh), 1.625rem); }
  .reviews .reviews__head { gap: clamp(8px, 1.6vh, 24px); }
}

/* ---------- Education package (20 Nov 2026) ---------- */
/* What I teach: the topic names wrap (the service menus' "time · price" lines never do). */
.menu__item--topic .menu__time { white-space: normal; text-wrap: balance; }
/* The note beneath the band's button ("Enquiring doesn't commit you...") */
.band__body .band__note { font-size: var(--step--1); line-height: 1.5; margin-top: -12px; }

/* One format: photograph beside the copy, the price with its payment details beneath, then the links and the enquiry button. */
.course { border-top: 1px solid var(--rule); }
.course__price { display: grid; gap: 10px; margin-top: clamp(18px, 3.4vh, 36px); max-width: 52ch; }
.course__price .care__price + .care__price { margin-top: 2px; }
.split-content__text .course__links { margin-top: clamp(8px, 1.6vh, 16px); }
.course__cta { margin-top: clamp(10px, 2vh, 20px); }

/* Booking & cancellations: one shared block, closed until asked for (a native <details>, no script). */
.terms-wrap { padding-block: 0 clamp(48px, 8vw, 96px); }
.terms { border-block: 1px solid var(--fg); scroll-margin-top: 16px; }
.terms__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 44px; padding-block: clamp(16px, 3vh, 28px); cursor: pointer; list-style: none;
}
.terms__summary::-webkit-details-marker { display: none; }
.terms__summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.terms__summary:hover .terms__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.terms__icon { flex: none; position: relative; width: 20px; height: 20px; }
.terms__icon::before, .terms__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; }
.terms__icon::after { transform: rotate(90deg); transition: transform 160ms var(--ease); }
.terms[open] .terms__icon::after { transform: rotate(0deg); }
.terms__body { display: grid; gap: clamp(20px, 3vh, 32px); padding-bottom: clamp(24px, 4vh, 48px); }
.terms__body .prose-lead { max-width: 60ch; }
.terms__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(32px, 6vw, 96px); }
.terms__col { display: grid; gap: 12px; align-content: start; }
.terms__head { font-family: var(--serif); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: var(--step-1); line-height: 1.25; margin-top: 14px; text-wrap: balance; }
.terms__col > .terms__head:first-child { margin-top: 0; }
.terms__list { display: grid; gap: 8px; max-width: 52ch; }
ul.terms__list { list-style: disc; padding-left: 1.2em; }
.terms__law { margin-top: 14px; max-width: 52ch; }
#what-to-bring { scroll-margin-top: 16px; }
@media (max-width: 900px) { .terms__cols { grid-template-columns: 1fr; } }

/* Enquiry form: the salon questions show only for a salon team enquiry. Without :has() the block stays visible
   under its own legend ("Salon team enquiries only"); the server asks for the answers only when they apply. */
@supports selector(:has(*)) {
  .form--enquiry:not(:has(input[data-reveals]:checked)) .form__salon { display: none; }
}

/* ---------- Collaborate (package of 20 November 2026) ----------
   The film keeps its portrait frame (512 x 910) at every width and is never cropped: its width follows the height
   that is free, so the whole frame, its caption and (on phones) the heading fit the first screen. */
.collab { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); padding-block: 16px clamp(40px, 8vw, 72px); align-items: center; }
.film { --film-h: calc(100vh - var(--header-h) - 12rem); width: min(100%, 512px, calc(var(--film-h) * 512 / 910)); min-width: min(100%, 200px); margin-inline: auto; }
@supports (height: 1svh) { .film { --film-h: calc(100svh - var(--header-h) - 12rem); } }
.film__frame { position: relative; background: #111; }
.film__video { display: block; width: 100%; height: auto; aspect-ratio: 512 / 910; background: #111; object-fit: contain; }
.film__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 72px; height: 72px; padding: 0 0 0 4px;
  border: 1px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, 0.72); color: #fff; cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms var(--ease);
}
.film__play[hidden] { display: none; }
/* "Tap for sound": on the film, at the top (clear of the native controls along the bottom), while it plays muted. */
.film__sound {
  position: absolute; left: 50%; top: clamp(12px, 4%, 24px); transform: translateX(-50%); z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px 0 16px; white-space: nowrap;
  border: 1px solid #000; border-radius: 999px; background: #fff; color: #000; font: inherit; font-size: 1rem; font-weight: 600;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); cursor: pointer; touch-action: manipulation;
}
.film__sound[hidden] { display: none; }
.film__sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px #000; }
.film__play:hover { background: #000; }
.film__play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px #000; }
.film__caption { margin-top: 10px; text-align: center; font-size: var(--step--1); }
.film__caption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-underline-offset: 0.19em; }
.collab__text .page-title { margin-bottom: clamp(16px, 3vh, 32px); }
.collab__body { display: grid; gap: clamp(10px, 1.8vh, 18px); max-width: 58ch; }
/* The film with the invitation to guests beneath it (client's copy of 21 November 2026). */
.collab__film { display: grid; gap: clamp(14px, 2.4vh, 22px); justify-items: center; min-width: 0; }
.collab__guest { width: min(100%, 512px); display: grid; gap: 8px; font-size: 0.9375rem; line-height: 1.5; }
.collab__guest-title { font-family: var(--serif); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.2; font-weight: 400; margin: 0; }
.collab__guest p { margin: 0; }
.collab__guest-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.collab__guest-links .link { min-height: 44px; display: inline-flex; align-items: center; }
.collab__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: clamp(20px, 3.4vh, 36px); }
.collab-signature { margin-top: 12px; }
@media (min-width: 768px) and (min-height: 600px) {
  .collab { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); padding-block: var(--screen-pad); }
  .film { --film-h: calc(var(--screen) - 2 * var(--screen-pad) - 13rem); }
  .collab__text .page-title { font-size: clamp(2rem, min(1.2rem + 2.6vw, 7vh), 3.5rem); }
  .collab__body { font-size: clamp(0.9375rem, min(0.85rem + 0.3vw, 2.35vh), 1.125rem); line-height: 1.55; }
}

/* The enquiry: the Education form's three columns (heading | reach, links | about, photos, send). */
.form__group--plain { gap: clamp(10px, 1.8vh, 16px); }
.form__group--plain > legend { margin-bottom: 0; padding: 0; }
.field__input--file { padding: 9px 12px; font-size: 0.9375rem; cursor: pointer; }
.field__input--file::file-selector-button {
  margin-right: 12px; padding: 6px 12px; border: 1px solid var(--fg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 500; cursor: pointer;
}
.form--collab .form__assure { max-width: none; flex: 1 1 14rem; }
.form--collab .form__assure a { display: inline-block; padding-block: 4px; }

/* Model terms & conditions: a page of its own, and the same text in a full-screen dialog over the form. */
.mterms { max-width: calc(68ch + 2 * var(--gutter)); padding-block: clamp(32px, 6vw, 72px) var(--space-section-end); }
.mterms__eyebrow { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; }
.mterms__title { margin-bottom: clamp(20px, 3vw, 32px); }
.mterms__title:focus { outline: none; }
.mterms__title:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.mterms__intro { font-size: var(--step-1); line-height: 1.5; }
.mterms__section { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.mterms__head { font-family: var(--serif); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 18; font-size: var(--step-2); line-height: 1.2; text-wrap: balance; }
.mterms__version { margin-top: clamp(28px, 4vw, 44px); padding-top: 16px; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--muted); }
.mterms__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 4vw, 44px); }
.consent-form { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--fg); gap: 24px; }
.mterms-dialog {
  /* 100 %, not 100vw: with a classic scrollbar (Windows) 100vw ran under it and cut off Close and the right arrow. */
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--fg); overflow-y: auto; overscroll-behavior: contain; scroll-padding-top: 80px;
}
@supports (height: 1dvh) { .mterms-dialog { height: 100dvh; } }
.mterms-dialog:not([open]) { display: none; }
.mterms-dialog::backdrop { background: var(--bg); }
.mterms-dialog__bar { position: sticky; top: 0; z-index: 1; background: var(--bg); border-bottom: 1px solid var(--rule); padding-top: env(safe-area-inset-top, 0px); }
.mterms-dialog__bar-inner { display: flex; justify-content: flex-end; padding-block: 10px; }
html:has(.mterms-dialog[open]) { overflow: hidden; scroll-snap-type: none; }

/* The selected model's confirmation */
.shoot__details { align-self: start; }
.details .shoot__value { font-family: var(--sans); font-size: var(--step-0); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.shoot__extras { list-style: disc; padding-left: 1.2em; display: grid; gap: 4px; }
.shoot__subhead { margin-top: 0; margin-bottom: 16px; font-size: var(--step-2); }
.shoot__details + .shoot__details { margin-top: 0; }
.admin__terms { margin-top: 16px; }
.admin__terms summary { cursor: pointer; min-height: 32px; }
.admin__confirm { margin-top: 16px; }
.admin__confirm > summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 0.2em; }
.admin__confirm[open] > summary { margin-bottom: 8px; }

/* ---------- Website backgrounds (package of 20 November 2026) ----------
   One decorative layer behind every public page (never the admin): fixed, centred, cover, no pointer events. The
   opacity sits on the media alone: 19 % over white (Collaborate and the shared pages), 40 % over #060606
   (Education; 28 % until the client's complete package of 21 November 2026). Hairdressing pages have no layer at
   all: solid white, no film, no still, no control. A fixed-position layer, not a fixed CSS background (which iOS Safari does not hold still); its height
   is the large viewport, so the picture does not rescale when a phone's toolbar slides away. */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  background: #ffffff;
}
@supports (height: 1lvh) { .bg { height: 100lvh; } }
[data-theme="dark"] .bg { background: #060606; }
.bg__media { position: absolute; inset: 0; opacity: 0.19; }
[data-theme="dark"] .bg__media { opacity: 0.4; }
.bg__still, .bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  transition: opacity 700ms linear;
}
/* Chapters cross-fade inside the media layer: the new still fades in over the old one, the clip over its still. */
.bg__still.is-entering, .bg__video { opacity: 0; }
.bg__video.is-on { opacity: 1; }
/* The page lets the layer through; the header, fields, menus and dialogs keep their own ground. */
.has-bg body { background: transparent; }

/* Legibility over the lightest and darkest frames (the clips run from black to white): the secondary text colour is
   one step stronger wherever the background runs, so it keeps 4.5:1 at the client's opacity
   (#555 on the darkest white-page ground #cecece = 4.74. Education at 40 %: the lightest ground is #6a6a6a, where
   white text keeps 5.4:1; the secondary text is #ededed = 4.6:1 and the error colour #ffe6e3 = 4.5:1. The entry
   screen's Education half stays at 28 %: #c2c2c2 on #4c4c4c = 4.82). */
.has-bg[data-theme="light"], .has-bg .split__half--hair { --muted: #555555; }
.has-bg[data-theme="dark"] { --muted: #ededed; --error: #ffe6e3; }
.has-bg .split__half--edu { --muted: #c2c2c2; --error: #ffb4ae; }
/* Hairlines: the same line as before on the plain ground (14 % black on white = #dbdbdb, 19 % white on black =
   #303030), but drawn as a tint, so it keeps its distance from whatever frame is behind it. */
.has-bg[data-theme="light"] { --rule: rgb(0 0 0 / 0.14); }
.has-bg[data-theme="dark"] { --rule: rgb(255 255 255 / 0.19); }

/* Entry screen: the opening shot runs across both halves at full strength and each half lays its own colour over
   it (81 % white = the film at 19 %; 72 % of #060606 = the film at 28 %), so the picture follows the moving seam. */
.bg--split { background: linear-gradient(to right, #ffffff 50%, #060606 50%); }
.bg--split .bg__media { opacity: 1; }
.has-bg .split__half--hair { background: rgb(255 255 255 / 0.81); }
.has-bg .split__half--edu { background: rgb(6 6 6 / 0.72); }
@media (max-width: 720px) {
  .bg--split { background: linear-gradient(to bottom, #ffffff 50%, #060606 50%); }
  /* Phones: the Privacy link sits on the dark half. Plain white there (8.6:1 on the lightest frame) instead of the
     difference blend, which a bright frame behind the dark half could bring down to 4.1:1. */
  .has-bg .split__legal { mix-blend-mode: normal; color: #ffffff; }
}

/* Pause / play for the background: always in the same corner, reachable by keyboard right after the skip link. */
.bg-control {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 15;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms var(--ease);
}
.bg-control[hidden] { display: none; }
.bg-control:hover { background: #000; }
.bg-control:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px #000; }
/* Phones and tablets: the footer's last line runs the full width; 20px more room under it keeps it clear of the control. */
@media (max-width: 900px) { .has-bg .site-footer__inner { padding-bottom: 68px; } }
.bg-control__play { display: none; margin-left: 2px; }
.bg-control.is-paused .bg-control__play { display: block; }
.bg-control.is-paused .bg-control__pause { display: none; }

/* More contrast, forced colours and print: the plain page, no picture behind the text. */
@media (prefers-contrast: more), (forced-colors: active), print {
  .bg, .bg-control { display: none; }
  .has-bg .split__half--hair { background: #ffffff; }
  .has-bg .split__half--edu { background: #000000; }
  .has-bg .split__legal { mix-blend-mode: difference; }
}

/* ---------- Complete package (21 November 2026) ----------
   Each section is one page, in the order and proportions of the client's reference pages: Hairdressing on solid
   white, Education over the film at 40 %. The site's own type, header and footer stay. Sections take the height of
   their content (the opening still shows its call to action on the first screen). */
:root {
  --display: clamp(2.5rem, 1.1rem + 4.9vw, 5.75rem);
  --block-pad: clamp(58px, 7vw, 118px);
  --serif-text: "opsz" 18;
}
.display, .opening__title, .opening__signature, .strip__title, .quote__text p, .fold__title, .bio__title, .join__closing,
.topics__name, .reading__head, .honours__title, .honours__name, .policies__head {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: none;
  font-variation-settings: var(--serif-text);
}
.display { font-size: var(--display); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: clamp(22px, 3vw, 38px); text-wrap: balance; }
.kicker { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.085em; text-transform: uppercase; line-height: 1.4; }
.prose-block { max-width: 52ch; }
.prose-block p + p, .fold__body p + p { margin-top: 13px; }
.block { padding-block: var(--block-pad); border-top: 1px solid var(--rule); }

/* A photograph that enlarges: a plain link to the large file (page.js makes it the enlarged view). */
.zoom { display: block; cursor: zoom-in; touch-action: manipulation; }
.zoom img { display: block; width: 100%; height: auto; }
.zoom:focus-visible { outline-offset: 4px; }

/* The enlarged view: solid white for Hairdressing, solid black for Education. A tap anywhere brings it back. */
.viewer {
  position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0;
  padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  border: 0; background: #ffffff; color: #000000; overflow: hidden; overscroll-behavior: contain; cursor: zoom-out;
  /* A sideways swipe is page.js's (the next photograph of a wheel), never the browser's pan; pinch-zoom stays. */
  touch-action: pan-y pinch-zoom;
}
@supports (height: 1dvh) { .viewer { height: 100dvh; } }
.viewer:not([open]) { display: none; }
.viewer[open] { display: grid; place-items: center; align-content: center; }
.viewer::backdrop { background: #ffffff; }
[data-theme="dark"] .viewer { background: #000000; color: #ffffff; }
[data-theme="dark"] .viewer::backdrop { background: #000000; }
.viewer__img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 28px); object-fit: contain; }
@supports (height: 1dvh) { .viewer__img { max-height: calc(100dvh - 28px); } }
.viewer__close {
  position: absolute; z-index: 1; top: max(12px, env(safe-area-inset-top, 0px)); right: calc(max(14px, env(safe-area-inset-right, 0px)) + var(--gutter, 0px));
  min-height: 44px; padding: 0 16px; border: 1px solid currentColor; border-radius: var(--radius);
  background: inherit; color: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; touch-action: manipulation;
}
.viewer__close:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
/* A photograph of a wheel: Previous / Next at the sides and the count beneath (the arrows' style is the wheel's). */
.viewer__nav {
  position: absolute; z-index: 1; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid currentColor; border-radius: var(--radius); background: inherit; color: inherit; cursor: pointer; touch-action: manipulation;
}
.viewer__nav[hidden] { display: none; }
.viewer__nav--previous { left: max(14px, env(safe-area-inset-left, 0px)); }
/* --gutter: the page's reserved scrollbar strip (classic scrollbars), which the browser paints over the view's right edge. */
.viewer__nav--next { right: calc(max(14px, env(safe-area-inset-right, 0px)) + var(--gutter, 0px)); }
.viewer__nav:hover { box-shadow: inset 0 0 0 1px currentColor; }
.viewer__count {
  position: absolute; z-index: 1; left: 50%; bottom: max(10px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  margin: 0; padding: 2px 10px; border-radius: var(--radius); background: inherit; color: inherit; font-size: 0.875rem; font-variant-numeric: tabular-nums;
}
.viewer__count[hidden] { display: none; }
/* With the arrows and the count, the photograph keeps clear of them. */
.viewer--album .viewer__img { max-width: calc(100% - 136px); max-height: calc(100vh - 76px); }
@supports (height: 1dvh) { .viewer--album .viewer__img { max-height: calc(100dvh - 76px); } }
/* The photographer's credit beneath the enlarged photograph (--credit-h: its line, kept free of the photograph). */
.viewer { --credit-h: 0px; }
.viewer--credited { --credit-h: 34px; }
.viewer__credit { position: relative; z-index: 1; margin: 6px 0 0; text-align: center; cursor: auto; }
.viewer__credit[hidden] { display: none; }
.viewer--credited .viewer__img { max-height: calc(100vh - 28px - var(--credit-h)); }
.viewer--credited.viewer--album .viewer__img { max-height: calc(100vh - 76px - var(--credit-h)); }
@supports (height: 1dvh) {
  .viewer--credited .viewer__img { max-height: calc(100dvh - 28px - var(--credit-h)); }
  .viewer--credited.viewer--album .viewer__img { max-height: calc(100dvh - 76px - var(--credit-h)); }
}
/* Phones: the arrows sit low, clear of the photograph's middle, where the thumb is. */
@media (max-width: 760px) {
  .viewer__nav { top: auto; bottom: max(10px, env(safe-area-inset-bottom, 0px)); transform: none; width: 44px; height: 44px; }
  .viewer__count { bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
  .viewer--album .viewer__img { max-width: 100%; max-height: calc(100vh - 140px); }
  @supports (height: 1dvh) { .viewer--album .viewer__img { max-height: calc(100dvh - 140px); } }
  .viewer--credited { --credit-h: 46px; }
  .viewer--credited.viewer--album .viewer__img { max-height: calc(100vh - 140px - var(--credit-h)); }
  @supports (height: 1dvh) { .viewer--credited.viewer--album .viewer__img { max-height: calc(100dvh - 140px - var(--credit-h)); } }
}
html.is-viewing, html:has(.viewer[open]) { overflow: hidden; scroll-snap-type: none; }
/* The page keeps its width when the scrollbar goes while a photograph is enlarged, so it returns to the same place. */
html:has(dialog.viewer) { scrollbar-gutter: stable; }

/* The two-line Instagram badge beside the opening button. */
.ig-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 7px 16px;
  border: 1px solid currentColor; border-radius: var(--radius); color: inherit; text-decoration: none; touch-action: manipulation;
}
.ig-badge__mark { flex: none; }
.ig-badge__label { display: grid; gap: 1px; text-align: left; font-size: 0.8125rem; line-height: 1.25; }
.ig-badge__label strong { font-size: 0.875rem; font-weight: 600; }
.ig-badge:hover .ig-badge__label strong { text-decoration: underline; text-underline-offset: 3px; }
.ig-badge:focus-visible { outline-offset: 4px; }

/* Blocks that stay closed until asked for: native <details>. `.fold` is a ruled row with a large heading (the menus,
   the full awards, What to bring, Booking & cancellations); `.more` a quiet underlined line. */
.fold { border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.fold__summary, .more__summary { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; touch-action: manipulation; }
.fold__summary::-webkit-details-marker, .more__summary::-webkit-details-marker { display: none; }
.fold__summary { padding-block: clamp(16px, 2.2vw, 22px); }
.fold__summary:focus-visible, .more__summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.fold__title { font-size: clamp(1.55rem, 1rem + 2vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.fold__summary:hover .fold__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.fold__meta { margin-left: auto; font-size: 0.9375rem; color: var(--muted); white-space: nowrap; font-variant-numeric: lining-nums; }
.fold__icon { flex: none; position: relative; width: 16px; height: 16px; margin-left: 6px; }
.fold__meta + .fold__icon { margin-left: 6px; }
.fold__summary > .fold__title + .fold__icon { margin-left: auto; }
.fold__icon::before, .fold__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; }
.fold__icon::after { transform: rotate(90deg); transition: transform 160ms var(--ease); }
details[open] > summary .fold__icon::after { transform: rotate(0deg); }
.fold__body { padding-bottom: clamp(20px, 2.6vw, 28px); max-width: 78ch; }
.more { margin-top: 24px; }
.more__summary { width: fit-content; }
.more__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; font-weight: 500; }
.more__summary:hover .more__label { text-decoration-thickness: 2px; }
.more__summary .fold__icon { width: 13px; height: 13px; }
.more__body { padding-top: 12px; }

/* 1. Opening */
.opening { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(30px, 7.5vw, 115px); padding-block: clamp(32px, 5vw, 80px); }
.opening__copy { max-width: 640px; }
.opening__title { font-size: clamp(3.4rem, 1rem + 6.6vw, 7.25rem); line-height: 0.92; letter-spacing: -0.035em; margin: clamp(20px, 2.2vw, 34px) 0; }
.opening__title em { font-style: italic; font-weight: 400; }
.opening__signature { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 19px; }
.opening__prose { max-width: 47ch; }
.opening__prose p + p { margin-top: 13px; }
.opening__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 24px; }
.opening__place { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; letter-spacing: 0.02em; }
.opening__photo { width: min(100%, clamp(320px, 33vw, 438px)); justify-self: end; margin: 0; }
.caption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.caption a { display: inline-block; padding-block: 6px; }
.caption--stack > strong, .caption--stack > span { display: block; }
.caption--stack > strong { color: var(--fg); font-weight: 600; }
/* A photographer's credit (client, 22 November 2026): one quiet line beneath the photograph, only the name a link.
   The link's padding makes it a tap target of its own, apart from the photograph's enlarge link. */
.credit { display: block; font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.caption .credit a, .credit a { display: inline-block; padding-block: 4px; touch-action: manipulation; }
.caption--stack > .credit { margin-top: 2px; }
/* Phones: a taller tap target for the name. */
@media (max-width: 760px) { .caption .credit a, .credit a { padding-block: 10px; } }
figure.pair__photo { margin: 0; }

/* 2. Recognition */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 25px; padding-block: 30px; border-block: 1px solid var(--rule); }
.strip__title { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.7rem); line-height: 1.15; letter-spacing: -0.02em; margin: 7px 0; }
.strip__text { font-size: 0.9375rem; }
.strip__link { margin: 0; }

/* A heading and its text beside a photograph. The left column is centred on the photograph's height. */
.pair {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(35px, 8vw, 130px); padding-block: var(--block-pad);
}
.pair--inner { padding-block: 0; }
.pair__title { grid-column: 1; grid-row: 2; }
.pair__text { grid-column: 1; grid-row: 3; max-width: 600px; }
.pair__action { grid-column: 1; grid-row: 4; margin-top: 24px; }
.pair__photo { grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; width: min(100%, 455px); }
.pair__photo--portrait { width: min(100%, 410px); }
.pair--flip .pair__title, .pair--flip .pair__text { grid-column: 2; }
.pair--flip .pair__photo { grid-column: 1; }

/* 4. Guest reviews */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 70px); padding: 0; list-style: none; }
.quote { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 20px; }
.quote__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 0.9375rem; color: var(--muted); }
.quote__stars { letter-spacing: 0.18em; color: var(--fg); }
.quote__label { font-weight: 600; }
.quote__text { margin: 0; }
.quote__text p { font-size: clamp(1.4rem, 1rem + 1.25vw, 2.3rem); line-height: 1.19; letter-spacing: -0.02em; text-wrap: pretty; }
.quote__by { display: grid; margin-top: auto; padding-top: 11px; }
.quote__name { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; font-weight: 500; }
.quote__source { color: var(--muted); font-size: 0.9375rem; }
.quotes__note { margin-top: 20px; color: var(--muted); font-size: 0.9375rem; max-width: 70ch; }

/* 5. The menus */
.menus { max-width: 970px; margin: clamp(45px, 6vw, 90px) auto 0; }
.menus .menu__intro { margin-top: 0; max-width: 60ch; }
.rows { margin-top: 12px; padding: 0; list-style: none; }
.rows__item { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 6px 23px; padding-block: 17px; border-top: 1px solid var(--rule); }
.rows__head { font-size: 1rem; font-weight: 600; line-height: 1.5; font-variant-numeric: lining-nums; }
.rows__price { margin-left: 4px; }
.rows__note { margin-top: 8px; font-weight: 600; }
.fold__body .menu__restriction, .fold__body .menu__help { margin-top: 12px; }
.menus__note { padding-top: 14px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9375rem; }
.menus .policies { margin-top: 6px; }
.policies__head { font-size: var(--step-1); line-height: 1.25; margin: 16px 0 8px; }
.policies__head:first-child { margin-top: 0; }
.menus__action { margin-top: 28px; }

/* 6. Meet Roberto */
.bio { margin-top: 16px; }
.bio__title { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.2; margin: 4px 0 12px; text-wrap: balance; }

/* The photo wheel. Without script: a row that scrolls sideways. With it (page.js adds .is-wheel): three photographs,
   the middle one forward and larger, the two at its sides turned towards it. It scales with its container. */
.wheel { container-type: inline-size; }
.wheel__rail { position: relative; overflow-x: auto; overscroll-behavior-x: contain; }
.wheel__rail:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wheel__strip { --wheel-height: clamp(150px, 35cqw, 398px); display: flex; align-items: flex-start; gap: 14px; width: max-content; }
/* Without script each photograph is a figure: the photograph at the row's height, its credit (if any) beneath it,
   never wider than the photograph. */
.wheel__item { flex: none; display: flex; flex-direction: column; margin: 0; }
.wheel__caption { width: 0; min-width: 100%; margin-top: 4px; }
.wheel__photo { flex: none; display: block; height: var(--wheel-height); cursor: zoom-in; touch-action: manipulation; }
.wheel__photo img { display: block; height: 100%; width: auto; max-width: none; }
.wheel__photo[hidden] { display: none; }
.is-wheel .wheel__rail { overflow: hidden; isolation: isolate; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.is-wheel .wheel__strip { --wheel-height: min(35cqw, 398px); display: block; position: relative; width: auto; height: var(--wheel-height); }
/* The wheel places the photographs themselves; the credit of the one in front is the line beneath the wheel. */
.is-wheel .wheel__item { display: contents; }
.is-wheel .wheel__caption { display: none; }
.wheel__credit { width: fit-content; min-height: calc(1.35em + 8px); margin: 2px auto 0; font-size: 0.8125rem; line-height: 1.35; text-align: center; }
.wheel__credit[hidden] { display: none; }
@media (max-width: 760px) { .wheel__credit { min-height: calc(1.35em + 20px); } }
.is-wheel .wheel__photo {
  position: absolute; left: 50%; top: 50%; height: 88%; width: min(41%, calc(var(--wheel-height) * 0.88 * var(--ratio, 1)));
  transform: translate(-50%, -50%); transform-origin: center;
}
.is-wheel .wheel__photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.is-wheel.wheel--contain .wheel__photo img { object-fit: contain; }
.is-wheel .wheel__rail.is-dragging, .is-wheel .wheel__rail.is-dragging .wheel__photo { cursor: grabbing; }
.wheel__controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 5px 0 15px; }
.wheel__controls[hidden] { display: none; }
.wheel__button {
  display: grid; place-items: center; width: 46px; height: 44px; padding: 0; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--fg); cursor: pointer; touch-action: manipulation;
}
.wheel__button:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.wheel__play { display: none; margin-left: 2px; }
.wheel__toggle.is-paused .wheel__play { display: block; }
.wheel__toggle.is-paused .wheel__pause { display: none; }

/* 7. Career & Highlights: the three groups stay in one row at every width (the client's composition) */
.credits {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.9fr); align-items: start;
  gap: clamp(9px, 4vw, 64px); padding-top: clamp(18px, 2.7vw, 32px); border-top: 1px solid var(--rule);
}
.credits__group { min-width: 0; }
.credits__title { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.credits__list { padding: 0; list-style: none; color: var(--muted); font-size: 0.9375rem; line-height: 1.48; }
.credits__list li + li { margin-top: 3px; }
.fold--awards { margin-top: 40px; }
.fold--awards > .fold__body { max-width: none; }

/* Awards & Recognition: grouped by organiser, the artwork beside the readable text */
.honours { max-width: 900px; margin-inline: auto; padding: clamp(8px, 2vw, 24px) 0 8px; }
.honours__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.7rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 14px; }
.honours__group { border-top: 1px solid var(--rule); padding-block: 22px 14px; }
.honours__group:first-of-type { padding-top: 0; }
.honours__entry { display: grid; align-items: center; gap: clamp(10px, 3%, 23px); padding-block: 16px; }
.honours__group > .honours__entry + .honours__entry { border-top: 1px solid var(--rule); }
.honours__entry--organiser { grid-template-columns: clamp(64px, 14%, 96px) minmax(0, 1fr); }
.honours__entry--three { grid-template-columns: clamp(64px, 14%, 96px) minmax(0, 1fr) clamp(48px, 10%, 68px); }
.honours__entry--logo { grid-template-columns: clamp(64px, 14%, 96px) minmax(0, 1fr); padding-block: 22px 14px; }
.honours__organiser { font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.honours__entry--logo .honours__organiser { margin-bottom: 8px; }
.honours__name { font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.8rem); line-height: 1.14; letter-spacing: -0.01em; text-wrap: balance; }
.honours__name--group { margin-bottom: 14px; }
.honours__rank { margin-top: 6px; }
.honours__caption { margin: 0; }
/* Captions are sentences with bold and italic words in them: an inline box, so the spaces between the words stay. */
.honours__caption .link, .fold__body p > .link, .rows .link { display: inline; min-height: 0; }
.honours__caption .link { display: inline-block; padding-block: 10px; }
.honours__caption--row { grid-column: 1 / -1; }
.honours__caption .honours__stack { display: inline-block; }
.honours__stack > span { display: block; }
.honours__pairs { display: grid; grid-template-columns: minmax(95px, 30%) minmax(0, 1fr); align-items: center; gap: 14px clamp(12px, 4%, 30px); }
.honours__pairs > .honours__name--group { grid-column: 1 / -1; margin-bottom: 0; }
.honours__list { padding: 0; list-style: none; display: grid; gap: 9px; }
.honours__award { display: block; }
.honours__years { display: block; color: var(--muted); font-size: 0.9375rem; }
.honours__video { display: grid; grid-template-columns: clamp(78px, 22%, 128px) minmax(0, 1fr); align-items: center; gap: clamp(14px, 4%, 26px); margin-bottom: 22px; }
.honours__year { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.honours__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1.5%, 12px); margin-top: 10px; }
.honours__figure { margin: 0; }
.honours__credit { margin-top: 4px; }
.honours__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(10px, 3%, 24px); }
.honours__two { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(4px, 1vw, 10px); }

/* 8. The Priority List */
.join { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(35px, 8vw, 120px); align-items: start; }
.join .display { margin-top: 17px; }
.join__body { max-width: 52ch; }
.join__closing { margin-top: 24px; font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.3; }
.join__form { grid-column: auto; max-width: 550px; width: 100%; }

/* ----- Education ----- */
.opening--edu { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px clamp(28px, 5vw, 78px); align-items: center; }
.opening--edu .opening__title { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(2.3rem, 1rem + 4.4vw, 5.25rem); line-height: 1.02; letter-spacing: -0.03em; align-self: end; }
.opening--edu .opening__copy { grid-column: 1; grid-row: 2; align-self: start; max-width: none; }
.opening--edu .opening__prose { max-width: 60ch; }
.opening--edu .opening__photo { grid-column: 2; grid-row: 1 / 3; width: 100%; justify-self: stretch; }
.chapter { border-top: 1px solid var(--rule); padding-block: clamp(2.75rem, 6vw, 5rem); }
.chapter--flush { padding-bottom: 0; }
.chapter__split { display: grid; grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.display--chapter { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.06; max-width: 12ch; margin: 0; }
.chapter > .display { margin-bottom: 26px; }
.reading { max-width: 64ch; }
.reading p { margin: 0 0 1em; }
.reading > :last-child { margin-bottom: 0; }
.reading__head { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.15; margin: 1.3em 0 0.45em; text-wrap: balance; }
.reading__head:first-child { margin-top: 0; }
.reading__list { padding-left: 1.2rem; margin: 0 0 1em; line-height: 1.65; }
ul.reading__list { list-style: disc; }
.reading__list li { padding: 0 0 0.2rem 0.1rem; }
.reading__note, .reading__law { color: var(--muted); }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 50px; padding: 0; list-style: none; }
.topics__name { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.6rem); line-height: 1.2; margin-bottom: 8px; text-wrap: balance; }
.chapter > .wheel { margin-block: clamp(28px, 5vw, 56px) 0; }
.rate { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.rate__price { font-weight: 600; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.35; margin-bottom: 0.55rem !important; font-variant-numeric: lining-nums; }
.course__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem !important; }
.fold--panel { scroll-margin-top: 16px; }
.fold--panel > .fold__summary { padding-block: clamp(18px, 2.4vw, 26px); }
.fold--panel > .fold__summary .fold__title { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); }
.fold--panel > .fold__body { max-width: none; padding: 0.45rem 0 2.5rem; }
.fold--panel > .fold__body > .reading { margin-inline-start: auto; width: min(100%, 620px); }
.chapter--flush .fold--panel { margin-top: 2.1rem; }
.fold--last { border-bottom: 1px solid var(--rule); }
.terms-wrap { padding-block: 0; }
.terms-wrap + .chapter { border-top: 0; }
.more--bar { margin-top: 2rem; border-top: 1px solid var(--rule); }
.more--bar > .more__summary { width: 100%; justify-content: space-between; padding-block: 1.1rem; }
.more--bar .more__label { text-decoration: none; }
.more--bar > .more__summary:hover .more__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.more--bar .fold__icon { width: 16px; height: 16px; }
.educator__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; padding: 0.4rem 0 1rem; }
.educator__photo { width: min(100%, 370px); }
.enquiry__form { grid-column: auto; max-width: 760px; margin: clamp(2.4rem, 6vw, 4.8rem) auto 0; scroll-margin-top: 16px; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(16px, 2vw, 24px); align-items: start; }
.form--enquiry .form__alerts { display: grid; gap: 16px; }

@media (max-width: 760px) {
  .opening { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px; }
  .opening__title { font-size: clamp(3.2rem, 15.5vw, 5.5rem); }
  .opening__photo { width: min(100%, 400px); justify-self: center; }
  .opening--edu { display: flex; flex-direction: column; align-items: stretch; gap: 21px; padding-block: 32px 42px; }
  .opening--edu .opening__title { font-size: clamp(2.3rem, 10.4vw, 4rem); align-self: auto; }
  .opening--edu .opening__photo { width: 100%; }
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 12px; }
  .strip__link { grid-column: 1 / -1; }
  .strip .kicker { font-size: 0.75rem; letter-spacing: 0.04em; }
  .strip__title { font-size: clamp(1.375rem, 5.6vw, 1.75rem); }
  .pair { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 28px; }
  .pair__title, .pair__text, .pair__action, .pair__photo, .pair--flip .pair__title, .pair--flip .pair__text, .pair--flip .pair__photo { grid-column: 1; grid-row: auto; }
  .pair__title { margin-bottom: 0; }
  .pair__action { margin-top: 0; }
  .pair__photo { width: min(100%, 370px); justify-self: start; }
  .display { font-size: clamp(2.6rem, 10.5vw, 4.25rem); }
  .display--chapter { font-size: clamp(2.3rem, 9vw, 3.5rem); max-width: none; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .quote { border-top: 1px solid var(--rule); gap: 10px; }
  .quote__text p { font-size: 1.625rem; }
  .fold__title { font-size: 1.625rem; }
  .fold--panel > .fold__summary .fold__title { font-size: 1.8rem; }
  .fold__meta { font-size: 0.875rem; }
  .rows__item { grid-template-columns: minmax(0, 1fr); }
  .credits__title { font-size: clamp(0.8125rem, 3.4vw, 0.9375rem); line-height: 1.3; margin-bottom: 8px; }
  .credits__list { font-size: clamp(0.8125rem, 3.4vw, 0.9375rem); }
  .credits__list li + li { margin-top: 6px; }
  .wheel__controls { gap: 6px; padding: 2px 0 7px; }
  .join { grid-template-columns: minmax(0, 1fr); }
  .chapter__split, .educator__inner, .topics, .form__pair { grid-template-columns: minmax(0, 1fr); }
  .chapter__split { gap: 1.3rem; }
  .educator__photo { width: min(78%, 320px); }
  .fold--panel > .fold__body > .reading { width: 100%; }
}
@media (max-width: 520px) {
  /* The three credit headings share one line height, so the lists start level. */
  .credits__title { min-block-size: 2.6em; }
}
@media (max-width: 480px) {
  .opening__actions { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: 8px; }
  .opening__actions > .button { padding: 8px 6px; font-size: 0.875rem; line-height: 1.2; }
  .ig-badge { padding: 6px; gap: 6px; }
  .ig-badge__mark { width: 18px; height: 18px; }
  .ig-badge__label { font-size: 0.75rem; }
  .ig-badge__label strong { font-size: 0.8125rem; }
}
@media (max-width: 360px) {
  .honours__split { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Fit screens (owner, 21 November 2026) ----------
   "Each page and section fits the screen without scrolling": on the pages with several sections (Hairdressing,
   Education, Collaborate) every section is one screen on desktop, laptop and tablet (>= 761 wide, >= 600 tall): a
   `.fit` is at least the viewport minus the sticky header, and everything in it (type, spacing, photographs) follows
   the viewport's height as well as its width, so it also fits beneath the header at 1280 x 720 and 1024 x 768. A
   section that could not fit became two screens (`.fit-group` holds them): Your Time With Me and its menus, Career &
   Highlights and its credits, What I teach and its wheel, the enquiry and its form. A block the visitor opens (a
   menu, the biography, more reviews, the awards, the terms) may grow past the screen.
   Phones are not held to one screen (owner): they keep the natural flow, tuned further down.
   `scripts/fit-check.mjs` measures every section at every size. */
:root { --svh: 1vh; }
@supports (height: 1svh) { :root { --svh: 1svh; } }
.fit__again { display: none; }
/* The proportions of the photographs that stand beside a text (width / height of the file; `ratioClass` in
   src/views/ui.tsx): their frames get a width from the height that is free, before the file has arrived. */
.r667 { --ratio: 0.667; }
.r752 { --ratio: 0.752; }
.r769 { --ratio: 0.769; }
.r800 { --ratio: 0.8; }

@media (min-width: 761px) and (min-height: 600px) {
  :root {
    --fit-pad: clamp(16px, calc(var(--svh) * 3.8), 64px);
    --fit-h: calc(var(--screen) - 2 * var(--fit-pad));   /* the free height inside one screen */
    --display: clamp(2.1rem, min(1.1rem + 4.9vw, calc(var(--svh) * 9.2)), 5.75rem);
    --body: clamp(1rem, calc(var(--svh) * 2.3), 1.0625rem);
    --fit-gap: clamp(10px, calc(var(--svh) * 2.6), 38px);
  }
  .fit { box-sizing: border-box; min-height: var(--screen); padding-block: var(--fit-pad); font-size: var(--body); line-height: 1.55; }
  .fit--stack { display: flex; flex-direction: column; justify-content: center; }
  .fit-group { padding-block: 0; }
  .fit__again { display: block; margin-bottom: clamp(10px, calc(var(--svh) * 2), 22px); color: var(--muted); }
  .fit .display { margin-bottom: var(--fit-gap); }
  .fit .display--chapter { font-size: clamp(2rem, min(1.2rem + 3.6vw, calc(var(--svh) * 7.6)), 4.5rem); margin-bottom: 0; }

  /* Photographs take what the screen leaves: the frame shrinks to the photograph, the caption keeps its width. */
  .fit :is(.opening__photo, .pair__photo) { --cap: 0px; --photo-w: 455px; width: min(100%, var(--photo-w), calc((var(--fit-h) - var(--cap)) * var(--ratio, 0.75))); }
  .fit .pair__photo--portrait { --photo-w: 410px; }
  .fit .opening__photo { --cap: 5rem; --photo-w: clamp(320px, 33vw, 438px); }
  .fit figure.pair__photo { --cap: 8.2rem; }
  /* The studio portrait's caption ends with the photographer's credit (22 Nov 2026): one short line more. */
  .fit figure.pair__photo:has(.credit) { --cap: 9.9rem; }

  /* Hairdressing 1: the opening */
  .opening.fit { align-content: center; }
  .fit .opening__title { font-size: clamp(2.6rem, min(1rem + 6.6vw, calc(var(--svh) * 10)), 7.25rem); margin-block: clamp(8px, calc(var(--svh) * 2), 34px); }
  .fit .opening__signature { font-size: clamp(1.15rem, min(1rem + 0.9vw, calc(var(--svh) * 3.4)), 1.875rem); margin-bottom: clamp(8px, calc(var(--svh) * 2), 19px); }
  .fit .opening__actions { margin-top: clamp(14px, calc(var(--svh) * 2.6), 24px); }

  /* Hairdressing 2: the recognition, a screen of two statements */
  .strip.fit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; gap: clamp(24px, calc(var(--svh) * 6), 72px) clamp(32px, 6vw, 96px); border-block: 0; border-top: 1px solid var(--rule); }
  .strip.fit .kicker { font-size: 0.9375rem; }
  .strip.fit .strip__title { font-size: clamp(2.2rem, min(1rem + 3.4vw, calc(var(--svh) * 9)), 4.75rem); line-height: 1.04; margin-block: clamp(10px, calc(var(--svh) * 2), 20px); }
  .strip.fit .strip__text { font-size: var(--step-1); line-height: 1.4; }
  .strip.fit .strip__link { grid-column: 1 / -1; }

  /* A heading and its text beside a photograph */
  .pair.fit { padding-block: var(--fit-pad); }
  .fit .pair__action { margin-top: clamp(12px, calc(var(--svh) * 2.6), 24px); }

  /* Hairdressing 4: guest reviews */
  .fit .quotes { gap: clamp(20px, 3.4vw, 70px); }
  .fit .quote { padding-block: clamp(6px, calc(var(--svh) * 1.6), 20px); gap: clamp(8px, calc(var(--svh) * 1.6), 14px); }
  .fit .quote__text p { font-size: clamp(1.25rem, min(0.75rem + 1.5vw, calc(var(--svh) * 4)), 2.3rem); }
  .fit .quote__by { padding-top: clamp(4px, calc(var(--svh) * 1.2), 11px); }
  .fit .quotes__more { margin-top: clamp(6px, calc(var(--svh) * 1.6), 24px); }
  .fit .quotes__note { margin-top: clamp(6px, calc(var(--svh) * 1.6), 20px); }

  /* Hairdressing 5: the menus, closed rows on a screen of their own */
  .menus.fit { margin-block: 0; width: 100%; }
  .fit .fold__summary { padding-block: clamp(8px, calc(var(--svh) * 1.9), 22px); }
  .fit .fold__title { font-size: clamp(1.5rem, min(1rem + 2vw, calc(var(--svh) * 5)), 2.7rem); }
  .fit .fold--panel > .fold__summary .fold__title { font-size: clamp(1.6rem, min(1.1rem + 2.4vw, calc(var(--svh) * 5.4)), 3rem); }

  /* Hairdressing 7: the wheel, then the credits with the awards */
  .career__wheel .is-wheel .wheel__strip, .teach__wheel .is-wheel .wheel__strip { --wheel-height: min(35cqw, 398px, calc(var(--fit-h) - 12.5rem)); }
  .career__wheel .wheel__strip, .teach__wheel .wheel__strip { --wheel-height: clamp(150px, min(35cqw, calc(var(--fit-h) - 12.5rem)), 398px); }
  .teach__wheel .is-wheel .wheel__strip { --wheel-height: min(35cqw, 398px, calc(var(--fit-h) - 5rem)); }
  .teach__wheel .wheel__strip { --wheel-height: clamp(150px, min(35cqw, calc(var(--fit-h) - 5rem)), 398px); }
  .fit .wheel__controls { padding: 5px 0 0; }
  .career__credits .credits { border-top: 0; padding-top: 0; font-size: 1rem; }
  .career__credits :is(.credits__title, .credits__list) { font-size: clamp(0.9375rem, calc(var(--svh) * 2.2), 1.0625rem); }
  .fit .fold--awards { margin-top: clamp(20px, calc(var(--svh) * 5), 56px); border-bottom: 1px solid var(--rule); }

  /* Hairdressing 8: the Priority List */
  .join.fit { align-items: center; align-content: center; }
  .fit .join__closing { margin-top: clamp(12px, calc(var(--svh) * 2.6), 24px); }
  .fit.join .form, .fit .form { gap: clamp(12px, calc(var(--svh) * 2.6), 30px); }
  /* Four required fields since 24 Nov 2026: the boxes as compact as the Education enquiry's on short screens */
  .join.fit .form { gap: clamp(10px, calc(var(--svh) * 2.2), 30px); }
  .join.fit .field { gap: 5px; }
  .join.fit .field__input { min-height: clamp(44px, calc(var(--svh) * 6), 54px); }

  /* Education 1: the opening */
  .opening--edu.fit { align-content: center; }
  .fit.opening--edu .opening__title { font-size: clamp(2.2rem, min(1rem + 4.4vw, calc(var(--svh) * 8.4)), 5.25rem); margin: 0; }
  .fit.opening--edu .opening__photo { width: 100%; }
  .fit .choice { min-height: 44px; }
  .fit .opening__prose p + p { margin-top: clamp(8px, calc(var(--svh) * 1.6), 13px); }

  /* Education 2: seven subjects on one screen */
  .fit .topics { gap: clamp(12px, calc(var(--svh) * 2.6), 28px) clamp(28px, 3.4vw, 50px); }
  .fit .topics__name { font-size: clamp(1.2rem, min(1.05rem + 0.7vw, calc(var(--svh) * 3.2)), 1.6rem); margin-bottom: clamp(4px, calc(var(--svh) * 1), 8px); }
  .teach__wheel .wheel { margin: 0; }
  .fit .topics p { line-height: 1.5; }
  .teach__topics .display { margin-bottom: clamp(10px, calc(var(--svh) * 2.2), 26px); }

  /* Education: the reading sections */
  .chapter.fit, .fit-group.chapter { padding-block: 0; }
  .chapter.fit { padding-block: var(--fit-pad); }
  .fit .chapter__split { align-items: center; }
  .fit .rate { margin-top: clamp(0.7rem, calc(var(--svh) * 2.4), 1.5rem); padding-top: clamp(0.6rem, calc(var(--svh) * 1.8), 1rem); }
  .fit .course__links { margin-top: clamp(0.7rem, calc(var(--svh) * 2.2), 1.4rem) !important; }
  .fit .more--bar { margin-top: clamp(1rem, calc(var(--svh) * 4), 2.6rem); border-bottom: 1px solid var(--rule); }
  .fit--included { border-top: 1px solid var(--rule); }
  .fit--included .chapter { border-top: 0; padding-block: 0; }
  .fit--included .fold--panel { margin-top: clamp(1.2rem, calc(var(--svh) * 5), 3rem); }
  .enquiry .chapter__split.fit { align-content: center; }

  /* Education 12: the enquiry form in columns, read down each column in turn */
  .enquiry__screen { border-top: 1px solid var(--rule); }
  .enquiry__screen.fit { padding-block: clamp(14px, calc(var(--svh) * 2.8), 56px); }
  .fit .form--enquiry { display: block; max-width: none; width: 100%; margin: 0; columns: 3; column-gap: clamp(24px, 3vw, 48px); }
  .fit .form--enquiry > * { break-inside: avoid; margin-bottom: clamp(12px, calc(var(--svh) * 2.4), 22px); }
  .fit .form--enquiry > .form__alerts { column-span: all; }
  .fit .form--enquiry > :is(.form__alerts:empty, input[type="hidden"], .hp) { margin: 0; }
  .fit .form--enquiry .form__pair { grid-template-columns: minmax(0, 1fr); gap: clamp(12px, calc(var(--svh) * 2.4), 22px); }
  .fit .form--enquiry .form__group { padding-top: 0; border-top: 0; margin-top: 0; }
  .fit .form--enquiry .field { gap: 5px; }
  .fit .form--enquiry .choice { min-height: 44px; padding-block: 0; align-items: center; }
  .fit .form--enquiry .choices { gap: 0 20px; }
  .fit .form--enquiry .field__input--area { min-height: 0; height: clamp(64px, calc(var(--svh) * 11), 120px); }
  .fit .form--enquiry .field__hint { line-height: 1.4; }
  .fit .form--enquiry .field__input { min-height: clamp(44px, calc(var(--svh) * 6), 54px); }
  .fit .form--enquiry .consent { padding-top: clamp(10px, calc(var(--svh) * 2), 24px); }
  .fit .form--enquiry .form__submit { padding-top: 0; margin-bottom: 0; }
}
@media (min-width: 761px) and (min-height: 600px) {
  /* Collaborate 1: the film takes the height its column has left above the invitation to guests */
  .collab.fit { padding-block: var(--fit-pad); align-items: center; }
  .collab.fit .collab__film { grid-template-rows: minmax(0, 1fr) auto; height: var(--fit-h); align-content: stretch; }
  .collab.fit .film { --film-h: 0px; display: flex; flex-direction: column; align-items: center; width: auto; min-width: 0; height: 100%; min-height: 0; }
  .collab.fit .film__frame { flex: 1 1 0; min-height: 0; max-height: 910px; aspect-ratio: 512 / 910; }
  .collab.fit .film__video { width: 100%; height: 100%; }
  .collab.fit .film__caption { margin-top: 4px; }
  .collab.fit .collab__text .page-title { font-size: clamp(2rem, min(1.2rem + 2.6vw, calc(var(--svh) * 6.6)), 3.5rem); margin-bottom: clamp(10px, calc(var(--svh) * 2.4), 32px); }
  .collab.fit .collab__body { font-size: var(--body); line-height: 1.5; gap: clamp(8px, calc(var(--svh) * 1.6), 18px); max-width: 62ch; }
  .collab.fit .collab__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: clamp(14px, calc(var(--svh) * 2.8), 36px); }
  .collab.fit .collab__guest { gap: 4px; }

  /* Collaborate 2: the enquiry in three columns (heading and how to reach you | where and what | photos and send) */
  .form__screen.fit { padding-block: var(--fit-pad); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; align-content: center; row-gap: clamp(10px, calc(var(--svh) * 2), 24px); }
  .form-page--wide { padding-block: 0; }
  .form__screen.fit .form-page__intro { grid-column: 1; grid-row: 1; }
  .form__screen.fit .form__alerts { grid-column: 1 / -1; grid-row: 2; }
  .form__screen.fit .form__col { grid-row: 3; gap: clamp(10px, calc(var(--svh) * 2), 22px); }
  .form__screen.fit .form-page__intro .page-title { font-size: clamp(1.75rem, min(1.1rem + 1.8vw, calc(var(--svh) * 5.4)), 3rem); }
  .form__screen.fit .field { gap: 5px; }
  .form__screen.fit .field__hint { line-height: 1.4; }
  .form__screen.fit .field__input { min-height: clamp(44px, calc(var(--svh) * 6), 54px); }
  .form__screen.fit .field__input--area { min-height: 0; height: clamp(64px, calc(var(--svh) * 12), 130px); }
  .form__screen.fit .form__group--plain { gap: clamp(8px, calc(var(--svh) * 1.6), 16px); }
  .form__screen.fit .choice { min-height: 44px; padding-block: 0; align-items: center; }
  @supports selector(:has(*)) {
    /* Nothing to report: the second and third columns start at the top, beside the heading. */
    .form__screen.fit:not(:has(.form__alerts > *)) .form__col ~ .form__col { grid-row: 1 / span 3; }
  }
}
@media (min-width: 761px) and (max-width: 999px) and (min-height: 600px) {
  .fit .form--enquiry { columns: 2; }
  .fit .form--enquiry .field__input--area { height: clamp(64px, calc(var(--svh) * 8), 96px); }
}
@media (min-width: 761px) and (max-width: 1099px) and (min-height: 600px) {
  /* Narrow and short (1024 x 768): the copy gets the wider column, so it stays within the screen. */
  .opening.fit { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); column-gap: clamp(28px, 4vw, 56px); }
  .teach__topics .display { font-size: calc(var(--display) * 0.86); }
  .fit .topics { row-gap: clamp(10px, calc(var(--svh) * 1.8), 20px); }
  .enquiry__screen.fit { padding-block: clamp(14px, calc(var(--svh) * 2.4), 40px); }
  .fit .form--enquiry > * { margin-bottom: clamp(10px, calc(var(--svh) * 1.7), 18px); }
  .fit .opening__prose { max-width: none; }
}
@media (min-width: 1100px) and (min-height: 600px) {
  .fit .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Firm snapping (owner, 21 November 2026: "add stronger snapping for sections"). On the pages built of screens, at
   desktop and laptop sizes (1000 px wide and 640 px tall or more, where every section fits), a scroll settles on the
   start of a section, beneath the sticky header (`scroll-padding-top`), and never passes one by (`scroll-snap-stop`);
   the footer is the last stop, at the end of the page. It turns back to proximity, so nobody is held, as soon as a
   section can be taller than the screen: a block the visitor opened, the salon questions, a form that came back with
   errors, or anything else that made a section outgrow the screen (`html.snap-loose`, set by sections.js from the
   measured heights). Narrower or shorter windows (tablet portrait, a zoomed browser), and browsers without `:has()`,
   keep proximity; phones never snap; with reduced motion nothing snaps. */
@media (min-width: 761px) and (min-height: 600px) {
  .site-footer { scroll-snap-align: end; }
}
@media (min-width: 1000px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  html:has(main .fit) { scroll-snap-type: y mandatory; }
  html:has(main .fit) :is(.fit, .site-footer) { scroll-snap-stop: always; }
  html:has(main .fit):has(main details[open]),
  html:has(main .fit):has(main .error-summary),
  html:has(main .fit):has(main input[data-reveals]:checked),
  html.snap-loose:has(main .fit) { scroll-snap-type: y proximity; }
  html.is-viewing:has(main .fit), html:has(main .fit):has(dialog[open]) { scroll-snap-type: none; }
}

/* On paper a section is as tall as its content. */
@media print { .fit, .screen { min-height: 0; } }

/* Phones (owner: "mobile is of course excluded ... but still tweak it to optimise space and experience"): the natural
   flow, no snapping, one rhythm between sections (44px above and below every section, as on Education), photographs
   no taller than about three fifths of the screen so a heading and its photograph are seen together, the three
   reviews as one row that pages sideways (the next one shows at the edge). The credits keep the client's three
   columns (src/test/complete.test.ts). */
@media (max-width: 760px) {
  :root { --block-pad: 44px; }
  .opening { padding-block: 28px 44px; }
  .opening--edu { padding-block: 28px 44px; }
  .strip { padding-block: 26px; }
  .menus { margin-top: 36px; }
  .opening__photo { width: min(100%, 400px, calc(var(--svh) * 62 * var(--ratio, 0.75))); }
  .pair__photo { width: min(100%, 370px, calc(var(--svh) * 62 * var(--ratio, 0.75))); }
  .opening--edu .opening__photo { width: 100%; }
  ul.quotes {   /* `ul[class]` resets the padding with more weight than a class alone */
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .quote { flex: 0 0 min(84%, 330px); scroll-snap-align: start; border-top-color: var(--fg); padding-block: 16px 8px; }
  .quote__text p { font-size: 1.5rem; }
  .quotes__more { margin-top: 12px; }
  .career__wheel .display { margin-bottom: 18px; }
}
/* ---------- Sections appear and disappear (owner, 21 November 2026) ----------
   What is marked `data-fx` rises and fades in as it arrives on screen and eases out as it leaves; a photograph
   settles from a slightly larger size. Opacity and transform only: nothing changes size or place in the layout.
   The start state exists only once public/assets/js/sections.js has marked the document (`html.fx`), never in
   print, never with reduced motion, and never on what holds the keyboard focus. */
@media screen and (prefers-reduced-motion: no-preference) {
  .fx [data-fx] { transition: opacity 420ms var(--ease), transform 520ms var(--ease); }
  .fx [data-fx].is-in { transition-duration: 760ms, 900ms; }
  .fx [data-fx="2"].is-in { transition-delay: 90ms; }
  .fx [data-fx="3"].is-in { transition-delay: 180ms; }
  .fx [data-fx="4"].is-in { transition-delay: 270ms; }
  .fx [data-fx="photo"].is-in { transition-delay: 120ms; }
  .fx [data-fx]:not(.is-in):not(:focus-within) { opacity: 0; transform: translate3d(0, 18px, 0); }
  .fx [data-fx][data-fx-out="up"]:not(.is-in):not(:focus-within) { transform: translate3d(0, -14px, 0); }
  .fx [data-fx="photo"]:not(.is-in):not(:focus-within) { transform: scale(1.035); }
  .fx [data-fx]:focus-within { transition: none; }
}
@media screen and (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  /* Phones: a shorter rise, no delay between the parts. */
  .fx [data-fx].is-in { transition-duration: 520ms, 600ms; transition-delay: 0ms; }
  .fx [data-fx]:not(.is-in):not(:focus-within) { transform: translate3d(0, 12px, 0); }
  .fx [data-fx][data-fx-out="up"]:not(.is-in):not(:focus-within) { transform: translate3d(0, -8px, 0); }
  .fx [data-fx="photo"]:not(.is-in):not(:focus-within) { transform: scale(1.02); }
}

/* ---------- Admin app (22 Nov 2026): personal accounts, phone layout, the installed app ----------
   Phones (the app from the Home Screen, 390 px wide): the tabs move into a Menu, tables of the account pages
   stack into labelled rows, every control stays at least 44 px tall. */
.admin__me { display: flex; align-items: center; gap: 8px 20px; margin-left: auto; }
.admin__me .admin__logout { margin-left: 0; }
.admin__me-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-underline-offset: 0.35em; }
.admin__me-link[aria-current="page"] { color: var(--fg); }
.admin__menu { display: none; margin-left: auto; position: relative; }
.admin__menu > summary { list-style: none; }
.admin__menu > summary::-webkit-details-marker { display: none; }
.admin__menu[open] > summary { background: var(--fg); color: var(--bg); }
.admin__menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 96px); overflow-y: auto;
  display: grid; gap: 8px; padding: 4px 16px 16px; background: var(--bg); border: 1px solid var(--fg);
}
.admin__menu-list a { display: flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.admin__menu-list a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 0.4em; }
.admin__menu .admin__logout { margin: 8px 0 0; }
.admin__menu .admin__logout .button { width: 100%; }
@media (max-width: 900px) {
  .admin__nav, .admin__me { display: none; }
  .admin__menu { display: block; }
  .admin__bar-inner { flex-wrap: nowrap; min-height: 60px; gap: 12px; }
  .admin__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .admin__main { padding-block: 24px 64px; }
}
@media (max-width: 560px) {
  .admin__wrap { width: calc(100% - 32px); }
  .admin__title { font-size: var(--step-2); }
  .admin__head { margin-bottom: 20px; }
  .link-button { min-height: 44px; }
  .admin__login { margin-top: 4vh; }
}
.admin__table-wrap { -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .admin__table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .admin__table--stack, .admin__table--stack tbody, .admin__table--stack tr, .admin__table--stack td { display: block; width: 100%; }
  .admin__table--stack tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .admin__table--stack td { border: 0; padding: 3px 0; white-space: normal; }
  .admin__table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 0.8125rem; color: var(--muted); }
  .admin__table--stack td form { margin-top: 8px; }
  .admin__table-wrap--stack { overflow-x: visible; }
}
.admin__head--tight { margin-bottom: 12px; }
.admin__narrow-page { max-width: 640px; display: grid; gap: 20px; }
.admin__steps { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.admin__steps--numbered { list-style: decimal; }
.admin__install { margin-top: 28px; max-width: 880px; display: grid; gap: 12px; }
.admin__note { border-left: 3px solid var(--fg); padding: 4px 0 4px 14px; }
.admin__secret code { display: inline-block; padding: 10px 14px; background: var(--tone); font-size: 1.125rem; letter-spacing: 0.08em; word-break: break-all; }
.admin__code { font-variant-numeric: tabular-nums; letter-spacing: 0.15em; max-width: 14em; }
.admin__codes { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 28px; padding: 16px 20px; border: 1px solid var(--fg); }
.admin__codes code { font-size: 1.0625rem; letter-spacing: 0.06em; }
.admin__action-form { display: grid; gap: 10px; justify-items: start; }
.admin__action-form .select, .admin__action-form .field__input { width: min(100%, 360px); }
.admin__form--inline { margin-top: 16px; }

/* Services page, "Wearing extensions?": the appointments for extensions with their prices (23 Nov 2026). */
.menu__ext { margin: 0; padding-left: 1.2em; list-style: disc; display: grid; gap: 4px; }
