/* ==========================================================================
   Vertex Academy — core stylesheet
   Dark editorial. Brass accent. Serif display against a grotesque body.
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  /* Surface */
  --bg:            #0A0A0B;
  --bg-soft:       #0F0F11;
  --bg-card:       #131315;
  --bg-elevated:   #17171A;

  /* Ink */
  --text:          #F1EDE6;
  --text-dim:      #B3ADA3;
  --text-mute:     #837E76;

  /* Accent */
  --brass:         #C6A15B;
  --brass-soft:    #E2C68D;
  --brass-dim:     #8E7440;

  /* Lines */
  --line:          rgba(241, 237, 230, 0.10);
  --line-strong:   rgba(241, 237, 230, 0.20);

  /* Type */
  --font-display:  "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Measure */
  --wrap:          1180px;
  --wrap-narrow:   780px;

  /* Motion */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --dur:           0.55s;

  /* Radius — kept sharp, this is a print-informed design */
  --r-sm:          2px;
  --r-md:          3px;
}

/* 2. Reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

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

ul, ol { padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--brass); color: #100E09; }

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

/* 3. Layout
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }

.divide { border-top: 1px solid var(--line); }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  background: var(--brass);
  color: #100E09;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

/* 4. Typography
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass-dim);
}

.eyebrow--plain::before { display: none; }

.h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.85rem, 7vw, 6rem);
  line-height: 0.99;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.accent-i {
  font-style: italic;
  color: var(--brass-soft);
  font-weight: 300;
}

.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.62;
  color: var(--text-dim);
  text-wrap: pretty;
}

.body-lg {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
  color: var(--text-dim);
  text-wrap: pretty;
}

.prose p + p { margin-top: 1.15em; }

.prose p {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.2vw, 1.09rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.prose strong { color: var(--text); font-weight: 500; }

.text-mute { color: var(--text-mute); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head .h2 + .lead { margin-top: 1.4rem; }

/* 5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.btn svg { flex: none; }

.btn--primary {
  background: var(--brass);
  color: #12100A;
}

.btn--primary:hover {
  background: var(--brass-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brass);
  color: var(--brass-soft);
}

.btn--sm { padding: 0.7rem 1.05rem; font-size: 0.83rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brass-soft);
  letter-spacing: 0.01em;
}

.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6. Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 11, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand-mark { color: var(--brass); width: 26px; height: 26px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-sub {
  font-size: 0.555rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 0.3rem;
  padding-left: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.855rem;
  color: var(--text-dim);
  letter-spacing: 0.008em;
  position: relative;
  padding-block: 0.4rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { width: 100%; }

.header-cta { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: background 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: 78px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 2.5rem clamp(1.25rem, 5vw, 3.5rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 300;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav a svg { color: var(--brass-dim); }

.mobile-nav .btn {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  justify-content: center;
}

/* 7. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.10) 0%, rgba(198, 161, 91, 0.03) 42%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 1.75rem; }

.hero-copy .h1 { margin-bottom: 1.75rem; }

.hero-copy .lead { max-width: 33ch; margin-bottom: 2.25rem; }

.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.775rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.hero-meta li { display: flex; align-items: center; gap: 0.5rem; }

.hero-meta li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--brass-dim);
  border-radius: 50%;
  margin-right: 0.9rem;
}

/* Portrait frame */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(198, 161, 91, 0.10), transparent 60%),
    linear-gradient(160deg, #17171A 0%, #101012 100%);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(198, 161, 91, 0.16);
  pointer-events: none;
}

.portrait-placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--text-mute);
}

.portrait-placeholder .brand-mark {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  opacity: 0.65;
}

.portrait-placeholder p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.4;
}

.portrait-placeholder span {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* 8. Credential strip
   ========================================================================== */
.cred-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cred-item {
  padding: 1.75rem 1.25rem;
  border-left: 1px solid var(--line);
  text-align: center;
}

.cred-item:first-child { border-left: 0; }

.cred-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cred-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.665rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  line-height: 1.5;
}

