/* Rethink your priors. Flat white and cream, black lines, paint.py palette, hand lettering. No gradients, no shadows. */
@font-face { font-family: "Gochi Hand"; src: url("/fonts/gochi-hand.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("/fonts/patrick-hand.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("/fonts/patrick-hand-ext.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --red: #E8352B; --blue: #2F6FE4; --yellow: #FFD43B; --green: #3DBB55; --orange: #FF8A1F; --purple: #8E4FD6;
  --pink: #FF7FB5; --teal: #1FB8B0; --sky: #BFE3FF; --cream: #FFF1C9; --white: #FFFFFF; --charcoal: #3A3A40;
  --ink: #000000; --muted: #3A3A40;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --clear: "Patrick Hand", "Gochi Hand", "Comic Sans MS", cursive;
  --gutter: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--clear); font-size: 21px; line-height: 1.45; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 3px dashed var(--blue); outline-offset: 4px; }
span.z { font-family: var(--clear); }
code { font-family: var(--clear); background: var(--cream); padding: 0 .3em; }
h1, h2, h3 { font-family: var(--hand); font-weight: 400; line-height: 1.1; margin: 0 0 .3em; }
h2 { font-size: clamp(40px, 6vw, 64px); transform: rotate(-1.2deg); transform-origin: left; }
h3 { font-size: 34px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.band { padding: 72px 0; }
.band.cream { background: var(--cream); }
.sub { margin: 0 0 24px; color: var(--muted); }
.fine { font-size: 17px; color: var(--muted); }
.aside { font-family: var(--hand); font-size: 22px; transform: rotate(-1.5deg); color: var(--muted); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px var(--gutter); max-width: 1240px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hand); font-size: 26px; text-decoration: none; }
.brand img { border-radius: 50%; border: 2px solid var(--ink); }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--hand); font-size: 22px; }
@media (max-width: 520px) { .top nav { gap: 2px 12px; font-size: 19px; } }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* drawn stages */
.stage { position: relative; width: 100%; }
.stage svg { width: 100%; height: auto; }
button.stage { border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; }

/* hero */
.hero { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.hero-stage { aspect-ratio: 1920 / 800; }
.hero-copy { text-align: center; max-width: 820px; margin: 4px auto 0; }
.dek { font-size: clamp(20px, 2.4vw, 25px); margin: 0 0 6px; }
.byline { font-family: var(--clear); font-size: 26px; margin: 0 0 20px; }
.ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 0; }
@media (max-width: 700px) { .hero-stage { aspect-ratio: 1080 / 1130; max-width: 520px; margin: 0 auto; } }

/* wobbly boxes: JS draws an SVG outline into .wob */
[data-wobble] { position: relative; isolation: isolate; }
.wob { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: visible; }
.wob svg { width: 100%; height: 100%; }
.no-js [data-wobble], [data-wobble]:not(.wobbled) { border: 3px solid var(--ink); }
[data-wobble].wobbled { border: 0; }

.btn { display: inline-block; font-family: var(--hand); font-size: 26px; line-height: 1; padding: 14px 24px 16px; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; transition: transform .06s steps(1); }
.btn:hover { transform: rotate(-1.5deg) translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn.small { font-size: 21px; padding: 10px 16px 12px; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active { transform: none; } }

/* toy */
.toy-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.field { flex: 1 1 320px; display: flex; }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--clear); font-size: 26px;
  padding: 12px 18px; color: var(--ink); }
.field input:focus { outline: none; }
.field:focus-within { outline: 3px dashed var(--blue); outline-offset: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 16px 0 8px; }
.chips-label { font-family: var(--hand); font-size: 22px; margin-right: 4px; }
.chip { font-family: var(--clear); font-size: 18px; padding: 6px 12px 7px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.chip:hover { transform: rotate(-1deg); }
.toy-stage { margin: 18px auto 0; max-width: 980px; background: var(--white); min-height: 120px; }
.toy-stage:empty { display: none; }
.toy-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 0; }
.toy .fine { text-align: center; margin-top: 18px; }

