/* Geology Masterclass theme "Period Colours, Rock Bands": overrides of the engine styles (assets/theme/site.css).
   Loaded after engine/css/site.css and tokens.css. The engine is designed dark with warm paper sections and
   uppercase mono labels; this theme is a white stratigraphic column: Chart Black text, 2 px black bed contacts
   between sections, 1 px black inner rules, no shadows, no rounded corners, no uppercase, Encode Sans Expanded
   for headings and labels, Charis SIL for text, and the chart colours as data on the period strip that runs down
   the left edge of every page. The first half redraws the engine's inner pages; the second half (classes g-*,
   bed*, band*, ec-*) styles the landing page (theme/home.php). */

/* ------------------------------------------------------------------- base */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font: 400 18px/1.6 var(--serif); font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.3vw, 72px); letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(28px, 2.7vw, 40px); }
h3 { font-size: 20px; line-height: 1.3; }
h4 { font-size: 17px; font-weight: 600; }
h2.h3-look { font: 800 26px/1.2 var(--sans); letter-spacing: -.01em; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
cite { font-style: italic; }
s { text-decoration-thickness: 2px; }
::selection, .light ::selection, .paper ::selection, .auth-card ::selection, .paper-card ::selection, input::selection, textarea::selection { background: var(--q); color: #000; }
:focus-visible { outline: 3px solid var(--j); outline-offset: 3px; }
.wrap { max-width: calc(1280px + 2 * var(--gut)); padding: 0 var(--gut); }
.wrap-narrow { max-width: calc(880px + 2 * var(--gut)); }
.eyebrow, .light .eyebrow, .paper .eyebrow, .paper-card .eyebrow, .auth-card .eyebrow, .reader .eyebrow, .site-footer .eyebrow, .mm-group .eyebrow { font: 600 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: #000; }
.lead, .light .lead { font: 400 21px/1.5 var(--serif); color: #000; max-width: 34em; }
.credit { font: italic 400 13px/1.45 var(--serif); letter-spacing: 0; color: var(--grey); }
.credit a { color: inherit; }
.link-arrow { font: 600 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: #000; border-bottom: 2px solid #000; padding-bottom: 2px; }
.link-arrow:hover { opacity: 1; background: var(--q); }
.link-arrow .icon { width: 1.1em; height: 1.1em; }
.rule, .light .rule { border-top: 2px solid #000; }
.flash { background: var(--j-t); border-bottom: 2px solid #000; color: #000; font-family: var(--sans); font-size: 14px; }
.flash-error { background: var(--pt-t); }
.has-overlay-header .flash { padding-top: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn { min-height: 52px; padding: 0 26px; border: 2px solid #000; border-radius: 0; font: 600 15px/1.2 var(--sans); letter-spacing: 0; background: #fff; color: #000; gap: 10px; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn-light, .btn-dark { background: #000; color: #fff; border-color: #000; }
.btn-light:hover, .btn-dark:hover { background: var(--pm); color: #000; border-color: #000; }
.btn-ghost, .btn-outline { background: #fff; color: #000; border-color: #000; }
.btn-ghost:hover, .btn-outline:hover { background: #000; color: #fff; border-color: #000; }
.btn-white { background: #fff; color: #000; border-color: #fff; }
.btn-white:hover { background: #000; color: #fff; border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn .icon { width: 1.15em; height: 1.15em; }
/* on a dark band or a photograph: white primary, white outline */
.band-dark .btn-ghost, .band-photo .btn-ghost, .page-hero.has-img .btn-ghost, .reader-hero .btn-ghost, .reader-end .btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.band-dark .btn-ghost:hover, .band-photo .btn-ghost:hover, .page-hero.has-img .btn-ghost:hover, .reader-hero .btn-ghost:hover, .reader-end .btn-ghost:hover { background: #fff; color: #000; }
.page-hero.has-img .btn-light, .reader-hero .btn-light, .reader-end .btn-light, .band-dark .btn-light { background: #fff; color: #000; border-color: #fff; }
.page-hero.has-img .btn-light:hover, .reader-hero .btn-light:hover, .reader-end .btn-light:hover, .band-dark .btn-light:hover { background: var(--pm); border-color: var(--pm); color: #000; }
.band-dark :focus-visible, .band-photo :focus-visible, .page-hero.has-img :focus-visible, .reader-hero :focus-visible, .reader-end :focus-visible { outline-color: #fff; }

/* ----------------------------------------------------------------- header */
.site-header, .has-overlay-header .site-header, .has-overlay-header .site-header.is-scrolled { position: sticky; height: var(--header-h); background: #fff; color: #000; border-bottom: 2px solid #000; backdrop-filter: none; -webkit-backdrop-filter: none; padding-left: var(--strip); }
.header-inner { gap: 32px; }
.logo { height: 40px; width: auto; }
.nav { gap: 4px; margin-left: auto; }
.nav-top { font: 600 14px/1 var(--sans); color: #000; padding: 12px 12px; letter-spacing: 0; }
.nav-top::after { width: 6px; height: 6px; border-width: 2px; opacity: 1; margin-left: 9px; transform: translateY(-3px) rotate(45deg); }
.nav-top[aria-expanded="true"], .nav-group.is-open .nav-top, .nav-top:hover { background: var(--q); }
.nav-menu { top: 100%; min-width: 260px; background: #fff; border: 2px solid #000; padding: 8px 0; transform: none; }
.nav-menu a { padding: 8px 18px; font: 400 14px/1.4 var(--sans); color: #000; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--q); color: #000; outline-offset: -3px; }
.header-cta { gap: 20px; }
.nav-login { font: 600 14px/1 var(--sans); color: #000; }
.burger { width: 42px; height: 42px; border: 2px solid #000; border-radius: 0; background: #fff; }
.burger span { height: 2px; background: #000; left: 10px; right: 10px; }
.burger[aria-expanded="true"] { background: var(--q); }
.mobile-menu { background: #fff; color: #000; padding: 20px 0 48px; border-bottom: 2px solid #000; }
.mm-group { border-bottom: 1px solid #000; padding: 18px 0; }
.mm-group .eyebrow { font: 600 15px/1.3 var(--sans); margin-bottom: 8px; }
.mm-group a { font: 400 18px/1.4 var(--serif); padding: 6px 0; }
.mm-cta { grid-template-columns: 1fr; max-width: 420px; }

/* ------------------------------------------------------ the period strip */
/* Every page but the landing page lies in one bed: a strip in the period's colour runs down the left edge
   (theme/header.php prints .page-rail), with the period name running up it and its base age at the foot. */
.page-rail { position: fixed; left: 0; top: var(--header-h); bottom: 0; width: var(--strip); background: var(--bed); color: #000; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 0 14px; }
body:not(.has-overlay-header) main { padding-left: var(--strip); }
/* Unit pages (the reader, public and in the account) carry no strip: a period name beside a lesson read as a
   statement about the lesson's subject (owner, 2026-11-24). --strip 0 also removes the paddings that make room for it. */
body:has(.reader-hero) { --strip: 0px; }
body:has(.reader-hero) .page-rail { display: none; }
.bed-name { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 13px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; }
.bed-age { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 13px/1 var(--sans); white-space: nowrap; }
.bed-age::before { content: ""; display: inline-block; height: 10px; border-left: 2px solid; margin-bottom: 6px; vertical-align: middle; }
.geo-test-badge { left: calc(var(--strip) + 14px); right: auto; }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(72px, 8vw, 112px) 0; }
.section.light { background: #fff; color: #000; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section + .section { border-top: 2px solid #000; }
.section-head { gap: 18px; margin-bottom: 56px; max-width: 860px; }
.section-head p, .light .section-head p { font-size: 18px; color: #000; max-width: 40em; }

/* -------------------------------------------------------------- page hero */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 2px solid #000; background: #fff; color: #000; }
.page-hero h1 { font-size: clamp(40px, 5.3vw, 72px); margin: 14px 0 18px; max-width: 14em; }
.page-hero .lead { max-width: 36em; }
.page-hero.has-img { color: #fff; background: var(--band); border-bottom: 2px solid #000; padding: clamp(80px, 9vw, 130px) 0 clamp(48px, 6vw, 80px); }
.page-hero.has-img::before { filter: none; }
.page-hero.has-img::after { background: linear-gradient(90deg, rgba(20, 20, 20, .84) 0%, rgba(20, 20, 20, .62) 55%, rgba(20, 20, 20, .35) 100%); }
.page-hero.has-img .eyebrow { color: #fff; }
.page-hero.has-img .lead { color: #ededed; }
.page-hero.has-figure .page-hero-figure { margin-top: 36px; border: 2px solid #000; }

/* ------------------------------------------------------- split, checks, cards */
.split-body p, .light .split-body p { color: #000; font-size: 18px; }
.split-media img { border: 2px solid #000; }
.split-media .credit { position: static; display: block; margin-top: 8px; }
.checks { gap: 0; margin: 26px 0 32px; }
.checks li { padding: 12px 0; border-top: 1px solid #000; grid-template-columns: 24px 1fr; }
.checks li:last-child { border-bottom: 1px solid #000; }
.checks .icon, .light .checks .icon { color: #000; stroke-width: 2; width: 18px; height: 18px; margin-top: 5px; }
.checks b { font-weight: 700; }
.cards-3 { border: 0; gap: 48px; }
.aud { background: transparent; border: 0; border-top: 2px solid #000; padding: 22px 0 0; transition: none; }
.aud:hover { background: transparent; color: #000; }
.aud:hover p, .aud:hover li { color: #000; }
.aud > .icon { display: none; }
.aud h3 { font: 800 19px/1.3 var(--sans); margin-bottom: 14px; letter-spacing: 0; }
.aud p { color: #000; font-size: 18px; }
.aud ul { border-top: 0; padding-top: 0; margin-top: 18px; gap: 6px; font: 400 17px/1.45 var(--serif); color: #000; }
.aud li { white-space: normal; align-items: start; }
.aud li .icon { width: 16px; height: 16px; stroke-width: 2.2; color: #000; margin-top: 5px; }
.steps { gap: 0 36px; background: none; border: 0; border-top: 2px solid #000; }
.step { background: none; border-bottom: 1px solid #000; padding: 22px 0; display: grid; grid-template-columns: 84px 1fr; gap: 6px 12px; align-items: start; }
.step-no { margin: 0; display: block; grid-row: 1 / span 2; }
.step .icon { display: none; }
.step-num b { width: auto; height: auto; border-radius: 0; background: none; color: #000; font: 800 48px/1 var(--sans); }
.step h3 { font: 800 19px/1.3 var(--sans); margin: 0; letter-spacing: 0; }
.step p { grid-column: 2; color: #000; font-size: 17px; line-height: 1.5; max-width: 52ch; }
.week { border: 2px solid #000; margin-top: 48px; }
.week > div { border-right: 1px solid #000; }
.week .d { font: 600 11px/1 var(--sans); letter-spacing: .04em; text-transform: none; color: var(--grey); }
.week b { font: 800 17px/1.3 var(--sans); }
.week span { color: #000; }
.week .on { background: var(--q); }
.features { gap: 40px; }
.feature .icon { display: none; }
.feature h3 { font: 800 19px/1.3 var(--sans); margin-bottom: 10px; }
.feature p, .light .feature p { color: #000; font-size: 17px; line-height: 1.55; }
.stats { border-top: 2px solid #000; border-bottom: 2px solid #000; margin: 0 0 56px; }
.stats div { padding: 26px 24px 26px 0; }
.stats b { color: #000; font: 800 48px/1 var(--sans); letter-spacing: -.01em; margin-bottom: 8px; }
.stats span { font: 400 16px/1.4 var(--serif); letter-spacing: 0; text-transform: none; color: #000; }
.cert-shot img, .light .cert-shot img { border: 1px solid #000; box-shadow: none; }
.kv { font-size: 17px; }
.kv dt { font: 600 12px/1.9 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.notice { border-left: 4px solid #000; background: var(--j-t); color: #000; font-size: 16px; }
.notice.warn { border-color: var(--bad); background: var(--pt-t); }
.notice.important { background: var(--pg-t); border: 0; border-left: 4px solid var(--pm); color: #000; }
.notice.important strong { color: #000; }
.contact-faq { background: var(--j-t); border: 0; }
.contact-faq h3 { font: 800 20px/1.3 var(--sans); }
.contact-faq p { color: #000; }
.disclaimer, .section:not(.light) .disclaimer { border: 0; border-top: 2px solid #000; padding: 18px 0 0; font: italic 400 15px/1.5 var(--serif); color: #000; max-width: 70ch; margin-top: 48px; }

/* ------------------------------------------------------------- curriculum */
.unit-group { margin-bottom: 64px; }
.unit-group-head { border-bottom: 2px solid #000; padding-bottom: 12px; }
.unit-group-head h3, .unit-group-head h2.h3-look { font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--sans); letter-spacing: -.01em; }
.unit-row { border-bottom: 1px solid #000; }
a.unit-row:hover, .unit-row:target { background: var(--j-t); box-shadow: -14px 0 0 var(--j-t), 14px 0 0 var(--j-t); }
.unit-row:target { box-shadow: -14px 0 0 var(--j-t), 14px 0 0 var(--j-t), -18px 0 0 #000; }
.unit-row .no { font: 600 13px/1 var(--sans); letter-spacing: 0; color: #000; }
.unit-row h4, .unit-row h3 { font: 800 20px/1.25 var(--sans); letter-spacing: 0; }
.unit-row p { color: #000; font: 400 16px/1.5 var(--serif); }
.unit-row p em { color: var(--grey); }
.unit-more, .sample-pdf { font: 600 14px/1.3 var(--sans); color: #000; }
.unit-more:hover, .sample-pdf:hover { background: var(--q); }
.topic-badges li { font: 400 13px/1.3 var(--sans); color: #000; border: 1px solid #000; background: #fff; border-radius: 0; }
.spot-box { background: #fff; border: 1px solid #000; border-left: 4px solid #000; }
.spot-label { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: #000; }
.spot span { color: #000; font-family: var(--serif); }
.spot b { font: 600 15px/1.3 var(--sans); }
.spot .avatar { aspect-ratio: 1; border-width: 1px; }
.spot .avatar-mono { font: 600 13px/1 var(--sans); }
.sample-cta { background: #000; color: #fff; }
.sample-cta:hover { background: var(--pm); color: #000; }
.sample-cta:hover b, .sample-cta:hover span, .sample-cta:hover .icon { color: #000; }
.sample-cta .icon { color: #fff; }
.sample-cta span { color: var(--mist); font-family: var(--sans); }
.sample-cta b { font: 600 14px/1.3 var(--sans); }
.unit-row .pk { font: 600 12px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.unit-pager { border-top: 2px solid #000; }
.unit-pager a { font: 800 18px/1.3 var(--sans); }
.unit-pager a span { font: 600 12px/1.8 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.unit-related ul { font-size: 17px; }
.learn-card { background: #fff; border: 2px solid #000; }
.learn-card:hover { transform: none; border-color: #000; }
.learn-body h3 { font: 800 20px/1.25 var(--sans); min-height: 0; }
.learn-units { border-top: 1px solid #000; color: #000; }
.sample-pages .pg { border: 1px solid #000; box-shadow: none; }
.sample-card { border-left: 2px solid #000; }
.sample-card h3 { font: 800 22px/1.2 var(--sans); }

/* ------------------------------------------------------------ researchers */
.researchers { gap: 48px 32px; }
.avatar { aspect-ratio: 4 / 5; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); background: var(--panel); border: 2px solid #000; }
.avatar-mono { font: 800 44px/1 var(--sans); color: #000; background: var(--panel); letter-spacing: 0; }
.researcher-body { border-top: 0; padding-top: 14px; margin-top: 0; }
.researcher h3 { font: 800 17px/1.3 var(--sans); margin-bottom: 4px; letter-spacing: 0; }
.researcher-inst { font: italic 400 15px/1.4 var(--serif); color: #000; margin-bottom: 8px; }
.researcher p { font: 400 15px/1.5 var(--serif); color: #000; }
.researcher-body .eyebrow { font: 600 12px/1.3 var(--sans); color: var(--grey); }
.researcher:hover h3 { text-decoration-thickness: 2px; }

/* --------------------------------------------------------------- packages */
.packages { gap: 24px; align-items: stretch; }
.package { display: flex; flex-direction: column; border: 2px solid #000; background: #fff; padding: 28px 26px 30px; }
.package.is-featured { background: var(--pm); border-color: #000; }
.package-flag { position: static; display: inline-block; align-self: flex-start; background: #fff; color: #000; border: 2px solid #000; font: 800 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; padding: 3px 9px; margin: 0 0 12px; }
.package > .eyebrow:not(.package-units-label) { font: 400 14px/1.4 var(--sans); color: #000; }
.package h2, .package h3 { font: 800 21px/1.2 var(--sans); letter-spacing: 0; margin: 4px 0 8px; min-height: 2.4em; }
.package-note { font: 400 16px/1.5 var(--serif); color: #000; min-height: 4.5em; }
.fee { border-top: 2px solid #000; margin: 16px 0 18px; padding-top: 18px; gap: 4px 12px; }
.fee-label { font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: #000; margin-bottom: 8px; }
.fee-now { font: 800 40px/1 var(--sans); letter-spacing: -.02em; color: #000; font-variant-numeric: tabular-nums; }
.fee-cents { font-size: .5em; vertical-align: .7em; }
.fee-was { font: 400 17px/1 var(--sans); color: #000; text-decoration: line-through; text-decoration-thickness: 2px; }
.package .btn-ghost { background: #fff; }
.package.is-featured .btn-light:hover { background: #fff; color: #000; border-color: #000; }
.fee-aid { font: 600 13px/1.4 var(--sans); color: #000; margin: 10px 0 0; text-decoration: underline; text-underline-offset: 3px; }
.fee-aid span { color: #000; }
.package-incl { margin: 22px 0 0; font: 400 16px/1.45 var(--serif); color: #000; gap: 6px; }
.package-incl li { position: relative; padding-left: 24px; }
.package-incl li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 5px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg); color: #000; }
.package-units-label { border-top: 2px solid #000; margin: 26px 0 0; padding-top: 18px; }
.package-units { margin-top: 10px; gap: 0; font-size: 14px; }
.package-units li a { grid-template-columns: 24px 1fr 14px; border: 0; border-top: 1px solid #000; background: none; padding: 8px 0; font: 400 14px/1.3 var(--serif); color: #000; }
.package-units li a::after { color: #000; }
.package-units li a:hover, .package-units li a:focus-visible { background: none; border-color: #000; text-decoration: underline; }
.package-units li a > span { font: 600 13px/1.6 var(--sans); color: #000; font-variant-numeric: tabular-nums; }
.package-units li.gap { margin-top: 0; }
.package-units li.gap a { border-top: 2px solid #000; }
.topic-badge { font: 600 10px/1 var(--sans); letter-spacing: .04em; text-transform: none; color: #000; border-color: #000; padding: 3px 6px; }
.fee-footnote { font: italic 400 15px/1.5 var(--serif); color: #000; text-align: left; margin-top: 32px; }
.aid-note { border: 2px solid #000; background: var(--si-t); }
.aid-note h3 { font: 800 18px/1.3 var(--sans); }
.aid-note p { color: #000; }
.aid-note.is-granted { border-color: var(--ok); background: var(--si-t); }

/* ----------------------------------------------------------- testimonials */
.testimonials { gap: 56px 48px; }
.testimonial, .section:not(.light) .testimonial { border: 0; border-top: 2px solid #000; background: transparent; padding: 22px 0 0; }
.testimonial blockquote { font: 400 18px/1.55 var(--serif); margin: 0 0 22px; }
.testimonial blockquote::before { display: none; }
.testimonial figcaption, .section:not(.light) .testimonial figcaption { border-top: 0; padding-top: 0; font: 400 15px/1.4 var(--serif); color: #000; }
.t-avatar { width: 48px; height: 48px; border: 2px solid #000; }
.testimonial figcaption .t-avatar-mono, .section:not(.light) .testimonial figcaption .t-avatar-mono { background: var(--si); color: #000; font: 600 14px/1 var(--sans); letter-spacing: 0; }
.bed .testimonial figcaption .t-avatar-mono { background: #fff; }
.testimonial figcaption strong { font: 600 14px/1.4 var(--sans); }
.testimonial figcaption span, .testimonial .t-date, .section:not(.light) .testimonial figcaption span, .section:not(.light) .testimonial .t-date { color: #000; }
.testimonial .t-date { font-style: italic; }

/* ------------------------------------------------------------------- blog */
.posts { gap: 40px 32px; }
.post-card-img { aspect-ratio: 16 / 10; border: 2px solid #000; background: var(--panel); margin-bottom: 14px; }
.post-card:hover .post-card-img img { transform: none; }
.post-card .eyebrow { font: 600 13px/1.4 var(--sans); }
.post-card h3 { font: 800 22px/1.2 var(--sans); letter-spacing: -.01em; margin: 6px 0 10px; }
.post-card p, .section:not(.light) .post-card p { font: 400 16px/1.5 var(--serif); color: #000; }
.pager a, .pager span { border: 1px solid #000; color: #000; font-family: var(--sans); font-size: 14px; }
.pager a:hover { background: var(--q); }
.pager .is-current { background: #000; border-color: #000; color: #fff; }
.topic-links a, .section:not(.light) .topic-links a { border: 1px solid #000; border-radius: 0; font: 400 14px/1.3 var(--sans); color: #000; }
.topic-links a:hover { background: var(--q); }
.post-cover { border-bottom: 2px solid #000; }
.post-cover .credit { color: rgba(255, 255, 255, .92); }
.post-meta { border-bottom: 1px solid #000; font-family: var(--sans); font-size: 14px; }
.prose .citation .cite-doi { color: #000; }
.prose .citation .cite-note { color: var(--grey); }

/* -------------------------------------------------------------------- faq */
.faq, .light .faq { border-top: 2px solid #000; }
.faq details, .light .faq details { border-bottom: 1px solid #000; }
.faq summary { font: 600 17px/1.35 var(--sans); padding: 20px 56px 20px 0; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; background: #000; transform: none; font: 0/0 a; transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { background: var(--q); box-shadow: -10px 0 0 var(--q), 10px 0 0 var(--q); }
.faq-a, .light .faq-a { font: 400 18px/1.6 var(--serif); color: #000; max-width: 66ch; padding: 0 0 24px; }
.faq-a a { color: #000; }

/* ------------------------------------------------------------- newsletter */
.newsletter { border: 2px solid #000; background: #fff; padding: 40px clamp(24px, 4vw, 56px); gap: 24px 48px; align-items: end; }
.newsletter h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 12px; }
.newsletter p { color: #000; font-size: 17px; line-height: 1.5; max-width: 46ch; }
.newsletter-form { gap: 0; }
.newsletter-form input[type=email] { border: 2px solid #000; border-right: 0; background: #fff; color: #000; font: 400 17px/1.2 var(--serif); height: 52px; border-radius: 0; padding: 0 16px; }
.newsletter-form input[type=email]::placeholder { color: var(--grey); }
.newsletter-form input[type=email]:focus { border-color: #000; outline: 3px solid var(--j); outline-offset: 0; }
.newsletter-form .btn { height: 52px; min-height: 52px; }
.cta-final h2 { font-weight: 800; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: #fff; color: #000; border-top: 2px solid #000; padding: 72px 0 0 var(--strip); font-size: 15px; }
.footer-grid { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px; }
.logo-footer { height: 44px; margin-bottom: 20px; }
.footer-brand p { color: #000; font-size: 15px; line-height: 1.55; max-width: 28em; }
.footer-contact { color: #000; grid-template-columns: 70px 1fr; }
.footer-contact dt { font: 600 12px/2.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.footer-contact dd, .footer-contact a { color: #000; }
.footer-col .eyebrow { font: 600 14px/1.3 var(--sans); margin-bottom: 12px; }
.footer-col a { color: #000; font: 400 15px/1.4 var(--serif); }
.footer-col a:hover { color: #000; text-decoration: underline; }
.footer-bottom { border-top: 2px solid #000; color: #000; font: 400 13px/1.5 var(--sans); margin-top: 56px; }
.footer-bottom a { color: #000; }
.footer-bottom a:hover { color: #000; text-decoration: underline; }
.footer-note { padding-bottom: 28px; }
.footer-note p { margin: 0; font: italic 400 13px/1.5 var(--serif); color: var(--grey); max-width: 70em; }

/* ------------------------------------------------------------------ forms */
.form { gap: 18px; }
.auth-card { background: #fff; border: 2px solid #000; max-width: 500px; }
.auth-card h1 { font-size: 34px; margin: 10px 0 14px; letter-spacing: -.015em; }
.auth-card p { color: #000; font-size: 16px; }
.field label { font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: #000; margin-bottom: 8px; }
.field input, .field select, .field textarea { border: 2px solid #000; background: #fff; color: #000; border-radius: 0; height: 52px; font: 400 17px/1.3 var(--serif); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #000; outline: 3px solid var(--j); outline-offset: 2px; }
.field input[disabled] { background: var(--panel); color: var(--grey); }
.field .hint { color: var(--grey); font-size: 14px; }
.checkline { font-size: 16px; }
.checkline input, .upgrade-opt input, .aid-form .aid-radios input { accent-color: #000; }
.pw-toggle, .link-button, .auth-card .field .hint a { color: #000; font-family: var(--sans); }
.auth-switch { border-top: 1px solid #000; font-size: 16px; }
.country-picker .cp-flag, .cp-list li img { box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.cp-list { border: 2px solid #000; box-shadow: none; }
.cp-list li.is-active, .cp-list li[role=option]:hover { background: var(--q); }
.verify-form input { background: #fff; border: 2px solid #000; border-right: 0; color: #000; font: 600 17px/1 var(--sans); letter-spacing: .1em; }
.verify-form input:focus { border-color: #000; outline: 3px solid var(--j); outline-offset: 0; }
.credential { background: #fff; border: 2px solid #000; border-top: 2px solid #000; }
.credential .eyebrow { color: #000; }
.credential .valid { color: var(--ok); border: 2px solid var(--ok); font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.credential .facts { border-top: 2px solid #000; border-bottom: 2px solid #000; }
.credential .facts b { font: 800 20px/1.2 var(--sans); }
.credential th { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); border-bottom: 2px solid #000; }
.credential td { border-bottom: 1px solid #000; }
.credential td:first-child { color: var(--grey); font: 600 13px/1 var(--sans); }
.copyline input { background: #fff; border: 2px solid #000; border-right: 0; color: #000; font: 400 14px/1 var(--mono-real); }
.doc-card { background: #fff; border: 2px solid #000; }
.doc-card img { border: 1px solid #000; }
.doc-card h3 { font: 800 20px/1.3 var(--sans); }
.doc-card p { color: #000; }
.coupon-box summary { color: #000; font-family: var(--sans); font-size: 14px; }
.coupon-form input { border: 2px solid #000; font: 600 14px/1.2 var(--sans); letter-spacing: .06em; }
.coupon-code { color: var(--grey); font: 600 13px/1 var(--sans); }
.tag-chip { background: #000; color: #fff; font-family: var(--sans); font-size: 13px; }
.rating-opt span { border: 2px solid #000; background: #fff; }
.rating-opt b { font: 800 22px/1 var(--sans); }
.rating-opt small { font: 400 12px/1.2 var(--sans); color: var(--grey); }
.rating-opt:hover span { border-color: #000; background: var(--q); }
.rating-opt input:checked + span { background: #000; border-color: #000; color: #fff; }
.rating-opt input:checked + span small { color: var(--mist); }
.rating-opt input:focus-visible + span { outline-color: var(--j); }
.upgrade-opt { border: 2px solid #000; }
.upgrade-opt:has(input:checked) { background: var(--j-t); box-shadow: none; }
.upgrade-opt b { font: 800 18px/1.3 var(--sans); }
.upgrade-badge { background: var(--pm); color: #000; font: 600 11px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.upgrade-price strong { font: 800 20px/1 var(--sans); }

/* ---------------------------------------------------------------- account */
.account-head p { color: #000; }
.tabs { box-shadow: inset 0 -2px 0 #000; gap: 28px; }
.tabs a { font: 600 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); border-bottom: 3px solid transparent; padding-bottom: 12px; }
.tabs a.is-active, .tabs a:hover { color: #000; border-color: #000; }
.account-body .wrap > .notice { background: var(--j-t); color: #000; border: 0; border-left: 4px solid #000; }
.account-body .wrap > .notice a, .account-body .wrap > .notice .link-button { color: #000; }
.account-body .wrap > .notice-bad { border-left-color: var(--bad); background: var(--pt-t); }
.save-ok { color: var(--ok); }
.save-bad { color: var(--bad); }
.dialog { border: 2px solid #000; border-top: 6px solid #000; box-shadow: none; }
.dialog h2 { font: 800 24px/1.2 var(--sans); }
.dialog p { color: #000; }
.dialog-back { background: rgba(0, 0, 0, .5); }
.progress-strip { border: 2px solid #000; }
.progress-strip div { border-right: 1px solid #000; }
.progress-strip b { font: 800 30px/1.1 var(--sans); }
.progress-strip span { font: 600 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.bar { background: var(--panel-2); }
.bar i { background: #000; }
.ucard { background: #fff; border: 2px solid #000; }
.ucard.is-open { background: var(--j-t); border-color: #000; }
.ucard.is-locked { background: var(--panel); border-color: var(--panel-2); }
.ucard.is-locked h3, .ucard.is-locked .ucard-no { color: var(--dim); }
.ucard-no { font: 800 32px/1 var(--sans); color: #000; }
.ucard-no small { font: 600 10px/1 var(--sans); letter-spacing: .06em; color: var(--grey); }
.ucard h3 { font: 800 20px/1.3 var(--sans); letter-spacing: 0; }
.ucard-meta, .ucard-score span, .ucard-more { color: var(--grey); font-family: var(--sans); font-size: 13px; }
.ucard-more:hover { color: #000; }
.ucard-score b { font: 800 22px/1 var(--sans); }
.ucard-score:not(.is-done) b { color: var(--dim); }
.pill { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; border: 2px solid #000; color: #000; }
.pill.ok { border-color: var(--ok); color: var(--ok); }
.pill.wait { color: var(--grey); border-color: var(--grey); }
.pill.bad { border-color: var(--bad); color: var(--bad); }
.exam-result.is-failed { border-color: var(--bad); }
.exam-result.is-passed { border-color: var(--ok); }
.exam-score { color: #000; font: 800 48px/1 var(--sans); }
.exam-score small, .exam-score span { color: var(--grey); font-family: var(--sans); }
.verdict { font: 600 14px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.verdict.bad { background: var(--bad); }
.verdict.ok { background: var(--ok); }
.score { font: 800 18px/1 var(--sans); }
.panel { background: #fff; border: 2px solid #000; }
.panel h2 { font: 800 24px/1.2 var(--sans); }
.panel h3 { font: 800 19px/1.3 var(--sans); }
.panel p { color: #000; }
.panel.is-key { border-color: #000; background: var(--j-t); }
.paper-card { background: #fff; border: 2px solid #000; }
.paper-card h2 { font: 800 26px/1.2 var(--sans); }
.icon-link { font-family: var(--sans); font-size: 14px; font-weight: 600; }

/* ------------------------------------------------------------------- quiz */
.quiz-head { border-bottom: 2px solid #000; }
.quiz-head p { color: #000; }
.q { background: #fff; border: 2px solid #000; }
.q-no { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.q-text { font: 700 19px/1.4 var(--serif); }
.opt { border: 1px solid #000; font-size: 17px; }
.opt:hover { border-color: #000; background: var(--q); }
.opt .k { border: 2px solid #000; font: 600 13px/1 var(--sans); }
.opt:has(input:checked) { border-color: #000; background: var(--j-t); }
.opt:has(input:checked) .k { background: #000; color: #fff; border-color: #000; }
.opt:has(input:focus-visible) { outline-color: var(--j); }
.opt.is-right { border-color: var(--ok); background: var(--si-t); }
.opt.is-wrong { border-color: var(--bad); background: var(--pt-t); }
.q.is-correct { border-left: 6px solid var(--ok); }
.q.is-incorrect { border-left: 6px solid var(--bad); }
.explain { background: var(--panel); border-left: 3px solid #000; color: #000; font-size: 16px; }
.explain b { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.quiz-foot { background: rgba(255, 255, 255, .96); border-top: 2px solid #000; backdrop-filter: none; }
.quiz-foot .state { font: 600 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.scorebox { border: 2px solid #000; }
.scorebox .big { font: 800 48px/1 var(--sans); }
.scorebox .big small { color: var(--grey); font-size: 22px; }
.timer { background: #fff; border: 2px solid #000; font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.timer b { font: 800 26px/1 var(--sans); letter-spacing: 0; }
.timer.is-low { border-color: var(--bad); color: var(--bad); }
.breakdown td, .breakdown th { border-bottom: 1px solid #000; }
.breakdown th { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); border-bottom: 2px solid #000; }
.q-figure img { filter: none; mix-blend-mode: normal; }

/* ------------------------------------------------------------ unit reader */
.reader-hero { background: var(--band); color: #fff; border-bottom: 2px solid #000; }
.reader-hero img.bg { filter: brightness(.5); }
.reader-hero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); }
.reader-hero .eyebrow { color: #fff; }
.reader-hero .sub { font: italic 400 22px/1.4 var(--serif); color: #ededed; }
.reader-hero .credit { color: rgba(255, 255, 255, .85); }
.reader { background: #fff; color: #000; }
.toc { font-family: var(--sans); font-size: 13px; }
.toc a { border-left: 2px solid var(--panel-2); color: var(--grey); }
.toc a:hover, .toc a.is-active { color: #000; border-color: #000; }
.unit-text { font-size: 18px; line-height: 1.65; }
.unit-text h2 { font: 800 28px/1.2 var(--sans); letter-spacing: -.01em; border-bottom: 2px solid #000; }
.unit-text h3 { font: 800 21px/1.3 var(--sans); letter-spacing: 0; }
.unit-text h4 { font: 600 17px/1.3 var(--sans); font-style: normal; }
.unit-text .secno { font: 600 .6em/1 var(--sans); color: var(--grey); }
.unit-text code { font: 400 .88em var(--mono-real); background: var(--panel); }
.unit-text .fn, .unit-text figcaption { color: var(--grey); font-style: italic; }
.unit-text figcaption b { color: #000; font-style: normal; }
.unit-text table { border: 2px solid #000; }
.unit-text th { border-bottom: 2px solid #000; font-family: var(--sans); font-size: 14px; }
.unit-text strong.term { text-decoration-thickness: 2px; }
.box { background: #fff; }
.box-kind { font: 600 12px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.box-title { font: 600 17px/1.3 var(--sans); }
.box-keyequation { --bx: #1c8a9e; --bx-l: #d9f0f4; }
.box-law, .box-laws { --bx: #812b92; --bx-l: #f0e3f3; }
.box-derivation { --bx: #141414; --bx-l: #ededed; }
.box-derivation .box-head { color: #000; }
.box-example { --bx: #3e7f72; --bx-l: #e3eeec; }
.box-excursion { --bx: #a86f22; --bx-l: #f7ebdd; }
.box-research { --bx: #00765a; --bx-l: #ddf1ea; }
.box-research .box-kind, .box-research .box-inst { color: #d5efe6; }
.box-research .box-name { font: 800 20px/1.2 var(--sans); }
.box-research .box-inst { font: italic 400 16px/1.3 var(--serif); }
.box-keypoints { --bx: #5e7f3a; --bx-l: #eaf1e2; }
.box-keypoints .box-kind, .box-questions .box-kind { color: #3f5a24; }
.box-questions .box-kind { font: 600 17px/1.4 var(--sans); }
.box-check { --bx: #c9204a; --bx-l: #fedfe6; }
.box-check .check-result { border-top-color: rgba(201, 32, 74, .3); }
.box-check .opt { border-color: #000; }
.box-interactive { --bx: #141414; --bx-l: #ededed; }
.box-interactive .ia-caption { color: var(--grey); }
.ia-slider input[type=range] { accent-color: #000; }
.ia-btn { border: 1px solid #000; font-family: var(--sans); }
.ia-btn.on { background: #000; border-color: #000; }
.ia-stage { border: 1px solid #000; }
.ia-val, .ia-readout b { font-family: var(--mono-real); }
.paperlink { border-top: 1px solid #000; }
.paperlink span { font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.reader-end { background: var(--band); color: #fff; border: 2px solid #000; }
.reader-end h3, .reader-end h2 { font: 800 24px/1.2 var(--sans); }
.preview-fade::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%); }
.lit-list li { border-bottom: 1px solid #000; }
.lit-list a.t { font: 800 19px/1.3 var(--sans); }
.lit-list .m { color: var(--grey); font-family: var(--sans); font-size: 13px; }

/* ------------------------------------------------------- prose and pages */
.prose { font-size: 18px; line-height: 1.65; }
.prose h2 { font: 800 28px/1.2 var(--sans); letter-spacing: -.01em; }
.prose h3 { font: 800 20px/1.3 var(--sans); letter-spacing: 0; }
.prose blockquote { font: italic 400 20px/1.5 var(--serif); border-left: 2px solid #000; }
.legal-updated { font: 600 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.legal-box { background: #fff; border: 2px solid #000; }
.prose th { font: 600 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; border-bottom: 2px solid #000; }
.prose td { border-bottom: 1px solid #000; }
.stack-table tr { border-color: #000; }
.stack-table td::before { font: 600 12px/1.9 var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.resource { border-bottom: 1px solid #000; }
.resource:hover { background: var(--q); }
.resource-name { font: 800 19px/1.3 var(--sans); letter-spacing: 0; }
.resource p { color: #000; font-size: 16px; }
.resource-host { font: 600 14px/1 var(--sans); color: #000; }
.resource-note { color: #000; font-size: 16px; }
.resource-note .icon { color: #000; }
.eq-card { background: #fff; border: 2px solid #000; }
.eq-card h4, .eq-card h3 { font: 600 16px/1.3 var(--sans); }
.eq-card p { color: #000; font-size: 15px; }
.eq-toc { border: 2px solid #000; }
.eq-toc a { font-size: 16px; }
.eq-toc a span { font: 600 13px/1 var(--sans); color: var(--grey); }
.pathway-map td, .pathway-map th { border-bottom: 1px solid #000; font-size: 15px; }
.pathway-map th { font: 600 13px/1.3 var(--sans); border-bottom: 2px solid #000; }
.aid-h1 { font-size: clamp(34px, 4.4vw, 56px); }
.aid-body > p { color: #000; }
.aid-contact { color: var(--grey) !important; }
.aid-apply-aside { border-top: 2px solid #000; color: #000; font-size: 16px; }
.aid-apply-aside h3 { font: 800 20px/1.3 var(--sans); }
.aid-apply-aside a { color: #000; }
.aid-form fieldset { background: #fff; border: 2px solid #000; }
.aid-form legend { font: 800 22px/1.2 var(--sans); }
.aid-form legend span { background: #000; color: #fff; font: 600 14px/34px var(--sans); }
.aid-location { background: var(--panel); border: 1px solid #000; font-family: var(--sans); font-size: 15px; }
.aid-location em { color: var(--grey); }
.aid-err { color: var(--bad); font-family: var(--sans); }
.aid-submit span { color: var(--grey); }
.aid-wrong summary { color: var(--grey); }

/* ----------------------------------------------------------------- cookie */
.cookie { background: #fff; color: #000; border: 2px solid #000; box-shadow: none; left: calc(var(--strip) + 20px); font-family: var(--sans); font-size: 14px; }
.cookie p { color: #000; }
.cookie a { color: #000; }

/* ================================================================ home page */
/* The landing page (theme/home.php): a stratigraphic column. The hero shows Earth history to scale; every section
   below is a bed with its period colour on the left strip, the base age at its lower contact, 2 px black contacts,
   a pale tint of its colour or a dark band as ground, and close-up photographs of rock inside the sections. */
.g-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.g-text-link { font: 600 15px/1.3 var(--sans); color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.g-text-link:hover { background: var(--q); color: #000; }
.g-head { max-width: 860px; margin-bottom: 56px; }
.g-head p { margin: 18px 0 0; max-width: 40em; font-size: 18px; }
.g-more { margin: 48px 0 0; }
.g-more-link { margin: 26px 0 0; }
.g-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.g-photo { margin: 0; }
.g-photo img { width: 100%; border: 2px solid #000; }
.g-photo figcaption { font: italic 400 13px/1.45 var(--serif); margin-top: 8px; color: var(--grey); }
.g-photo figcaption a, .band-credit a, .g-intro-photo figcaption a { color: inherit; }
.g-points { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 2px solid #000; }
.g-points b { font: 600 16px/1.3 var(--sans); display: block; margin-bottom: 4px; }
.g-ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.g-ticks li { position: relative; padding-left: 24px; margin-bottom: 6px; line-height: 1.45; }
.g-ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 5px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); }

/* 1. hero */
.g-hero { padding-left: var(--strip); background: #fff; color: #000; }
.g-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); align-items: center; padding-top: 36px; padding-bottom: 36px; }
.g-hero-copy { grid-column: 1 / span 7; padding-right: 12px; }
.g-hero h1 { margin: 0; font-size: inherit; letter-spacing: 0; }
.g-hero-name { display: block; font: 600 20px/1.3 var(--sans); margin-bottom: 26px; }
.g-hero-headline { display: block; font: 800 clamp(40px, 5.3vw, 78px)/1.04 var(--sans); letter-spacing: -.025em; max-width: 11ch; }
.g-hero-sub { font-size: 22px; line-height: 1.5; max-width: 34em; margin: 30px 0 0; }
.g-hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 30px 0 0; padding: 0; font: 600 14px/1.3 var(--sans); }
.g-hero-checks li { display: flex; align-items: center; gap: 9px; }
.g-hero-checks li::before { content: ""; width: 12px; height: 6px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg) translateY(-2px); }
.g-earth { grid-column: 8 / span 5; margin: 0; display: flex; flex-direction: column; height: calc(100vh - var(--header-h) - 72px); height: calc(100svh - var(--header-h) - 72px); min-height: 600px; max-height: 900px; }
.ec-figure { flex: 1; display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: 62px minmax(70px, 104px) minmax(44px, 1fr) minmax(170px, 230px); min-height: 0; position: relative; }
.ec-axis { list-style: none; position: relative; margin: 0; padding: 0; font: 600 11px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.ec-axis li { position: absolute; right: 8px; transform: translateY(-50%); white-space: nowrap; }
.ec-axis li::after { content: ""; position: absolute; right: -8px; top: 50%; width: 5px; border-top: 2px solid; }
.ec-axis li:first-child { transform: none; }
.ec-axis li:last-child { transform: translateY(-100%); }
.ec-main { display: flex; flex-direction: column; border: 2px solid #000; min-height: 0; }
.ec-phan { flex: 0 0 11.8%; display: flex; flex-direction: column; border-bottom: 2px solid #000; }
.ec-phan span { display: block; flex-basis: 0; min-height: 0; }
.ec-eon { flex-grow: 0; flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 9px; text-decoration: none; font: 600 12px/1.25 var(--sans); border-bottom: 2px solid #000; overflow: hidden; position: relative; color: #000; }
.ec-eon:last-child { border-bottom: 0; }
.ec-dark { color: #fff; }
.ec-go { font: italic 400 13px/1.2 var(--serif); opacity: 0; transition: opacity .15s; }
.ec-eon:hover .ec-go, .ec-eon:focus-visible .ec-go { opacity: 1; }
.ec-eon:hover, .ec-eon:focus-visible { box-shadow: inset 0 0 0 4px var(--q); }
.ec-fanwrap { position: relative; min-height: 0; }
.ec-fan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ec-fan-label { position: absolute; right: 10px; top: 34%; writing-mode: vertical-rl; transform: rotate(180deg); font: italic 400 13px/1.2 var(--serif); white-space: nowrap; }
.ec-fan path { fill: none; stroke: #000; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ec-zoom { list-style: none; display: flex; flex-direction: column; border: 2px solid #000; min-height: 0; margin: 0; padding: 0; }
.ec-zoom li { flex: 1 1 0; min-height: 0; display: flex; border-bottom: 1px solid #000; }
.ec-zoom li:last-child { border-bottom: 0; }
.ec-zoom a, .ec-zoom li > span { flex: 1; display: grid; grid-template-columns: 1fr auto; align-content: center; column-gap: 8px; padding: 2px 10px; text-decoration: none; font: 400 12px/1.3 var(--sans); min-height: 0; overflow: hidden; color: #000; }
.ec-zoom b { font-weight: 600; }
.ec-zoom i { font-style: normal; font-variant-numeric: tabular-nums; }
.ec-zoom em { grid-column: 1 / -1; font: italic 400 13px/1.3 var(--serif); justify-self: start; padding: 0 4px; margin-left: -4px; }
.ec-zoom a.dark, .ec-zoom li > span.dark { color: #fff; }
.ec-zoom a:hover em, .ec-zoom a:focus-visible em { background: var(--q); color: #000; outline: 1px solid #000; }
.ec-zoom a:hover, .ec-zoom a:focus-visible { box-shadow: inset 0 0 0 3px #000; }
.ec-zoom a:focus-visible { outline-offset: -3px; }
.g-earth figcaption { font: italic 400 15px/1.45 var(--serif); margin-top: 14px; padding-left: 62px; max-width: 36em; }
/* deposition, once on load */
@keyframes settle { from { transform: translateY(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.dep { animation: settle .42s cubic-bezier(.25, .9, .35, 1) both; animation-delay: var(--d, 0s); }
.ec-fan { animation: draw .45s ease-out 1.42s both; }

/* the beds */
.bed { position: relative; padding: 108px 0 112px var(--strip); border-top: 2px solid #000; background: var(--ground, #fff); color: #000; }
.bed-dark { color: #fff; }
.bed-col { position: absolute; left: 0; top: 0; bottom: 0; width: var(--strip); background: var(--bed); color: #000; padding: 26px 0 96px; }
.bed-stick { position: sticky; top: calc(var(--header-h) + 26px); display: flex; justify-content: center; }
.bed-col .bed-age { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) rotate(180deg); }
.bed-line { display: none; }
.bed-thin { padding: 34px 0 30px var(--strip); }
.bed-thin .bed-col { padding: 8px 0 0; }
.bed-thin .bed-stick { position: static; }
.bed-thin .bed-name { font-size: 11px; }
.bed-thin .bed-age { display: none; }
.band-dark { background: var(--band); color: #fff; }
.band-dark .g-head p { color: #e6e6e6; }
.band-photo { background: var(--band); color: #fff; isolation: isolate; }
.band-bg { position: absolute; top: 0; bottom: 0; left: var(--strip); right: 0; z-index: 0; overflow: hidden; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, .74) 0%, rgba(20, 20, 20, .6) 55%, rgba(20, 20, 20, .7) 100%); }
.band-photo > .wrap { position: relative; z-index: 1; }
.band-photo > .bed-col { z-index: 1; }
.band-photo > .bed-line { position: relative; z-index: 1; color: #fff; }
.band-photo a:not(.btn) { color: #fff; }
.band-photo .g-head p, .band-photo .g-features p { color: #ededed; }
.band-credit { font: italic 400 13px/1.45 var(--serif); color: var(--mist); margin: 64px 0 0; max-width: 70ch; }

/* 2. alumni */
.g-alumni-row { display: flex; align-items: center; gap: 40px; }
.g-alumni-h { font: 600 15px/1.3 var(--sans); letter-spacing: 0; white-space: nowrap; flex: none; margin: 0; }
.g-marquee { overflow: hidden; display: flex; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.g-marquee-set { list-style: none; display: flex; align-items: center; gap: 56px; padding: 0 56px 0 0; margin: 0; flex: none; animation: g-marquee 70s linear infinite; }
.g-marquee-set img { height: 30px; width: auto; max-width: 170px; filter: grayscale(1) brightness(0); }
@keyframes g-marquee { to { transform: translateX(-100%); } }
.g-marquee:hover .g-marquee-set { animation-play-state: paused; }

/* 3. about the program: the photograph runs off the right edge */
.g-intro-band { display: grid; grid-template-columns: minmax(var(--gut), 1fr) minmax(0, 520px) 64px minmax(0, 600px) minmax(var(--gut), 1fr); align-items: center; }
.g-intro-text { grid-column: 2; grid-row: 1; }
.g-intro-text h2 { margin-bottom: 26px; }
.g-intro-text p { max-width: 64ch; }
.g-intro-photo { grid-column: 4 / 6; grid-row: 1; margin: 0; }
.g-intro-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 16% 60%; border: 2px solid #000; border-right: 0; }
.g-intro-photo figcaption { font: italic 400 13px/1.45 var(--serif); color: var(--grey); margin-top: 8px; padding-right: var(--gut); max-width: 62ch; }
.g-intro-band .g-points { grid-column: 2 / 5; grid-row: 2; margin-top: 56px; }

/* 4. audiences */
.g-aud { border-top: 2px solid #000; padding-top: 22px; display: flex; flex-direction: column; }
.g-aud h3 { font-size: 19px; margin-bottom: 14px; }
.g-aud p { margin: 0; }
.g-aud .g-ticks { margin-top: auto; padding-top: 18px; }

/* 5. how it works */
.g-how-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.g-steps { grid-column: 1 / span 7; list-style: none; margin: 0; padding: 0; border-top: 2px solid #000; }
.g-steps li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid #000; }
.g-step-n { font: 800 48px/1 var(--sans); }
.g-steps h3 { font-size: 19px; margin-bottom: 6px; }
.g-steps p { margin: 0; max-width: 52ch; }
.g-how-photo { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 30px); }

/* 6. topics: three photograph cards on the Jurassic tint */
.g-groups { gap: 28px; align-items: start; }
.g-group { background: #fff; border: 2px solid #000; }
.g-group .g-group-photo { margin: 0; position: relative; }
.g-group .g-group-photo img { aspect-ratio: 4 / 3; object-fit: cover; border: 0; border-bottom: 2px solid #000; }
.g-group .g-group-photo figcaption { margin: 0; padding: 10px 22px 0; font-size: 12.5px; }
.g-scale-note { position: absolute; left: 12px; top: 12px; background: #fff; color: #000; border: 2px solid #000; padding: 3px 9px; font: 600 12px/1.3 var(--sans); font-style: normal; }
.g-group-body { padding: 16px 22px 24px; }
.g-group-range { font: 600 13px/1.3 var(--sans); margin: 0 0 6px; }
.g-group h3 { font-size: 20px; margin-bottom: 12px; }
.g-group-body > p:not(.g-group-range) { font-size: 17px; }
.g-units { list-style: none; border-top: 2px solid #000; margin: 16px 0 0; padding: 0; }
.g-units li { border-bottom: 1px solid #000; }
.g-units button { all: unset; box-sizing: border-box; display: flex; gap: 12px; width: 100%; padding: 11px 32px 11px 0; cursor: pointer; font: 400 17px/1.35 var(--serif); position: relative; color: #000; }
.g-units button::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 2px; background: #000; }
.g-units button::before { content: ""; position: absolute; right: 11px; top: calc(50% - 5px); width: 2px; height: 12px; background: #000; }
.g-units button[aria-expanded="true"]::before { display: none; }
.g-units button:focus-visible { outline: 3px solid var(--j); outline-offset: 2px; }
.g-units button[aria-expanded="true"] { box-shadow: inset 6px 0 0 var(--j); padding-left: 16px; }
.g-units .g-un { font: 600 14px/1.5 var(--sans); min-width: 24px; font-variant-numeric: tabular-nums; }
.g-units p { font-size: 16px; line-height: 1.5; margin: 0 0 14px; padding: 0 0 0 36px; max-width: 60ch; }

/* 7. research: the dark band */
.band-dark .researchers { gap: 48px 32px; }
.band-dark .avatar { border-color: var(--band); }
.band-dark .researcher h3 { color: #fff; }
.band-dark .researcher-inst, .band-dark .researcher p { color: var(--mist); }
.band-dark .researcher-body .eyebrow { color: #fff; }
.band-dark .disclaimer { border-top-color: #fff; color: var(--mist); }

/* 9. certificate */
.g-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.g-split-text { grid-column: 1 / span 6; }
.g-split-flip .g-split-text { grid-column: 8 / span 5; }
.g-split-text h2 { margin-bottom: 26px; }
.g-split-text p { max-width: 64ch; }
.g-split-text .g-points { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.g-cert-shot { grid-column: 1 / span 6; margin-right: 10px; }
.g-cert-shot img { width: 100%; height: auto; border: 1px solid #000; background: #fff; }

/* 10. sample unit */
.g-sample-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.g-pages { grid-column: 1 / span 6; position: relative; display: block; aspect-ratio: 595 / 842; max-width: 470px; margin-left: 56px; text-decoration: none; color: #000; }
.g-page { position: absolute; inset: 0; overflow: hidden; background: #fff; border: 1px solid #000; padding: 7% 8%; display: flex; flex-direction: column; font-family: var(--serif); width: 100%; height: 100%; }
img.g-page { padding: 0; object-fit: cover; object-position: top; }
.g-pg3 { transform: translate(-56px, 30px) rotate(-3deg); }
.g-pg2 { transform: translate(-28px, 14px) rotate(-1.5deg); }
.g-pg1 { transition: transform .2s; }
a.g-pages:hover .g-pg1, a.g-pages:focus-visible .g-pg1 { transform: translateY(-4px); }
.g-pg-run { display: flex; justify-content: space-between; font: 600 9px/1.3 var(--sans); border-bottom: 1px solid #000; padding-bottom: 5px; }
.g-pg-unit { font: 600 12px/1.3 var(--sans); margin-top: 9%; }
.g-pg-title { font: 800 clamp(20px, 2.3vw, 30px)/1.05 var(--sans); margin: 6px 0 14px; letter-spacing: -.01em; }
.g-pg-sum { font-style: italic; font-size: 12px; line-height: 1.45; border-left: 2px solid #000; padding-left: 10px; margin-bottom: 16px; }
.g-pg-qh { font: 600 11px/1.3 var(--sans); margin: 8px 0 6px; border-top: 1px solid #000; padding-top: 8px; }
.g-pg-qs { display: grid; gap: 4px; font-size: 10.5px; line-height: 1.45; }
.g-pg-no { margin-top: auto; align-self: center; font: 400 10px/1 var(--sans); }
.g-greek { flex: 1; background: repeating-linear-gradient(180deg, #bdbdbd 0 3px, transparent 3px 11px); margin: 8% 0 6%; opacity: .7; }
.g-sample-text { grid-column: 8 / span 5; }
.g-sample-q-h { font-size: 19px; margin-bottom: 14px; }
.g-questions { padding-left: 0; margin: 0; list-style: none; counter-reset: q; border-top: 2px solid #000; }
.g-questions li { counter-increment: q; display: grid; grid-template-columns: 34px 1fr; padding: 12px 0; border-bottom: 1px solid #000; font-size: 17px; line-height: 1.45; }
.g-questions li::before { content: counter(q); font: 600 15px/1.5 var(--sans); }
.g-sample-photo { margin-top: 80px; }
.g-sample-photo img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }

/* 12. community: figures over the photograph */
.g-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0 0 72px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; padding: 30px 0; }
.g-figures div { display: flex; flex-direction: column-reverse; }
.g-figures dd { margin: 0 0 6px; font: 800 48px/1 var(--sans); font-variant-numeric: tabular-nums; }
.g-figures dt { font-size: 16px; }
.g-features h3 { font-size: 19px; margin-bottom: 10px; }
.g-features p { margin: 0; }

/* 13. blog and the unconformity */
.bed-unc { border-bottom: 0; }
.bed-unc-spacer { height: 0; }
.unconformity { position: relative; height: 32px; margin-top: -2px; background: linear-gradient(90deg, var(--pt) var(--strip), var(--pt-t) var(--strip)); }
.unconformity::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cm) var(--strip), #fff var(--strip));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='32'%3E%3Cpath d='M0 16 Q40 18 55.0 15.0 Q70 12 87.5 13.0 Q105 14 117.5 19.0 Q130 24 145.0 24.5 Q160 25 172.5 19.0 Q185 13 207.5 11.0 Q230 9 246.0 12.5 Q262 16 276.0 19.0 Q290 22 310.0 21.0 Q330 20 345.0 14.0 Q360 8 377.5 7.0 Q395 6 407.5 10.0 Q420 14 437.5 16.5 Q455 19 477.5 18.0 Q500 17 515.0 21.0 Q530 25 545.0 24.5 Q560 24 575.0 18.5 Q590 13 602.5 14.0 Q615 15 627.5 15.5 T640 16 V0 H0 Z'/%3E%3C/svg%3E") repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='32'%3E%3Cpath d='M0 16 Q40 18 55.0 15.0 Q70 12 87.5 13.0 Q105 14 117.5 19.0 Q130 24 145.0 24.5 Q160 25 172.5 19.0 Q185 13 207.5 11.0 Q230 9 246.0 12.5 Q262 16 276.0 19.0 Q290 22 310.0 21.0 Q330 20 345.0 14.0 Q360 8 377.5 7.0 Q395 6 407.5 10.0 Q420 14 437.5 16.5 Q455 19 477.5 18.0 Q500 17 515.0 21.0 Q530 25 545.0 24.5 Q560 24 575.0 18.5 Q590 13 602.5 14.0 Q615 15 627.5 15.5 T640 16 V0 H0 Z'/%3E%3C/svg%3E") repeat-x; }
.unconformity::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='32'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.5' d='M0 16 Q40 18 55.0 15.0 Q70 12 87.5 13.0 Q105 14 117.5 19.0 Q130 24 145.0 24.5 Q160 25 172.5 19.0 Q185 13 207.5 11.0 Q230 9 246.0 12.5 Q262 16 276.0 19.0 Q290 22 310.0 21.0 Q330 20 345.0 14.0 Q360 8 377.5 7.0 Q395 6 407.5 10.0 Q420 14 437.5 16.5 Q455 19 477.5 18.0 Q500 17 515.0 21.0 Q530 25 545.0 24.5 Q560 24 575.0 18.5 Q590 13 602.5 14.0 Q615 15 627.5 15.5 T640 16'/%3E%3C/svg%3E") repeat-x; }
.unc-cap { position: absolute; left: var(--strip); right: 0; top: 40px; z-index: 2; }
.unc-cap p { margin: 0; font: italic 400 15px/1.4 var(--serif); }
.bed-after-unc { border-top: 0; padding-top: 120px; }

/* 14. faq */
.g-faq-wrap { max-width: 880px; }
.g-faq-wrap h2 { margin-bottom: 40px; }

/* 15. newsletter */
.g-news { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.g-news > div:first-child { grid-column: 1 / span 6; }
.g-news h2 { margin-bottom: 16px; }
.g-news p { margin: 0; max-width: 46ch; }
.g-news-form { grid-column: 8 / span 5; }

/* 16. final call to action */
.bed-final { padding: 140px 0 150px var(--strip); border-bottom: 0; }
.g-final { min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.g-final h2 { font-size: clamp(36px, 4.6vw, 66px); letter-spacing: -.025em; line-height: 1.05; max-width: 13ch; margin-bottom: 10px; }
.g-final-base { margin: 48px 0 0; font-style: italic; font-size: 16px; color: #ededed; }
.bed-final .band-bg::after { background: linear-gradient(90deg, rgba(20, 20, 20, .86) 0%, rgba(20, 20, 20, .6) 48%, rgba(20, 20, 20, .18) 100%); }
.bed-final .band-credit { margin-top: 40px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .g-intro-band { grid-template-columns: minmax(var(--gut), 1fr) minmax(0, 480px) 40px minmax(0, 520px) minmax(var(--gut), 1fr); }
}
@media (max-width: 1080px) {
  .packages { max-width: 560px; margin: 0 auto; }
  .researchers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .bed-col { padding: 0; }
  .bed-stick, .bed-col .bed-age, .page-rail .bed-name, .page-rail .bed-age { display: none; }
  .page-rail { padding: 0; }
  .bed-line { display: block; margin: 0 auto 28px; font: 600 13px/1.3 var(--sans); padding: 0 var(--gut); max-width: calc(1280px + 2 * var(--gut)); }
  .bed { padding-top: 64px; padding-bottom: 80px; }
  .bed-thin { padding-top: 26px; padding-bottom: 26px; }
  .bed-thin .bed-line { margin-bottom: 12px; }
  .bed-final .bed-line { color: #fff; }
  .g-hero-grid { grid-template-columns: 1fr; min-height: 0; row-gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .g-hero-copy, .g-earth { grid-column: 1; }
  .g-earth { height: 640px; min-height: 0; }
  .g-intro-band { grid-template-columns: var(--gut) minmax(0, 1fr) var(--gut); }
  .g-intro-text { grid-column: 2; }
  .g-intro-photo { grid-column: 2; grid-row: 2; margin-top: 40px; }
  .g-intro-photo img { aspect-ratio: 3 / 2; border-right: 2px solid #000; }
  .g-intro-photo figcaption { padding-right: 0; }
  .g-intro-band .g-points { grid-column: 2; grid-row: 3; }
  .g-points { grid-template-columns: 1fr; }
  .g-cols-3 { grid-template-columns: 1fr; gap: 40px; }
  .g-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-steps { grid-column: 1 / -1; }
  .g-how-photo { grid-column: 1 / -1; position: static; margin-top: 36px; max-width: 520px; }
  .g-split-text, .g-split-flip .g-split-text, .g-cert-shot { grid-column: 1 / -1; }
  .g-cert-shot { margin: 0 0 48px; }
  .g-pages { grid-column: 1 / -1; margin: 0 0 56px 48px; max-width: 400px; }
  .g-sample-text { grid-column: 1 / -1; }
  .g-figures { gap: 20px; }
  .g-figures dd { font-size: 36px; }
  .g-news > div:first-child, .g-news-form { grid-column: 1 / -1; }
  .g-news-form { margin-top: 28px; }
  .g-final { min-height: 340px; }
  .unc-cap p { font-size: 14px; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .logo { height: 34px; }
  .aud { border-right: 0; border-bottom: 0; padding: 22px 0 0; }
  .aud:last-child { border-bottom: 0; }
  .step { grid-template-columns: 60px 1fr; }
  .step-num b { font-size: 36px; }
  .stats div { border-bottom: 1px solid #000; padding: 18px 0; }
  .stats div:last-child { border-bottom: 0; }
  .researchers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero.has-img { padding-top: clamp(72px, 12vw, 110px); }
  .unit-group-head { flex-wrap: wrap; gap: 6px 20px; }
}
@media (max-width: 699px) {
  .header-cta .btn { display: none; }
}
@media (max-width: 599px) {
  body { font-size: 17px; }
  /* Dashboard figures: two tiles per row on a phone; the tier name ("Advanced") must not run over the tile edge. */
  .progress-strip b { font-size: 22px; overflow-wrap: anywhere; }
  .header-inner { gap: 12px; }
  .g-hero-name { font-size: 16px; margin-bottom: 18px; }
  .g-hero-headline { font-size: 38px; max-width: none; }
  .g-hero-sub { font-size: 19px; }
  .g-actions .btn { flex: 1 1 100%; }
  .g-earth { height: 560px; }
  .ec-figure { grid-template-columns: 46px 90px 16px minmax(0, 1fr); }
  .ec-axis { font-size: 10px; }
  .ec-eon { padding: 5px; font-size: 10px; }
  .ec-zoom a, .ec-zoom li > span { padding: 1px 7px; font-size: 11px; }
  .ec-zoom em { font-size: 12px; }
  .g-earth figcaption { padding-left: 0; }
  .ec-fan-label { display: none; }
  .g-groups { grid-template-columns: 1fr; }
  .g-group-body { padding: 14px 16px 20px; }
  .g-group .g-group-photo figcaption { padding: 10px 16px 0; }
  .researchers { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .researcher h3 { font-size: 15px; }
  .researcher p, .researcher-inst { font-size: 14px; }
  .g-steps li { grid-template-columns: 52px 1fr; }
  .g-step-n { font-size: 36px; }
  .g-pages { margin-left: 34px; margin-right: 6px; }
  .g-pg3 { transform: translate(-30px, 22px) rotate(-3deg); }
  .g-pg2 { transform: translate(-15px, 10px) rotate(-1.5deg); }
  .g-pg-qh, .g-pg-qs { display: none; }
  .g-pg-sum { font-size: 10.5px; }
  .package { padding: 24px 18px; }
  .fee-now { font-size: 34px; }
  .g-figures { grid-template-columns: 1fr; gap: 24px; }
  .g-alumni-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .g-marquee { width: 100%; }
  .band-bg::after { background: rgba(20, 20, 20, .72); }
  .bed-final .band-bg::after { background: linear-gradient(180deg, rgba(20, 20, 20, .8), rgba(20, 20, 20, .55)); }
  .bed-after-unc { padding-top: 100px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input[type=email] { border-right: 2px solid #000; }
  .verify-form input { border-right: 2px solid #000; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cookie { left: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dep, .ec-fan, .ec-fan-label { animation: none; }
  .g-marquee { mask-image: none; -webkit-mask-image: none; }
  .g-marquee-set { animation: none; flex-wrap: wrap; gap: 24px 40px; flex: 1; padding-right: 0; }
  .g-marquee-set[aria-hidden="true"] { display: none; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .page-rail { display: none; }
}
