/* Sonja Armbruster — one stylesheet, no build step.
   Tokens first; components use classes only (no element selectors inside
   sections) so spacing rules never fight over specificity.
   Motif: the data table. Row numbers, cell grid and the selected-cell box
   (petrol outline with a fill handle) mark what matters.
   The sprint components (hero spreadsheet, dashboard, week, quote, checklist)
   are used only by the archived sprint page in archive/sprint/; keep them. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/newsreader.woff2") format("woff2-variations");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("fonts/ibm-plex-sans.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  --paper: #eef3f2;
  --sheet: #ffffff;
  --ink: #0d2a30;
  --muted: #4c6368;
  --rule: #cbd9d7;
  --grid: #e0e9e7;
  --head: #f5f8f7;
  --petrol: #0f5a66;
  --petrol-deep: #0a434c;
  --petrol-soft: #dcecec;
  --strike: #a3342b;
  --ok: #1f6f4f;
  --error: #a3342b;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Modular scale, ratio 1.25 from 17px body */
  --step--1: 0.85rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.66rem;
  --step-3: 2.08rem;
  --step-4: clamp(2.2rem, 4.6vw, 3.1rem);
  --step-5: clamp(2.6rem, 6.6vw, 5.2rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 36rem;
  --wide: 72rem;
  --radius-s: 4px;
  --radius-m: 10px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--ink); color: var(--paper); padding: 0.5rem 0.9rem; z-index: 10;
}
.skip:focus { left: 0.5rem; }

