/* =====================================================================
   Eastern Music School - mockup stylesheet
   Implements 03-design/design-system.md verbatim.
   Display: Fraunces. Body: Public Sans. Palette: ABRSM claret on music
   paper. Motif: the five-line musical staff as a hairline rule.
   Square corners only (border-radius:0 globally enforced).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------------- */
:root {
  /* ---- Fonts ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* ---- Type scale (desktop) ---- */
  --fs-display: 4.5rem;
  --fs-h1: 3.25rem;
  --fs-h2: 2.375rem;
  --fs-h3: 1.625rem;
  --fs-h4: 1.25rem;
  --fs-h5: 1.0625rem;
  --fs-h6: 0.9375rem;
  --fs-lead: 1.3125rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-overline: 0.75rem;
  --measure: 68ch;

  /* ---- Colour: paper / ink ---- */
  --bg: #F7F2EA;
  --surface: #FFFFFF;
  --surface-2: #EFE7D9;
  --ink: #211C1A;
  --ink-2: #4A423E;
  --muted: #8A7F76;
  --line: #D8CDBC;

  /* ---- Colour: accents ---- */
  --accent: #7A1F2B;        /* Royal Schools / ABRSM claret */
  --accent-strong: #5E1620; /* hover / press */
  --brass: #A8812E;         /* piano brass, motif only */

  /* ---- Colour: inverse (footer / dark band) ---- */
  --bg-inv: #2A0E13;
  --ink-inv: #F4EBDF;
  --ink-inv-2: #D7C2B0;
  --line-inv: #5A2E32;
  --brass-inv: #C79A3E;

  /* ---- Spacing scale (4px base) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Layout ---- */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(16px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);

  /* ---- Borders / lines ---- */
  --hairline: 1px solid var(--line);
  --rule-strong: 2px solid var(--ink);

  /* ---- Motion ---- */
  --t-fast: 120ms;
  --t-base: 200ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  /* ---- Focus ---- */
  --focus-ring: 3px solid var(--accent);
  --focus-offset: 2px;
}

/* ---- Global reset: sharp corners everywhere, always ---- */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

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

/* ---------------------------------------------------------------------
   2. Typography
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h3, h4 { font-weight: 600; }
h5, h6 { font-family: var(--font-body); font-weight: 700; margin: 0 0 0.5em; }

h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }
h5 { font-size: var(--fs-h5); line-height: 1.35; }
h6 { font-size: var(--fs-h6); line-height: 1.4; letter-spacing: 0.01em; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
}
.overline {
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
small, .small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); letter-spacing: 0.005em; }

p { max-width: var(--measure); margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); }

ul, ol { margin: 0 0 1em; }

/* text link with stave-style underline */
.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--line);
  padding-bottom: 1px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.link:hover { border-color: var(--accent); }
.link .arrow { font-weight: 700; }

/* ---------------------------------------------------------------------
   3. Signature motif: the stave rule
   --------------------------------------------------------------------- */
.stave {
  position: relative;
  height: 28px;
  width: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line) 0, var(--line) 1px,
    transparent 1px, transparent 7px
  );
  background-size: 100% 35px;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.stave::before {
  content: "";
  position: absolute;
  left: clamp(16px, 4vw, 64px);
  top: 13px;
  width: 9px;
  height: 9px;
  background: var(--brass);
  transform: skewX(-18deg);
}

/* Two-line heading rule (top of a staff under H2) */
.rule-stave {
  height: 9px;
  width: 64px;
  margin-top: 12px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--ink) 0, var(--ink) 1px,
    transparent 1px, transparent 8px
  );
  background-size: 100% 9px;
  background-repeat: no-repeat;
}

