/* Center for Faith Development
   Type: Newsreader (display and reading), Inter (interface).
   Colour: ink and paper, with the six stage colours of the spiral as accents.
   The stage colours run bottom to top of the spiral; keep them in step with
   scripts/spiral.mjs. */

:root {
  --ink: #121829;
  --ink-2: #1b2340;
  --ink-soft: #2a3354;
  --paper: #fbf8f2;
  --paper-2: #f3eee3;
  --card: #ffffff;
  --rule: #e3dbcc;
  --text: #1d2233;
  --muted: #5b6074;
  --on-ink: #f4f1ea;
  --on-ink-muted: #a9afc4;

  --s1: #c22f86; /* Intuitive-Projective */
  --s2: #d8432f; /* Mythic-Literal */
  --s3: #ea7a2a; /* Synthetic-Conventional */
  --s4: #e6ab2e; /* Individuative-Reflective */
  --s5: #2c9c7c; /* Conjunctive */
  --s6: #2b8ccf; /* Universalizing */
  /* darker versions for text on paper */
  --s1-text: #a1236e;
  --s2-text: #b8331f;
  --s3-text: #b85614;
  --s4-text: #946a0c;
  --s5-text: #1d7a5f;
  --s6-text: #1d6ea8;

  --spectrum: linear-gradient(90deg, var(--s1), var(--s2), var(--s3), var(--s4), var(--s5), var(--s6));

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --prose: 680px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--s4) 40%, transparent); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 8px;
  font: 500 0.875rem var(--sans);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--s6); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: inherit; margin: 0; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 1.25rem; line-height: 1.3; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.8125rem/1.2 var(--sans); letter-spacing: 0.02em; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--spectrum);
}
.prose > * + h3 { margin-top: 1.6em; }
.prose h3 { margin-bottom: 0.5em; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.9375rem/1 var(--sans); text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { color: var(--on-ink); border-color: rgba(244, 241, 234, .3); }
.btn--ghost-light:hover { border-color: var(--on-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-soft); }
.btn--ghost { color: var(--ink); border-color: var(--rule); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.9375rem var(--sans); text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--rule); padding-bottom: 3px;
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  color: var(--on-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 30px; height: 36px; flex: none; }
.brand__name { font: 500 1.1875rem/1.05 var(--serif); letter-spacing: -0.01em; }
.brand__name span { display: block; font: 400 0.6875rem/1.4 var(--sans); letter-spacing: 0.04em; color: var(--on-ink-muted); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font: 500 0.9375rem var(--sans); text-decoration: none; color: var(--on-ink-muted);
  padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--on-ink); background: rgba(255, 255, 255, .06); }
