:root {
  --bg: #E9ECE8; --ink: #1F2A2E; --pine: #2F4A45;
  --stone: #6F7873; --noise: #C3C9C4; --brass: #A8863F;
  --field: #F5F7F4; --panel: #F1F3EF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #172024; --ink: #E4E8E3; --pine: #9FC1B8;
    --stone: #95A09A; --noise: #34403F; --brass: #C9A95E;
    --field: #1F2A2E; --panel: #1C272B;
  }
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--pine); }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px; }

/* Header */
.site-header { padding: 28px 0; }
.site-header .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.mark { font-family: Spectral, Georgia, serif; font-size: 1.6rem; }
.tagline { font-size: .82rem; color: var(--stone); margin-top: 4px; letter-spacing: .01em; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: .98rem; }
.nav a { color: var(--ink); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--noise); }
.nav a[aria-current="page"] { border-bottom-color: var(--brass); }

main { flex: 1; }

/* Type */
h1, h2, h3 { font-family: Spectral, Georgia, serif; font-weight: 300; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.01em; text-wrap: balance; max-width: 18em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-top: 56px; }
h3 { font-size: 1.35rem; font-weight: 400; }
.lede { text-wrap: pretty; margin-top: 20px; font-size: 1.12rem; opacity: .85; max-width: 34em; }
p + p { margin-top: 14px; }
.page-top { padding-top: 32px; padding-bottom: 8px; }
.prose ul, .prose ol { margin: 14px 0 0 1.2em; }
.prose li + li { margin-top: 6px; }
.prose h2 { margin-top: 44px; margin-bottom: 12px; }

/* Hero chart */
.chart { width: 100%; height: auto; display: block; margin: 24px 0 8px; }
.noise { fill: none; stroke: var(--noise); stroke-width: 2; stroke-linejoin: round; }
.calm {
  fill: none; stroke: var(--pine); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: draw 3.2s cubic-bezier(.45,0,.2,1) .4s forwards;
}
.dot { fill: var(--brass); opacity: 0; animation: fade .6s ease 3.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .calm { animation: none; stroke-dashoffset: 0; }
  .dot { animation: none; opacity: 1; }
}

/* Offerings: a simple three-column row divided by rules, not cards */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--noise); }
.offer > div { padding: 26px 26px 26px 0; }
.offer > div + div { padding-left: 26px; border-left: 1px solid var(--noise); }
.offer p { margin-top: 10px; opacity: .85; }
.offer a { display: inline-block; margin-top: 14px; font-weight: 500; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; }
  .offer > div, .offer > div + div { padding: 22px 0; border-left: 0; border-top: 1px solid var(--noise); }
  .offer > div:first-child { border-top: 0; }
}

/* Panels */
.panel { background: var(--panel); border-left: 3px solid var(--brass); padding: 26px 28px; margin-top: 48px; border-radius: 0 6px 6px 0; }
.panel p { margin-top: 8px; }

/* Lists of articles */
.articles { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--noise); }
.articles li { padding: 20px 0; border-bottom: 1px solid var(--noise); }
.articles .when { display: block; margin-top: 4px; font-size: .9rem; color: var(--stone); }

/* Forms */
form { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
form.stack { flex-direction: column; max-width: 520px; }
.sr { position: absolute; left: -9999px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
input, select, textarea {
  padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--field); border: 1px solid var(--noise); border-radius: 6px;
}
form:not(.stack) input[type=email] { flex: 1 1 260px; }
textarea { min-height: 140px; resize: vertical; }
button {
  padding: 13px 24px; font: inherit; font-weight: 500; font-size: 1rem; align-self: flex-start;
  color: var(--bg); background: var(--pine); border: 0; border-radius: 6px; cursor: pointer;
}
button:hover { filter: brightness(1.08); }
a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 2px;
}
.status { margin-top: 12px; min-height: 1.4em; font-size: .95rem; color: var(--pine); }
.note { margin-top: 28px; font-size: .92rem; color: var(--stone); }

/* Footer */
.site-footer { margin-top: 80px; padding: 28px 0 36px; border-top: 1px solid var(--noise); font-size: .88rem; color: var(--stone); }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer a { color: inherit; }
.site-footer p + p { margin-top: 6px; }