/* ---------------------------------------------------------------------
   4. Layout primitives
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--paper   { background: var(--bg); }
.section--surface { background: var(--surface-2); }
.section--dark    { background: var(--bg-inv); color: var(--ink-inv); }
.section--white   { background: var(--surface); }
.section--tight   { padding-block: clamp(40px, 6vw, 72px); }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--ink-inv); }
.section--dark .lead { color: var(--ink-inv-2); }
.section--dark .overline { color: var(--brass-inv); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

.section-head { max-width: 42ch; margin-bottom: var(--space-7); }
.section-head .overline { display: block; margin-bottom: var(--space-3); }
.section-head h2 { margin-bottom: 0; }

.center { text-align: center; }
.center.section-head { margin-inline: auto; }
.center.section-head .rule-stave { margin-inline: auto; }

.stack > * + * { margin-top: var(--space-5); }

/* ---------------------------------------------------------------------
   5. Navigation (sticky header)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: var(--hairline);
  transition: box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease);
}
.site-header.is-condensed {
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(33, 28, 26, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
  padding-block: var(--space-3);
  transition: min-height var(--t-base) var(--ease);
}
.site-header.is-condensed .nav { min-height: 60px; }
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
}
.nav__logo .nav__mark { width: 28px; height: 28px; flex: 0 0 auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
  padding: 12px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: var(--hairline);
  cursor: pointer;
  position: relative;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
}
.nav__toggle-bar { top: 21px; }
.nav__toggle-bar::before { top: -7px; }
.nav__toggle-bar::after  { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__list {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: var(--hairline);
    padding: var(--space-4) var(--gutter) var(--space-6);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    display: flex;
    visibility: hidden;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
  }
  .nav__list.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav__link { padding: 14px 0; min-height: 48px; border-bottom: var(--hairline); }
  .nav__link::after { display: none; }
  .nav__list .btn { margin-top: var(--space-4); width: 100%; justify-content: center; }
  .nav__call {
    margin-top: var(--space-3);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--line);
  }
  .nav__call:hover { border-color: var(--accent); }
}
.nav__call { display: none; }

/* ---------------------------------------------------------------------
   6. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn--primary:active { background: #4A1019; }

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--ghost:hover { background: var(--accent); color: #fff; }

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

.btn--on-dark {
  background: transparent;
  color: var(--ink-inv);
  border-color: var(--brass-inv);
}
.btn--on-dark:hover { background: var(--brass-inv); color: var(--bg-inv); border-color: var(--brass-inv); }

.btn:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.btn--on-dark:focus-visible { outline-color: var(--brass-inv); }

/* ---------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------- */
.hero { padding-block: clamp(48px, 8vw, 112px) 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}
.hero__eyebrow { margin-bottom: var(--space-4); }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 var(--space-5);
  color: var(--ink);
}
.hero__subhead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 0 var(--space-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.hero__media {
  position: relative;
  border: var(--rule-strong);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero__media::after {
  content: "";
  position: absolute;
  top: -2px; left: -2px;
  width: 28px; height: 4px;
  background: var(--brass);
}
.hero__caption {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: var(--space-3);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
}

/* Page header (interior pages) */
.page-header { padding-block: clamp(48px, 7vw, 96px) 0; }
.page-header .overline { display: block; margin-bottom: var(--space-3); }
.page-header h1 { margin: 0 0 var(--space-4); }
.page-header .lead { max-width: 60ch; margin: 0; }
.page-header__inner { max-width: 64ch; }

/* ---------------------------------------------------------------------
   8. Trust strip
   --------------------------------------------------------------------- */
.trust {
  border-block: var(--hairline);
  padding-block: var(--space-5);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  list-style: none; margin: 0; padding: 0;
}
.trust__item {
  font-size: var(--fs-small);
  color: var(--ink);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}
.trust__item::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 8px; height: 3px; background: var(--brass);
}
@media (max-width: 768px) { .trust__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust__list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   9. Cards
   --------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: var(--hairline);
  border-top: 3px solid var(--brass);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card__kicker { font-size: var(--fs-overline); letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; color: var(--accent); }
.card__title { font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 600; margin: 0; }
.card__body { font-size: var(--fs-body); color: var(--ink-2); margin: 0; }
.card__link { margin-top: auto; padding-top: var(--space-3); }

.card--link { position: relative; }
.card--link a.card__link::before { content: ""; position: absolute; inset: 0; }

/* Category cards (image-led) */
.cat-card {
  background: var(--surface);
  border: var(--hairline);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.cat-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: var(--hairline); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base) var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.03); }
.cat-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.cat-card__title { font-family: var(--font-display); font-size: var(--fs-h4);
  font-weight: 600; margin: 0; }