.nav__links a[aria-current="page"] { color: var(--on-ink); }
.nav__links a.nav__cta { background: var(--paper); color: var(--ink); margin-left: 8px; }
.nav__links a.nav__cta:hover { background: #fff; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 11px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 1.5px; background: var(--on-ink); border-radius: 1px; transition: transform .25s, opacity .25s; }
  .nav[data-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav[data-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; border-radius: 0; font-size: 1.0625rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav__links a:hover { background: none; }
  .nav__links a.nav__cta { margin: 18px 0 0; text-align: center; border-radius: 999px; border: 0; padding: 14px; }
}

/* ---------- Spectrum ribbon ---------- */
.ribbon { height: 4px; background: var(--spectrum); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(43, 140, 207, .16), transparent 70%),
    radial-gradient(45% 55% at 70% 95%, rgba(194, 47, 134, .14), transparent 70%),
    radial-gradient(40% 50% at 10% 10%, rgba(230, 171, 46, .07), transparent 70%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: clamp(24px, 3vw, 40px); align-items: center;
}
.hero h1 { margin-bottom: 28px; font-size: clamp(2.6rem, 5vw, 4.125rem); }
.hero h1 em { color: #f3cf86; }
.hero__sub { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; color: #cfd3e1; max-width: 32ch; margin-bottom: 36px; }
.hero .eyebrow { color: var(--on-ink-muted); }

/* ---------- The spiral figure with stage labels ---------- */
.arc { position: relative; width: 100%; max-width: 620px; margin-left: auto; }
.arc__fig { position: relative; width: 66%; }
.arc__fig img { width: 100%; height: auto; }
.arc__labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0 0 0 66%; }
.arc__labels li {
  position: absolute; left: 10px; right: 0; transform: translateY(-50%);
  font: 500 0.9375rem/1.2 var(--sans); white-space: nowrap;
}
.arc__labels li small { display: block; font: 400 0.75rem/1.4 var(--sans); color: var(--muted); letter-spacing: 0.01em; margin-top: 2px; }
.arc--dark .arc__labels li { color: var(--on-ink); }
.arc--dark .arc__labels li small { color: var(--on-ink-muted); }
.arc__labels li:nth-child(1) { top: 94.51%; }
.arc__labels li:nth-child(2) { top: 77.69%; }
.arc__labels li:nth-child(3) { top: 60.88%; }
.arc__labels li:nth-child(4) { top: 44.06%; }
.arc__labels li:nth-child(5) { top: 27.24%; }
.arc__labels li:nth-child(6) { top: 10.42%; }
.arc__caption { font: 400 0.8125rem/1.5 var(--sans); color: var(--muted); margin-top: 18px; max-width: 46ch; }
.arc--dark .arc__caption { color: var(--on-ink-muted); }

/* ---------- The home hero's interactive spiral (assets/js/helix.js) ---------- */
.helix {
  margin: 0; width: 100%; max-width: 820px; margin-left: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 272px;
  gap: 0 clamp(12px, 2vw, 28px); align-items: center;
}
.helix__stage { position: relative; aspect-ratio: 560 / 720; }
.helix__stage::before {
  content: ""; position: absolute; inset: 8% 0 20%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 140, 207, .13), transparent);
}
.helix__stage img, .helix__stage canvas { position: relative; display: block; width: 100%; height: 100%; }
.helix__dot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.helix__dot::before {
  content: ""; position: absolute; inset: 11px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 30%, #121829);
  box-shadow: 0 0 0 1.5px var(--c), 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent), 0 0 18px 2px color-mix(in srgb, var(--c) 55%, transparent);
  transition: transform .25s ease;
}
.helix__dot::after {
  content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fff; opacity: .9;
}
.helix__dot:hover::before, .helix__dot.is-lit::before, .helix__dot[aria-pressed="true"]::before { transform: scale(1.3); }
.helix__dot:focus { outline: none; }
.helix__dot:focus-visible::before { box-shadow: 0 0 0 1.5px var(--c), 0 0 0 5px rgba(255, 255, 255, .45); }

