/* Compton Capital, build 3, 10 November 2026.
   Governed by landing-page-design Part B (pinned local edition, installed 2026-11-01).
   One typeface: Geist. No italics. No weight above 600.
   Every size on the Tailwind scale with its paired line height.
   Every spacing value from the spacing table. Radius from Tailwind only, nested formula applied.
   Backgrounds flat. One gradient in the whole build: the hero heading text.
   One easing curve. Only transform and opacity animate. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist[wght].ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* spacing table, 0 2 4 8 12 16 24 32 40 48 64 80 96 */
  --s0: 0px;
  --s25: 2px;
  --s50: 4px;
  --s75: 8px;
  --s100: 12px;
  --s200: 16px;
  --s300: 24px;
  --s400: 32px;
  --s500: 40px;
  --s600: 48px;
  --s700: 64px;
  --s800: 80px;
  --s900: 96px;

  /* radius, Tailwind values only */
  --r-sm: 2px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;

  /* type scale, Tailwind steps with their paired line heights */
  --t-xs: 12px;   --lh-xs: 16px;
  --t-sm: 14px;   --lh-sm: 20px;
  --t-base: 16px; --lh-base: 24px;
  --t-lg: 18px;   --lh-lg: 28px;
  --t-xl: 20px;   --lh-xl: 28px;
  --t-2xl: 24px;  --lh-2xl: 32px;
  --t-3xl: 30px;  --lh-3xl: 36px;
  --t-4xl: 36px;  --lh-4xl: 40px;
  --t-5xl: 48px;  --lh-5xl: 48px;
  --t-6xl: 60px;  --lh-6xl: 60px;
  --t-7xl: 72px;  --lh-7xl: 72px;
  --t-8xl: 96px;  --lh-8xl: 96px;

  /* colour: paper ground, ink, one bronze accent used for rules and the shield only */
  --paper: #F7F6F3;
  --paper-2: #EFEDE7;
  --white: #FFFFFF;
  --ink: #101010;
  --ink-2: #1F1F1F;
  --muted: #56564F;
  --muted-2: #6B6B64;
  --line: #DBD8D0;
  --gold: #9C7A32;
  --dark: #000000;
  --dark-2: #181818;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B4B4AE;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 24px;
  --maxw: 1240px;
  --measure: 66ch;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", system-ui, sans-serif;
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
summary { cursor: pointer; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--ink); color: var(--white); }

:focus-visible {
  outline: var(--s25) solid var(--ink);
  outline-offset: var(--s50);
  border-radius: var(--r-sm);
}

.on-dark :focus-visible, .hero :focus-visible, .footer :focus-visible, .menu :focus-visible {
  outline-color: var(--on-dark);
}

/* ── structure ─────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  left: var(--s300);
  top: calc(-1 * var(--s800));
  z-index: 60;
  padding: var(--s75) var(--s100);
  background: var(--ink);
  color: var(--white);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  border-radius: var(--r-lg);
  transition: transform 300ms var(--ease);
}
.skip:focus { transform: translateY(calc(var(--s800) + var(--s300))); }

/* ── floating navigation, B7 ───────────────────────────────────────────── */

.nav-wrap {
  position: fixed;
  inset: var(--s300) 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding-inline: var(--s300);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s300);
  padding: var(--s75) var(--s75) var(--s75) var(--s200);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(var(--s200));
  backdrop-filter: blur(var(--s200));
  border: var(--s25) solid rgba(16, 16, 16, 0.06);
  border-radius: var(--r-3xl);
  box-shadow: 0 var(--s75) var(--s300) rgba(16, 16, 16, 0.06);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s75);
  flex: none;
}
.shield { width: var(--s300); height: auto; flex: none; }
.nav-word {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: var(--s300); }
.nav-links a {
  position: relative;
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 400;
  color: var(--ink-2);
  padding-block: var(--s25);
  transition: color 300ms var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: calc(-1 * var(--s25));
  height: var(--s25);
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { font-weight: 600; }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  width: var(--s600);
  height: var(--s400);
  margin-left: var(--s75);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s75);
  background: transparent;
  border: 0;
  border-radius: var(--r-lg);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: var(--s300);
  height: var(--s25);
  background: var(--ink);
  transition: transform 500ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: translateY(calc(var(--s50) + var(--s25))) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: translateY(calc(-1 * (var(--s50) + var(--s25)))) rotate(-45deg); }

