/* 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.875rem;
  --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;
  --header-h: 92px;
  --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, 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. */
.wordmark__name, .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: absolute;
  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 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark__name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.16em;
  margin-right: -0.16em;
}
.wordmark__section {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.44em;
  letter-spacing: 0.52em;
  margin-right: -0.52em;
}
.wordmark--sm { font-size: 1.0625rem; }
.wordmark--xl { font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3.1rem); align-items: center; }
.wordmark--xl .wordmark__section { font-size: 0.36em; }

/* ---------- Logos (client SVGs, currentColor) ---------- */
.logo { display: block; height: auto; color: inherit; }
.logo--edu-horizontal { height: 38px; width: auto; }
.brand-compact { display: none; height: 34px; width: auto; }
.site-header__brand { color: var(--fg); }

/* Interim Hairdressing mark: the real monogram + the typeset name (no Hairdressing logo yet). */
.hair-interim { display: inline-flex; align-items: center; color: var(--fg); }
.hair-interim--inline { gap: 14px; }
.hair-interim--inline .hair-interim__mark { height: 34px; width: auto; }
.hair-interim--stacked { flex-direction: column; align-items: flex-start; gap: 0.9em; }
.hair-interim--stacked .wordmark { align-items: flex-start; }
.hair-interim--lg { font-size: clamp(1rem, 0.8rem + 0.6vw, 1.25rem); }
.hair-interim--lg .hair-interim__mark { height: 4.4em; width: auto; }
.hair-interim__pending { margin-top: 0.4em; font-size: 0.8125rem; }

/* ---------- 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 ---------- */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--rule); }
.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: var(--header-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); }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 160ms var(--ease);
}
.switch:hover { border-color: var(--fg); }
.switch__disc {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--fg);
  background: linear-gradient(90deg, var(--fg) 50%, var(--bg) 50%);
}

/* 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 { --header-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; }
  .site-header .wordmark--sm { font-size: 0.875rem; }
  .site-header .wordmark__name { letter-spacing: 0.1em; margin-right: -0.1em; }
  .switch { padding: 0 12px; gap: 8px; font-size: 0.8125rem; }
  .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; }
}
@media (max-width: 340px) {
  .switch__label { display: none; }
  .switch { padding: 0 14px; }
}

/* ---------- Split home ---------- */
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
}
.split__half {
  position: relative;
  display: grid;
  place-items: center;
  padding: max(56px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) max(56px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
  text-align: center;
  background: var(--bg);
  color: var(--fg);
}
.split__half--hair { --bg: #fff; --fg: #000; --muted: #595959; --btn-bg: #000; --btn-fg: #fff; --focus: #000; }
.split__half--edu { --bg: #000; --fg: #fff; --muted: #a8a8a8; --btn-bg: #fff; --btn-fg: #000; --focus: #fff; }
.split { --lock-w: clamp(220px, 25vw, 380px); }
.split__content { display: flex; flex-direction: column; align-items: center; }
.split__mark { font-weight: 400; margin: 0; display: grid; justify-items: center; }
.split__mark .logo--edu-stacked { width: var(--lock-w); }
/* Interim Hairdressing mark at the same monogram height (0.284 x lockup width) and name width. */
.split__mark .hair-interim--xl { align-items: center; gap: calc(var(--lock-w) * 0.1); font-size: calc(var(--lock-w) * 0.075); }
.split__mark .hair-interim--xl .hair-interim__mark { height: calc(var(--lock-w) * 0.284); width: auto; }
.split__mark .hair-interim--xl .wordmark { align-items: center; }
.split__mark .hair-interim__pending { font-size: 0.8125rem; margin-top: 4px; }
.split__line { margin-top: 40px; color: var(--muted); font-size: var(--step-0); }
.split__cta { margin-top: 44px; position: static; }
/* The whole half is clickable, but there is still a single link per half. */
.split__cta::after { content: ""; position: absolute; inset: 0; }
.split__half:hover .split__cta { background: transparent; color: var(--fg); }
.split__legal {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 2;
  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: grid-template-columns 700ms var(--ease); }
  @media (hover: hover) and (min-width: 721px) {
    .split:has(.split__half--hair:hover) { grid-template-columns: 1.1fr 0.9fr; }
    .split:has(.split__half--edu:hover) { grid-template-columns: 0.9fr 1.1fr; }
  }
  .split__content { animation: rise 1000ms var(--ease) both; }
  .split__half--edu .split__content { animation-delay: 140ms; }
  .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; }
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .split__half { min-height: 50vh; min-height: 50svh; padding: 48px 20px; }
  .split__line { margin-top: 22px; }
  .split__cta { margin-top: 30px; }
}

/* ---------- Image frames (tone blocks until photographs arrive) ---------- */
.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--tone), var(--tone-2));
}
.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--edu-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; }
/* Education: the stacked lockup is the hero's picture, set where Hairdressing has its photograph. */
.hero__emblem { grid-column: 9 / -1; align-self: center; justify-self: end; width: clamp(240px, 24vw, 360px); color: var(--fg); }
.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, .hero__emblem { grid-column: 1 / -1; }
  .hero__emblem { order: -1; justify-self: start; width: clamp(180px, 50vw, 240px); margin-top: 16px; }
  .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: 46%; 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: 32%; 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; }
@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__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 ---------- */
.site-footer { border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--muted); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: 56px 48px;
  align-items: start;
}
.site-footer__brand .wordmark, .site-footer__brand .logo { color: var(--fg); }
.site-footer__logo { height: 32px !important; }
.site-footer__mono { height: 40px; width: auto; }
.site-footer__place { margin-top: 20px; }
.site-footer__links { display: grid; gap: 4px; }
.site-footer__links a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.site-footer__links a:hover { color: var(--fg); text-decoration: underline; }
.site-footer__legal { justify-self: end; grid-column: -2 / -1; }
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__legal { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- 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; }

/* ---------- 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;
  }
}
