/* ============================================================================
   ETERNAL CONSULTANCY — "The Opportunity Board"
   Civic community-print / riso world. See DESIGN.md for the contract.
   Two saturated inks over warm paper, halftone texture, honest overprint,
   paper artefacts (pinned cards, tape, tickets, stamps) and a running thread.
   ========================================================================== */

:root {
  /* Inks & paper */
  --paper:        #F3EFE6;
  --paper-deep:   #E7E0D0;
  --paper-white:  #FBF9F4;
  --ink:          #201C17;
  --ink-soft:     #5A4F40;
  --blue:         #1B3A97;
  --blue-deep:    #16307E;
  --blue-tint:    #C9D2ED;
  --red:          #E24329;
  --red-deep:     #B8331B;
  --plum:         #6E2A63;
  --sun:          #F7C948;

  /* Depth */
  --pinned: 2px 6px 16px rgba(32, 28, 23, 0.18);
  --lifted: 4px 12px 28px rgba(32, 28, 23, 0.24);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

/* ---- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Faint paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

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

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

/* Consistent, world-flavoured focus ring everywhere */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--ink); color: var(--paper-white);
  padding: 0.75rem 1.25rem; z-index: 200;
  font-weight: 800; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }

.display {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
  font-size: clamp(2.75rem, 8vw, 6rem);
}
.display--sm { font-size: clamp(2.25rem, 6vw, 4rem); }

.headline { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.05; }
.title    { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }

.lede { font-size: clamp(1.1rem, 1.8vw, 1.375rem); line-height: 1.55; color: var(--ink-soft); }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.1em; }

.label {
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}

.handwritten { font-family: "Caveat", cursive; font-weight: 700; }

.marker { background: linear-gradient(transparent 62%, var(--sun) 62% 92%, transparent 92%); padding: 0 0.1em; }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1360px; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; z-index: 2; }
.stack > * + * { margin-top: 1rem; }

/* Section stocks — alternate to pace density */
.stock-paper      { background: var(--paper); }
.stock-paper-deep { background: var(--paper-deep); }

/* ---- Ink fields (The Field Rule) ---------------------------------------- */
.field-blue,
.field-red {
  position: relative;
  color: var(--paper-white);
  z-index: 2;
}
.field-blue { background: var(--blue); }
.field-red  { background: var(--red-deep); }
.field-blue .lede { color: var(--blue-tint); }
.field-blue a { color: var(--paper-white); }
.field-blue h1, .field-blue h2, .field-blue h3 { color: var(--paper-white); }

/* Halftone dot texture printed onto an ink field */
.halftone::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(251,249,244,0.9) 1px, transparent 1.7px);
  background-size: 9px 9px;
  mix-blend-mode: soft-light;
}
.halftone--dark::after {
  background-image: radial-gradient(rgba(32,28,23,0.9) 1px, transparent 1.7px);
  opacity: 0.08;
  mix-blend-mode: multiply;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: "Public Sans", sans-serif;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.9rem; line-height: 1;
  padding: 16px 32px; border: none; border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--blue); color: var(--paper-white); box-shadow: var(--pinned); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: var(--lifted); }