/* full height panel, links arrive 60 ms apart, capped at 400 ms */
.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--s200);
  padding: var(--s900) var(--s300) var(--s600);
  background: rgba(247, 246, 243, 0.96);
  -webkit-backdrop-filter: blur(var(--s900));
  backdrop-filter: blur(var(--s900));
}
.menu[data-open="true"] { display: flex; }
.menu a {
  font-size: var(--t-3xl);
  line-height: var(--lh-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(var(--s300));
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  padding-block: var(--s25);
}
.menu a.in { opacity: 1; transform: none; }
.menu .menu-note {
  margin-top: var(--s400);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}

/* ── buttons and links ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s75);
  min-height: var(--s600);
  padding: var(--s75) var(--s100);            /* B2, buttons 8 vertical 12 horizontal */
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: scale(0.98); }
.btn:disabled { background: var(--muted-2); cursor: not-allowed; }
.btn-sm { min-height: var(--s400); font-size: var(--t-sm); line-height: var(--lh-sm); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 var(--s25) var(--line);
}
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }
.on-dark .btn, .hero .btn {
  background: var(--white);
  color: var(--ink);
}
.on-dark .btn:hover, .hero .btn:hover { background: var(--paper-2); }
.on-dark .btn-ghost, .hero .btn-ghost {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 var(--s25) rgba(255, 255, 255, 0.28);
}
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--dark-2); color: var(--on-dark); }

.btn svg { width: 20px; height: 20px; flex: none; }

.link {
  display: inline-flex;
  align-items: center;
  gap: var(--s50);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-weight: 600;
  border-bottom: var(--s25) solid currentColor;
  padding-bottom: var(--s25);
  transition: color 300ms var(--ease);
}
.link:hover { color: var(--muted); }
.link svg { width: 16px; height: 16px; flex: none; }
.on-dark .link:hover, .hero .link:hover { color: var(--on-dark-muted); }
.link-quiet { font-weight: 400; border-bottom-color: var(--line); }
.link-quiet:hover { border-bottom-color: var(--muted); }

/* ── type helpers ──────────────────────────────────────────────────────── */

.num { font-variant-numeric: tabular-nums; }

.lede {
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--muted);
  max-width: 46ch;
}

/* ── hero ──────────────────────────────────────────────────────────────── */

.hero {
  background: var(--dark);
  color: var(--on-dark);
  padding-top: var(--s900);
  padding-bottom: var(--s900);
}
/* nav clearance as padding on the inner container, so both values stay on the table */
.hero > .wrap { padding-top: var(--s700); }

.hero h1 {
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  letter-spacing: -0.03em;
  max-width: 680px;
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero .lede {
  color: var(--on-dark-muted);
  margin-top: var(--s300);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s200);
  margin-top: var(--s500);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--s900);
  align-items: end;
}
.hero-lead { min-width: 0; }
.hero-note {
  padding-top: var(--s300);
  border-top: var(--s25) solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--s300);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--on-dark-muted);
}
.hero-note b { color: var(--on-dark); font-weight: 600; }

/* full bleed photograph with a flat caption strip, never text over the image */
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 42%;
}
.photo-caption {
  display: block;
  padding: var(--s100) var(--gutter);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--muted);
  background: var(--paper-2);
  text-align: center;
}

/* ── page hero for inner pages ─────────────────────────────────────────── */

.page-hero { padding-bottom: var(--s600); }
.page-hero h1 {
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  letter-spacing: -0.03em;
  max-width: 680px;
}
.page-hero .lede { margin-top: var(--s300); max-width: 680px; color: var(--on-dark-muted); }
.page-hero .hero-actions { margin-top: var(--s400); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s75);
  margin-bottom: var(--s400);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
.crumbs a { text-decoration: underline; text-underline-offset: var(--s50); }
.crumbs span { color: var(--on-dark); }

/* ── tagline reveal, B11 ───────────────────────────────────────────────── */

.tagline { padding: var(--s900) 0; }
.tagline p {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
}
.tagline .w { transition: color 500ms var(--ease); }
.js .tagline .w { color: #CFCCC4; }
.tagline .w.on { color: var(--ink); }

/* ── sections ──────────────────────────────────────────────────────────── */

.section { padding: var(--s900) 0; }
.section-tint { background: var(--paper-2); }

.section-head { max-width: 680px; }
.section-head h2,
.band-split h2 {
  font-size: var(--t-3xl);
  line-height: var(--lh-3xl);
  letter-spacing: -0.025em;
}
.section-head p {
  margin-top: var(--s200);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--muted);
  max-width: 58ch;
}