.cat-card__meta { font-size: var(--fs-small); color: var(--muted); font-weight: 600;
  letter-spacing: 0.02em; }
.cat-card__text { font-size: var(--fs-small); color: var(--ink-2); margin: 0; }
.cat-card__arrow { margin-top: var(--space-2); color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------------
   10. Teacher cards
   --------------------------------------------------------------------- */
.teacher {
  background: var(--surface);
  border: var(--hairline);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-5);
  padding: var(--space-5);
  align-items: start;
}
.teacher__photo {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  border: var(--rule-strong);
}
/* CSS-only initials block where a real headshot is a production deliverable */
.teacher__photo--placeholder {
  width: 120px;
  aspect-ratio: 1;
  border: var(--rule-strong);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.teacher__photo--placeholder span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}
.teacher__photo--placeholder::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background-image: repeating-linear-gradient(
    to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent 5px);
  background-size: 100% 10px;
}
.teacher__name { font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 600; margin: 0 0 2px; }
.teacher__role { font-size: var(--fs-small); color: var(--accent);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--space-3); }
.teacher__bio { font-size: var(--fs-body); color: var(--ink-2); margin: 0; }
.teacher__bio + .teacher__bio { margin-top: var(--space-3); }
.teacher__creds { margin-top: var(--space-3); font-size: var(--fs-small);
  color: var(--ink); border-top: var(--hairline); padding-top: var(--space-3); }
.teacher__creds strong { color: var(--accent); }
@media (max-width: 480px) {
  .teacher { grid-template-columns: 1fr; }
  .teacher__photo,
  .teacher__photo--placeholder { width: 96px; }
}

/* ---------------------------------------------------------------------
   11. Endorsements
   --------------------------------------------------------------------- */
.endorse {
  background: var(--surface-2);
  border-left: 4px solid var(--accent);
  padding: var(--space-6) var(--space-7);
  margin: 0;
}
.endorse__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-h4);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 var(--space-4);
}
.endorse__cite {
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
}
.endorse__cite span { display: block; color: var(--muted); font-weight: 500; }

/* Pull quote (founder) */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 30ch;
  border-left: 4px solid var(--brass);
  padding-left: var(--space-5);
}
.section--dark .pullquote { color: var(--ink-inv); border-left-color: var(--brass-inv); }
.pullquote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
}
.section--dark .pullquote cite { color: var(--ink-inv-2); }

/* ---------------------------------------------------------------------
   12. Spec / fact tables and lists
   --------------------------------------------------------------------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: var(--fs-body);
}
.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: var(--hairline);
}
.spec th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  width: 32%;
  white-space: nowrap;
}
.spec td { color: var(--ink-2); }
@media (max-width: 480px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-bottom: 0; padding-bottom: 0; }
  .spec td { padding-top: var(--space-1); }
}

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.feature-list li { padding-left: var(--space-6); position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 14px; height: 3px; background: var(--brass);
}
.feature-list strong { color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-5); }
.steps li {
  position: relative;
  padding-left: 56px;
  min-height: 44px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { display: block; font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; }

/* Two-column prose split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--media-right .split__media { order: 2; }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--media-right .split__media { order: -1; }
}
.split__media {
  border: var(--rule-strong);
  position: relative;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media::after {
  content: "";
  position: absolute;
  top: -2px; left: -2px;
  width: 28px; height: 4px;
  background: var(--brass);
}

/* Callout panel */
.callout {
  background: var(--surface-2);
  border-left: 4px solid var(--brass);
  padding: var(--space-6);
  font-size: var(--fs-body);
  color: var(--ink-2);
}
.callout strong { color: var(--ink); }

/* Note / client-to-confirm marker (mockup honesty, not placeholder copy) */
.note {
  font-size: var(--fs-small);
  color: var(--ink-2);
  background: var(--surface);
  border: var(--hairline);
  border-left: 3px solid var(--muted);
  padding: var(--space-4) var(--space-5);
}
.note strong { color: var(--ink); }