.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; text-decoration: none; line-height: 1.1; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 450; font-size: var(--step--1); color: var(--muted); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.lang { margin: 0; font-size: 0.95rem; color: var(--muted); white-space: nowrap; }
.lang a { text-decoration: none; }
.lang [aria-current="true"] { color: var(--ink); font-weight: 600; }
@media (max-width: 52rem) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 26rem) {
  .site-header .wrap { gap: 0.9rem; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .site-header .btn-small { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  border-radius: var(--radius-s); border: 2px solid var(--petrol);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-deep); border-color: var(--petrol-deep); }
.btn-quiet { background: transparent; color: var(--petrol-deep); }
.btn-quiet:hover { background: var(--sheet); }
.btn-small { min-height: 2.4rem; padding: 0.45rem 0.95rem; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-title {
  margin: 0; max-width: 19ch;
  font-family: var(--font-display); font-size: var(--step-5);
  font-weight: 480; line-height: 1.02; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.hero-body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 5vw, 4rem); margin-top: 1.6rem; align-items: start;
}
@media (max-width: 52rem) { .hero-body { grid-template-columns: 1fr; } }
.hero-lede { margin: 0; max-width: var(--measure); font-size: var(--step-1); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-lede + .hero-actions { margin-top: 1.6rem; }
.hero-by { margin: 1.2rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Profile sheet: key facts as numbered rows; the selected cell marks the one that matters. */
.sheet { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 22px 44px -30px rgba(13, 42, 48, 0.45); }
.sheet-bar { padding: 0.75rem 1rem; background: var(--petrol); color: #fff; font-weight: 600; }
.sheet-rows { margin: 0; counter-reset: row; }
.sheet-row { counter-increment: row; display: grid; grid-template-columns: 2.4rem minmax(0, 2fr) minmax(0, 3fr); border-bottom: 1px solid var(--grid); font-size: 0.92rem; }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row::before { content: counter(row); padding: 0.6rem 0; text-align: center; color: var(--muted); background: var(--head); border-right: 1px solid var(--rule); font-size: 0.78rem; }
.sheet-key { padding: 0.6rem 0.75rem; color: var(--muted); border-right: 1px solid var(--grid); }
.sheet-value { position: relative; margin: 0; padding: 0.6rem 0.75rem; font-weight: 500; }
.sheet-selected { outline: 2px solid var(--petrol); outline-offset: -2px; font-family: var(--font-display); font-size: var(--step-1); font-weight: 520; line-height: 1.2; font-variant-numeric: lining-nums; }
.sheet-selected::after {
  content: ""; position: absolute; right: -2px; bottom: -2px; width: 8px; height: 8px;
  background: var(--petrol); border: 1.5px solid var(--sheet);
}

/* Before and after: the one expressive element of the page. */
.shift {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start;
}
@media (max-width: 52rem) { .shift { grid-template-columns: 1fr; } }
.shift-label { margin: 0 0 0.6rem; font-weight: 600; font-size: 0.95rem; }
.shift-label span { font-weight: 400; color: var(--muted); }

/* Spreadsheet: formula bar, column letters, numbered rows. */
.xls { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; font-size: 0.86rem; }
.xls-formula {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr);
  border-bottom: 1px solid var(--rule); background: var(--head);
}
.xls-fx { padding: 0.45rem 0; text-align: center; font-style: italic; color: var(--muted); border-right: 1px solid var(--rule); }
.xls-fx-code { margin: 0; padding: 0.45rem 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.xls-cols { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 4.2rem; border-bottom: 1px solid var(--rule); background: var(--head); color: var(--muted); font-size: 0.78rem; text-align: center; }
.xls-cols span { padding: 0.2rem 0; border-right: 1px solid var(--grid); }
.xls-cols span:last-child { border-right: 0; }
.xls-rows { margin: 0; padding: 0; list-style: none; counter-reset: row; }
.xls-row {
  counter-increment: row;
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 4.2rem;
  border-bottom: 1px solid var(--grid);
}
.xls-row:last-child { border-bottom: 0; }
.xls-row::before { content: counter(row); padding: 0.5rem 0; text-align: center; color: var(--muted); background: var(--head); border-right: 1px solid var(--rule); font-size: 0.78rem; }
.xls-file { position: relative; padding: 0.5rem 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-right: 1px solid var(--grid); }
.xls-time { padding: 0.5rem 0.6rem; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.xls-file::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; top: 50%;
  height: 1.5px; background: var(--strike); transform-origin: left; transform: scaleX(1);
}
.xls-sum { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 4.2rem; border-top: 1px solid var(--rule); background: var(--head); font-weight: 600; }
.xls-sum span { padding: 0.5rem 0.7rem; }
.xls-sum span:first-child { border-right: 1px solid var(--rule); }
.xls-sum span:last-child { text-align: right; padding-right: 0.6rem; font-variant-numeric: tabular-nums; }

/* Dashboard (sample data). */
.dash { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 22px 44px -30px rgba(13, 42, 48, 0.45); }
.dash-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1rem; padding: 0.75rem 1rem; background: var(--petrol); color: #fff; }
.dash-title { margin: 0; font-weight: 600; }
.dash-meta { margin: 0; font-size: 0.85rem; opacity: 0.85; }
.kpis { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--grid); }
.kpi { padding: 0.8rem 1rem; border-left: 1px solid var(--grid); }
.kpi:first-child { border-left: 0; }
.kpi-name { margin: 0; font-size: 0.82rem; color: var(--muted); }
.kpi-value { margin: 0.1rem 0 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 520; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.kpi-delta { margin: 0.15rem 0 0; font-size: 0.8rem; color: var(--ok); }
@media (max-width: 30rem) {
  .kpi { padding: 0.7rem 0.6rem; }
  .kpi-value { font-size: var(--step-1); }
}
.dash-charts { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 30rem) { .dash-charts { grid-template-columns: 1fr; } }
.chart { padding: 0.8rem 1rem 0.9rem; }
.chart + .chart { border-left: 1px solid var(--grid); }
@media (max-width: 30rem) { .chart + .chart { border-left: 0; border-top: 1px solid var(--grid); } }
.chart-title { margin: 0 0 0.4rem; font-size: 0.82rem; color: var(--muted); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0.35rem 0 0; padding: 0; list-style: none; font-size: 0.78rem; color: var(--muted); }
.chart-legend li::before { content: ""; display: inline-block; width: 1rem; height: 0; margin-right: 0.35rem; vertical-align: middle; border-top: 2.5px solid var(--petrol); }
.chart-legend .legend-prev::before { border-top: 2px dashed #9aaeb0; }
.line-svg { width: 100%; height: auto; }
.line-grid { stroke: var(--grid); stroke-width: 1; }
.line-axis { fill: var(--muted); font: 400 15px var(--font-body); }
.line-prev { fill: none; stroke: #9aaeb0; stroke-width: 2; stroke-dasharray: 5 4; }
.line-cur { fill: none; stroke: var(--petrol); stroke-width: 2.75; stroke-linejoin: round; stroke-linecap: round; }
.line-dot { fill: var(--petrol); }
.bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; font-size: 0.82rem; }
.bar { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; align-items: center; gap: 0.5rem; }
.bar-track { height: 0.7rem; background: var(--petrol-soft); border-radius: 2px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--petrol); }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; }
/* Widths as classes: the CSP forbids inline style attributes. */
.bar-100 { width: 100%; }
.bar-79 { width: 79%; }
.bar-62 { width: 62%; }
.bar-53 { width: 53%; }
.dash-note { margin: 0; padding: 0.5rem 1rem; border-top: 1px solid var(--grid); font-size: 0.78rem; color: var(--muted); }

/* Load sequence: Monday's files are crossed out one by one, then Friday's dashboard draws. */
@media (prefers-reduced-motion: no-preference) {
  .xls-file::after { animation: strike 380ms cubic-bezier(.4,0,.2,1) both; }
  .xls-row:nth-child(1) .xls-file::after { animation-delay: 500ms; }
  .xls-row:nth-child(2) .xls-file::after { animation-delay: 700ms; }
  .xls-row:nth-child(3) .xls-file::after { animation-delay: 900ms; }
  .xls-row:nth-child(4) .xls-file::after { animation-delay: 1100ms; }
  .xls-row:nth-child(5) .xls-file::after { animation-delay: 1300ms; }
  .xls-row:nth-child(6) .xls-file::after { animation-delay: 1500ms; }
  .dash { animation: dash-in 600ms cubic-bezier(.2,.7,.2,1) 1700ms both; }
  .line-cur { stroke-dasharray: 600; animation: draw 1100ms ease-out 2100ms both; }
  .line-dot { animation: dash-in 300ms ease-out 3100ms both; }
}
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dash-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--rule); }
.section-title {
  margin: 0 0 0.9rem; max-width: 26ch;
  font-family: var(--font-display); font-size: var(--step-4);
  font-weight: 480; line-height: 1.08; letter-spacing: -0.012em;
  font-variation-settings: "opsz" 60;
}
.section-intro { margin: 0; max-width: var(--measure); color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.subhead { margin: 0 0 0.5rem; font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.prose { margin: 0; max-width: var(--measure); }
.prose + .prose { margin-top: 0.8rem; }

/* Audience: three plain columns hung from a rule, not cards. */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.column { border-top: 3px solid var(--petrol); padding-top: 1rem; }
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
@media (max-width: 52rem) { .columns { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Scope: what you bring vs. what the week produces. */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }
.ticks { margin: 0.8rem 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--rule); }
.ticks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.95rem;
  width: 0.95rem; height: 0.55rem; border-left: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol);
  transform: rotate(-45deg);
}
.ticks-bring li::before {
  top: 0.9rem; width: 0.85rem; height: 0.85rem; transform: none;
  border: 1.5px solid var(--muted); border-radius: 1px;
}
.owner-note { margin: 1.2rem 0 0; padding: 0.9rem 1rem; background: var(--petrol-soft); border-radius: var(--radius-s); max-width: var(--measure); }

/* Process before the week: a real sequence, so it is numbered. */
.steps { margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; }
.step {
  counter-increment: step; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--rule); align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step::before {
  content: counter(step); font-family: var(--font-display); font-weight: 480; font-size: var(--step-3); line-height: 1;
}
.step-cost { font-weight: 600; white-space: nowrap; }
.step .prose { color: var(--muted); }
@media (max-width: 40rem) {
  .step { grid-template-columns: 3rem minmax(0, 1fr); }
  .step-cost { grid-column: 2; }
}

/* The week as a worksheet: one row per day. */
.week { margin-top: 2.5rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; }
.week-table { width: 100%; border-collapse: collapse; }
.week-table th, .week-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--grid); text-align: left; vertical-align: top; }
.week-table thead th { background: var(--head); color: var(--muted); font-weight: 500; font-size: 0.85rem; border-bottom: 1px solid var(--rule); }
.week-table tbody th { width: 9rem; font-weight: 600; background: var(--head); border-right: 1px solid var(--rule); }
.week-table tbody tr:last-child th, .week-table tbody tr:last-child td { border-bottom: 0; }
.week-you { color: var(--muted); width: 32%; }
.week-day { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }
/* Friday is the selected cell. */
.week-table .week-live td { position: relative; }
.week-table .week-live td:first-of-type { outline: 2px solid var(--petrol); outline-offset: -2px; }
.week-table .week-live td:first-of-type::after {
  content: ""; position: absolute; right: -4px; bottom: -4px; width: 8px; height: 8px;
  background: var(--petrol); border: 1.5px solid var(--sheet); z-index: 1;
}
.week-live-word { display: block; margin-top: 0.3rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 520; line-height: 1.1; color: var(--petrol-deep); }
@media (max-width: 40rem) {
  .week-table thead { display: none; }
  .week-table, .week-table tbody, .week-table tr, .week-table th, .week-table td { display: block; width: auto; }
  .week-table tbody th { width: auto; border-right: 0; border-bottom: 1px solid var(--grid); }
  .week-table td { border-bottom: 0; padding-top: 0.6rem; padding-bottom: 0.2rem; }
  .week-table td.week-you { padding-bottom: 0.9rem; border-bottom: 1px solid var(--grid); }
  .week-table td.week-you::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
  .week-table .week-live td:first-of-type::after { right: 0; bottom: 0; }
}

