/* ============================================================
   ARCHELLIA — THE DELIVERY PLOT
   One copper law: copper marks what is live, active, or actionable.
   Nothing else may wear it.
   ============================================================ */

/* Self-hosted variable fonts (Google Fonts, woff2) — GDPR-safe, no third-party requests */

@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/splinesansmono-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/splinesansmono-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Slate & Copper — pinned */
  --slate: #2B3A42;
  --slate-light: #3B4E57;
  --slate-sec: #5C7A85;
  --copper: #C97B4A;
  --copper-deep: #B76D3E;
  --cream: #F4F1EC;
  --paper: #FFFFFF;
  --ink: #222222;
  --line: #D9D3C7;
  /* derived tints of pinned hues, WCAG-adjusted for their text roles */
  --night-text: #B9C6CB;
  --night-muted: #A9BAC2;
  --text-muted: #475F6A;
  --grid-minor: rgba(217, 211, 199, 0.45);
  --grid-major: rgba(92, 122, 133, 0.22);
  --night-line: rgba(185, 198, 203, 0.25);

  --font-sans: 'Archivo', Arial, sans-serif;
  --font-mono: 'Spline Sans Mono', 'Courier New', monospace;

  --maxw: 1120px;
  --sheet-pad: 96px;         /* left margin reserved for the rail */
  --sec-pad: 96px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--copper); color: var(--paper); }
input, textarea { caret-color: var(--copper); }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--slate-sec); border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--slate); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- The sheet: graph paper with real plots on it ---------- */

.sheet {
  position: relative;
  min-height: 100vh;
  background:
    repeating-linear-gradient(to right, var(--grid-minor) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(to bottom, var(--grid-minor) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(to right, var(--grid-major) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(to bottom, var(--grid-major) 0 1px, transparent 1px 96px),
    var(--cream);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Type system ---------- */

h1, h2, h3 {
  font-family: var(--font-sans);
  font-stretch: 118%;
  font-weight: 720;
  color: var(--slate);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 24ch; }
h3 { font-size: 1.15rem; font-weight: 640; letter-spacing: 0; }

p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 36em; }

/* measurement text — mono is for data, never costume */
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* plot annotation living in the margin, never an eyebrow over a heading */
.reg {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h2.compact {
  font-size: 1.15rem;
  font-weight: 640;
  letter-spacing: 0;
  max-width: none;
}

/* ---------- The copper rail — the page's one continuous order-line ---------- */

.rail {
  display: none;
}

@media (min-width: 1000px) {
  .rail {
    display: block;
    position: fixed;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
    z-index: 40;
  }
  .rail-line { position: absolute; inset: 0; }
  .rail-progress {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 0;
    background: var(--copper); /* the playhead trail: the live part of the plan */
  }
  .playhead {
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--copper);
    border: 1px solid var(--slate);
    box-shadow: 0 2px 10px rgba(44, 26, 13, 0.28);
  }
  .rail-ticks { position: absolute; inset: 0; }
  .rail-tick {
    position: absolute;
    left: -4px;
    width: 10px;
    height: 1px;
    background: var(--slate-sec);
  }
  .rail-tick .mono {
    position: absolute;
    left: 18px;
    top: -0.6em;
    white-space: nowrap;
    color: var(--slate-sec);
    display: none;
  }
  .rail-tick.is-live { background: var(--copper); }
  .rail:hover .rail-tick .mono { display: block; }
}

/* mobile: the same law, compressed to a progress rule */
.progress-rule {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--copper);
  z-index: 60;
}
@media (min-width: 1000px) {
  .progress-rule { display: none; }
}

/* ---------- Skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--slate);
  color: var(--paper);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  font-stretch: 125%;
  font-weight: 780;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--slate);
  position: relative;
  padding-left: 16px;
}
.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid var(--slate);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.main-nav a {
  font-size: 0.9rem;
  font-weight: 540;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg) scale(0);
  background: var(--copper); /* the live page, marked */
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  padding: 6px 12px;
  color: var(--slate);
}
.lang-switch:hover { border-color: var(--copper); }

/* ---------- Sections ---------- */

section { padding: var(--sec-pad) 0; }
section.night { background: var(--slate); }
section.night h1, section.night h2, section.night h3 { color: var(--paper); }

/* ---------- Hero: the opening plot ---------- */

.hero { padding: calc(var(--sec-pad) + 24px) 0 var(--sec-pad); }
.hero h1 { max-width: 11em; }
.hero .lead { margin-top: 20px; }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Buttons: live markers, not pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--copper); /* actionable = copper, by law */
  color: var(--ink);
}
.btn-primary:hover { background: var(--slate); color: var(--paper); }
.btn-outline {
  border: 1px solid var(--slate-sec);
  color: var(--slate);
}
.btn-outline:hover { border-color: var(--copper); color: var(--slate); }
section.night .btn-outline, .footer-cta .btn-outline {
  border-color: var(--night-muted);
  color: var(--night-text);
}
section.night .btn-outline:hover { border-color: var(--copper); color: var(--night-text); }