/* ---------------------------------------------------------------------
   13. Forms
   --------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); max-width: 560px; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: var(--fs-small); font-weight: 600; color: var(--ink);
}
.field .hint { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-2);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 0;
  border-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field--error input,
.field--error textarea { border-color: var(--accent); border-width: 2px; }
.field .error-msg { font-size: var(--fs-xs); color: var(--accent); font-weight: 600; }
.form__submit { justify-self: start; }
.form__note { font-size: var(--fs-xs); color: var(--muted); max-width: 560px; }

/* Contact details block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-7); } }
.contact-details { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: var(--space-5); }
.contact-details li { display: grid; gap: 2px; }
.contact-details .label { font-size: var(--fs-overline); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.contact-details a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; min-height: 28px; display: inline-flex; align-items: center; }
.contact-details a:hover { border-color: var(--accent); }
.contact-details .value { font-size: var(--fs-body); color: var(--ink); }

/* Static map / location block, CSS-only (no external embed in the mockup) */
.map-block {
  border: var(--rule-strong);
  background: var(--surface-2);
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
}
.map-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, var(--line) 0, var(--line) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent 44px);
  opacity: 0.7;
}
.map-block::after {
  content: "";
  position: absolute;
  left: 50%; top: 44%;
  width: 16px; height: 16px;
  background: var(--accent);
  transform: translate(-50%, -50%) skewX(-12deg);
}
.map-block__pin {
  position: absolute;
  left: 50%; top: 44%;
  width: 2px; height: 26px;
  background: var(--accent);
  transform: translate(-50%, 0);
}
.map-block__label {
  position: relative;
  background: var(--surface);
  border: var(--hairline);
  border-left: 3px solid var(--accent);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-small);
  color: var(--ink);
  max-width: 28ch;
}
.map-block__label strong { display: block; font-family: var(--font-display); font-weight: 600; }

/* ---------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--bg-inv); color: var(--ink-inv); }
.site-footer .stave {
  background-image: repeating-linear-gradient(
    to bottom, var(--line-inv) 0, var(--line-inv) 1px,
    transparent 1px, transparent 7px);
  background-size: 100% 35px; background-repeat: no-repeat;
}
.site-footer .stave::before { background: var(--brass-inv); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-8);
}
.footer__brand { font-family: var(--font-display); font-size: var(--fs-h4);
  font-weight: 600; margin: 0 0 var(--space-3); color: var(--ink-inv); }
.footer__desc { color: var(--ink-inv-2); font-size: var(--fs-small); margin: 0 0 var(--space-4); max-width: 36ch; }
.footer__contact { font-size: var(--fs-small); color: var(--ink-inv-2); line-height: 1.7; margin: 0; }
.footer__contact a { color: var(--ink-inv); text-decoration: none; border-bottom: 1px solid var(--line-inv); min-height: 28px; display: inline-flex; align-items: center; }
.footer__contact a:hover { border-color: var(--brass-inv); }
.footer__col h3 { font-family: var(--font-body); font-size: var(--fs-h6);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-inv);
  font-weight: 700; margin: 0 0 var(--space-4); }
.footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer__nav a { color: var(--ink-inv-2); text-decoration: none; font-size: var(--fs-small);
  min-height: 28px; display: inline-flex; align-items: center; }
.footer__nav a:hover { color: var(--ink-inv); }
.footer__bottom {
  border-top: 1px solid var(--line-inv);
  padding-block: var(--space-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3);
  font-size: var(--fs-xs); color: var(--ink-inv-2);
}
.footer__bottom a { color: var(--ink-inv-2); text-decoration: none; border-bottom: 1px solid var(--line-inv); }
.footer__bottom a:hover { color: var(--ink-inv); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------------------------------------------------------------------
   15. Scroll-reveal (one effect, JS-driven, reduced-motion safe)
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------
   16. Type scale responsive steps
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --fs-display: 3.25rem;
    --fs-h1: 2.5rem;
    --fs-h2: 1.875rem;
    --fs-h3: 1.4375rem;
    --fs-h4: 1.1875rem;
    --fs-lead: 1.1875rem;
    --fs-body: 1rem;
  }
}
@media (max-width: 480px) {
  :root {
    --fs-display: 2.5rem;
    --fs-h1: 2.125rem;
  }
}

/* Utility spacing helpers used inline-free in markup */
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.measure-narrow { max-width: 56ch; }
.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
