/* --------------------------------------------------------------------------
   Editorial redesign · Energy Laboratory
   Brand palette: Neon Lime / Electric Blue / Deep Navy / Obsidian / Neutral
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg: #080D1C;
  --bg2: #0A0C0B;
  --panel: #111C35;
  --panel2: #162442;
  --line: rgba(215, 227, 245, .13);
  --text: #F5F7F2;
  --muted: #AAB5C6;
  --soft: #76849A;
  --blue: #1746E8;
  --blue-soft: #7594FF;
  --lime: #B6FF00;
  --orange: #FF9A5B;
  --purple: #B09AFF;
  --green: #B6FF00;
  --cyan: #79D6E8;
  --coral: #FF806D;
  --font: 'Vazirmatn', Tahoma, sans-serif;
  --radius: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --content-width: 1240px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.95;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
}
body::before {
  z-index: 0;
  opacity: .8;
  background:
    radial-gradient(ellipse at 86% 5%, rgba(23, 70, 232, .13), transparent 34%),
    radial-gradient(ellipse at 6% 44%, rgba(182, 255, 0, .035), transparent 32%),
    linear-gradient(rgba(132, 156, 190, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 156, 190, .025) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
}
body > * { position: relative; }
::selection { color: #080D1C; background: var(--lime); }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input { font-family: var(--font); }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.skip-link { background: var(--lime); color: #080D1C; border-radius: 2px; font-weight: 800; }
.page-progress { height: 3px; background: #1B2741; }
.page-progress span { background: linear-gradient(90deg, var(--blue), var(--lime)); }

/* Header and navigation */
.topbar {
  height: 74px;
  padding-inline: max(28px, calc((100vw - var(--content-width)) / 2));
  background: rgba(8, 13, 28, .9);
  border-bottom: 1px solid rgba(182, 255, 0, .12);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.brand { gap: 12px; font-size: 13px; letter-spacing: -.02em; }
.brand small { color: var(--soft); font-size: 9px; letter-spacing: .01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 4px;
  border: 1px solid rgba(182, 255, 0, .55);
  color: var(--lime); background: rgba(182, 255, 0, .055);
  box-shadow: inset 0 0 18px rgba(182, 255, 0, .08), 0 0 24px rgba(182, 255, 0, .06);
  font: 800 21px Arial, sans-serif;
}
.top-nav { align-items: center; gap: clamp(13px, 1.6vw, 23px); color: #AAB5C6; }
.top-nav a {
  position: relative; padding-block: 9px; font-size: 10px; white-space: nowrap;
  transition: color .18s ease;
}
.top-nav a::after {
  content: ""; position: absolute; right: 0; bottom: 1px; width: 0; height: 2px;
  background: var(--lime); transition: width .2s ease;
}
.top-nav a:hover, .top-nav a.active { color: var(--text); }
.top-nav a:hover::after, .top-nav a.active::after { width: 100%; }
.top-nav a.active { color: var(--lime); }
.top-actions { gap: 7px; }
.icon-button, .menu-button {
  width: 38px; height: 38px; border-radius: 4px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: 19px;
  transition: color .18s, border-color .18s, background .18s;
}
.icon-button:hover, .menu-button:hover { border-color: var(--lime); color: var(--lime); background: rgba(182, 255, 0, .06); }
.search-trigger span { display: block; font-size: 26px; line-height: 1; transform: translateY(-2px); }
.presentation-trigger { border-color: rgba(182, 255, 0, .38); color: var(--lime); }
.menu-button { display: none; }
.search-panel {
  position: absolute; top: calc(100% + 10px); left: max(24px, calc((100vw - var(--content-width)) / 2));
  z-index: 120; width: min(470px, calc(100vw - 32px)); padding: 18px;
  background: #101A30; border: 1px solid rgba(182, 255, 0, .28);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
}
.search-panel[hidden] { display: none; }
.search-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.search-panel-head label { color: var(--text); font-size: 12px; font-weight: 700; }
.search-close { border: 0; background: transparent; color: var(--muted); font-size: 23px; width: 30px; height: 30px; cursor: pointer; }
.search-input-wrap { display: flex; align-items: center; gap: 9px; padding: 0 12px; background: #080D1C; border: 1px solid rgba(117, 148, 255, .35); }
.search-input-wrap > span { font-size: 22px; color: var(--lime); }
.search-input-wrap input { width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }
.search-input-wrap input::placeholder { color: #7C899F; }
.search-input-wrap kbd { border: 1px solid var(--line); padding: 0 6px; color: var(--soft); font: 10px Arial; }
.search-results { display: grid; gap: 4px; margin-top: 9px; max-height: 310px; overflow: auto; }
.search-hint, .search-empty { margin: 0; padding: 12px 4px; color: var(--soft); font-size: 10px; }
.search-result {
  display: grid; grid-template-columns: 36px 1fr 16px; align-items: center; gap: 10px;
  width: 100%; padding: 10px 8px; border: 0; border-bottom: 1px solid rgba(215, 227, 245, .08);
  text-align: right; color: var(--text); background: transparent; cursor: pointer;
}
.search-result:hover, .search-result:focus-visible { background: rgba(23, 70, 232, .16); }
.search-result-index { color: var(--lime); font: 10px Arial; direction: ltr; }
.search-result-title { font-size: 11px; font-weight: 700; }
.search-result-desc { display: block; color: var(--soft); font-size: 9px; font-weight: 400; }
.search-result-arrow { color: var(--blue-soft); font-size: 14px; }

/* Editorial hero */
.section-shell { width: min(var(--content-width), calc(100% - 64px)); }
.hero {
  min-height: 730px; padding-top: 60px; padding-bottom: 94px; gap: clamp(35px, 5vw, 78px);
  border-bottom: 1px solid rgba(182, 255, 0, .12);
}
.hero-copy { padding-top: 12px; }
.eyebrow, .section-number { color: var(--lime); font-size: 10px; letter-spacing: .06em; }
.eyebrow-dot { width: 6px; height: 6px; background: var(--lime); box-shadow: 0 0 13px rgba(182, 255, 0, .7); }
.eyebrow-line { background: rgba(182, 255, 0, .38); width: 54px; }
.hero-edition {
  display: flex; align-items: center; gap: 0; width: fit-content; margin-top: 37px;
  border-block: 1px solid var(--line); color: var(--soft); font-size: 9px;
}
.hero-edition span { padding: 5px 13px; border-left: 1px solid var(--line); }
.hero-edition span:first-child { padding-right: 0; color: var(--lime); }
.hero-edition span:last-child { border: 0; direction: ltr; font-family: Arial, sans-serif; }
.hero-kicker { margin-top: 20px; color: #C0CAD8; font-size: 15px; }
.hero h1 {
  margin-top: 3px; margin-bottom: 7px; font-size: clamp(64px, 7.3vw, 100px);
  line-height: 1.16; letter-spacing: -.075em; font-weight: 900;
}
.hero h1 em, .section-heading h2 em, .final-statement h3 em { color: var(--lime); }
.hero-en { color: var(--blue-soft); font-size: 10px; letter-spacing: .25em; font-weight: 700; margin-block: 14px 21px; }
.hero-desc { max-width: 540px; color: #B7C2D1; font-size: 13px; line-height: 2.25; }
.hero-cta { margin-top: 27px; gap: 9px; }
.btn {
  padding: 11px 18px; border-radius: 3px; font-size: 11px; letter-spacing: -.01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { color: #080D1C; background: var(--lime); box-shadow: 0 8px 26px rgba(182, 255, 0, .1); }
.btn-primary:hover { color: #080D1C; background: #D0FF55; }
.btn-quiet, .btn-outline { color: #C1CCDA; border-color: rgba(215, 227, 245, .2); }
.btn-quiet:hover, .btn-outline:hover { color: var(--lime); border-color: var(--lime); background: rgba(182, 255, 0, .04); }
.hero-student {
  position: relative; margin-top: 37px; padding-top: 16px; gap: 10px 19px;
  border-top: 1px solid rgba(182, 255, 0, .2);
}
.student-label { color: var(--lime); font-size: 9px; }
.student-name strong { font-size: 14px; }
.student-meta { color: #AAB5C6; font-size: 9px; }
.student-course { color: var(--soft); font-size: 9px; }
.student-course b { color: #D4DBE4; }
.hero-visual { min-height: 535px; isolation: isolate; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; width: min(82%, 420px); aspect-ratio: 1;
  border: 1px solid rgba(117, 148, 255, .2); border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(23, 70, 232, .025), 0 0 0 76px rgba(23, 70, 232, .018);
}
.hero-glow { background: rgba(23, 70, 232, .18); }
.orbit { border-color: rgba(182, 255, 0, .12); }
.hero-note { border-radius: 3px; background: rgba(17, 28, 53, .95); border-color: rgba(215, 227, 245, .15); }
.note-top b { color: var(--blue-soft); }
.note-bottom b { color: var(--orange); }
.hero-caption { color: #A1AEC2; font-size: 9px; letter-spacing: .02em; }
.hero-side-index { color: var(--lime); font: 700 11px Arial; }
.hero-side-index span { color: var(--soft); }

/* Section rhythm and editorial headings */
.concept-section, .energy-section, .potential-section, .spring-section, .work-section,
.force-section, .conservation-section, .nonconservative-section, .applications-section,
.problems-section, .summary-section, .sources-section {
  padding-top: 106px; padding-bottom: 78px;
  border-top: 1px solid rgba(215, 227, 245, .09);
}
.section-heading {
  max-width: none; margin-bottom: 42px; display: grid; direction: ltr;
  grid-template-columns: 112px minmax(0, 1fr); column-gap: 22px; align-items: start;
}
.section-number { direction: rtl; text-align: right; grid-column: 1; grid-row: 1 / span 2; padding-top: 13px; font-size: 9px; line-height: 1.7; }
.section-heading h2 {
  direction: rtl; text-align: right; grid-column: 2; grid-row: 1; margin: 0 0 11px; max-width: 820px;
  font-size: clamp(38px, 4.5vw, 60px); line-height: 1.28; letter-spacing: -.055em;
}
.section-heading p {
  direction: rtl; text-align: right; grid-column: 2; grid-row: 2; max-width: 690px; color: var(--muted);
  font-size: 11px; line-height: 2.15;
}
.panel, .sim-card {
  background: linear-gradient(145deg, rgba(17, 28, 53, .92), rgba(10, 12, 11, .96));
  border: 1px solid rgba(215, 227, 245, .13); border-radius: 7px;
  box-shadow: 0 16px 55px rgba(0, 0, 0, .17);
}
.concept-lead { border-radius: 3px; border-top: 2px solid var(--lime); padding: 27px; }
.concept-lead:after { border-color: rgba(182, 255, 0, .13); }
.panel-index, .note-index { color: var(--lime); }
.big-symbol { color: rgba(182, 255, 0, .24); font-size: 112px; }
.concept-lead h3 { font-size: 20px; }
.concept-lead p, .note-card p { color: #AEBACB; font-size: 11px; line-height: 2.2; }
.mini-equation { color: var(--lime); }
.note-card {
  border: 0; border-bottom: 1px solid rgba(215, 227, 245, .14); border-radius: 0;
  background: rgba(17, 28, 53, .45); padding: 19px 16px;
}
.note-index { background: rgba(182, 255, 0, .09); border-radius: 2px; }
.note-arrow { color: var(--lime); }
.question-strip {
  border-radius: 3px; border-color: rgba(182, 255, 0, .22);
  background: linear-gradient(90deg, rgba(182, 255, 0, .055), rgba(17, 28, 53, .42));
}
.question-mark { border-radius: 2px; color: var(--lime); background: rgba(182, 255, 0, .1); }
.text-button { color: var(--lime); }
.hidden-answer { color: var(--lime) !important; }

/* Formulas, simulations, and data displays */
.formula-card, .result-band, .conservation-equation, .theorem-box, .accounting,
.path-lab, .drop-simulation, .chart-wrap, .quiz {
  border-radius: 4px;
}
.formula-card { border-color: rgba(255, 154, 91, .3); background: linear-gradient(135deg, rgba(255, 154, 91, .075), rgba(17, 28, 53, .88)); }
.formula-label { color: #C0CAD8; }
.formula { color: #FFF; }
.result-band { background: rgba(17, 28, 53, .8); border-color: var(--line); }
.sim-card { border-radius: 4px; padding: 23px; }
.sim-tag { border-radius: 2px; letter-spacing: .02em; }
.range-control input[type="range"] { accent-color: var(--lime); }
input[type="range"] { accent-color: var(--lime); }
.range-control input[type="range"]::-webkit-slider-thumb { background: var(--lime); }
.range-control input[type="range"]::-moz-range-thumb { background: var(--lime); }
.output-number, .result-band strong { color: var(--lime); }
.result-band small, .sim-caption, .sim-footnote { color: var(--muted); }
.k-bar, .potential-bar, .energy-bar { border-radius: 1px; }
.conservation-equation { border-color: rgba(182, 255, 0, .25); background: rgba(17, 28, 53, .75); }
.conservation-equation .equation-highlight { color: var(--lime); }
.accounting { border-color: rgba(182, 255, 0, .18); }
.chart-heading { align-items: center; }
.chart-legend { color: var(--muted); }
.chart-wrap { border: 1px solid rgba(215, 227, 245, .1); background: rgba(8, 13, 28, .55); }

/* Distinctive content treatments */
.application-tabs { border-bottom: 1px solid var(--line); gap: 0; }
.application-tab {
  border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted);
  background: transparent; padding: 12px 17px; font-size: 10px;
}
.application-tab.active { color: var(--lime); border-bottom-color: var(--lime); background: rgba(182, 255, 0, .035); }
.application-tab:hover { color: var(--text); }
.application-panel { border: 1px solid var(--line); border-radius: 4px; background: rgba(17, 28, 53, .72); }
.application-copy h3 { font-size: 28px; letter-spacing: -.04em; }
.application-kicker { color: var(--lime); }
.application-facts > div { border-top: 1px solid var(--line); padding-top: 10px; }
.application-facts small { color: var(--soft); }
.application-facts b { color: var(--text); }
.problem-list { gap: 0; border-top: 1px solid var(--line); }
.problem-card {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 25px 20px;
  display: grid; grid-template-columns: 115px minmax(0, 1fr); column-gap: 22px;
}
.problem-head { grid-column: 1; grid-row: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 4px; }
.problem-level { color: var(--lime); }
.problem-topic { color: var(--soft); }
.problem-card h3, .problem-card > p, .problem-data, .solution-toggle, .solution { grid-column: 2; }
.problem-card h3 { margin-top: 0; font-size: 19px; }
.problem-card > p { max-width: 800px; }
.problem-data span { border-radius: 2px; background: rgba(23, 70, 232, .12); }
.solution-toggle { justify-self: start; border-radius: 2px; color: var(--lime); }
.solution { border-right: 2px solid var(--lime); background: rgba(17, 28, 53, .45); }
.formula-atlas { gap: 0; border-block: 1px solid var(--line); }
.atlas-item { border-radius: 0; background: transparent; border-bottom: 1px solid rgba(215, 227, 245, .1); padding: 19px 16px; }
.atlas-item strong { color: #F5F7F2; }
.atlas-item p { color: var(--soft); }
.atlas-color.green { background: var(--lime); }
.common-mistakes { gap: 9px; }
.common-mistakes > div { border-top-color: var(--line); }
.common-mistakes b { color: var(--lime); }
.quiz { padding: 29px; border-top: 2px solid var(--lime); }
.quiz-option { border-radius: 3px; background: rgba(8, 13, 28, .72); }
.quiz-option:hover:not(:disabled) { border-color: var(--blue-soft); }
.quiz-option .option-letter { border-radius: 2px; background: rgba(23, 70, 232, .2); color: #AFC1FF; }
.quiz-option.correct { border-color: rgba(182, 255, 0, .55); background: rgba(182, 255, 0, .07); }
.quiz-feedback.correct-text { color: var(--lime); }
.final-statement { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 53px; }
.final-statement > span { color: var(--lime); }
.sources-list { border-top-color: rgba(182, 255, 0, .22); }
.source-item { grid-template-columns: 48px minmax(0, 1fr) 24px; padding: 20px 10px; border-bottom-color: var(--line); }
.source-item:hover { background: rgba(23, 70, 232, .08); }
.source-number { color: var(--lime); }
.source-item b { font-size: 12px; }
.source-item small { color: var(--muted); }
.source-link { color: var(--lime); }
.source-note { color: var(--soft); }

/* Footer */
.footer { background: #060A13; border-top: 1px solid rgba(182, 255, 0, .18); }
.footer-main { max-width: var(--content-width); margin-inline: auto; }
.footer-main .brand-mark { border-radius: 3px; }
.footer-main b { color: var(--text); }
.footer-credit strong { color: var(--lime); }
.back-top { color: var(--lime); border-bottom: 1px solid rgba(182, 255, 0, .35); padding-bottom: 4px; }
.footer-bottom { border-top-color: var(--line); color: var(--soft); }

/* Presentation mode refinements */
.presentation-hud {
  border-radius: 4px; border-color: rgba(182, 255, 0, .35);
  background: rgba(8, 13, 28, .96);
}
.presentation-hud > span { color: var(--lime); }
.presentation-hud button { border-radius: 2px; background: #111C35; }
.presentation-hud button:hover { border-color: var(--lime); color: var(--lime); }
body.presentation-mode main > section { background: #080D1C; }
body.presentation-mode main > section.active-slide { animation: editorialReveal .28s ease both; }
@keyframes editorialReveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Motion and responsive layouts */
.reveal { transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
@media (min-width: 1500px) {
  .hero { min-height: 790px; }
  .hero h1 { font-size: 106px; }
}
@media (max-width: 1120px) {
  .topbar { padding-inline: 26px; }
  .top-nav { gap: 11px; }
  .top-nav a { font-size: 9px; }
  .section-shell { width: min(var(--content-width), calc(100% - 52px)); }
  .hero { gap: 24px; }
}
@media (max-width: 860px) {
  .topbar { height: 68px; }
  .top-nav {
    display: none; position: absolute; top: calc(100% + 1px); right: 14px; left: 14px;
    z-index: 115; padding: 10px; background: #101A30; border: 1px solid var(--line);
    box-shadow: var(--shadow); gap: 2px;
  }
  .top-nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-nav a { padding: 11px 12px; font-size: 11px; border-bottom: 1px solid rgba(215, 227, 245, .07); }
  .top-nav a::after { display: none; }
  .top-nav a.active { background: rgba(182, 255, 0, .06); }
  .menu-button { display: block; }
  .search-panel { left: 14px; top: calc(100% + 9px); }
  .hero { min-height: 0; grid-template-columns: 1fr 1fr; padding-top: 45px; padding-bottom: 65px; }
  .hero h1 { font-size: clamp(57px, 8vw, 78px); }
  .hero-visual { min-height: 400px; }
  .hero-student { gap: 9px 14px; }
  .section-heading { grid-template-columns: 76px minmax(0, 1fr); column-gap: 17px; }
  .problem-card { grid-template-columns: 88px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 82px; }
  .topbar { padding-inline: 16px; }
  .brand { font-size: 11px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .top-actions { gap: 5px; }
  .icon-button, .menu-button { width: 34px; height: 34px; }
  .section-shell { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 28px; padding-bottom: 48px; }
  .hero-visual { min-height: 290px; grid-row: 1; margin-bottom: 10px; }
  .hero-physics { max-width: 390px; }
  .orbit-one { width: 290px; height: 190px; }
  .orbit-two { width: 330px; height: 230px; }
  .hero-copy { grid-row: 2; padding-top: 0; }
  .hero-edition { margin-top: 24px; }
  .hero-kicker { margin-top: 16px; font-size: 13px; }
  .hero h1 { font-size: clamp(54px, 15vw, 70px); }
  .hero-desc { font-size: 12px; }
  .hero-student { margin-top: 27px; }
  .hero-side-index { display: none; }
  .concept-section, .energy-section, .potential-section, .spring-section, .work-section,
  .force-section, .conservation-section, .nonconservative-section, .applications-section,
  .problems-section, .summary-section, .sources-section { padding-top: 66px; padding-bottom: 48px; }
  .section-heading { display: block; direction: rtl; margin-bottom: 28px; }
  .section-number { margin-bottom: 10px; padding-top: 0; }
  .section-heading h2 { font-size: clamp(34px, 9.5vw, 43px); margin-bottom: 9px; }
  .section-heading p { font-size: 10px; }
  .concept-grid, .split-layout, .potential-layout, .spring-layout, .work-layout, .force-grid,
  .path-lab, .drop-grid, .friction-layout, .application-panel { grid-template-columns: 1fr; }
  .concept-lead { min-height: 0; }
  .question-strip { padding: 16px; }
  .sim-card { padding: 17px; }
  .drop-world { min-height: 300px; }
  .drop-world svg { height: 285px; }
  .energy-readouts { grid-template-columns: 1fr 1fr 1fr; }
  .energy-readout { display: block; }
  .energy-readout strong { font-size: 12px; }
  .application-tabs { overflow-x: auto; scrollbar-width: thin; }
  .application-tab { flex: 0 0 auto; padding: 11px 13px; }
  .application-panel { padding: 16px; }
  .application-art { min-height: 190px; }
  .application-facts { grid-template-columns: 1fr 1fr; }
  .problem-card { display: block; padding: 22px 4px; }
  .problem-head { flex-direction: row; align-items: center; margin-bottom: 7px; }
  .problem-card h3 { font-size: 17px; }
  .problem-card > p { font-size: 11px; }
  .formula-atlas { grid-template-columns: 1fr 1fr; }
  .common-mistakes { grid-template-columns: 1fr; }
  .common-mistakes h3 { grid-column: auto; }
  .quiz { padding: 19px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-progress > div { width: 100px; }
  .footer { padding-inline: 20px; }
  .footer-main { align-items: flex-start; }
  .footer-credit { order: 3; width: 100%; }
  .footer-bottom { gap: 10px; flex-wrap: wrap; }
  .presentation-hud { bottom: 10px; gap: 12px; }
  .presentation-hud button { width: 28px; height: 28px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 51px; }
  .hero-visual { min-height: 255px; }
  .hero-note { font-size: 8px; padding: 6px 8px; }
  .note-top { top: 26px; }
  .note-bottom { bottom: 20px; }
  .hero-caption { font-size: 8px; }
  .student-meta { flex-wrap: wrap; }
  .formula-atlas { grid-template-columns: 1fr; }
  .energy-readouts { grid-template-columns: 1fr; }
  .path-readout, .spring-results, .accounting { grid-template-columns: 1fr 1fr; }
  .result-band { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