/* ---------- The stats: plotted points on a drawn axis ---------- */

.plot-stats {
  margin-top: 56px;
  position: relative;
}
.plot-stats svg { width: 100%; height: auto; display: block; }
.plot-stats .axis { stroke: var(--slate); stroke-width: 1.5; }
.plot-stats .drop { stroke: var(--line); stroke-width: 1; }
.plot-stats .pt { fill: var(--paper); stroke: var(--slate); stroke-width: 2; }
.plot-stats .pt-accent { fill: var(--copper); stroke: var(--copper); } /* the one live claim */
.plot-stats .val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  fill: var(--slate);
  color: var(--slate);
}
.plot-stats .lbl {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  fill: var(--text-muted);
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- Teaser / route rows ---------- */

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.route {
  padding: 28px 26px 0 0;
  border-right: 1px solid var(--line);
  padding-left: 0;
}
.route + .route { padding-left: 26px; }
.route:last-child { border-right: none; }
.route h3 { margin-bottom: 6px; }
.route p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 16px; }
.route a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 3px;
}
.route a:hover { color: var(--slate); border-bottom-width: 2px; }

/* ---------- Registers (logos, certs) ---------- */

.register { margin-top: 40px; }
.register-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 28px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.logo-grid img { max-height: 48px; width: auto; margin: 0 auto; opacity: 0.9; }
.logo-grid img:hover { opacity: 1; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}
.cert-grid img { max-height: 72px; width: auto; margin: 0 auto; }

/* ---------- Phases: state-marked milestones ---------- */

.phase-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 48px;
  border-top: 1.5px solid var(--slate);
  position: relative;
}
.phase {
  padding: 20px 12px 0 0;
  position: relative;
}
.phase::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--paper);
  border: 1.5px solid var(--slate);
}
.phase .n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}
.phase .label {
  font-weight: 620;
  font-size: 0.92rem;
  color: var(--slate);
  display: block;
  margin-top: 2px;
}
.phase .state {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}
.phase.is-live::before { background: var(--copper); border-color: var(--copper); } /* the phase you are in */

section.night .phase-track { border-top-color: var(--night-text); }
section.night .phase::before { background: var(--slate); border-color: var(--night-text); }
section.night .phase .label { color: var(--paper); }
section.night .phase .n, section.night .phase .state { color: var(--night-muted); }
section.night .phase.is-live::before { background: var(--copper); border-color: var(--copper); }

/* ---------- Burn-up chart (methodology) ---------- */