/* episodes */
.episodes { display: grid; gap: 28px; margin-bottom: 40px; }
.ep { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: start; padding: 24px; }
.ep-video { aspect-ratio: 9 / 16; width: 100%; }
.ep-video iframe { width: 100%; height: 100%; border: 3px solid var(--ink); display: block; background: var(--ink); }
.ep-video .stage { height: 100%; }
.ep-num { font-family: var(--hand); font-size: 24px; color: var(--muted); margin: 0; }
.ep h3 { font-size: clamp(34px, 4.5vw, 48px); }
.ep .hook { font-size: 24px; margin: 0 0 18px; }
.ep .label { font-family: var(--hand); font-size: 22px; margin: 0; }
.prior { display: inline-block; font-size: 22px; padding: 8px 14px; margin: 4px 0 18px; text-decoration: line-through;
  text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.ep-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--hand); font-size: 22px; margin: 0; }
@media (max-width: 700px) { .ep { grid-template-columns: 1fr; padding: 18px; } .ep-video { max-width: 300px; margin: 0 auto; } }

.upcoming { padding: 26px 28px; }
.upcoming-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.upcoming-list li { display: grid; grid-template-columns: 3.2em 1fr; gap: 10px; font-size: 22px; align-items: baseline; }
.upcoming-list .when { font-family: var(--hand); color: var(--muted); }
.upcoming-list .num { font-family: var(--hand); }
.upcoming-list li.past { display: none; }
@media (max-width: 560px) { .upcoming-list li { grid-template-columns: 3em 1fr; } }