/* ── program index: ruled rows, tabular numerals ───────────────────────── */

.index-group { margin-top: var(--s700); }
.index-group:first-of-type { margin-top: var(--s600); }
.index-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s200);
  padding-bottom: var(--s200);
  border-bottom: var(--s25) solid var(--ink);
}
.index-group-head h3 {
  font-size: var(--t-xl);
  line-height: var(--lh-xl);
  letter-spacing: -0.01em;
}
.index-group-head p {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}

.rows { display: block; }
.row {
  display: grid;
  grid-template-columns: var(--s900) minmax(0, 1fr) minmax(0, 1fr) var(--s600);
  align-items: baseline;
  gap: var(--s300);
  padding: var(--s300) 0;
  border-bottom: var(--s25) solid var(--line);
  transition: background-color 300ms var(--ease);
}
.row-num {
  font-size: var(--t-2xl);
  line-height: var(--lh-2xl);
  font-weight: 400;
  color: var(--muted);
}
.row-name {
  font-size: var(--t-2xl);
  line-height: var(--lh-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 300ms var(--ease);
}
.row-desc {
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--muted);
}
.row-go {
  justify-self: end;
  width: var(--s300);
  height: var(--s300);
  color: var(--ink);
  transition: transform 500ms var(--ease), color 300ms var(--ease);
}
.row:hover .row-go { transform: translateX(var(--s75)); }
.row:hover .row-name { color: var(--muted); }
.row-pending .row-name { color: var(--muted); }
.row-pending .row-go { color: var(--line); }

/* ── steps ─────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s600);
  margin-top: var(--s600);
  counter-reset: none;
}
.steps li { border-top: var(--s25) solid var(--ink); padding-top: var(--s300); }
.step-num {
  display: block;
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  font-weight: 400;
  color: var(--muted);
}
.steps h3 {
  margin-top: var(--s300);
  font-size: var(--t-xl);
  line-height: var(--lh-xl);
  letter-spacing: -0.01em;
}
.steps p {
  margin-top: var(--s100);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--muted);
}

/* ── two column prose ──────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s600) var(--s800);
  align-items: start;
}
.split h2 {
  font-size: var(--t-3xl);
  line-height: var(--lh-3xl);
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: var(--s300); }
.prose p {
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--ink-2);
}
.prose .small { font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); }

.facts {
  margin-top: var(--s400);
  border-top: var(--s25) solid var(--line);
}
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--s300);
  padding: var(--s200) 0;
  border-bottom: var(--s25) solid var(--line);
}
.facts dt {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: var(--ink);
}
.facts dd {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}

/* ── checklist, numbered with tabular figures ──────────────────────────── */

.checklist { margin-top: var(--s400); border-top: var(--s25) solid var(--ink); }
.checklist li {
  display: grid;
  grid-template-columns: var(--s500) minmax(0, 1fr);
  gap: var(--s300);
  padding: var(--s300) 0;
  border-bottom: var(--s25) solid var(--line);
}
.checklist .n {
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: var(--muted);
}
.checklist h3 { font-size: var(--t-lg); line-height: var(--lh-lg); }
.checklist p { margin-top: var(--s50); font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); }

/* ── principal ─────────────────────────────────────────────────────────── */

.principal {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--s600) var(--s800);
  align-items: center;
}
.principal figure { margin: 0; }
.principal img {
  width: 100%;
  aspect-ratio: 700 / 906;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--r-2xl);
}
.principal figcaption {
  margin-top: var(--s100);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--muted);
}
.principal-text h2 {
  font-size: var(--t-3xl);
  line-height: var(--lh-3xl);
  letter-spacing: -0.025em;
}
.principal-text .role {
  margin-top: var(--s75);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}
.principal-text p { margin-top: var(--s300); font-size: var(--t-lg); line-height: var(--lh-lg); max-width: var(--measure); }

.placeholder {
  margin-top: var(--s400);
  padding: var(--s200);
  border: var(--s25) dashed var(--line);
  border-radius: var(--r-lg);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
  max-width: var(--measure);
}
.placeholder b { color: var(--ink); font-weight: 600; }

/* ── questions ─────────────────────────────────────────────────────────── */