/* Cases: one ledger row per project. */
.cases { margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.case { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 1rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 52rem) { .case { grid-template-columns: 1fr; gap: 0.8rem; } }
.case-name { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.1; }
.case-role { margin: 0.4rem 0 0; font-size: 0.95rem; font-weight: 500; }
.case-kind { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
.case-years { display: block; font-variant-numeric: tabular-nums; }
.case-label { margin: 0 0 0.2rem; font-weight: 600; font-size: 0.92rem; }
.case-text { margin: 0; }
.case-facts { margin: 0.7rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.case-facts li { padding: 0.2rem 0.55rem; border: 1px solid var(--rule); border-radius: 2px; font-size: 0.84rem; background: var(--sheet); font-variant-numeric: tabular-nums; }
.cases-note { margin: 1.2rem 0 0; max-width: var(--measure); color: var(--muted); font-size: 0.95rem; }

/* Price: laid out like the quote a client would receive. */
.quote { margin-top: 2.5rem; max-width: 46rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: clamp(1.2rem, 4vw, 2.2rem); }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table th, .quote-table td { padding: 0.85rem 0; border-bottom: 1px solid var(--grid); text-align: left; vertical-align: baseline; }
.quote-table th { font-weight: 500; padding-right: 1rem; }
.quote-table td { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-table .quote-main th, .quote-table .quote-main td { font-family: var(--font-display); font-size: var(--step-2); font-weight: 520; }
.quote-cell { position: relative; display: inline-block; padding: 0.05em 0.35em; outline: 2px solid var(--petrol); }
.quote-cell::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 8px; height: 8px; background: var(--petrol); border: 1.5px solid var(--sheet); }
@media (max-width: 40rem) {
  .quote-table .quote-main th, .quote-table .quote-main td { font-size: var(--step-1); }
}
.quote-table small { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); font-family: var(--font-body); }
.quote-foot { margin: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }

/* Checklist + request form */
.request { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; align-items: start; }
@media (max-width: 52rem) { .request { grid-template-columns: 1fr; } }
.checklist { margin: 0.8rem 0 0; padding: 0; list-style: none; }
.checklist li { border-bottom: 1px solid var(--rule); }
.checklist label { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.7rem; padding: 0.7rem 0; cursor: pointer; }
.checklist input { width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--petrol); }
.checklist-hint { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--muted); }
.contact-direct { margin: 1.2rem 0 0; }

