:root {
  --ink: #102638;
  --muted: #516575;
  --navy: #0b3954;
  --ocean: #0d7894;
  --ice: #eaf7fa;
  --ice-2: #d1eef4;
  --gold: #f4b942;
  --coral: #e56b5d;
  --plankton: #8ebf43;
  --white: #ffffff;
  --line: #c8dde3;
  --shadow: 0 18px 50px rgba(11, 57, 84, 0.14);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8fcfd; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
button, input { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); padding: .7rem 1rem; border-radius: 8px; background: var(--white); color: var(--navy); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding: .8rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid rgba(200, 221, 227, .75); background: rgba(248, 252, 253, .94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50% 50% 44% 44%; background: var(--navy); color: white; font-size: .78rem; letter-spacing: .08em; }
.site-header nav { display: flex; align-items: center; gap: .35rem; }
.site-header nav a { padding: .55rem .8rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 700; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: var(--ice-2); color: var(--navy); }
.section-shell { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.hero { position: relative; overflow: hidden; margin-top: clamp(1rem, 3vw, 2.2rem); padding: clamp(3.5rem, 8vw, 7rem) clamp(1.3rem, 7vw, 6rem); border-radius: 32px; background: radial-gradient(circle at 84% 23%, rgba(244,185,66,.95) 0 7%, transparent 7.3%), radial-gradient(circle at 84% 23%, rgba(255,255,255,.15) 0 15%, transparent 15.4%), linear-gradient(135deg, #0b3954 0%, #0e6380 58%, #1b8ca3 100%); color: white; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; right: -5%; bottom: -34%; width: 48%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.05), 0 0 0 84px rgba(255,255,255,.04); }
.eyebrow { margin: 0 0 .8rem; color: var(--ocean); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #b8eef4; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { max-width: 780px; margin-bottom: 1.2rem; font-size: clamp(2.7rem, 7vw, 5.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.04em; }
h3 { margin-bottom: .55rem; }
.hero-lede { position: relative; z-index: 1; max-width: 690px; margin: 0; color: #e5f5f7; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button, button.action-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.15rem; border: 0; border-radius: 12px; text-decoration: none; font-weight: 850; cursor: pointer; }
.button.primary, .action-button.primary { background: var(--gold); color: #352500; }
.button.secondary { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: white; }
.button:hover, button.action-button:hover { transform: translateY(-1px); filter: brightness(1.03); }
.hero-note { position: relative; z-index: 1; max-width: 620px; margin-top: 2rem; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: rgba(0,0,0,.13); color: #e7f6f8; }
.poem-section, .partner-section, .reflection-section { display: grid; grid-template-columns: 72px 1fr; gap: clamp(1rem, 4vw, 3rem); padding-block: clamp(4rem, 8vw, 7rem); }
.section-number { color: var(--line); font-size: 2.6rem; font-weight: 900; line-height: 1; }
.poem-grid, .steps-grid, .rule-grid, .concept-grid { display: grid; gap: 1rem; }
.poem-grid { grid-template-columns: repeat(3, 1fr); }
.poem-grid blockquote { margin: 0; min-height: 260px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(16,38,56,.06); }
.poem-grid blockquote:nth-child(2) { transform: translateY(1.6rem); }
.poem-grid p { font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.75; }
.poem-grid cite { color: var(--ocean); font-family: inherit; font-style: normal; font-weight: 800; }
.partner-section { border-top: 1px solid var(--line); }
.steps-grid { grid-template-columns: repeat(4, 1fr); }
.steps-grid article { padding: 1.25rem; border-radius: 18px; background: var(--ice); }
.steps-grid article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-weight: 900; }
.steps-grid h3 { margin-top: 1.2rem; }
.steps-grid p, .concept-grid p, .rule-grid p { margin-bottom: 0; color: var(--muted); }
.challenge-section { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--navy); color: white; }
.challenge-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.challenge-heading h2 { margin-bottom: .4rem; }
.challenge-heading .eyebrow { color: #8fdae5; }
.challenge-heading p { max-width: 650px; margin: 0; color: #cde7ec; }
.challenge-tip { max-width: 360px; padding: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: #dbeff2; font-size: .92rem; }
.game-app { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.game-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: #f7fbfc; color: var(--ink); box-shadow: 0 25px 70px rgba(0,0,0,.24); }
.game-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: white; }
.slider-group { display: grid; grid-template-columns: auto minmax(140px, 220px) 2rem; align-items: center; gap: .75rem; font-weight: 800; }
.slider-group input { accent-color: var(--ocean); }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.action-button { background: var(--navy); color: white; }
.action-button.ghost { border: 1px solid var(--line); background: white; color: var(--navy); }
.action-button.reveal { background: var(--ice-2); color: var(--navy); }
.action-button[aria-pressed="true"] { outline: 3px solid var(--gold); outline-offset: 2px; }
.dice-stage { padding: clamp(1.2rem, 4vw, 2.5rem); background: radial-gradient(circle at 50% 100%, white, var(--ice)); }
.dice-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.8rem, 3vw, 1.5rem); min-height: 154px; }
.die-wrap { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.die { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: clamp(86px, 10vw, 118px); aspect-ratio: 1; padding: 13px; border: 2px solid #b7cbd2; border-radius: 22%; background: white; box-shadow: inset 0 -8px 14px rgba(13,120,148,.08), 0 10px 18px rgba(16,38,56,.15); }
.pip { width: 43%; aspect-ratio: 1; place-self: center; border-radius: 50%; background: #183241; opacity: 0; transform: scale(.5); transition: .25s ease; }
.pip.visible { opacity: 1; transform: scale(1); }
.xray .pip.bear-pip { background: var(--coral); box-shadow: 0 0 0 4px rgba(229,107,93,.15); }
.xray .pip.hole-pip { background: var(--ocean); box-shadow: 0 0 0 5px rgba(13,120,148,.18); }
.xray .pip.plankton-pip { background: var(--plankton); box-shadow: 0 0 0 4px rgba(142,191,67,.15); }
.die-number { color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.die-facts { display: none; grid-template-columns: repeat(2, auto); gap: .3rem .6rem; align-items: center; padding: .5rem .65rem; border-radius: 10px; background: white; box-shadow: 0 5px 15px rgba(16,38,56,.08); font-size: .8rem; }
.xray .die-facts { display: grid; }
.fact { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.fact img { width: 18px; height: 18px; }
.xray-legend { display: none; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.4rem; color: var(--muted); font-size: .85rem; font-weight: 750; }
.xray .xray-legend { display: flex; }
.legend-dot { display: inline-block; width: 10px; height: 10px; margin-right: .3rem; border-radius: 50%; }
.legend-dot.hole { background: var(--ocean); }
.legend-dot.bear { background: var(--coral); }
.legend-dot.plankton { background: var(--plankton); }
.totals-panel { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.total-item { padding: 1rem; text-align: center; }
.total-item + .total-item { border-left: 1px solid var(--line); }
.total-item span { display: block; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.total-item strong { display: block; min-height: 2.2rem; margin-top: .25rem; color: var(--navy); font-size: 1.6rem; }
.answer-panel { padding: clamp(1.2rem, 4vw, 2rem); }
.answer-panel h3 { margin-bottom: .35rem; }
.answer-panel > p { margin-top: 0; color: var(--muted); }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.answer-grid label { display: grid; gap: .4rem; font-weight: 800; }
.answer-grid input { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); background: white; }
.answer-grid input:focus { outline: 3px solid rgba(244,185,66,.35); border-color: var(--gold); }
.answer-grid input.correct { border-color: var(--plankton); background: #f4faeb; }
.answer-grid input.incorrect { border-color: var(--coral); background: #fff3f1; }
.verify-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.1rem; }
.feedback { min-height: 1.5rem; margin: 0; font-weight: 800; }
.feedback.success { color: #32720b; }
.feedback.try-again { color: #a23c31; }
.rounds { margin-left: auto; color: var(--muted); font-size: .9rem; }
.reflection-intro { max-width: 760px; color: var(--muted); }
.reveal-panel { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.reveal-panel summary { padding: 1.2rem 1.4rem; cursor: pointer; color: var(--navy); font-weight: 900; }
.reveal-panel[open] summary { border-bottom: 1px solid var(--line); }
.rule-grid { grid-template-columns: repeat(4, 1fr); padding: 1.4rem; }
.rule-grid article { padding: 1.2rem; border-radius: 16px; background: var(--ice); }
.rule-grid img { width: 42px; height: 42px; margin-bottom: 1rem; }
.concept-grid { grid-template-columns: repeat(3, 1fr); padding: 0 1.4rem 1.4rem; }
.concept-grid article { padding: 1.2rem; border-top: 3px solid var(--gold); background: #fffaf0; }
.algorithm-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; margin: 0 1.4rem 1.4rem; padding: 1.4rem; border-radius: 16px; background: var(--navy); color: white; }
.algorithm-card .eyebrow { color: #95dce6; }
.algorithm-card pre { overflow-x: auto; margin: 0; padding: 1rem; border-radius: 12px; background: #061f30; color: #d9f5f8; font-size: .95rem; line-height: 1.65; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1rem, 4vw, 4rem); background: #071f2d; color: #cde4e8; }
footer p { margin: 0; font-weight: 800; }
.guide-main { padding: clamp(2rem, 5vw, 4rem) 0 6rem; }
.guide-hero { padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); background: var(--navy); color: white; }
.guide-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.guide-hero p { max-width: 760px; color: #d5ebef; font-size: 1.15rem; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, .8fr); gap: 2rem; margin-top: 2rem; }
.guide-content article, .guide-aside > div, .guide-aside > details { margin-bottom: 1.2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.guide-content h2 { font-size: 1.8rem; letter-spacing: -.025em; }
.guide-content h3 { margin-top: 1.3rem; }
.guide-content li + li { margin-top: .5rem; }
.guide-aside { align-self: start; position: sticky; top: 94px; }
.guide-aside .teacher-only { border-color: #f0d18e; background: #fff9eb; }
.teacher-only summary { cursor: pointer; color: var(--navy); font-weight: 900; line-height: 1.3; }
.teacher-only[open] summary { padding-bottom: 1rem; border-bottom: 1px solid #ecdba9; }
.teacher-only-content { padding-top: .5rem; }
.guide-aside dl { margin: 0; }
.guide-aside dt { margin-top: .8rem; color: var(--muted); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.guide-aside dd { margin: .15rem 0 0; font-weight: 750; }
.answer-key-table { width: 100%; border-collapse: collapse; }
.answer-key-table th, .answer-key-table td { padding: .65rem; border-bottom: 1px solid var(--line); text-align: left; }
.answer-key-table th { color: var(--muted); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.presentation-body { overflow: hidden; background: #071f2d; color: white; }
.presentation-toolbar { position: fixed; z-index: 100; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 58px; padding: .55rem 1rem; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(7,31,45,.94); }
.presentation-toolbar a { color: #d9edf1; text-decoration: none; font-weight: 800; }
.presentation-toolbar nav { display: flex; align-items: center; gap: .5rem; }
.presentation-toolbar button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.08); color: white; cursor: pointer; font-weight: 900; }
.slide-progress { color: #a8cbd2; font-variant-numeric: tabular-nums; }
.slides { height: 100vh; padding-top: 58px; }
.slide { display: none; width: 100%; height: calc(100vh - 58px); overflow-y: auto; padding: clamp(2rem, 6vw, 6rem); }
.slide.active { display: grid; align-content: center; }
.slide-has-reference { position: relative; }
.poem-reference-button { position: absolute; top: clamp(1rem, 2.2vw, 2rem); right: clamp(1rem, 2.2vw, 2rem); z-index: 5; min-height: 42px; padding: .55rem .9rem; border: 2px solid var(--ocean); border-radius: 999px; background: white; color: var(--navy); box-shadow: 0 8px 20px rgba(7,31,45,.18); cursor: pointer; font-weight: 900; }
.poem-reference-button:hover, .poem-reference-button:focus-visible { background: var(--ice); outline: 3px solid var(--gold); outline-offset: 2px; }
.slide-inner { width: min(1200px, 100%); margin: auto; }
.slide .eyebrow { color: #8fdce7; }
.slide h1 { max-width: 950px; font-size: clamp(3.3rem, 8vw, 7.5rem); }
.slide h2 { max-width: 1000px; font-size: clamp(2.5rem, 6vw, 5.4rem); }
.slide p { max-width: 900px; color: #d9ebee; font-size: clamp(1.05rem, 2.2vw, 1.5rem); }
.slide-title { background: radial-gradient(circle at 82% 26%, var(--gold) 0 7%, transparent 7.2%), linear-gradient(135deg, #0b3954, #0c7893); }
.slide-poem { background: #f5fbfc; color: var(--ink); }
.slide-poem .eyebrow { color: var(--ocean); }
.slide-poem h2 { color: var(--navy); }
.slide-poem .poem-grid blockquote { background: var(--white); }
.slide-poem .poem-grid blockquote p { color: var(--ink); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.slide-poem .poem-grid blockquote cite { color: var(--navy); }
.slide-steps { background: #0b3954; }
.slide-steps .steps-grid article,
.slide-steps .steps-grid article h3,
.slide-steps .steps-grid article p { color: var(--navy); }
.slide-game { align-content: start; padding-top: clamp(1.2rem, 3vw, 2.5rem); background: #0a2e43; }
.slide-game h2 { margin-bottom: .35rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.slide-game .game-app { width: min(1180px, 100%); }
.slide-game .dice-stage { padding: 1rem; }
.slide-game .die { width: clamp(66px, 8vw, 95px); }
.slide-game .answer-panel { padding: 1rem 1.3rem; }
.slide-game .answer-panel > p { color: var(--navy); }
.slide-game .feedback { color: var(--ocean); }
.slide-game .feedback.success { color: #32720b; }
.slide-game .feedback.try-again { color: #a23c31; }
.slide-game .game-toolbar { padding: .7rem 1rem; }
.slide-concepts { background: #f8fcfd; color: var(--ink); }
.slide-concepts .eyebrow { color: var(--ocean); }
.slide-concepts .concept-grid { padding: 0; }
.slide-concepts .concept-grid article { border-radius: 12px; color: var(--navy); }
.slide-concepts .concept-grid article p { color: var(--navy); }
.slide-concept-detail { background: #f8fcfd; color: var(--ink); }
.slide-concept-detail .eyebrow { color: var(--ocean); }
.slide-concept-detail h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
.concept-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.concept-detail-grid article { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 7px solid var(--gold); border-radius: 18px; background: white; box-shadow: 0 14px 35px rgba(16,38,56,.08); color: var(--navy); }
.concept-detail-grid article:nth-child(2) { border-top-color: var(--ocean); }
.concept-detail-grid h3 { margin: .65rem 0 1.15rem; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.5rem); }
.concept-detail-grid p { color: var(--navy); font-size: clamp(1rem, 1.55vw, 1.22rem); }
.concept-label { color: var(--ocean); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.slide-concept-single { background: #f8fcfd; color: var(--ink); }
.slide-concept-single .eyebrow { color: var(--ocean); }
.slide-concept-single h2 { margin-bottom: 1.35rem; color: var(--navy); font-size: clamp(2.8rem, 6vw, 5.5rem); }
.concept-single-card { max-width: 1080px; padding: clamp(1.35rem, 3vw, 2.25rem); border: 1px solid var(--line); border-top: 8px solid var(--gold); border-radius: 20px; background: white; box-shadow: 0 16px 40px rgba(16,38,56,.09); }
.concept-single-card > p { max-width: none; margin: 1rem 0; color: var(--navy); font-size: clamp(1.05rem, 1.75vw, 1.32rem); }
.concept-single-card .ced-alignment { margin-top: 0; padding: .9rem 1rem; border-left: 5px solid var(--ocean); border-radius: 0 10px 10px 0; background: var(--ice); font-size: clamp(.92rem, 1.35vw, 1.08rem); }
.construct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.construct-grid > div { padding: 1rem; border-radius: 14px; background: var(--ice); }
.construct-grid h3 { margin-bottom: .5rem; color: var(--navy); font-size: 1.25rem; }
.construct-grid p { margin: 0; color: var(--navy); font-size: clamp(.88rem, 1.18vw, 1.02rem); }
.slide-rule { background: linear-gradient(135deg, #102638, #0d7894); }
.slide-rule .rule-grid { padding: 0; }
.slide-rule .rule-grid article,
.slide-rule .rule-grid article h3,
.slide-rule .rule-grid article p { color: var(--navy); }
.slide-fish { background: #eaf7fa; color: var(--ink); }
.slide-fish .eyebrow { color: var(--ocean); }
.question-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.question-grid article { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 30px rgba(16,38,56,.07); color: var(--navy); }
.question-grid article img { width: 42px; height: 42px; margin-bottom: .8rem; }
.question-grid article p { color: var(--navy); font-size: clamp(.95rem, 1.45vw, 1.12rem); }
.slide-fish .discussion-prompt { max-width: none; margin: 1.3rem 0 0; color: var(--navy); font-weight: 850; text-align: center; }
.slide-algorithm { background: #f8fcfd; color: var(--ink); }
.slide-algorithm .eyebrow { color: var(--ocean); }
.slide-algorithm .algorithm-card { margin: 2rem 0 0; }
.slide-algorithm .algorithm-card p { color: #d9ebee; }
.slide-reflect { background: #eaf7fa; color: var(--ink); }
.slide-reflect .eyebrow { color: var(--ocean); }
.slide-ap-framework { background: #f8fcfd; color: var(--ink); }
.slide-ap-framework .eyebrow { color: var(--ocean); }
.slide-ap-framework h2 { margin-bottom: 1.3rem; color: var(--navy); font-size: clamp(2.6rem, 5.4vw, 5rem); }
.framework-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1rem, 3vw, 2rem); }
.framework-grid > article { padding: clamp(1.2rem, 2.5vw, 1.8rem); border: 1px solid var(--line); border-top: 7px solid var(--gold); border-radius: 18px; background: white; box-shadow: 0 14px 35px rgba(16,38,56,.08); }
.framework-grid > article:last-child { border-top-color: var(--ocean); }
.framework-grid h3 { margin-bottom: 1rem; color: var(--navy); font-size: clamp(1.35rem, 2.3vw, 2rem); }
.framework-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.framework-list li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: .7rem; color: var(--navy); line-height: 1.25; }
.framework-list li span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--ice-2); color: var(--navy); font-size: .82rem; font-weight: 900; }
.framework-list li strong { font-size: clamp(.9rem, 1.35vw, 1.08rem); }
.prompt-card { max-width: 950px; padding: 2rem; border-left: 8px solid var(--gold); background: white; color: var(--ink); box-shadow: var(--shadow); }
.prompt-card p { color: var(--ink); }
.poem-reference-dialog { width: min(980px, calc(100% - 2rem)); max-height: min(760px, calc(100vh - 3rem)); padding: 0; border: 0; border-radius: 22px; background: #f8fcfd; color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.4); }
.poem-reference-dialog::backdrop { background: rgba(4,24,36,.78); backdrop-filter: blur(5px); }
.poem-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); background: white; }
.poem-dialog-header h2 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 4vw, 3rem); }
.poem-dialog-header .eyebrow { color: var(--ocean); }
.poem-dialog-header button { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--ice); color: var(--navy); cursor: pointer; font-size: 1.8rem; line-height: 1; }
.poem-reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem; }
.poem-reference-grid article { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.poem-reference-grid article:nth-child(2) { border-top: 5px solid var(--ocean); }
.poem-reference-grid article:first-child { border-top: 5px solid var(--gold); }
.poem-reference-grid article:last-child { border-top: 5px solid var(--plankton); }
.poem-reference-grid h3 { color: var(--navy); }
.poem-reference-grid p { color: var(--navy); font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.65; }
.poem-reference-grid strong { color: var(--ocean); }
@media (max-width: 900px) { .poem-grid, .rule-grid, .question-grid { grid-template-columns: 1fr 1fr; } .steps-grid, .concept-grid { grid-template-columns: 1fr 1fr; } .poem-grid blockquote:nth-child(2) { transform: none; } .answer-grid { grid-template-columns: 1fr; } .guide-grid { grid-template-columns: 1fr; } .guide-aside { position: static; } }
@media (max-width: 650px) { .site-header { align-items: flex-start; } .brand span:last-child { display: none; } .site-header nav { flex-wrap: wrap; justify-content: flex-end; } .site-header nav a { padding: .45rem .55rem; font-size: .78rem; } .poem-section, .partner-section, .reflection-section { grid-template-columns: 1fr; } .section-number { font-size: 1.4rem; } .poem-grid, .steps-grid, .rule-grid, .concept-grid, .question-grid, .concept-detail-grid, .construct-grid, .poem-reference-grid, .framework-grid, .algorithm-card { grid-template-columns: 1fr; } .challenge-heading { align-items: start; flex-direction: column; } .slider-group { grid-template-columns: auto minmax(90px, 1fr) 1.5rem; width: 100%; } .toolbar-actions { width: 100%; } .toolbar-actions button { flex: 1; } .totals-panel { grid-template-columns: 1fr 1fr; } .total-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); } .total-item:nth-child(4) { border-top: 1px solid var(--line); } .rounds { width: 100%; margin-left: 0; } .presentation-toolbar .presentation-title { display: none; } .slide { padding: 1.5rem; } .slide-has-reference { padding-top: 4.4rem; } .poem-reference-button { top: .8rem; right: .8rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .hero-actions, footer, .game-toolbar, .verify-row { display: none !important; } body { background: white; } .hero, .challenge-section { color: var(--ink); background: white; box-shadow: none; } .hero { padding: 1rem 0; } .hero-note { color: var(--ink); background: transparent; } }