.faq { margin-top: var(--s600); max-width: 820px; }
.faq details { border-top: var(--s25) solid var(--line); }
.faq details:last-child { border-bottom: var(--s25) solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s300);
  padding: var(--s300) 0;
  list-style: none;
  font-size: var(--t-xl);
  line-height: var(--lh-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: var(--s300);
  height: var(--s300);
  flex: none;
  color: var(--muted);
  transition: transform 500ms var(--ease);
}
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p {
  padding-bottom: var(--s300);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--muted);
  max-width: 62ch;
}

/* ── enquiry band ──────────────────────────────────────────────────────── */

.enquiry-band {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--s900) 0;
}
.enquiry-band h2 {
  font-size: var(--t-3xl);
  line-height: var(--lh-3xl);
  letter-spacing: -0.025em;
  max-width: 680px;
}
.enquiry-band p {
  margin-top: var(--s300);
  font-size: var(--t-lg);
  line-height: var(--lh-lg);
  color: var(--on-dark-muted);
  max-width: 52ch;
}
.enquiry-band .hero-actions { margin-top: var(--s500); }

/* ── form ──────────────────────────────────────────────────────────────── */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s600) var(--s800);
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: var(--s400);
  border: var(--s25) solid var(--line);
}
.form-card h2 { font-size: var(--t-2xl); line-height: var(--lh-2xl); letter-spacing: -0.02em; }
.form-intro {
  margin-top: var(--s75);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}
.noscript {
  margin-top: var(--s300);
  padding: var(--s200);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s200) var(--s200);
  margin-top: var(--s400);
}
.field { display: flex; flex-direction: column; gap: var(--s75); }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field .req { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: var(--s600);
  padding: var(--s100);
  background: var(--paper);
  border: var(--s25) solid var(--line);
  border-radius: var(--r-lg);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  color: var(--ink);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.field textarea { min-height: var(--s800); resize: vertical; padding: var(--s100); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: var(--s600);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23101010' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--s100) center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: var(--s25) solid var(--ink);
  outline-offset: var(--s25);
  border-color: var(--ink);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--ink); border-width: var(--s25); background: var(--paper-2); }
.field .error {
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--ink);
  font-weight: 600;
}
.field .error:empty { display: none; }

.hp input { padding: 0; margin: 0; border: 0; }
.field select option { padding: 0; margin: 0; }
.hp {
  position: absolute;
  left: -9999px;
  width: var(--s25);
  height: var(--s25);
  overflow: hidden;
}

.form-msg {
  display: none;
  margin-top: var(--s400);
  padding: var(--s200);
  border-radius: var(--r-lg);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
}
.form-msg.show { display: block; }
.form-msg.ok { background: var(--paper-2); color: var(--ink); }
.form-msg.err { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 var(--s25) var(--ink); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s200);
  margin-top: var(--s400);
  padding-top: var(--s300);
  border-top: var(--s25) solid var(--line);
}
.form-foot .legal { font-size: var(--t-xs); line-height: var(--lh-xs); color: var(--muted); max-width: 40ch; }

.side-note { border-top: var(--s25) solid var(--ink); padding-top: var(--s300); }
.side-note h3 { font-size: var(--t-lg); line-height: var(--lh-lg); }
.side-note ol { margin-top: var(--s200); display: grid; gap: var(--s200); }
.side-note li {
  display: grid;
  grid-template-columns: var(--s500) minmax(0, 1fr);
  gap: var(--s200);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--muted);
}
.side-note .n { font-weight: 600; color: var(--ink); }
.side-note .placeholder { margin-top: var(--s400); }

/* ── footer ────────────────────────────────────────────────────────────── */

.footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding: var(--s800) 0 var(--s400);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--s500) var(--s400);
}
.footer-brand p {
  margin-top: var(--s200);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  max-width: 30ch;
}
.footer-col h3 {
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--on-dark);
}
.footer-col a, .footer-col span {
  display: block;
  margin-top: var(--s100);
  font-size: var(--t-sm);
  line-height: var(--lh-sm);
  color: var(--on-dark-muted);
  overflow-wrap: anywhere;
  transition: color 300ms var(--ease);
}
.footer-col a:hover { color: var(--on-dark); }
.footer .ph { color: var(--on-dark-muted); }
.footer-legal {
  grid-column: 1 / -1;
  margin-top: var(--s600);
  padding-top: var(--s300);
  border-top: var(--s25) solid rgba(255, 255, 255, 0.14);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--on-dark-muted);
}
.footer-legal p + p { margin-top: var(--s75); }