.burnup { margin-top: 48px; position: relative; }
.burnup svg { width: 100%; height: auto; display: block; }
.burnup .gridline { stroke: var(--night-line); stroke-width: 1; }
.burnup .planned { stroke: var(--night-muted); stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.burnup .done { stroke: var(--copper); stroke-width: 2.5; fill: none; } /* delivered work = live line */
.burnup .pt { fill: var(--copper); }
.burnup .axisnote {
  font-family: var(--font-mono);
  font-size: 12.5px;
  fill: var(--night-muted);
  color: var(--night-muted);
  letter-spacing: 0.08em;
}
.burnup-caption {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.burnup-caption span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.burnup-caption .k { display: inline-flex; align-items: center; gap: 8px; }
.burnup-caption .swatch { width: 18px; height: 2px; display: inline-block; }
.burnup-caption .swatch.planned { background: var(--night-muted); }
.burnup-caption .swatch.done { background: var(--copper); }

/* ---------- Stages (agile flow) ---------- */

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--night-line);
}
.stage-grid > div { padding: 24px 22px 0 0; border-right: 1px solid var(--night-line); }
.stage-grid > div + div { padding-left: 22px; }
.stage-grid > div:last-child { border-right: none; }
.stage-grid h3 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 12px;
}
.stage-grid ul { margin: 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--night-text); }
.stage-grid li { margin-bottom: 8px; padding-left: 14px; position: relative; }
.stage-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--night-muted);
}
.footnotes {
  font-size: 0.8rem;
  color: var(--night-muted);
  margin-top: 36px;
  line-height: 1.7;
  max-width: 72ch;
}

/* ---------- Grids ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.grid-3 > div { padding: 26px 24px 0 0; border-right: 1px solid var(--line); }
.grid-3 > div + div { padding-left: 24px; }
.grid-3 > div:last-child { border-right: none; }

/* ---------- Offers: the scope as a real duration plot ---------- */

.offer-block { border-top: 1px solid var(--line); padding: 44px 0; }
.offer-block:first-child { border-top: 1.5px solid var(--slate); }
.offer-lead { font-size: 1.14rem; color: var(--slate); max-width: 34em; }
.offer-full { color: var(--ink); margin-top: 14px; max-width: 46em; }

.scope-plot { margin-top: 26px; }
.scope-plot .bar { fill: var(--slate-light); }
.scope-plot .bar-accent { fill: var(--copper); } /* the longest engagement carries the live marker? no — copper marks selection */
.scope-plot .bl {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--slate);
  color: var(--slate);
}
.scope-plot .bd {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--text-muted);
  color: var(--text-muted);
}
.scope-plot .axisline { stroke: var(--line); stroke-width: 1; }

/* ---------- Rate register ---------- */

.rate-register { margin-top: 48px; }
table.rate-table { width: 100%; max-width: 560px; border-collapse: collapse; margin-top: 20px; }
table.rate-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 0 10px;
  border-bottom: 1.5px solid var(--slate);
}
table.rate-table th:last-child, table.rate-table td:last-child { text-align: right; }
table.rate-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
table.rate-table td:last-child { font-weight: 620; color: var(--slate); font-family: var(--font-mono); font-size: 0.88rem; }

section.night table.rate-table th { color: var(--night-muted); border-bottom-color: var(--night-text); }
section.night table.rate-table td { border-bottom-color: var(--night-line); color: var(--night-text); }
section.night table.rate-table td:last-child { color: var(--paper); }

/* ---------- Trust register ---------- */

.trust-list {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.trust-list div {
  flex: 1;
  min-width: 220px;
  padding: 22px 20px 0 0;
  border-right: 1px solid var(--line);
  font-weight: 560;
  color: var(--slate);
  font-size: 0.95rem;
  position: relative;
}
.trust-list div::before {
  content: "";
  display: block;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--copper); /* what you get, every time: live promises */
  margin-bottom: 12px;
}
.trust-list div + div { padding-left: 20px; }
.trust-list div:last-child { border-right: none; }