.btn-secondary { background: var(--red-deep); color: var(--paper-white); }
.btn-secondary:hover { background: #9E2C15; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--ink); padding: 14px 30px; }
.btn-ghost:hover { background: var(--ink); color: var(--paper-white); box-shadow: inset 0 0 0 2px var(--ink); }

/* On blue fields, invert the ghost/secondary so it stays legible */
.field-blue .btn-ghost { color: var(--paper-white); box-shadow: inset 0 0 0 2px rgba(251,249,244,0.85); }
.field-blue .btn-ghost:hover { background: var(--paper-white); color: var(--blue); box-shadow: inset 0 0 0 2px var(--paper-white); }
.field-blue .btn-primary { background: var(--sun); color: var(--ink); }
.field-blue .btn-primary:hover { background: #F9D670; }

/* ---- Paper artefacts ----------------------------------------------------- */
/* Pinned card */
.card {
  position: relative;
  background: var(--paper-white);
  color: var(--ink);
  padding: 1.75rem;
  border-radius: 3px;
  box-shadow: var(--pinned);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.card:hover { transform: translateY(-4px) rotate(0deg); box-shadow: var(--lifted); }
.card.tilt-l { transform: rotate(-1.3deg); }
.card.tilt-r { transform: rotate(1.1deg); }
.card.tilt-l:hover, .card.tilt-r:hover { transform: rotate(0deg) translateY(-4px); }

/* Pin & tape fasteners (The Fastened Rule) */
.pin {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #EB6A54, var(--red) 55%, #7C2110);
  box-shadow: 0 3px 5px rgba(32,28,23,0.45);
  z-index: 3;
}
.pin--blue { background: radial-gradient(circle at 35% 30%, #5B75C2, var(--blue) 55%, #122662); }
.pin--plum { background: radial-gradient(circle at 35% 30%, #8A4180, var(--plum) 55%, #431839); }

.tape {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 96px; height: 26px;
  background: rgba(247, 201, 72, 0.55);
  box-shadow: 0 1px 2px rgba(32,28,23,0.18);
  z-index: 3;
}
.tape::before, .tape::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6px;
  background-image: repeating-linear-gradient(-45deg, rgba(251,249,244,0.5) 0 3px, transparent 3px 6px);
}
.tape::before { left: 0; } .tape::after { right: 0; }

/* Ticket — torn/perforated edge */
.ticket {
  position: relative;
  background: var(--paper-white);
  color: var(--ink);
  padding: 1rem 1.5rem;
  box-shadow: var(--pinned);
  --notch: radial-gradient(circle at 0 50%, transparent 8px, var(--paper-white) 8px) left / 51% 100% no-repeat,
           radial-gradient(circle at 100% 50%, transparent 8px, var(--paper-white) 8px) right / 51% 100% no-repeat;
  background: var(--notch);
}
.ticket--perf { border-left: 2px dashed var(--ink); }

/* Rubber stamp proof mark */
.stamp {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: 128px; height: 128px; padding: 12px;
  border: 3px solid var(--plum); border-radius: 999px;
  color: var(--plum);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 0.82rem; line-height: 1.12;
  transform: rotate(-8deg); opacity: 0.9;
  box-shadow: inset 0 0 0 1px rgba(110,42,99,0.25);
  mix-blend-mode: multiply;
}
.stamp--red { border-color: var(--red-deep); color: var(--red-deep); }
.stamp--ink { border-color: var(--ink); color: var(--ink); }
/* On ink fields, multiply would darken the stamp into the background */
.field-blue .stamp, .field-red .stamp { mix-blend-mode: normal; }
.stamp .num { display: block; font-family: "Anton", sans-serif; font-size: 1.9rem; letter-spacing: 0; }

/* Route roundel — a station marker */
.roundel {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--paper-white); color: var(--blue);
  border: 4px solid var(--blue);
  font-family: "Anton", sans-serif; font-size: 1.6rem;
}

/* Stamped initial — used INSTEAD of stock faces for testimonials (honesty rule) */
.initial {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 999px; flex: none;
  border: 3px solid var(--plum); color: var(--plum);
  font-family: "Anton", sans-serif; font-size: 1.6rem; letter-spacing: 0.02em;
  transform: rotate(-4deg); mix-blend-mode: multiply;
}

/* Kicker / index-tab label */
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--red-deep);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--red); }
.field-blue .kicker { color: var(--sun); }
.field-blue .kicker::before { background: var(--sun); }
.field-red .kicker { color: var(--paper-white); }
.field-red .kicker::before { background: var(--paper-white); }

/* Duotone hero photo — reads as a Pathway-Blue screen-print ink field.
   Multiply over blue never lifts above the blue, so white text stays AA+. */
.field-blue.has-photo { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--paper-white); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: multiply; }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, var(--blue) 12%, rgba(27,58,151,0.55) 62%, rgba(22,48,126,0.35) 100%); }
.has-photo > .container { position: relative; z-index: 2; }

