:root { color-scheme: light; --ink: #173f42; --paper: #f8f6ee; --muted: #566b69; --line: #cdd5c9; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, system-ui, sans-serif; line-height: 1.6; }
body > * + * { margin-top: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: #386c64; }
:focus-visible { outline: 3px solid #ab5c31; outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: 1rem; top: -5rem; background: #fff; padding: .5rem; z-index: 3; }
.skip:focus { top: 1rem; }
.masthead { display: flex; justify-content: space-between; gap: 1rem; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.masthead span { color: var(--muted); }
.intro { max-width: 820px; padding: 45px 0 28px; }
.eyebrow { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; margin: 0 0 14px; color: #52756b; }
h1 { display: block; border: 0; margin: 0; padding: 0; font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 600; }
.lede { max-width: 710px; font-size: 1.1rem; margin: 24px 0 10px; }
.question { font-size: 1rem; color: var(--muted); margin: 0; }
h2 { font-size: 1.4rem; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 20px; }
h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 12px; }
.experiment { display: grid; grid-template-columns: 1.35fr 1fr; border: 1px solid var(--line); background: #fffdf7; border-radius: 18px; overflow: hidden; }
.drawing { margin: 0; background: #e9ede1; padding: 24px; display: flex; flex-direction: column; }
.drawing-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: .8rem; }
.drawing-badge { border: 1px solid #9eaead; border-radius: 20px; padding: 3px 9px; font-size: .7rem; }
svg { display: block; width: 100%; max-height: 470px; margin: 16px 0 8px; border-radius: 8px; background: #dce8e4; }
.rock-label { fill: #dde6df; font-size: 11px; letter-spacing: 2px; }
.endpoint-label { fill: #496058; font-size: 10px; letter-spacing: 2px; }
.goal-label { fill: #fff3dd; font-size: 9px; letter-spacing: 1px; }
figcaption { font-size: .76rem; color: #435b57; line-height: 1.55; margin-top: auto; }
.line-key { display: inline-block; width: 24px; border-top: 3px solid var(--ink); vertical-align: middle; margin-right: 5px; }
.controls { padding: 30px; }
.selectors { display: grid; gap: 14px; }
label { display: block; font-size: .86rem; font-weight: 600; }
select { display: block; width: 100%; margin-top: 5px; border: 1px solid #a8bcb2; border-radius: 7px; padding: 10px; color: var(--ink); background: #fff; font: inherit; font-size: .9rem; min-height: 44px; }
.blend-heading { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
output { font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; margin: 8px 0 0; accent-color: #245954; min-height: 30px; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; color: var(--muted); }
.range-labels span:last-child { text-align: right; }
.small { font-size: .76rem; color: var(--muted); margin: 10px 0 16px; }
.playback { display: flex; flex-wrap: wrap; gap: 8px; }
button { min-height: 44px; padding: 9px 18px; border: 1px solid #245954; border-radius: 7px; background: #245954; color: #fff; font-size: .88rem; font-weight: 600; }
button:hover { background: #194740; }
button.secondary { color: var(--ink); background: transparent; border-color: #a8bcb2; }
button.secondary:hover { background: #eef0e8; }
.boundary { padding: 14px 16px; border-left: 3px solid #ac8053; background: #f5ede0; font-size: .8rem; margin-top: 22px; }
.boundary p { margin: 6px 0 0; }
.milestone-section { margin: 28px 0 44px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-head h2 { font-size: 1rem; margin: 0; }
.section-head p { font-size: .76rem; color: var(--muted); margin: 0; }
.milestones { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 0; }
.milestones li { display: flex; align-items: flex-start; gap: 10px; padding: 13px 8px 0 0; border-top: 1px solid var(--line); font-size: .78rem; }
.dot-number { flex-shrink: 0; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid #79958b; border-radius: 50%; font-size: .7rem; }
.approaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.approaches article { border-top: 3px solid #b9543e; padding-top: 18px; }
.approaches article:nth-child(2) { border-color: #397096; }
.approaches article:nth-child(3) { border-color: #786096; }
.card-number { font-size: .7rem; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.approaches p { font-size: .9rem; }
.approaches .card-note { font-size: .78rem; color: var(--muted); }
.claims { margin: 48px 0; padding: 30px; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.claims p:not(.eyebrow) { color: var(--muted); font-size: .88rem; margin-bottom: 0; }
.claims dl { margin: 0; }
.claims dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .83rem; }
.claims dl div:first-child { padding-top: 0; }
.claims dd { margin: 0; color: #795a33; }
.explanation { max-width: 850px; margin-bottom: 48px; }
.explanation p { font-size: .95rem; }
.task-field { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 48px; background: #fffdf7; }
.task-field summary { cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 1.05rem; }
.task-field summary small { display: block; margin: 5px 0 0 18px; color: var(--muted); font-size: .8rem; font-weight: 400; }
.field-content { padding: 5px 26px 26px; }
.field-content > p { max-width: 850px; font-size: .9rem; }
.field-workbench { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.field-workbench figure { margin: 0; }
#field-diagram { background: #e9ede1; margin-top: 0; max-height: 440px; }
#field-nodes > g { cursor: pointer; }
#field-nodes > g.selected circle { stroke: #173f42; stroke-width: 4px; }
#field-nodes > g:focus-visible { outline: none; }
#field-nodes > g:focus-visible circle { stroke: #111; stroke-width: 5px; stroke-dasharray: 3 2; }
.field-counter { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .75rem; }
.field-controls .blend-heading { margin-top: 0; }
.field-inspection { margin: 15px 0; padding: 14px; background: #edf0e7; font-size: .87rem; }
.field-inspection p { margin: 4px 0 0; font-size: .78rem; }
.field-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .74rem; }
.field-legend span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.field-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 26px; }
.field-notes h3 { font-size: .98rem; }
.field-notes p { font-size: .8rem; }
@media(max-width: 800px) { .field-workbench, .field-notes { grid-template-columns: 1fr; gap: 22px; } .field-content { padding: 4px 20px 20px; } .task-field summary { padding: 20px; } }
code { white-space: normal; overflow-wrap: anywhere; font-size: .88em; }
footer { border-top: 1px solid var(--line); padding: 22px 0 32px; font-size: .75rem; color: var(--muted); }
footer p { max-width: 950px; margin: 0 0 12px; }
@media(max-width: 800px) { .experiment { grid-template-columns: 1fr; } .drawing { padding: 20px; } .drawing svg { max-height: 520px; } .controls { padding: 24px; } .milestones { grid-template-columns: repeat(2, 1fr); } .claims { gap: 25px; } }
@media(max-width: 560px) { .wrap { width: calc(100% - 32px); } .masthead { font-size: .73rem; } .intro { padding-top: 32px; } .eyebrow { font-size: .63rem; } .lede { font-size: 1rem; } .drawing { padding: 14px; } .drawing-head { font-size: .67rem; gap: 6px; } .drawing-badge { font-size: .63rem; } .controls { padding: 20px; } .approaches, .claims { grid-template-columns: 1fr; } .claims { padding: 22px; margin: 34px 0; } .approaches { gap: 20px; } .claims h2 br { display: none; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