.helix__panel { min-width: 0; align-self: start; margin-top: clamp(8px, 6%, 48px); }
.helix__kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 14px; margin: 0 0 4px; }
.helix__kicker span:first-child { font: 400 1.125rem/1.3 var(--serif); color: var(--on-ink); }
.helix__kicker span:last-child { font: italic 400 0.875rem/1.3 var(--serif); color: var(--on-ink-muted); }
.helix__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.helix__item { border-radius: 14px; border: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease, opacity .3s ease; }
.helix__row {
  width: 100%; display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  padding: 9px 13px; border: 0; border-radius: 14px; background: none;
  color: var(--on-ink); text-align: left; cursor: pointer; font: inherit;
}
.helix__row strong { font: 400 0.875rem/1.3 var(--sans); white-space: nowrap; }
.helix__row small { font: italic 400 0.875rem/1.3 var(--serif); color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.helix__swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--c); transition: box-shadow .3s ease; }
.helix__row:focus { outline: none; }
.helix__item:has(.helix__row:focus-visible) { border-color: rgba(255, 255, 255, .35); }
.helix__item:hover, .helix__item.is-lit { background: rgba(255, 255, 255, .035); }
.helix__item.is-open {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 13%, transparent), rgba(255, 255, 255, .02) 70%);
  border-color: color-mix(in srgb, var(--c) 32%, transparent);
}
.helix__item.is-open .helix__swatch, .helix__item.is-lit .helix__swatch { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 28%, transparent), 0 0 10px var(--c); }
.helix__item.is-open .helix__row strong { font-weight: 500; }
.helix.has-active .helix__item:not(.is-open):not(:hover) { opacity: .6; }
.helix__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.helix__more > div { overflow: hidden; padding: 0 16px 0 33px; }
.helix__item.is-open .helix__more { grid-template-rows: 1fr; }
.helix__item.is-open .helix__more > div { padding-bottom: 14px; }
.helix__more p { margin: 0; font: 400 0.8125rem/1.6 var(--sans); color: #c9cedb; max-width: 40ch; }
.helix__more p.helix__meta { font: italic 400 0.9375rem/1.35 var(--serif); color: color-mix(in srgb, var(--c) 45%, #fff); margin: 0 0 5px; }
.helix__hint { font: 400 0.8125rem/1.5 var(--sans); color: var(--on-ink-muted); margin: 0 0 12px; padding: 0 14px; }
.helix:not(.is-live) .helix__hint { display: none; }
.helix__caption { grid-column: 1 / -1; font: italic 400 0.9375rem/1.5 var(--serif); color: var(--on-ink-muted); margin-top: 6px; }

@media (max-width: 1100px) {
  .hero .hero__grid { grid-template-columns: 1fr; }
  .helix { margin: 16px auto 0; max-width: 680px; }
}
@media (max-width: 560px) {
  .helix { grid-template-columns: 1fr; }
  .helix__stage { width: min(100%, 380px); margin: 0 auto; }
  .helix__panel { margin-top: 8px; }
}
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .arc { margin: 8px auto 0; max-width: 520px; }
}
@media (max-width: 480px) {
  .arc__fig { width: 50%; }
  .arc__labels { left: 50%; }
  .arc__labels li { font-size: 0.75rem; left: 6px; letter-spacing: -0.005em; }
  .arc__labels li small { font-size: 0.65625rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 80% at 85% 20%, rgba(43, 140, 207, .14), transparent 70%),
              radial-gradient(40% 60% at 95% 100%, rgba(194, 47, 134, .12), transparent 70%);
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); margin-bottom: 24px; }
.page-hero h1 em { color: #f3cf86; }
.page-hero p { font-size: clamp(1.2rem, 1.8vw, 1.375rem); line-height: 1.5; color: #cfd3e1; max-width: 40ch; margin: 0; }
.page-hero p.eyebrow { color: var(--on-ink-muted); font-size: 0.8125rem; line-height: 1.2; max-width: none; margin-bottom: 18px; }
.page-hero__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero__img { aspect-ratio: 16 / 9; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .lead, .section--ink .muted { color: var(--on-ink-muted); }
.section--ink .eyebrow { color: var(--on-ink-muted); }
.section:not([class*="--"]) + .section:not([class*="--"]) { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 20px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-text { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.split h2 { margin-bottom: 24px; }
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split .figure { order: -1; }
  .split .figure.figure--after { order: 0; }
}

.figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 3 / 2; }
.figure--square { aspect-ratio: 1; }

/* ---------- Photo reel: a slow, endless ribbon of lives and traditions ---------- */
.reel { position: relative; overflow: hidden; margin-top: clamp(48px, 6vw, 80px); }
.reel::before, .reel::after { content: ""; position: absolute; top: 0; bottom: 0; width: min(10%, 120px); z-index: 1; pointer-events: none; }
.reel::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(18, 24, 41, 0)); }
.reel::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(18, 24, 41, 0)); }
.reel__track { display: flex; width: max-content; animation: reel 90s linear infinite; }
.reel:hover .reel__track { animation-play-state: paused; }
.reel__set { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 14px 0 0; }
.reel__item { height: clamp(190px, 24vw, 320px); border-radius: 12px; overflow: hidden; flex: none; background: var(--ink-2); }
.reel__item--w { aspect-ratio: 3 / 2; }
.reel__item--t { aspect-ratio: 4 / 5; }
.reel__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes reel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel::before, .reel::after { display: none; }
  .reel__track { animation: none; padding-left: var(--gutter); }
  .reel__set[aria-hidden="true"] { display: none; }
}

