:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #647168;
  --paper: #f5f1e8;
  --white: #fffdfa;
  --line: #d8d4c9;
  --forest: #174f3b;
  --forest-deep: #0e3528;
  --mint: #bfe5d1;
  --lime: #dce98f;
  --peach: #f2b88f;
  --red: #a94236;
  --shadow: 0 20px 60px rgba(32, 47, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 20; }
.skip-link:focus { left: 8px; }
.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; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px clamp(20px, 5vw, 72px); background: rgba(245, 241, 232, .9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(23, 33, 27, .08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: white; font-size: 12px; letter-spacing: .08em; }
nav { display: flex; gap: clamp(12px, 2vw, 28px); }
nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
nav a:hover, nav a:focus { color: var(--forest); }

main { overflow: hidden; }
.hero { min-height: 78vh; display: grid; grid-template-columns: 1.45fr .75fr; align-items: center; gap: clamp(40px, 8vw, 120px); padding: clamp(72px, 10vw, 132px) clamp(24px, 7vw, 108px); background: radial-gradient(circle at 80% 12%, rgba(220, 233, 143, .65), transparent 32%), var(--paper); }
.eyebrow { margin: 0 0 14px; color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; max-width: 860px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7.5vw, 108px); font-weight: 500; line-height: .94; letter-spacing: -.06em; }
h1 span { color: var(--forest); font-style: italic; }
.hero-copy { max-width: 660px; margin: 28px 0; font-size: clamp(18px, 2vw, 23px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--forest); text-decoration: none; font-weight: 750; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover, .button-primary:focus { background: var(--forest-deep); }
.button-secondary { background: transparent; color: var(--forest); }
.full { width: 100%; border-radius: 12px; margin-top: 12px; }

.decision-card { padding: clamp(26px, 4vw, 42px); border-radius: 28px; background: var(--forest); color: white; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.card-label { margin: 0 0 12px; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; opacity: .68; }
.decision-question { margin: 0 0 38px; font-family: Georgia, serif; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; }
.metric-pair { display: grid; gap: 16px; margin: 0; }
.metric-pair div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.24); }
.metric-pair dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .65; }
.metric-pair dd { margin: 5px 0 0; font-weight: 750; }

.section { padding: clamp(72px, 9vw, 124px) clamp(24px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: 1.4fr .7fr; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-heading h2 { max-width: 800px; margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.section-heading > p, .section-heading > a { max-width: 440px; margin: 0; color: var(--muted); }
.experience-grid { display: grid; grid-template-columns: 1.1fr .75fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.prototype { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #eeeae1; }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c8c2b5; }
.window-bar p { margin: 0 auto 0 8px; color: var(--muted); font-size: 12px; }
.prototype-body { max-width: 590px; margin: auto; padding: clamp(24px, 5vw, 52px); }
.step-label { margin: 0 0 8px; color: var(--forest); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.prototype h3, .response-panel h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; font-weight: 500; }
.supporting { color: var(--muted); }
fieldset { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; border: 0; }
.reason-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; }
.reason-option:has(input:checked) { border-color: var(--forest); background: #f0f7f2; box-shadow: 0 0 0 2px rgba(23,79,59,.08); }
.reason-option input { margin-top: 4px; accent-color: var(--forest); }
.reason-option span { display: grid; }
.reason-option small { color: var(--muted); }
.text-button { display: block; margin: 12px auto 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; }
.response-panel { padding: clamp(28px, 5vw, 50px); border-left: 5px solid var(--forest); }
.response-panel > p:not(.card-label) { color: var(--muted); font-size: 18px; }
.response-example { margin: 28px 0; padding: 22px; border-radius: 18px; background: var(--mint); }
.response-example p, .response-example small { margin: 0; display: block; color: var(--forest-deep); }
.response-example strong { display: block; margin: 5px 0; font-size: 22px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding-top: 20px; border-top: 1px solid var(--line); }
.principle span { padding: 3px 8px; border-radius: 999px; background: var(--lime); color: var(--forest-deep); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.principle p { margin: 0; }

.section-dark { background: var(--forest-deep); color: white; }
.section-dark .eyebrow { color: var(--lime); }
.section-dark .section-heading > a { color: var(--mint); }
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.16); }
.journey article { min-height: 245px; padding: 26px 22px; background: var(--forest); }
.journey article span { font-family: Georgia, serif; font-style: italic; color: var(--mint); }
.journey h3 { margin: 48px 0 4px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.journey p { min-height: 48px; margin: 0 0 24px; color: rgba(255,255,255,.68); }
.journey strong { color: var(--lime); font-size: 13px; }
.journey .journey-focus { background: var(--lime); color: var(--forest-deep); }
.journey .journey-focus span, .journey .journey-focus strong { color: var(--forest-deep); }
.journey .journey-focus p { color: rgba(14,53,40,.72); }
.evidence-note { max-width: 760px; margin: 28px 0 0; color: rgba(255,255,255,.68); }

.scenario-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.scenario-controls button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); }
.scenario-controls button.active, .scenario-controls button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.dashboard { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.recommendation { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: center; padding: 28px; background: var(--mint); color: var(--forest-deep); }
.recommendation h3 { margin: 0; font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.recommendation > span { padding: 6px 10px; border-radius: 999px; background: var(--forest); color: white; font-size: 12px; font-weight: 800; }
.recommendation > p { grid-column: 1 / -1; max-width: 760px; margin: 6px 0 0; }
.recommendation.fail { background: #f2d3cc; color: #722b23; }
.recommendation.fail > span { background: var(--red); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric-card { padding: 26px; border-right: 1px solid var(--line); }
.metric-card:last-child { border: 0; }
.metric-card p { min-height: 46px; margin: 0; color: var(--muted); }
.metric-card strong { display: block; margin: 8px 0 2px; font-family: Georgia, serif; font-size: 36px; font-weight: 500; }
.metric-card small { color: var(--muted); }
.meter { height: 6px; margin-top: 20px; border-radius: 99px; overflow: hidden; background: #e5e1d8; }
.meter span { display: block; height: 100%; width: 60%; background: var(--forest); transition: width .3s ease, background .3s ease; }
.metric-card.fail strong { color: var(--red); }
.metric-card.fail .meter span { background: var(--red); }
.decision-rule { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding: 22px 28px; border-top: 1px solid var(--line); background: #f3efe6; }
.decision-rule p { max-width: 780px; margin: 0; color: var(--muted); }
.decision-rule a { white-space: nowrap; color: var(--forest); font-weight: 750; }
.synthetic-note { color: var(--muted); font-size: 13px; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px clamp(24px, 7vw, 108px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hero, .experience-grid, .section-heading { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .decision-card { transform: none; }
  .journey { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  h1 { font-size: clamp(48px, 16vw, 72px); }
  .journey, .metric-grid { grid-template-columns: 1fr; }
  .journey article { min-height: 190px; }
  .journey h3 { margin-top: 24px; }
  .metric-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .recommendation { grid-template-columns: 1fr; }
  .recommendation > span { width: fit-content; }
  .decision-rule, footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