/* Zoom-out interactive */
.zoom { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; margin-top: 72px; padding: 40px 0; border-top: 1px solid var(--noise); }
.zoom h2 { margin-top: 0; }
.zoom-text p { margin-top: 12px; }
.zoom-label { display: block; margin-top: 26px; font-size: .98rem; }
.zoom input[type=range] { width: 100%; margin-top: 14px; accent-color: var(--pine); padding: 0; background: none; border: 0; }
.zoom-ticks { display: flex; justify-content: space-between; font-size: .8rem; color: var(--stone); margin-top: 4px; }
.zoom-caption { min-height: 3.2em; color: var(--pine); font-family: Spectral, Georgia, serif; font-size: 1.2rem; }
.zoom-chart { margin: 0; }
.zoom-chart svg { width: 100%; height: auto; display: block; }
.zoom-line { fill: none; stroke: var(--pine); stroke-width: 2.4; stroke-linejoin: round; transition: d .6s ease; }
.zoom-area { fill: var(--pine); opacity: .08; transition: d .6s ease; }
.axis { stroke: var(--noise); stroke-width: 1; }
.zoom-chart figcaption, .figure-note { margin-top: 10px; font-size: .82rem; color: var(--stone); }
@media (max-width: 820px) { .zoom { grid-template-columns: 1fr; gap: 24px; } }

/* About scroll story */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 8px; padding-bottom: 8vh; }
.story-steps { padding: 6vh 0 0; }
.after-story > * { max-width: 680px; }
.after-story h2:first-child { margin-top: 0; }
.story-chart { position: sticky; top: 18vh; align-self: start; }
.story-chart svg { width: 100%; height: auto; display: block; }
.ghost { fill: none; stroke: var(--noise); stroke-width: 2; stroke-dasharray: 4 6; }
.seg { fill: none; stroke: var(--pine); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease; }
.seg.on { stroke-dashoffset: 0; }
.story-dot { fill: var(--brass); transition: cx 1.1s ease, cy 1.1s ease; }
.step { min-height: 34vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s ease; }
.step.active { opacity: 1; }
.step p { margin-top: 10px; font-size: 1.08rem; }
.step h3 { font-size: 1.7rem; font-weight: 300; }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-chart { top: 0; background: var(--bg); padding: 12px 0; z-index: 1; }
  .step { min-height: 30vh; }
  .story-steps { padding-top: 2vh; }
}
@media (prefers-reduced-motion: reduce) {
  .seg, .story-dot, .step, .zoom-line, .zoom-area { transition: none; }
}

/* Learn */
.split-head { display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.stones { width: 130px; flex: none; }
.stones .st1 { fill: var(--noise); } .stones .st2 { fill: var(--stone); opacity: .55; }
.stones .st3 { fill: var(--pine); opacity: .75; } .stones .st4 { fill: var(--brass); }
@media (max-width: 560px) { .stones { width: 80px; } }
.weeks { list-style: none; margin: 18px 0 0 !important; padding: 0; position: relative; }
.weeks::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--noise); }
.weeks li { position: relative; padding: 0 0 26px 36px; }
.weeks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--pine); }
.weeks li:last-child::before { background: var(--brass); border-color: var(--brass); }
.wk { font-size: .85rem; color: var(--stone); }
.weeks h3 { margin-top: 2px; }
.weeks p { margin-top: 4px; }

/* Contact */
.ripples { width: 220px; display: block; margin-bottom: 10px; }
.ripples ellipse { fill: none; stroke: var(--pine); stroke-width: 1.2; }
.ripples ellipse:nth-child(2) { opacity: .6; } .ripples ellipse:nth-child(3) { opacity: .35; } .ripples ellipse:nth-child(4) { opacity: .18; }

/* Home hero */
.hero { padding-top: 40px; }
.hero-chart { width: 100%; height: auto; display: block; margin-top: 44px; color: var(--pine); overflow: visible; }
.h-market { fill: none; stroke: var(--stone); stroke-width: 2; stroke-linejoin: round; opacity: .9;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s ease-out .2s forwards; }
.h-calm { fill: none; stroke: var(--pine); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.45,0,.2,1) 1.4s forwards; }
.h-area { opacity: 0; animation: fade 1.2s ease 3.4s forwards; }
.h-dot { fill: var(--brass); opacity: 0; animation: fade .5s ease 3.9s forwards; }
.h-label { font-family: "Work Sans", Arial, sans-serif; font-size: 22px; opacity: 0; animation: fade .8s ease forwards; }
.h-label-m { fill: var(--stone); animation-delay: 1.6s; }
.h-label-c { fill: var(--pine); font-weight: 500; animation-delay: 4s; }
@media (max-width: 700px) { .h-label { font-size: 46px; } .h-label-m { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .h-market, .h-calm { animation: none; stroke-dashoffset: 0; }
  .h-area, .h-dot, .h-label { animation: none; opacity: 1; }
}