/* ---------- Quote ---------- */
.quote {
  margin: clamp(36px, 5vw, 56px) 0; padding: 0 0 0 clamp(20px, 3vw, 36px);
  border-left: 3px solid; border-image: linear-gradient(180deg, var(--s6), var(--s5), var(--s4), var(--s3), var(--s2), var(--s1)) 1;
}
.quote p { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.3; font-style: italic; letter-spacing: -0.01em; margin-bottom: 18px; }
.quote cite { font: 500 0.875rem var(--sans); font-style: normal; color: var(--muted); }
.quote cite i { font-style: italic; }

/* ---------- Third way ---------- */
.third-way { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; align-items: stretch; margin-top: clamp(36px, 5vw, 56px); }
.third-way > div { padding: 28px 26px; }
.third-way h4 { margin-bottom: 8px; }
.third-way p { font-size: 1rem; line-height: 1.5; margin: 0; color: var(--muted); }
.third-way__pole { border: 1px solid var(--rule); }
.third-way__pole:first-child { border-radius: var(--radius) 0 0 var(--radius); border-right: 0; }
.third-way__pole:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; }
.third-way__pole small { display: block; font: 500 0.75rem var(--sans); color: var(--muted); margin-bottom: 12px; letter-spacing: 0.02em; }
/* The third way: the one card on the page that moves. A spectrum border turns
   slowly around it, a soft glow of the same colours sits behind it, and the
   spiral rises inside it. */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.third-way { position: relative; z-index: 0; }
