/* Project Handoff. The shared theme supplies the family typography and base. */
:root { --accent:#365e57; --wash:#e8ede7; --rose:#75504a; --rose-wash:#f0e6df; }
[hidden] { display:none !important; }
.attribution { text-transform:none;letter-spacing:.01em;font-size:11px; }
.attribution .wrap { padding:8px 0; }
.masthead .wrap { padding:21px 0; }
.brand small { text-transform:none;letter-spacing:.05em;font-size:10px; }
.nav { font-size:13px;gap:27px; }
.nav-use { border-bottom:1px solid var(--accent);padding-bottom:2px; }
.handoff-hero { padding:72px 0 69px; }
.handoff-hero .hero-grid { display:grid;grid-template-columns:1.1fr 1fr;gap:90px; }
.handoff-hero h1 { font-size:clamp(68px,7.3vw,104px);line-height:.95; }
.handoff-hero .promise { font:28px/1.3 var(--serif);letter-spacing:-.02em;margin-top:26px; }
.hero-intro { padding-top:22px; }
.hero-intro .lede { font-size:22px;line-height:1.5; }
.hero-intro>p+p { margin-top:20px;color:var(--muted);font-size:15px; }
.hero-intro .hero-note { font-size:12px;max-width:52ch; }
.actions { display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:25px; }
.button { min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:0; }
.text-link { font-size:14px; }
.note { color:var(--muted);font-size:12px;line-height:1.65; }
.section { padding:70px 0;border-top:1px solid var(--line); }
.section-heading { display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:end;margin-bottom:32px; }
.section-heading>p { color:var(--muted);max-width:49ch;font-size:15px; }
.eyebrow { text-transform:none;letter-spacing:.01em;font-size:12px;margin-bottom:17px;color:var(--gold); }
.comparison-section { border-top:1px solid var(--line);padding:34px 0 68px; }
.example-controls { display:flex;align-items:center;gap:22px;justify-content:space-between;padding:16px 0 23px; }
.example-controls label { font-size:13px; }
.example-controls select { background:var(--paper);color:var(--ink);border:1px solid #aaafa3;border-radius:0;padding:10px 35px 10px 13px;min-height:44px;font-size:14px;max-width:100%; }
.example-panel { border:1px solid var(--line); }
.project-brief { display:flex;gap:30px;padding:21px 27px;background:var(--wash);font-size:14px;border-bottom:1px solid var(--line);align-items:baseline; }
.project-brief strong { color:var(--accent);font-size:12px;white-space:nowrap; }
.comparison-grid { display:grid;grid-template-columns:1fr 1fr; }
.handoff-sheet { padding:28px 30px;min-width:0; }
.handoff-sheet+.handoff-sheet { border-left:1px solid var(--line);background:#faf9f5; }
.sheet-top { display:flex;justify-content:space-between;gap:15px;align-items:baseline;padding-bottom:16px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted); }
.sheet-top b { font-size:13px;color:var(--ink);font-weight:normal; }
.sheet-top .status { color:var(--rose); }
.checked .sheet-top .status { color:var(--accent); }
.sheet-content { margin:21px 0;font:19px/1.6 var(--serif);max-width:50ch; }
.sheet-footnote { font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px; }
.source-evidence { padding:23px 29px;border-top:1px solid var(--line); }
.source-evidence summary { font-size:13px;cursor:pointer;min-height:32px; }
.source-evidence dl { display:grid;grid-template-columns:minmax(140px,.6fr) 1.5fr;gap:13px 24px;margin:15px 0 0;font-size:13px; }
.source-evidence dt { color:var(--accent); }
.source-evidence dd { margin:0;color:var(--muted); }
.exercise { border-top:1px solid var(--line);padding:23px 29px; }
.exercise fieldset { border:0;padding:0;margin:0;min-width:0; }
.exercise legend { font:24px/1.25 var(--serif);margin-bottom:17px; }
.choice { display:flex;align-items:flex-start;gap:10px;padding:10px 0;font-size:13px;cursor:pointer; }
.choice input { margin-top:4px;accent-color:var(--accent);flex-shrink:0; }
.answer-button { border:1px solid var(--accent);background:var(--paper);color:var(--accent);min-height:44px;padding:9px 18px;font-size:13px;margin-top:15px; }
.answer-status { min-height:1.5em;margin-top:15px;font-size:13px;max-width:75ch; }
.answer-status[data-correct="false"] { color:var(--rose); }
.answer-status[data-correct="true"] { color:var(--accent); }
.example-note { margin-top:18px;max-width:88ch; }
.boundary-band { padding:25px 28px;background:var(--wash);display:grid;grid-template-columns:1fr 1.2fr;gap:40px;margin-bottom:30px;border-left:3px solid var(--accent); }
.boundary-band h3 { font-size:28px; }
.boundary-band p { color:var(--muted);font-size:14px; }
.source-method { columns:2;column-gap:60px;font-size:14px; }
.source-method>* { break-inside:avoid; }
.source-method h3,.source-method h4 { font-family:var(--serif);font-weight:normal;font-size:25px;margin:25px 0 12px;line-height:1.2; }
.source-method h3:first-child { margin-top:0; }
.source-method p,.source-method ul,.source-method ol { margin:0 0 17px; }
.source-method ul,.source-method ol { padding-left:20px; }
.source-method li+li { margin-top:8px; }
.source-contract { border-top:1px solid var(--line);padding-top:20px;margin-top:30px; }
.source-contract summary { cursor:pointer;font-size:14px;min-height:32px; }
.rendered-source { margin-top:22px;max-width:85ch;font-size:14px; }
.rendered-source h3,.rendered-source h4 { font-size:27px;margin:27px 0 14px; }
.rendered-source p,.rendered-source ul,.rendered-source ol { margin-bottom:16px; }
.rendered-source pre,.source-method pre { white-space:pre-wrap;overflow-wrap:anywhere;background:#eeeee7;padding:18px;line-height:1.7; }
.rendered-source code,.source-method code { font-size:.88em; }
.source-table-wrap { overflow-x:auto;max-width:100%; }
.source-table-wrap:focus-visible { outline:2px solid currentColor;outline-offset:4px; }
.source-table { border-collapse:collapse;width:100%;font-size:13px;margin:20px 0; }
.source-table th,.source-table td { border-bottom:1px solid var(--line);padding:12px;text-align:left;vertical-align:top; }
.source-table th { color:var(--accent); }
.source-table caption { text-align:left;color:var(--muted);font-size:12px;line-height:1.6;margin-bottom:12px; }
.study-results th,.study-results td { font-size:12px; }
.comparison-intervals { padding-left:21px;font-size:13px;line-height:1.65; }
.evidence-links { line-height:2; }
.use-grid { display:grid;grid-template-columns:1.1fr 1fr;gap:65px; }
.prompt-box { background:var(--ink);color:var(--paper);padding:23px 25px;align-self:start; }
.prompt-top { display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;border-bottom:1px solid #69705f;padding-bottom:14px; }
.copy-button { border:1px solid #9ca390;background:none;color:var(--paper);min-height:38px;padding:6px 12px;font-size:12px; }
.prompt-box pre { white-space:pre-wrap;font:16px/1.7 var(--sans);margin:20px 0 0; }
.copy-status { min-height:1.65em;font-size:12px;color:#d9e6dc;margin-top:12px; }
.skill-download h3 { font-size:30px;margin-bottom:15px; }
.skill-download p { font-size:14px;color:var(--muted); }
.skill-download .note { margin-top:20px;font-size:12px; }
.skill-download .actions { gap:17px; }
.skill-download .button { font-size:13px;padding:11px 17px; }
.compact-links { display:flex;flex-wrap:wrap;gap:15px 22px;margin-top:22px;font-size:12px; }
.install-detail { margin-top:23px;font-size:13px; }
.install-detail summary { min-height:32px;cursor:pointer; }
.install-detail pre { white-space:pre-wrap;overflow-wrap:anywhere;background:#eeeee7;font-size:12px;padding:16px;margin:15px 0; }
.skill-source { margin-top:35px;padding-top:22px;border-top:1px solid var(--line);font-size:14px; }
.skill-source summary { min-height:34px;cursor:pointer; }
.skill-source label { display:block;margin:20px 0 10px;font-size:12px; }
.skill-source textarea { display:block;width:100%;min-height:400px;border:1px solid #aaafa3;background:#faf9f5;padding:20px;color:var(--ink);font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical; }
.skill-source .note { margin-top:14px; }
.evidence-status { background:var(--wash);border-top:2px solid var(--accent);padding:23px 28px;margin-bottom:25px;font-size:14px; }
.evidence-status strong { display:block;color:var(--accent);font-size:16px;margin-bottom:9px; }
.evidence-status .note { margin-top:13px; }
.benchmark-source { font-size:14px;max-width:85ch; }
.benchmark-source h3,.benchmark-source h4 { font-size:26px;margin:24px 0 14px; }
.benchmark-source p,.benchmark-source ul,.benchmark-source ol { margin-bottom:17px; }
.footer { padding:34px 0 22px;border-top:1px solid var(--line); }
.footer-top { display:flex;align-items:center;justify-content:space-between;gap:25px; }
.footer-top>p { font:27px var(--serif); }
.footer-bottom { border-top:1px solid var(--line);padding-top:18px;margin-top:28px;display:flex;justify-content:space-between;gap:25px;font-size:11px;color:var(--muted); }
@media(max-width:900px) { .wrap{width:calc(100% - 48px)}.handoff-hero .hero-grid{gap:45px}.handoff-hero h1{font-size:78px}.hero-intro .lede{font-size:20px}.section-heading{gap:35px}.use-grid{gap:35px}.handoff-sheet{padding:25px}.sheet-content{font-size:18px}.source-method{column-gap:35px}.source-evidence dl{grid-template-columns:1fr}.source-evidence dd{margin-bottom:8px} }
@media(max-width:620px) { .wrap{width:calc(100% - 36px)}.attribution .wrap>span:last-child{display:none}.masthead .wrap{flex-wrap:wrap;gap:20px;padding:18px 0}.masthead .nav{width:100%;justify-content:space-between;gap:12px;font-size:12px}.handoff-hero{padding:44px 0 43px}.handoff-hero .hero-grid{grid-template-columns:1fr;gap:25px}.handoff-hero h1{font-size:clamp(65px,17vw,94px)}.handoff-hero .promise{font-size:26px;margin-top:22px}.hero-intro{padding:0}.hero-intro .lede{font-size:20px}.hero-intro>p+p{font-size:14px;margin-top:17px}.section{padding:48px 0}.section-heading{grid-template-columns:1fr;gap:25px}.section-heading h2{font-size:37px}.section-heading>p{font-size:14px}.comparison-section{padding-top:28px;padding-bottom:45px}.example-controls{display:block;padding-top:0}.example-controls label{display:block;margin-bottom:9px}.example-controls select{width:100%;font-size:14px}.project-brief{display:block;padding:20px}.project-brief strong{display:block;margin-bottom:9px}.comparison-grid{grid-template-columns:1fr}.handoff-sheet{padding:22px 20px}.handoff-sheet+.handoff-sheet{border-left:0;border-top:1px solid var(--line)}.sheet-content{font-size:19px}.source-evidence,.exercise{padding:21px 20px}.source-evidence dl{gap:9px}.exercise legend{font-size:24px}.boundary-band{grid-template-columns:1fr;gap:15px;padding:23px}.boundary-band h3{font-size:27px}.source-method{columns:auto}.source-method h3,.source-method h4{font-size:27px}.use-grid{grid-template-columns:1fr;gap:30px}.prompt-box{padding:21px}.prompt-box pre{font-size:15px}.prompt-top{font-size:11px}.skill-download .button{font-size:12px}.evidence-status{padding:22px}.footer-top,.footer-bottom{flex-direction:column;align-items:flex-start;gap:20px}.footer .nav{gap:20px;font-size:12px}.source-table{font-size:12px}.source-table th,.source-table td{padding:10px;min-width:110px} }
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important} }

/* Source installation beside the first useful outcome. */
.first-run{display:grid;grid-template-columns:1fr 1fr;gap:46px;margin:0 0 36px;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.first-run>div{min-width:0}.first-run h3{font-size:25px;line-height:1.2;margin:0 0 16px}.first-run p{font-size:14px;line-height:1.7}.first-run .note{font-size:12px;margin-top:14px}.first-run pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--wash);padding:18px;font-size:12px;line-height:1.7;margin:0}.first-run code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}@media(max-width:700px){.first-run{grid-template-columns:1fr;gap:28px}}

.film-section { scroll-margin-top: 20px; }
.film-frame { margin: 0; }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1f2a33; border: 1px solid var(--line); }
.film-frame figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.film-transcript { margin-top: 22px; max-width: 46rem; }
.film-transcript summary { cursor: pointer; font-weight: 600; }
.film-transcript p { margin: 10px 0; }