/* Education: one ruled row per degree or course. */
.credentials { margin: 0.8rem 0 0; padding: 0; list-style: none; }
.credentials li { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }
.credential-meta { display: block; color: var(--muted); font-size: 0.92rem; }

.form { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: clamp(1.2rem, 4vw, 2rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 40rem) { .field-row { grid-template-columns: 1fr; } }
.field-label { font-weight: 600; font-size: 0.95rem; }
.field-label small { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.75rem;
  border: 1.5px solid #adbfbd; border-radius: var(--radius-s); background: var(--sheet); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
.input:focus { outline: 2px solid var(--petrol); outline-offset: 0; border-color: var(--petrol); }
textarea.input { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 0; font-size: 0.88rem; color: var(--muted); }
.form-status { margin: 0; padding: 0.8rem 1rem; border-radius: var(--radius-s); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status-ok { background: #e1f1e9; color: var(--ok); }
.form-status-error { background: #f8e7e5; color: var(--error); }

/* FAQ */
.faq { margin-top: 2rem; max-width: 46rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q { list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; position: absolute; right: 0.3rem; top: 0.8rem; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--petrol); }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { margin: 0 0 1.2rem; max-width: var(--measure); color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2.2rem 0 3rem; font-size: 0.93rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* Legal and thank-you pages */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
.page-title { margin: 0 0 1.5rem; font-family: var(--font-display); font-size: var(--step-4); font-weight: 480; line-height: 1.08; }
.legal { max-width: 44rem; }
.legal h2 { margin: 2rem 0 0.5rem; font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; }
.legal p, .legal ul { margin: 0 0 0.8rem; }