/* Photo frame — halftone-treated stand-in imagery, clearly swappable */
.photo {
  position: relative; overflow: hidden; background: var(--paper-deep);
  box-shadow: var(--pinned); aspect-ratio: 4 / 3;
}
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}
.photo::after { /* blue ink wash so photos live in-world */
  content: ""; position: absolute; inset: 0;
  background: var(--blue); mix-blend-mode: screen; opacity: 0.14;
}
.photo--duo img { filter: grayscale(1) contrast(1.1) brightness(1.02); }

/* Pinned polaroid portrait — natural colour, in-world frame */
.portrait { position: relative; background: var(--paper-white); padding: 8px 8px 12px; box-shadow: var(--pinned); transform: rotate(-2deg); }
.portrait img { display: block; width: 100%; height: auto; }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--ink);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 0.9rem; padding: 6px 0;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--red);
}
.nav-cta { display: inline-flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none; background: var(--ink); color: var(--paper-white);
  border: none; width: 46px; height: 42px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; background: currentColor; margin-inline: auto; position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; } .nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links, .nav .nav-cta { display: none; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu {
    position: fixed; inset: 72px 0 0; z-index: 99;
    background: var(--paper); border-top: 1px solid var(--ink);
    padding: 2rem var(--gutter); overflow-y: auto;
  }
  .mobile-menu ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.25rem; }
  .mobile-menu a {
    display: block; padding: 0.85rem 0; font-family: "Anton", sans-serif; text-transform: uppercase;
    font-size: 1.6rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--paper-deep);
  }
  .mobile-menu a[aria-current="page"] { color: var(--red-deep); }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
}

/* ---- The Thread (signature) --------------------------------------------- */
.thread-wrap { position: relative; }
.thread-path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; mix-blend-mode: multiply; }
.thread-path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.thread-path.draw.in { transition: stroke-dashoffset 1.6s var(--ease); stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .thread-path.draw { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* ---- Reveal on scroll ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); } /* hidden only when JS runs */
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- Forms --------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: block; }
.field > .field-label {
  display: block; font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px;
}
.field .req { color: var(--red-deep); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper-white); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 0; padding: 14px 16px;
  font-family: "Public Sans", sans-serif; font-size: 1.0625rem; line-height: 1.4;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--ink) 50%),
  linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,58,151,0.30);
}
.hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }
.error-msg { display: none; font-size: 0.85rem; color: var(--red-deep); font-weight: 700; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-deep); }
.field.invalid .error-msg, fieldset.invalid .error-msg { display: block; }
fieldset.invalid .radio { border-color: var(--red-deep); }

fieldset { border: none; margin: 0; padding: 0; }
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio {
  display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer;
  background: var(--paper-white); border: 2px solid var(--ink); padding: 12px 20px; font-weight: 700;
}
.radio input { accent-color: var(--blue); width: 18px; height: 18px; }
.radio:has(input:checked) { background: var(--blue); color: var(--paper-white); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Form status */
.form-status { display: none; margin-top: 1.25rem; padding: 1rem 1.25rem; font-weight: 700; }
.form-status.show { display: block; }
.form-status.ok { background: var(--blue); color: var(--paper-white); }
.form-status.err { background: var(--red-deep); color: var(--paper-white); }

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* Success panel (post-submit) */
.success-panel { display: none; }
.success-panel.show { display: block; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { position: relative; z-index: 2; background: var(--blue); color: var(--paper-white); }
.site-footer a { color: var(--paper-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-note { border-top: 1px solid rgba(251,249,244,0.25); padding-block: 1.5rem; color: var(--blue-tint); font-size: 0.85rem; }
.footer-links { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.4rem; }

/* ---- Utility ------------------------------------------------------------- */
.grid { display: grid; }
.gap-md { gap: 1.5rem; } .gap-lg { gap: 2.5rem; }
.eyebrow-num { font-family: "Anton", sans-serif; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.overprint { mix-blend-mode: multiply; }

/* ============================================================================
   PAGE HELPERS
   ========================================================================== */

/* Responsive two-column split — single column below 900px, ratio via --split */
.split { display: grid; gap: clamp(2rem, 4vw, 2.75rem); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: var(--split, 1fr 1fr); align-items: var(--split-align, start); }
}
/* Let grid tracks shrink below their content's intrinsic width (prevents overflow).
   Covers .split itself plus any grid-named wrapper's children and timeline rows. */
.split, .split > *, [class*="grid"] > *, .timeline > * { min-width: 0; }

/* Brand lockup */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.8125rem; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.02em; margin-top: 3px; }
@media (max-width: 420px) { .brand-text small { display: none; } }

/* Handwritten pinned note */
.note {
  position: relative;
  background: var(--sun);
  color: var(--ink);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--pinned);
  transform: rotate(-1.5deg);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.25;
}
.note::after { content: ""; position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(rgba(32,28,23,0.9) 1px, transparent 1.6px); background-size: 7px 7px; }

/* Partner / proof strip */
.partner-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper-white); color: var(--ink);
  border: 2px solid var(--ink); padding: 8px 16px;
  font-weight: 800; letter-spacing: 0.02em; font-size: 0.9rem;
}
.field-blue .chip { background: transparent; color: var(--paper-white); border-color: rgba(251,249,244,0.55); }