/* ── motion: one curve, transform and opacity only ─────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(var(--s400));
}
.reveal {
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.band-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s600);
  align-items: center;
}
.band-split h2 { max-width: 16ch; letter-spacing: -0.025em; }
.band-split figure { margin: 0; }
.band-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-2xl);
}
.band-split figcaption {
  margin-top: var(--s100);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--muted);
}

/* ── 404 ───────────────────────────────────────────────────────────────── */

.notfound h1 {
  font-size: var(--t-4xl);
  line-height: var(--lh-4xl);
  letter-spacing: -0.03em;
  max-width: 680px;
}
.notfound .lede { margin-top: var(--s300); max-width: 680px; }


/* ── spacing utilities, from the table only ─────────────────────────────── */
.mt-400 { margin-top: var(--s400); }
.mt-500 { margin-top: var(--s500); }
.mt-600 { margin-top: var(--s600); }

/* ── responsive ────────────────────────────────────────────────────────── */

@media (min-width: 600px) {
  .hero h1, .page-hero h1, .notfound h1 { font-size: var(--t-5xl); line-height: var(--lh-5xl); }
  .tagline p { font-size: var(--t-4xl); line-height: var(--lh-4xl); }
  .section-head h2, .split h2, .band-split h2, .principal-text h2, .enquiry-band h2 { font-size: var(--t-4xl); line-height: var(--lh-4xl); }
  body { font-size: var(--t-lg); line-height: var(--lh-lg); }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .hero h1 { font-size: var(--t-6xl); line-height: var(--lh-6xl); }
  .page-hero h1, .notfound h1 { font-size: var(--t-6xl); line-height: var(--lh-6xl); }
  .tagline p { font-size: var(--t-5xl); line-height: var(--lh-5xl); }
  .section-head h2, .split h2, .band-split h2, .principal-text h2, .enquiry-band h2 { font-size: var(--t-5xl); line-height: var(--lh-5xl); }
}

@media (min-width: 1120px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: var(--t-7xl); line-height: var(--lh-7xl); letter-spacing: -0.04em; }
  .tagline p { font-size: var(--t-6xl); line-height: var(--lh-6xl); }
  .section-head h2, .band-split h2 { font-size: var(--t-6xl); line-height: var(--lh-6xl); }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: var(--t-8xl); line-height: var(--lh-8xl); letter-spacing: -0.04em; }
  .page-hero h1 { font-size: var(--t-7xl); line-height: var(--lh-7xl); letter-spacing: -0.035em; }
}

@media (max-width: 1023px) {
  .nav { width: 100%; }
  .nav-links, .nav-cta { display: none; }
  .nav { justify-content: space-between; }
  .nav-toggle { display: flex; margin-left: var(--s75); }
  .nav { padding: var(--s75) var(--s75) var(--s75) var(--s200); }
  .split, .form-layout, .principal, .band-split, .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s500); }
  .hero-note { max-width: 420px; }
  .split h2 { max-width: 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s400) var(--s600); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: var(--s700) minmax(0, 1fr) var(--s600); }
  .row-desc { display: none; }
  .principal img { aspect-ratio: 3 / 4; max-width: 420px; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .hero { padding-top: var(--s900); padding-bottom: var(--s700); }
  .hero > .wrap { padding-top: var(--s500); }
  .section { padding: var(--s700) 0; }
  .tagline { padding: var(--s700) 0; }
  .enquiry-band { padding: var(--s700) 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: var(--s300); }
  .hero-actions { margin-top: var(--s400); }
  .hero-actions .btn { width: 100%; }
  .hero-note { gap: var(--s200); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: var(--s600) minmax(0, 1fr) var(--s300); gap: var(--s200); }
  .row-name { font-size: var(--t-xl); line-height: var(--lh-xl); }
  .row-num { font-size: var(--t-lg); line-height: var(--lh-lg); }
  .checklist li { grid-template-columns: var(--s400) minmax(0, 1fr); gap: var(--s200); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: var(--s75); }
  .form-foot .btn { width: 100%; }
  .nav-word { display: none; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img, .reveal, .tagline .w { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .tagline .w { color: var(--ink); }
  .nav, .btn, .link, .row, .row-name, .row-go, .faq summary svg, .skip, .menu a,
  .nav-toggle .bar, .field input, .field select, .field textarea, .footer-col a { transition: none !important; }
  .menu a { opacity: 1; transform: none; }
  * { scroll-behavior: auto !important; }
}