/* cast */
.cast { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.cast figure { margin: 0; padding: 18px; }
.cast-side { display: grid; gap: 24px; }
.cast-side figure { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; }
#cast-eduardo { max-width: 380px; margin: 0 auto; }
figcaption { font-size: 20px; }
figcaption strong { font-family: var(--hand); font-weight: 400; font-size: 26px; }
.knobs { display: grid; gap: 10px; margin-top: 14px; }
.knob { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.knob-name { font-family: var(--hand); font-size: 22px; width: 4.2em; }
.knob button { font-family: var(--clear); font-size: 17px; padding: 3px 9px 4px; border: 2px solid var(--ink); border-radius: 2px;
  background: var(--white); cursor: pointer; color: var(--ink); }
.knob button[aria-pressed="true"] { background: var(--yellow); }
.knob .swatch { width: 30px; height: 30px; padding: 0; }
.knob button.again { background: var(--sky); }
@media (max-width: 820px) { .cast { grid-template-columns: 1fr; } }

/* follow */
.follow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.link-card { display: grid; gap: 4px; padding: 22px 22px 24px; text-decoration: none; }
.link-card strong { font-family: var(--hand); font-weight: 400; font-size: 32px; }
.link-card:hover { transform: rotate(-1deg); }
@media (max-width: 820px) { .follow { grid-template-columns: 1fr; } }
.closer-stage { max-width: 640px; margin: 36px auto 0; }
.signoff { text-align: center; font-family: var(--hand); font-size: clamp(22px, 3vw, 30px); margin: 8px auto 0; max-width: 760px; }

.foot { text-align: center; padding: 36px var(--gutter) 48px; font-size: 19px; }
.foot p { margin: 4px 0; }
.foot .name { font-family: var(--clear); }

/* 404 */
.lost { text-align: center; padding: 40px var(--gutter) 80px; }
.lost .stage { max-width: 560px; margin: 0 auto; }

/* ---------- inner pages ---------- */
.page { padding-top: 24px; padding-bottom: 64px; }
.page h1 { font-family: var(--hand); font-weight: 400; font-size: clamp(42px, 6.5vw, 72px); line-height: 1.05; margin: 8px 0 18px; transform: rotate(-1deg); transform-origin: left; }
.page h2 { font-size: clamp(32px, 4.5vw, 44px); margin-top: 40px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 18px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; }
.crumbs a { color: var(--muted); }
.answer { font-size: 23px; line-height: 1.55; max-width: 44em; }
.byline-small { color: var(--muted); font-size: 19px; }
.prior-page .prior { font-size: 26px; }
.prior-stage { max-width: 900px; margin: 10px 0 0; background: var(--white); aspect-ratio: 1600 / 900; }
.prior-stage svg { height: 100%; }
@media (max-width: 700px) { .prior-stage { aspect-ratio: 1000 / 1450; } }
.ep-page { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 32px; align-items: start; }
.ep-page h2 { margin-top: 18px; }
@media (max-width: 700px) { .ep-page { grid-template-columns: 1fr; } .ep-page .ep-video { max-width: 300px; margin: 0 auto; } }
.transcript { max-width: 44em; }
.transcript p { margin: 0 0 10px; font-size: 22px; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0; font-family: var(--hand); font-size: 22px; }
.cta-band { margin-top: 48px; padding: 28px; background: var(--cream); text-align: center; }
.cta-band p { margin: 0 0 14px; }
.cta-band .ctas { justify-content: center; }
.ep-more { margin: 10px 0 0; font-size: 19px; }
.ep h3 a { text-decoration: none; }
.ep h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.about .name { font-family: var(--clear); }

/* prior links */
.prior-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.prior-link { display: grid; gap: 8px; padding: 18px 20px 20px; height: 100%; text-decoration: none; }
.prior-link:hover { transform: rotate(-1deg); }
.prior-link .struck { font-size: 19px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.prior-link .q { font-family: var(--hand); font-size: 26px; line-height: 1.15; }
@media (prefers-reduced-motion: reduce) { .prior-link:hover, .link-card:hover { transform: none; } }

.key-points { font-family: var(--hand); font-size: 26px; padding-left: 1.1em; margin: 0 0 12px; }
.work-cta { padding: 18px 22px; margin: 24px 0 0; font-size: 21px; max-width: 44em; }

/* scoreboard */
.board { list-style: none; padding: 0; margin: 8px 0 24px; }
.board li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 0; border-bottom: 2px solid var(--ink); }
.board .what { flex: 1 1 220px; }
.board .num { font-family: var(--hand); font-size: 40px; line-height: 1; }
.board .unit { color: var(--muted); }
.board .tgt { font-family: var(--hand); font-size: 18px; color: var(--muted); background: var(--cream); padding: 0 .4em; transform: rotate(-2deg); }

/* scoreboard matrix, card wall, cards, race: one painted color per category */
.scoreboard { --c: var(--yellow); --cl: #FFF6D6; }
.scoreboard .cat-consumer-apps { --c: #FF7FB5; --cl: #FFE0EE; }
.scoreboard .cat-b2b { --c: #2F6FE4; --cl: #DCEBFF; }
.scoreboard .cat-non-profit { --c: #3DBB55; --cl: #D9F4DE; }
.scoreboard .cat-open-source { --c: #8E4FD6; --cl: #EBDDFA; }
.scoreboard .cat-social { --c: #FF8A1F; --cl: #FFE4C7; }
.sb-note { font-family: var(--hand); font-size: 22px; transform: rotate(-.8deg); margin: 4px 0 12px; }
.sb-legend { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 17px; }
.sb-legend li { display: flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 18px; height: 14px; background: var(--c); border: 2px solid var(--ink); border-radius: 6px 3px 7px 4px; transform: rotate(-6deg); margin-right: 6px; flex: none; }
.mark { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: -4px; }
.scoreboard .tile { position: relative; font: inherit; text-align: left; cursor: pointer; margin: 0; min-height: 64px; padding: 14px 12px 10px 12px; border: 2.5px solid var(--ink); border-radius: 3px 12px 4px 14px / 14px 4px 12px 3px; background: var(--cl); color: var(--ink); box-shadow: 3px 4px 0 var(--ink); transform: rotate(-1deg); display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.scoreboard .tile::before { content: ""; position: absolute; top: -9px; left: 50%; width: 46px; height: 16px; margin-left: -23px; background: var(--c); opacity: .85; border: 1.5px solid var(--ink); transform: rotate(-4deg); }
.scoreboard .tile:nth-child(3n) { transform: rotate(1.2deg); }
.scoreboard .tile:nth-child(3n+2) { transform: rotate(-.3deg); }
.scoreboard .tile .mark { position: absolute; top: 6px; right: 6px; }
.scoreboard .st-launched { border-style: dashed; box-shadow: 2px 2px 0 var(--charcoal); }
.scoreboard .st-has-users .t-num { text-decoration: underline wavy var(--c) 3px; text-underline-offset: 5px; }
.scoreboard .tile:focus-visible { outline: 3px dashed var(--blue); outline-offset: 4px; }
.scoreboard .tile[aria-expanded="true"] { outline: 3px solid var(--ink); outline-offset: 3px; background: var(--white); }
.tile .t-name { font-size: 19px; padding-right: 22px; line-height: 1.15; }
.tile .t-num { font-family: var(--hand); font-size: 30px; line-height: 1; }
.tile .t-unit { font-size: 15px; color: var(--charcoal); }
@media (prefers-reduced-motion: no-preference) {
  .scoreboard .tile { transition: transform .15s ease-out; }
  .scoreboard .tile:hover { animation: sb-wiggle .45s ease-in-out; }
  @keyframes sb-wiggle { 0%,100% { transform: rotate(0deg) translateY(-2px); } 30% { transform: rotate(-2.2deg) translateY(-3px); } 65% { transform: rotate(1.8deg) translateY(-2px); } }
}
.matrix { margin: 8px 0; border: 2.5px solid var(--ink); border-radius: 16px 10px 18px 12px; background: var(--cream); padding: 6px 14px 12px; }
.m-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; border-top: 2px dashed var(--charcoal); padding: 16px 0 12px; }
.m-head { border-top: 0; padding: 4px 0; font-family: var(--hand); font-size: 26px; }
.m-head span { display: flex; align-items: center; gap: 6px; }
.m-head .mark { width: 28px; height: 28px; }
.m-cat { font-family: var(--hand); font-size: 23px; align-self: start; display: flex; align-items: center; padding-top: 10px; }
.m-cell { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px 12px; align-content: start; min-height: 44px; }
.cardwall { display: none; }
.cw-cat { margin: 18px 0; padding: 4px 12px 14px; border-left: 6px solid var(--c); border-radius: 4px; }
.cw-cat h3 { display: flex; align-items: center; font-family: var(--hand); margin: 4px 0 14px; }
.cw-cat .tile { width: 100%; margin: 0 0 16px; }
.scoreboard .sb-card { border: 2.5px solid var(--ink); border-top: 10px solid var(--c); border-radius: 6px 14px 10px 16px; background: var(--white); padding: 12px 16px; margin: 16px 0; box-shadow: 4px 5px 0 var(--cl); }
.sb-card h3 { margin: 0; }
.sb-card .c-num .t-num { font-family: var(--hand); font-size: 44px; }
.sb-card .c-meta { color: var(--charcoal); font-size: 18px; }
@media (max-width: 760px) { .matrix { display: none; } .cardwall { display: block; } .sb-note { font-size: 20px; } }
.race { list-style: none; padding: 0; }
.race li { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; align-items: center; margin: 8px 0; }
@media (max-width: 520px) { .race li { grid-template-columns: 1fr; gap: 2px; } }
.r-track { height: 22px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); overflow: hidden; }
.r-bar { display: block; height: 100%; width: var(--from); background: var(--c); transition: width 1.4s ease-out; }
.r-bar.go, .r-bar.done { width: var(--to); }
@media (prefers-reduced-motion: reduce) { .r-bar { transition: none; } }
.race-empty { font-family: var(--hand); font-size: 24px; background: var(--cream); border: 2px dashed var(--ink); border-radius: 12px; padding: 12px 16px; transform: rotate(-.5deg); }
.from-0{--from:0%}.to-0{--to:0%}.from-1{--from:1%}.to-1{--to:1%}.from-2{--from:2%}.to-2{--to:2%}.from-3{--from:3%}.to-3{--to:3%}.from-4{--from:4%}.to-4{--to:4%}.from-5{--from:5%}.to-5{--to:5%}.from-6{--from:6%}.to-6{--to:6%}.from-7{--from:7%}.to-7{--to:7%}.from-8{--from:8%}.to-8{--to:8%}.from-9{--from:9%}.to-9{--to:9%}.from-10{--from:10%}.to-10{--to:10%}.from-11{--from:11%}.to-11{--to:11%}.from-12{--from:12%}.to-12{--to:12%}.from-13{--from:13%}.to-13{--to:13%}.from-14{--from:14%}.to-14{--to:14%}.from-15{--from:15%}.to-15{--to:15%}.from-16{--from:16%}.to-16{--to:16%}.from-17{--from:17%}.to-17{--to:17%}.from-18{--from:18%}.to-18{--to:18%}.from-19{--from:19%}.to-19{--to:19%}.from-20{--from:20%}.to-20{--to:20%}.from-21{--from:21%}.to-21{--to:21%}.from-22{--from:22%}.to-22{--to:22%}.from-23{--from:23%}.to-23{--to:23%}.from-24{--from:24%}.to-24{--to:24%}.from-25{--from:25%}.to-25{--to:25%}.from-26{--from:26%}.to-26{--to:26%}.from-27{--from:27%}.to-27{--to:27%}.from-28{--from:28%}.to-28{--to:28%}.from-29{--from:29%}.to-29{--to:29%}.from-30{--from:30%}.to-30{--to:30%}.from-31{--from:31%}.to-31{--to:31%}.from-32{--from:32%}.to-32{--to:32%}.from-33{--from:33%}.to-33{--to:33%}.from-34{--from:34%}.to-34{--to:34%}.from-35{--from:35%}.to-35{--to:35%}.from-36{--from:36%}.to-36{--to:36%}.from-37{--from:37%}.to-37{--to:37%}.from-38{--from:38%}.to-38{--to:38%}.from-39{--from:39%}.to-39{--to:39%}.from-40{--from:40%}.to-40{--to:40%}.from-41{--from:41%}.to-41{--to:41%}.from-42{--from:42%}.to-42{--to:42%}.from-43{--from:43%}.to-43{--to:43%}.from-44{--from:44%}.to-44{--to:44%}.from-45{--from:45%}.to-45{--to:45%}.from-46{--from:46%}.to-46{--to:46%}.from-47{--from:47%}.to-47{--to:47%}.from-48{--from:48%}.to-48{--to:48%}.from-49{--from:49%}.to-49{--to:49%}.from-50{--from:50%}.to-50{--to:50%}.from-51{--from:51%}.to-51{--to:51%}.from-52{--from:52%}.to-52{--to:52%}.from-53{--from:53%}.to-53{--to:53%}.from-54{--from:54%}.to-54{--to:54%}.from-55{--from:55%}.to-55{--to:55%}.from-56{--from:56%}.to-56{--to:56%}.from-57{--from:57%}.to-57{--to:57%}.from-58{--from:58%}.to-58{--to:58%}.from-59{--from:59%}.to-59{--to:59%}.from-60{--from:60%}.to-60{--to:60%}.from-61{--from:61%}.to-61{--to:61%}.from-62{--from:62%}.to-62{--to:62%}.from-63{--from:63%}.to-63{--to:63%}.from-64{--from:64%}.to-64{--to:64%}.from-65{--from:65%}.to-65{--to:65%}.from-66{--from:66%}.to-66{--to:66%}.from-67{--from:67%}.to-67{--to:67%}.from-68{--from:68%}.to-68{--to:68%}.from-69{--from:69%}.to-69{--to:69%}.from-70{--from:70%}.to-70{--to:70%}.from-71{--from:71%}.to-71{--to:71%}.from-72{--from:72%}.to-72{--to:72%}.from-73{--from:73%}.to-73{--to:73%}.from-74{--from:74%}.to-74{--to:74%}.from-75{--from:75%}.to-75{--to:75%}.from-76{--from:76%}.to-76{--to:76%}.from-77{--from:77%}.to-77{--to:77%}.from-78{--from:78%}.to-78{--to:78%}.from-79{--from:79%}.to-79{--to:79%}.from-80{--from:80%}.to-80{--to:80%}.from-81{--from:81%}.to-81{--to:81%}.from-82{--from:82%}.to-82{--to:82%}.from-83{--from:83%}.to-83{--to:83%}.from-84{--from:84%}.to-84{--to:84%}.from-85{--from:85%}.to-85{--to:85%}.from-86{--from:86%}.to-86{--to:86%}.from-87{--from:87%}.to-87{--to:87%}.from-88{--from:88%}.to-88{--to:88%}.from-89{--from:89%}.to-89{--to:89%}.from-90{--from:90%}.to-90{--to:90%}.from-91{--from:91%}.to-91{--to:91%}.from-92{--from:92%}.to-92{--to:92%}.from-93{--from:93%}.to-93{--to:93%}.from-94{--from:94%}.to-94{--to:94%}.from-95{--from:95%}.to-95{--to:95%}.from-96{--from:96%}.to-96{--to:96%}.from-97{--from:97%}.to-97{--to:97%}.from-98{--from:98%}.to-98{--to:98%}.from-99{--from:99%}.to-99{--to:99%}.from-100{--from:100%}.to-100{--to:100%}
.graveyard { margin-top: 2.5rem; }
.gy-yard { position: relative; height: 240px; }
.gy-scene { position: absolute; inset: 0; width: 100%; height: 220px; }
.gy-stones { position: absolute; left: 24%; right: 4%; bottom: 26px; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.stone { position: relative; width: 88px; min-height: 96px; padding: 18px 6px 8px; background: #d9d6cc; border: 3px solid var(--ink); border-radius: 44px 40px 4px 6px; font-family: var(--hand); font-size: .8rem; line-height: 1.1; cursor: pointer; transform: rotate(-2deg); }
.stone:nth-child(even) { transform: rotate(2deg); }
.stone .s-name, .stone .s-years { display: block; }
.stone .s-why { display: none; position: absolute; bottom: 104%; left: -20px; width: 180px; background: var(--white); border: 2px solid var(--ink); padding: 6px; font-family: var(--clear); z-index: 2; }
.stone:hover .s-why, .stone:focus-visible .s-why, .stone[aria-expanded="true"] .s-why { display: block; }
.gy-plot { display: block; width: 120px; height: 26px; background: #8a5a2b; border: 3px solid var(--ink); border-radius: 60px 60px 6px 6px; margin-left: 30%; }
.gy-empty { text-align: center; }
@media (max-width: 760px) { .gy-yard { height: 190px; } .gy-scene { height: 170px; } .gy-stones { left: 30%; bottom: 20px; } .stone { width: 70px; min-height: 80px; } .gy-plot { margin-left: 10%; width: 90px; } }

/* Article diagrams: keep aspect ratio (inline styles are blocked by the CSP). */
.article-figure { margin: 24px 0; }
.article-figure picture, .article-figure img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 8px; }

/* ---------- edumartinez.ai (CLU-1830) ---------- */
.band.sky { background: var(--sky); }
.hero-copy h1 { font-size: clamp(48px, 8vw, 88px); margin: 0 0 8px; }
.top .brand .name { font-family: var(--hand); }
.episodes.one { max-width: 760px; }
.ctas.left { justify-content: flex-start; }
.score-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0 0 20px; }
.score-mini { display: grid; gap: 2px; padding: 16px 18px; background: var(--white); }
.score-mini .s-name { font-family: var(--hand); font-size: 26px; line-height: 1.1; }
.score-mini .s-n { font-family: var(--hand); font-size: 48px; line-height: 1; }
.offers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0 0 24px; }
.offer-card { display: grid; gap: 6px; align-content: start; padding: 20px 22px; text-decoration: none; }
.offer-card strong { font-family: var(--hand); font-weight: 400; font-size: 30px; line-height: 1.1; }
.offer-card .price { font-family: var(--hand); font-size: 34px; line-height: 1; color: var(--red); }
.offer-card:hover strong { text-decoration: underline; text-decoration-color: var(--red); }
.writing-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; font-size: 24px; }
.writing-list .when { font-family: var(--hand); color: var(--muted); margin-right: 8px; }
.why { padding: 20px 24px; margin: 8px 0 24px; }
.email { user-select: all; font-family: var(--clear); background: var(--cream); padding: 0 .3em; }
.offer .steps { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.offer .steps li { position: relative; display: grid; gap: 4px; padding: 14px 18px 14px 64px; }
.offer .steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 8px; font-family: var(--hand); font-size: 40px; color: var(--red); }
.ticks { padding-left: 1.1em; }
.ticks li { margin: 4px 0; }
.faq { padding: 12px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-family: var(--hand); font-size: 24px; }
.lib { list-style: none; padding: 0; display: grid; gap: 12px; }
.lib .kind { font-family: var(--hand); color: var(--muted); }
.about .narrow-col { max-width: 760px; }
.cast-wrap { margin: 32px 0; }
/* the one plain page */
.plain, .plain h1, .plain h2 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.plain { font-size: 17px; line-height: 1.6; }
.plain h1 { font-weight: 700; font-size: 40px; transform: none; letter-spacing: -.01em; }
.plain h2 { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; transform: none; color: var(--muted); margin-top: 28px; }
.plain .job { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-top: 1px solid #DDDDDD; }
.plain .yr { color: var(--muted); font-variant-numeric: tabular-nums; }
.plain .email { font-family: inherit; background: none; padding: 0; }
.plain span.z { font-family: inherit; }
@media (max-width: 560px) { .plain .job { grid-template-columns: minmax(0, 1fr); } }
.foot .signoff-small { font-family: var(--hand); font-size: 22px; }