/* Checklist with red ticks */
.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.list-check li { position: relative; padding-left: 2.25rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.field-blue .list-check li::before { background: var(--sun); }

/* Pull quote */
.pull-quote { font-family: "Anton", sans-serif; text-transform: uppercase; line-height: 0.95; font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.005em; }

/* Stamp row */
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }

/* Dog-ear corner on a card */
.dogear { position: relative; }
.dogear::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px;
  background: linear-gradient(135deg, transparent 50%, var(--paper-deep) 50%);
  box-shadow: -1px -1px 2px rgba(32,28,23,0.18);
}

/* Stitched divider */
.stitch { border: none; height: 3px; background-image: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); opacity: 0.5; margin: 0; }
.field-blue .stitch { background-image: repeating-linear-gradient(90deg, var(--sun) 0 10px, transparent 10px 18px); opacity: 0.7; }

/* Numbered phase badge */
.phase-no { font-family: "Anton", sans-serif; font-size: clamp(2.25rem, 6vw, 4rem); color: var(--red); line-height: 0.8; }
.field-blue .phase-no { color: var(--sun); }

/* Simple two-column course index */
.index-list { list-style: none; margin: 0; padding: 0; }
.index-list li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.9rem 0; border-bottom: 1px solid var(--paper-deep); }
.index-list .idx { font-family: "Anton", sans-serif; color: var(--blue); font-size: 1.25rem; flex: none; width: 2ch; }
.field-blue .index-list li { border-bottom-color: rgba(251,249,244,0.25); }

/* Eyebrow ticket used above hero */
.hero-ticket { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 0.6rem; background: var(--red-deep); color: var(--paper-white); padding: 8px 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; }

/* Pathway timeline — the thread drawn through the phases */
.timeline { display: grid; }
.phase-row { display: grid; grid-template-columns: 64px 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: start; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.phase-row:last-child { padding-bottom: 0; }
.phase-rail { position: relative; display: flex; justify-content: center; }
.phase-rail .roundel { position: relative; z-index: 2; }
.phase-rail::before { /* faint track */
  content: ""; position: absolute; top: 56px; bottom: calc(-1 * clamp(2rem, 5vw, 3.5rem)); left: 50%;
  width: 4px; transform: translateX(-50%); background: var(--red); opacity: 0.18;
}
.phase-rail::after { /* drawn thread */
  content: ""; position: absolute; top: 56px; bottom: calc(-1 * clamp(2rem, 5vw, 3.5rem)); left: 50%;
  width: 4px; transform: translateX(-50%) scaleY(0); transform-origin: top; background: var(--red);
  transition: transform 0.9s var(--ease);
}
.phase-row:last-child .phase-rail::before,
.phase-row:last-child .phase-rail::after { display: none; }
.phase-row.in .phase-rail::after { transform: translateX(-50%) scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .phase-rail::after { transform: translateX(-50%) scaleY(1) !important; transition: none !important; }
}

/* Photo placeholder — drop real distribution photos here */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 3; background: var(--paper-deep);
  border: 2px dashed var(--ink-soft); color: var(--ink-soft);
  font-weight: 700; font-size: 0.85rem; padding: 1rem;
}