/* ---------- Contact: open a new plot ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 48px;
}
.contact-info .email {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--slate);
  border-bottom: 1px solid var(--copper);
  display: inline-block;
  padding-bottom: 4px;
}
.contact-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; font-style: italic; }

.form-plate {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 34px;
  position: relative;
}
.form-plate::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 14px; height: 14px;
  border-top: 2px solid var(--copper);
  border-left: 2px solid var(--copper);
}
.form-plate::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 14px; height: 14px;
  border-bottom: 2px solid var(--copper);
  border-right: 2px solid var(--copper);
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 20px 0 8px;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--copper); /* the field you are in = live */
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { margin-top: 26px; border: none; }

/* ---------- Footer: night shift ---------- */

footer.site-footer {
  background: var(--slate);
  color: var(--night-muted);
  padding: 48px 0;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer .logo { color: var(--paper); }
footer.site-footer .logo::before { border-color: var(--copper); }
footer.site-footer small { font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- Night section text defaults ---------- */

section.night p, section.night .lead { color: var(--night-text); }
section.night .reg { color: var(--night-muted); }
/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  :root { --sec-pad: 72px; }
  .grid-2, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .stage-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 > div, .stage-grid > div { border-right: none; border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
  .stage-grid > div { border-bottom-color: var(--night-line); }
  .grid-3 > div + div, .stage-grid > div + div { padding-left: 0; }
  .route-grid { grid-template-columns: 1fr; }
  .route, .route + .route { padding: 26px 0 0; border-right: none; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
  .phase-track { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  nav.main-nav ul { gap: 16px; }
  nav.main-nav a { font-size: 0.84rem; }
}

@media (max-width: 640px) {
  :root { --sec-pad: 56px; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  nav.main-nav ul { flex-wrap: wrap; gap: 10px 16px; }
  .grid-3, .stage-grid, .phase-track { grid-template-columns: 1fr; }
  .phase-track { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .form-plate { padding: 26px 20px; }
}

/* ---------- FAQ: the questions register ---------- */

.faq-list { margin-top: 44px; border-top: 1.5px solid var(--slate); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  font-weight: 620;
  color: var(--slate);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .qidx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.faq-item summary .qmark {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--slate);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary .qmark { transform: rotate(45deg); color: var(--copper); } /* the open question is live */
.faq-item summary:hover .qidx { color: var(--slate); }
.faq-item summary:focus-visible { outline-offset: -2px; }
.faq-answer { padding: 0 0 24px 52px; max-width: 62ch; color: var(--ink); }
.faq-answer p:last-child { margin-bottom: 0; }

section.night .faq-list { border-top-color: var(--night-text); }
section.night .faq-item { border-bottom-color: var(--night-line); }
section.night .faq-item summary { color: var(--paper); }
section.night .faq-item summary .qidx { color: var(--night-muted); }
section.night .faq-item summary .qmark { color: var(--night-text); }

/* ---------- Playhead readout: the instrument speaks ---------- */

.playhead .readout {
  position: absolute;
  left: 18px;
  top: -9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--cream);
  padding: 2px 7px;
  white-space: nowrap;
}

/* ---------- Success factor registers ---------- */

section.night .trust-list { border-top-color: var(--night-line); }
section.night .trust-list div { border-right-color: var(--night-line); color: var(--paper); }
section.night .trust-list div small {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--night-text);
  margin-top: 6px;
}

/* ---------- CLS: reserve media rows ---------- */

.logo-grid img { height: 48px; max-height: 48px; width: auto; margin: 0 auto; opacity: 0.9; }
.logo-grid img:hover { opacity: 1; }
.cert-grid img { height: 72px; max-height: 72px; width: auto; margin: 0 auto; }

/* ---------- Print: the drawing sheet prints like one ---------- */

@media print {
  .rail, .progress-rule, .site-header, .hero-actions, .btn, .faq-item summary .qmark { display: none !important; }
  body, .sheet { background: #FFFFFF; }
  section { padding: 20px 0; }
  section.night { background: #FFFFFF; }
  section.night h1, section.night h2, section.night h3,
  section.night p, section.night .lead, section.night .trust-list div,
  section.night .trust-list div small, section.night td { color: #222222 !important; }
  section.night .phase-track, section.night .trust-list,
  section.night table.rate-table th { border-color: #D9D3C7 !important; }
  section.night .phase::before { background: #FFFFFF; border-color: #2B3A42; }
  .burnup .done { stroke: #2B3A42; }
  .burnup .pt { fill: #2B3A42; }
  .burnup .axisnote, section.night .footnotes, section.night .burnup-caption span { color: #475F6A; fill: #475F6A; }
  .faq-item summary { cursor: default; }
  .faq-answer { display: block !important; }
  a { color: #222222; text-decoration: underline; }
  .plot-stats .pt-accent { fill: #C97B4A; stroke: #C97B4A; }
}

/* ---------- Motion ---------- */

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

/* ============================================================
   Professional pass (client feedback, Nov 2026):
   centred composition for heroes and section heads,
   testimonials register, separate Starter Pack lanes.
   ============================================================ */

/* Hero: centred title, lead and actions */
.hero .container > h1,
.hero .container > .lead { margin-left: auto; margin-right: auto; text-align: center; }
.hero h1 { max-width: 16em; }
.hero .hero-actions { justify-content: center; }

/* Section heads: every heading that opens a section sits on the centre line */
section > .container > h2,
section > .container > .lead { margin-left: auto; margin-right: auto; text-align: center; }
section > .container > h2 { max-width: 30ch; }
section > .container > .lead { max-width: 40em; margin-bottom: 0; }

/* Registers: title centred, register mark beneath it */
.register-head { flex-direction: column; align-items: center; text-align: center; gap: 10px; }

/* Columns read as balanced blocks */
.route, .grid-3 > div, .trust-list div { text-align: center; }
.route, .route + .route, .grid-3 > div, .grid-3 > div + div { padding-left: 24px; padding-right: 24px; }
.trust-list div, .trust-list div + div { padding-left: 20px; padding-right: 20px; }
.trust-list div::before { margin-left: auto; margin-right: auto; }
.grid-3 p, .route p { margin-left: auto; margin-right: auto; }

/* FAQ, offers and contact blocks: a centred measure instead of a left-hung one */
.faq-list { max-width: 880px; margin-left: auto; margin-right: auto; }
.offer-block { max-width: 960px; margin-left: auto; margin-right: auto; }
.contact-wrap { max-width: 1000px; margin-left: auto; margin-right: auto; }
.burnup-caption, .footnotes { margin-left: auto; margin-right: auto; text-align: center; justify-content: center; }

/* Rate register under a centred section head */
.rate-register h3 { font-size: 1.4rem; margin-bottom: 8px; }
section.night .rate-register p { color: var(--night-text); }
section.night .hero-actions { justify-content: center; }

/* Starter Packs: three independent lanes */
.scope-plot svg { width: 100%; height: auto; display: block; }
.scope-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

/* ---------- Testimonials: four consented client voices ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.testimonial {
  margin: 0;
  padding: 32px 32px 28px;
  background: var(--paper);
  border-top: 1.5px solid var(--slate);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--slate);
  max-width: none;
}
.testimonial blockquote p::before { content: "\201C"; }
.testimonial blockquote p::after { content: "\201D"; }
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial figcaption strong { color: var(--slate); font-weight: 640; }
.testimonial figcaption span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* .is-placeholder marks lorem-ipsum slots awaiting a consented quote; styled like real ones for layout review */

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .route, .route + .route, .grid-3 > div, .grid-3 > div + div { padding-left: 0; padding-right: 0; }
}

/* ---------- Logo kit (Arch A): image wordmark replaces the text + CSS diamond ---------- */
.logo { padding-left: 0; display: inline-flex; align-items: center; line-height: 0; }
.logo::before, footer.site-footer .logo::before { content: none; display: none; }
.logo img { height: 30px; width: auto; display: block; }
@media (max-width: 640px) { .logo img { height: 26px; } }