/* 9. Cards / grids
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.card {
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transition: background 0.35s var(--ease);
}

.grid-3 .card:hover { background: var(--bg-card); }

.card-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--brass-dim);
  display: block;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.card .h3 { margin-bottom: 0.9rem; }

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* Programme cards */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.prog-card {
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 230px;
  position: relative;
  transition: background 0.35s var(--ease);
  overflow: hidden;
}

.prog-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 0;
  background: var(--brass);
  transition: width 0.5s var(--ease);
}

.prog-card:hover { background: var(--bg-card); }
.prog-card:hover::before { width: 100%; }

.prog-card .prog-index {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin-bottom: 0.5rem;
}

.prog-card .h3 { color: var(--text); }

.prog-card .prog-papers {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.prog-card .link-arrow { margin-top: auto; padding-top: 1.5rem; }

/* 10. Fee preview / tables
   ========================================================================== */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.fee-table caption {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-bottom: 1rem;
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.fee-table thead th {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  border-bottom-color: var(--line-strong);
}

.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td { border-bottom: 0; }

.fee-table tbody tr { transition: background 0.25s var(--ease); }
.fee-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.fee-table th[scope="row"] {
  font-weight: 500;
  color: var(--text);
}

.fee-table .fee-level {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-mute);
  margin-top: 0.3rem;
}

.fee-table td.rate {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--brass-soft);
  white-space: nowrap;
}

.fee-table td.rate small { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-mute); }

.table-shell {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto;
}

/* 11. Section variants
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split--reverse .split-media { order: 2; }

.sticky-col { position: sticky; top: 110px; }

.quote-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.quote-inner {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--brass-dim);
  opacity: 0.6;
  user-select: none;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 34ch;
  text-wrap: pretty;
}

.quote-attrib {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Notes / lead magnet band */
.notes-band {
  position: relative;
  border: 1px solid rgba(198, 161, 91, 0.28);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(198, 161, 91, 0.12), transparent 60%),
    var(--bg-card);
  padding: clamp(2rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
}

.notes-band .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.notes-band .body-lg { max-width: 46ch; }
.notes-band .btn-row { justify-content: flex-end; }

/* 12. Forms
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}

.field label .req { color: var(--brass); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); opacity: 0.7; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--bg-soft);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23B3ADA3' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.field select option { background: var(--bg-card); color: var(--text); }

.consent {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.15rem;
  accent-color: var(--brass);
  cursor: pointer;
}

.consent a { color: var(--brass-soft); text-decoration: underline; text-underline-offset: 2px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.6;
}

.form-status {
  font-size: 0.86rem;
  color: var(--brass-soft);
  min-height: 1.2em;
}

.contact-panel {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.contact-list { display: flex; flex-direction: column; gap: 0; }

.contact-item {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.contact-item:last-child { border-bottom: 0; }

.contact-item dt {
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.contact-item dd { font-size: 0.95rem; color: var(--text); line-height: 1.6; }
.contact-item dd a:hover { color: var(--brass-soft); }

/* 13. Page header (interior pages)
   ========================================================================== */
.page-head {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -5%;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.07), transparent 65%);
  pointer-events: none;
}

.page-head .eyebrow { margin-bottom: 1.5rem; }
.page-head .h1 { max-width: 18ch; }
.page-head .lead { margin-top: 1.75rem; max-width: 58ch; }

/* 14. Anchor nav
   ========================================================================== */
.anchor-nav {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav ul {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav ul::-webkit-scrollbar { display: none; }

.anchor-nav a {
  display: block;
  padding: 1.05rem 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}

.anchor-nav a:hover { color: var(--text); }
.anchor-nav a.is-active { color: var(--brass-soft); border-bottom-color: var(--brass); }

/* 15. Programme track blocks
   ========================================================================== */
.track {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.track:last-of-type { border-bottom: 0; }

.track-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.track-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--brass-dim);
  margin-bottom: 0.85rem;
  letter-spacing: 0.06em;
}

.track .h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

.paper-list {
  border-top: 1px solid var(--line);
}

.paper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.paper-name { font-size: 0.98rem; color: var(--text); font-weight: 500; }

.paper-code {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  white-space: nowrap;
}

.paper--no-code { grid-template-columns: 1fr; }

.track-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.format-item { background: var(--bg); padding: clamp(1.5rem, 2.5vw, 2rem); }
.format-item .h4 { color: var(--text); margin-bottom: 0.6rem; }
.format-item p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }

/* 16. List with rules
   ========================================================================== */
.rule-list { border-top: 1px solid var(--line); }

.rule-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

.rule-list li svg { color: var(--brass); margin-top: 0.32rem; }
.rule-list strong { color: var(--text); font-weight: 500; }

/* 17. Placeholder notice (review build)
   ========================================================================== */
.placeholder-note {
  border: 1px dashed rgba(198, 161, 91, 0.35);
  background: rgba(198, 161, 91, 0.04);
  padding: 1.25rem 1.4rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.placeholder-note strong {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.testimonial-slot {
  background: var(--bg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 2px solid rgba(198, 161, 91, 0.25);
}

.testimonial-slot .slot-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-mute);
}

.testimonial-slot .slot-meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
}

/* 18. CTA band
   ========================================================================== */
.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(198, 161, 91, 0.09), transparent 62%),
    var(--bg-soft);
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.cta-band .h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { max-width: 52ch; margin: 1.5rem auto 2.5rem; }
.cta-band .btn-row { justify-content: center; }

/* 19. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand { margin-bottom: 1.25rem; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-mute);
  max-width: 34ch;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 1.15rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col a,
.footer-col span {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-col a:hover { color: var(--brass-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.76rem;
  color: var(--text-mute);
}

.draft-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(198, 161, 91, 0.3);
  color: var(--brass-dim);
  padding: 0.3rem 0.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.draft-flag::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--brass);
  border-radius: 50%;
}

/* 20. Sticky mobile CTA
   ========================================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
}

.mobile-cta .btn { width: 100%; }

/* 21. Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 22. Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .cred-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cred-item:nth-child(4) { border-left: 0; }
  .cred-item:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-cta { display: block; }
  body { padding-bottom: 68px; }

  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy .lead { max-width: 46ch; }
  .portrait { max-width: 300px; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .sticky-col { position: static; }

  .grid-3 { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .track-head { grid-template-columns: 1fr; gap: 1.5rem; }

  .notes-band { grid-template-columns: 1fr; }
  .notes-band .btn-row { justify-content: flex-start; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .anchor-nav { top: 78px; }
}

@media (max-width: 640px) {
  .header-inner { height: 66px; }
  .mobile-nav { inset: 66px 0 0; }
  .anchor-nav { top: 66px; }
  .brand-sub { letter-spacing: 0.28em; }

  .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-item { border-left: 0; padding: 1.25rem 0.75rem; }
  .cred-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cred-item:nth-child(even) { border-left: 1px solid var(--line); }

  .prog-grid { grid-template-columns: 1fr; }
  .prog-card { min-height: 0; }
  .grid-2 { grid-template-columns: 1fr; }

  /* Stack the hero meta cleanly — the inline separators orphan at the
     start of a wrapped line, so the dots are dropped on small screens. */
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.25rem;
  }
  .hero-meta li + li::before { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .fee-table th, .fee-table td { padding: 0.9rem 0.6rem; font-size: 0.88rem; }
  .fee-table td.rate { font-size: 0.98rem; }

  .quote-inner { grid-template-columns: 1fr; gap: 1rem; }
  .quote-mark { font-size: 3.5rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .contact-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .paper { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* 23. Consent label (inside .field, so it needs to opt out of label styling)
   ========================================================================== */
.consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 400;
  cursor: pointer;
}

/* 24. Print
   ========================================================================== */
@media print {
  .site-header, .mobile-nav, .mobile-cta, .anchor-nav, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