.third-way__path {
  --ring: conic-gradient(from var(--spin), var(--s1), var(--s2), var(--s3), var(--s4), var(--s5), var(--s6), var(--s1));
  position: relative; margin: -22px 0; padding: 44px 36px 40px !important;
  border: 2px solid transparent; border-radius: 20px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(43, 140, 207, .30), transparent 60%) padding-box,
    radial-gradient(80% 70% at 0% 100%, rgba(194, 47, 134, .26), transparent 62%) padding-box,
    linear-gradient(var(--ink), var(--ink)) padding-box,
    var(--ring) border-box;
  color: var(--on-ink);
  box-shadow: 0 30px 70px -30px rgba(18, 24, 41, .7);
  animation: spin 14s linear infinite;
  transition: transform .4s ease;
}
.third-way__path:hover { transform: translateY(-4px); }
.third-way__path::before {
  content: ""; position: absolute; inset: 14px; z-index: -1; border-radius: inherit;
  background: var(--ring); filter: blur(30px); opacity: .5;
}
.third-way__art { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; pointer-events: none; }
.third-way__art img {
  position: absolute; right: -6%; top: -12%; height: 135%; width: auto; max-width: none;
  opacity: .8; transform: rotate(-8deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.third-way__path > :not(.third-way__art) { position: relative; max-width: 58%; }
.third-way__path h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.05; margin-bottom: 14px; }
.third-way__path p { color: #d9dcea; }
.third-way__path small { display: block; font: 500 0.75rem var(--sans); color: #f3cf86; margin-bottom: 12px; letter-spacing: 0.02em; }
@keyframes spin { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .third-way__path { animation: none; }
}
@media (max-width: 760px) {
  .third-way { grid-template-columns: 1fr; }
  .third-way__pole:first-child { border-radius: var(--radius) var(--radius) 0 0; border-right: 1px solid var(--rule); border-bottom: 0; }
  .third-way__pole:last-child { border-radius: 0 0 var(--radius) var(--radius); border-left: 1px solid var(--rule); border-top: 0; }
  .third-way__path { margin: 6px -8px; }
  .third-way__path > :not(.third-way__art) { max-width: 70%; }
  .third-way__art img { opacity: .6; }
}

.reframes { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reframes li { padding-top: 18px; border-top: 1px solid var(--rule); }
.reframes .from { font: 400 0.9375rem var(--sans); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91, 96, 116, .45); }
.reframes .to { display: block; font-size: 1.375rem; line-height: 1.3; margin-top: 6px; }
@media (max-width: 760px) { .reframes { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 1.0625rem; line-height: 1.55; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card__num { display: inline-flex; align-items: center; gap: 9px; font: 500 0.8125rem var(--sans); color: var(--c-text, var(--muted)); margin-bottom: 18px; }
.card__num::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--s6)); flex: none; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.card--link { text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(18, 24, 41, .35); border-color: #d3c9b6; }
.card--link h3 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card--link h3 svg { width: 20px; height: 20px; flex: none; transition: transform .25s; color: var(--c-text, var(--ink)); }
.card--link:hover h3 svg { transform: translateX(4px); }
.section--ink .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.section--ink .card p { color: var(--on-ink-muted); }

.c1 { --c: var(--s1); --c-text: var(--s1-text); }
.c2 { --c: var(--s2); --c-text: var(--s2-text); }
.c3 { --c: var(--s3); --c-text: var(--s3-text); }
.c4 { --c: var(--s4); --c-text: var(--s4-text); }
.c5 { --c: var(--s5); --c-text: var(--s5-text); }
.c6 { --c: var(--s6); --c-text: var(--s6-text); }

/* ---------- Feature band (ink with image) ---------- */
.band { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.band__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(18, 24, 41, .5) 62%, rgba(18, 24, 41, .1)); }
.band .wrap { position: relative; }
.band__body { max-width: 640px; padding: clamp(80px, 11vw, 150px) 0; }
.band h2 { margin-bottom: 24px; }
.band p { color: #cfd3e1; }
@media (max-width: 760px) {
  .band__img::after { background: linear-gradient(180deg, rgba(18, 24, 41, .7), var(--ink) 75%); }
}

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing h2 { max-width: 20ch; margin: 0 auto 20px; }
.closing p.lead { max-width: 46ch; margin: 0 auto 40px; }
.closing .cards { text-align: left; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--s1), var(--s3), var(--s5), var(--s6)); border-radius: 1px; }
.timeline li { position: relative; padding: 0 0 32px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--c, var(--s6)); }
.timeline .when { font: 500 0.8125rem var(--sans); color: var(--c-text, var(--muted)); }
.timeline h4 { margin: 4px 0 6px; }
.timeline p { font-size: 1.0625rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Partners ---------- */
.partner { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.partner__mark { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font: 600 1rem var(--sans); }

/* ---------- Scale diagram (research) ---------- */
.scale { margin-top: clamp(36px, 5vw, 56px); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.scale__row + .scale__row { margin-top: 36px; }
.scale__label { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 14px; }
.scale__label strong { font: 500 0.9375rem var(--sans); }
.scale__label span { font: 400 0.8125rem var(--sans); color: var(--muted); }
.scale__bins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.scale__bins div { height: 44px; border-radius: 6px; display: grid; place-items: center; font: 500 0.8125rem var(--sans); color: #fff; }
.scale__bins div:nth-child(1) { background: linear-gradient(90deg, var(--s1), var(--s2)); }
.scale__bins div:nth-child(2) { background: linear-gradient(90deg, var(--s3), var(--s4)); }
.scale__bins div:nth-child(3) { background: linear-gradient(90deg, var(--s5), var(--s6)); }
.scale__bar { position: relative; height: 44px; border-radius: 6px; background: var(--spectrum); }
.scale__ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 2.5%); border-radius: 6px; }
.scale__pin { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--ink); border-radius: 1px; }
.scale__pin::after { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-sizing: border-box; }
.scale__pin--ghost { background: rgba(18, 24, 41, .35); }
.scale__pin--ghost::after { background: #fff; border-color: rgba(18, 24, 41, .5); }
.scale__axis { display: flex; justify-content: space-between; margin-top: 14px; font: 400 0.75rem var(--sans); color: var(--muted); }
.scale__note { margin-top: 26px; font: 400 0.875rem/1.55 var(--sans); color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.stat { border-top: 2px solid var(--c, var(--ink)); padding-top: 20px; }
.stat strong { display: block; font: 500 clamp(2.4rem, 4.5vw, 3.5rem)/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 12px; }
.stat span { font: 400 0.9375rem/1.5 var(--sans); color: var(--muted); display: block; }
.section--ink .stat span { color: var(--on-ink-muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Traditions ---------- */
.traditions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.traditions li {
  list-style: none; font: 500 0.9375rem var(--sans); padding: 10px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--rule); display: inline-flex; align-items: center; gap: 9px;
}
.traditions li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink)); }
.traditions { padding: 0; }

/* ---------- Numbered list ---------- */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.numbered li { counter-increment: n; padding: 26px 0 26px 56px; position: relative; border-top: 1px solid var(--rule); font-size: 1.125rem; line-height: 1.5; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 29px; font: 500 0.875rem var(--sans); color: var(--c-text, var(--muted)); }
.numbered li strong { font-weight: 500; }
@media (max-width: 760px) { .numbered { grid-template-columns: 1fr; } }

/* ---------- Papers ---------- */
.paper { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.paper:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.paper__icon { width: 44px; height: 56px; border-radius: 4px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.14); position: relative; }
.paper__icon::before { content: ""; position: absolute; left: 9px; right: 9px; top: 12px; height: 2px; background: var(--c); box-shadow: 0 7px 0 rgba(255,255,255,.25), 0 14px 0 rgba(255,255,255,.25), 0 21px 0 rgba(255,255,255,.18); }
.paper h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.paper__status { font: 500 0.8125rem var(--sans); color: var(--on-ink-muted); white-space: nowrap; }
@media (max-width: 640px) { .paper { grid-template-columns: auto 1fr; } .paper__status { grid-column: 2; } }

/* ---------- Steps (services) ---------- */
.steps { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--spectrum); opacity: .55; }
.steps li { position: relative; padding: 40px 20px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--c); }
.steps .when { font: 500 0.8125rem var(--sans); color: var(--c-text); }
.steps h4 { margin: 6px 0 8px; }
.steps p { font-size: 1rem; line-height: 1.5; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Service blocks ---------- */
.service { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.service:last-child { border-bottom: 1px solid var(--rule); }
.service h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.1; }
.service__tag { font: 500 0.8125rem var(--sans); color: var(--c-text); margin-bottom: 14px; display: block; }
.service .prose p { color: var(--text); }
.for-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.for-list li { font: 500 0.8125rem var(--sans); padding: 7px 12px; border-radius: 999px; background: var(--paper-2); color: var(--text); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }

/* ---------- Resource cards ---------- */
.resource { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.resource__art { aspect-ratio: 16 / 9; background: var(--paper-2); border-bottom: 1px solid var(--rule); display: grid; place-items: center; padding: 24px; }
.resource__art svg { width: 100%; height: 100%; max-height: 180px; }
.resource__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.resource__body h3 { margin-bottom: 12px; }
.badge { display: inline-flex; align-self: flex-start; font: 500 0.75rem var(--sans); padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 88px) 0 36px; font: 400 0.9375rem/1.6 var(--sans); }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color: var(--on-ink); margin-bottom: 18px; }
.footer__about { max-width: 38ch; }
.footer h4 { font: 500 0.8125rem var(--sans); color: var(--on-ink); margin-bottom: 14px; letter-spacing: 0.02em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 8px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 0.8125rem; }
.footer__credits { max-width: 70ch; }
.footer__credits a { color: var(--on-ink-muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(169,175,196,.4); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 560px) {
  .scale__label { flex-direction: column; gap: 2px; }
  .scale__axis { gap: 16px; }
  .scale__axis span:last-child { text-align: right; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
