/* Art History Masterclass theme "The White Room, Starry Night" (design option 10): overrides of the engine styles
   (assets/theme/site.css). Loaded after engine/css/site.css and tokens.css.

   The engine is designed with a black ground, warm paper sections, Cormorant headings, and uppercase mono labels.
   This design is a white gallery: one continuous wall (#F7F7F4), Label Ink text, Hedvig Letters Serif headings in
   sentence case, Hedvig Letters Sans for everything else, no uppercase labels, no synthesized bold, hairlines in
   Picture Rail instead of cards, square corners, cast shadows only under hung pictures, and Cabinet Green as the
   one colour (buttons, links on the wall, the Tuition Fee room). The first half redraws the engine's shared parts
   (header, buttons, page heroes, cards, lists, forms, the unit reader, the account, the quiz); the second half
   styles the landing page (theme/home.php): the closer look at The Starry Night and the hung works. */

/* ------------------------------------------------------------------- base */
html { font-synthesis: none; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font: 400 16.5px/1.6 var(--sans); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 2.65vw, 38px); }
h3 { font-size: 24px; line-height: 1.2; }
h4 { font: 400 17px/1.35 var(--sans); }
b, strong { font-weight: 400; color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
::selection, .light ::selection, .paper ::selection, .auth-card ::selection, .paper-card ::selection, input::selection, textarea::selection { background: var(--ink); color: var(--wall); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tuition :focus-visible, .package.is-featured :focus-visible, .reader-end :focus-visible { outline-color: var(--gilt); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); padding: 0 var(--gut); }
.wrap-narrow { max-width: calc(860px + 2 * var(--gut)); }
.skip { background: var(--ink); color: var(--wall); }
.eyebrow, .light .eyebrow, .paper .eyebrow, .paper-card .eyebrow, .auth-card .eyebrow, .reader .eyebrow, .site-footer .eyebrow, .mm-group .eyebrow { font: 400 14px/1.4 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--shadow); }
.lead, .light .lead { font-size: 18px; line-height: 1.55; color: var(--shadow); max-width: 40em; }
.credit, .credit a { font: 400 11.5px/1.4 var(--sans); letter-spacing: 0; color: var(--shadow); }
.credit { margin-top: 8px; }
.credit a { text-decoration: underline; text-decoration-color: var(--rail); text-underline-offset: 3px; }
.credit a:hover { text-decoration-color: currentColor; }
.link, .link-arrow { display: inline; font: 400 15px/1.5 var(--sans); letter-spacing: 0; text-transform: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: var(--rail); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color .2s, color .2s; }
.link:hover, .link-arrow:hover { opacity: 1; text-decoration-color: currentColor; }
.link-arrow .icon { display: none; }
.prose a:not(.btn), .unit-text a:not(.btn), .faq-a a, .lead a, .notice a:not(.btn), .auth-card p a, .field .hint a, .kv a, .legal-box a, .aid-body a:not(.btn), .panel p a:not(.btn), .form p a, .fee-footnote a, .disclaimer a, .aid-contact a, .aid-apply-aside a, .split-body p a, .section-head p a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:not(.btn):hover, .faq-a a:hover { color: var(--ink); }
.rule, .light .rule { border-color: var(--rail); }
.icon { stroke-width: 1.4; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.more { margin: 64px 0 0; }

/* ---------------------------------------------------------------- buttons */
.btn { min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: 0; font: 400 15px/1.2 var(--sans); letter-spacing: .01em; gap: 10px; transition: background-color .2s, color .2s, border-color .2s; }
.btn-light { background: var(--green); color: var(--wall); border-color: var(--green); }
.btn-light:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--wall); }
.btn-dark { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-ghost, .btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover, .btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--wall); }
/* in the green room and on other dark grounds the outline button is a wall-coloured outline */
.tuition .btn-ghost, .package.is-featured .btn-ghost, .reader-end .btn-ghost, .reader-end .btn-outline { border-color: rgba(247, 247, 244, .7); color: var(--wall); background: transparent; }
.tuition .btn-ghost:hover, .package.is-featured .btn-ghost:hover, .reader-end .btn-ghost:hover, .reader-end .btn-outline:hover { background: var(--wall); border-color: var(--wall); color: var(--green); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn-block { padding-left: 16px; padding-right: 16px; }
.btn .icon { width: 18px; height: 18px; }
.btn[disabled], .btn.is-disabled { opacity: .45; }
.link-button { color: var(--green); }
.hero-actions { gap: 16px 32px; margin-bottom: 0; }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; height: var(--header-h); background: var(--wall); color: var(--ink); border-bottom: 1px solid var(--rail); backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .25s, border-color .25s; }
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.has-overlay-header .site-header.is-scrolled { background: rgba(247, 247, 244, .96); border-color: var(--rail); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-overlay-header .flash { padding-top: calc(var(--header-h) + 14px); }
.header-inner { gap: 28px; }
.logo { height: 44px; width: auto; }
.nav { gap: 6px; margin-left: auto; }
.nav-top { display: flex; align-items: center; height: 44px; padding: 0 12px; font: 400 15px/1 var(--sans); color: inherit; letter-spacing: 0; }
.nav-top::after { width: 5px; height: 5px; border-color: var(--shadow); border-width: 1px; margin-left: 8px; opacity: 1; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.nav-group:hover .nav-top::after, .nav-group.is-open .nav-top::after, .nav-group:focus-within .nav-top::after { transform: translateY(0) rotate(225deg); }
.nav-menu { top: 100%; left: -8px; min-width: 250px; padding: 12px 0; background: var(--wall); color: var(--ink); border: 1px solid var(--rail); box-shadow: 0 18px 30px -18px rgba(38, 36, 34, .25); transform: translateY(6px); }
.nav-menu a { padding: 7px 20px; font: 400 14.5px/1.4 var(--sans); color: var(--ink); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--wall-2); color: var(--ink); outline-offset: -3px; }
.header-cta { gap: 26px; margin-left: 14px; }
.nav-login { font: 400 15px/1 var(--sans); color: inherit; }
.nav-login:hover { text-decoration: underline; text-underline-offset: 5px; }
/* the phone menu button of the design: "Menu" beside three lines, in a hairline box */
.burger { display: none; width: auto; height: 40px; padding: 0 14px 0 40px; border: 1px solid var(--rail); background: none; font: 400 15px/1 var(--sans); color: var(--ink); }
.burger::before { content: "Menu"; }
.burger span { left: 14px; right: auto; width: 16px; height: 1px; background: var(--ink); }
.burger span:first-child { top: 15px; box-shadow: 0 4px 0 var(--ink); }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; box-shadow: none; }
.burger[aria-expanded="true"] span:last-child { top: 19px; }
.mobile-menu { background: var(--wall); color: var(--ink); border-top: 1px solid var(--rail); padding: 8px 0 48px; }
.mm-group { border-color: var(--rail); padding: 16px 0; }
.mm-group .eyebrow { font: 400 20px/1.3 var(--serif); color: var(--ink); margin-bottom: 8px; }
.mm-group a { font: 400 16px/1.4 var(--sans); padding: 7px 0; color: var(--ink); }
.mm-cta { grid-template-columns: 1fr; max-width: 420px; }

/* --------------------------------------------------------------- sections */
.section { padding: var(--sec) 0; }
.section.light { background: var(--card); color: var(--ink); }
.section.tight { padding: 0 0 var(--sec); }
.section-head { gap: 14px; margin-bottom: clamp(44px, 6vw, 88px); max-width: 34rem; }
.section-head.center { max-width: 34rem; }
.section-head p, .light .section-head p { font-size: 16.5px; color: var(--shadow); max-width: 34rem; }
.flash { background: var(--card); border-bottom: 1px solid var(--rail); color: var(--ink); }
.flash-error { background: #F8F0EC; border-color: #E6CFC6; }

/* -------------------------------------------------------------- page hero */
/* Inner pages open on the wall under a hairline; with a photograph the work hangs beside the title, as a picture
   in a room, never as a dark band with white text. */
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rail); background: var(--wall); }
.page-hero h1 { margin: 14px 0 20px; max-width: 16em; }
.page-hero .lead { color: var(--shadow); }
.page-hero.has-img { color: var(--ink); background: var(--wall); min-height: 0; display: block; }
.page-hero.has-img::before { position: absolute; inset: 0; left: 60%; filter: none; opacity: 1; background-size: cover; background-position: center; box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .16); border-radius: 0; }
.page-hero.has-img::after { background: linear-gradient(90deg, var(--wall) 0%, var(--wall) 58%, rgba(247, 247, 244, 0) 66%); }
.page-hero.has-img .wrap { width: 100%; }
.page-hero.has-img .eyebrow { color: var(--shadow); }
.page-hero.has-img .lead { color: var(--shadow); max-width: 30em; }
.page-hero.has-img h1 { max-width: 11em; }
.page-hero.has-figure .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.page-hero.has-figure .eyebrow, .page-hero.has-figure h1, .page-hero.has-figure .lead { grid-column: 1; }
.page-hero.has-figure .page-hero-figure { grid-column: 2; grid-row: 1 / span 3; }
.page-hero-figure svg, .page-hero-figure img { width: 100%; height: auto; }

/* ------------------------------------------------------- split, checks, cards */
.split { grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.split.flip { grid-template-columns: 1fr 1.1fr; }
.split-body h2 { margin-bottom: 24px; }
.split-body p, .light .split-body p { color: var(--ink); font-size: 16.5px; }
.split-body > p { max-width: 60ch; }
.split-media img { aspect-ratio: auto; box-shadow: 0 16px 30px -8px rgba(38, 36, 34, .15); background: var(--wall); }
.split-media .credit { position: static; display: block; margin-top: 10px; }
.split-media figcaption { font-size: 13.5px; color: var(--shadow); margin-top: 14px; line-height: 1.45; max-width: 40ch; }
.checks { gap: 14px; margin: 32px 0 32px; }
.checks li { grid-template-columns: 20px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rail); color: var(--shadow); }
.checks .icon, .light .checks .icon { color: var(--ink); width: 14px; height: 14px; stroke-width: 1.3; margin-top: 6px; }
.checks b { color: var(--ink); }
.cards-3 { border: 0; gap: 0; }
.aud, .aud:last-child { background: transparent; border: 0; border-left: 1px solid var(--rail); padding: 0 clamp(24px, 3vw, 48px); color: inherit; }
.aud:first-child { border-left: 0; padding-left: 0; }
.aud:last-child { padding-right: 0; }
.aud:hover { background: transparent; color: inherit; }
.aud:hover p, .aud:hover li, .aud:hover .eyebrow { color: inherit; }
.aud > .icon { display: none; }
.aud h3 { font-size: 25px; margin-bottom: 18px; }
.aud p { color: var(--shadow); font-size: 15.5px; flex: 1; }
.aud ul { border-top: 0; padding-top: 0; margin-top: 26px; gap: 8px; font: 400 15px/1.5 var(--sans); color: var(--ink); }
.aud li { align-items: flex-start; white-space: normal; gap: 12px; }
.aud li .icon, .aud:hover li .icon { width: 14px; height: 14px; color: var(--ink); stroke-width: 1.3; margin-top: 5px; }

/* The steps of the inner pages: hairline columns with serif numbers (the landing page has its own picture rail). */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 0; background: none; border: 0; }
.step { background: transparent; padding: 28px 0 32px; border-top: 1px solid var(--rail); }
.step-no { display: block; margin: 0 0 16px; }
.step .icon { display: none; }
.step-num b { width: auto; height: auto; border-radius: 0; background: none; color: var(--ink); font: 400 30px/1 var(--serif); display: block; }
.step h3 { font: 400 15.5px/1.35 var(--sans); margin-bottom: 8px; }
.step p { color: var(--shadow); font-size: 14.5px; max-width: 36ch; }
.week { border-color: var(--rail); margin-top: 48px; background: var(--card); }
.week > div { border-color: var(--rail); }
.week .d { font: 400 13px/1 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--shadow); }
.week b { font: 400 19px/1.2 var(--serif); }
.week span { color: var(--shadow); }
.week .on { background: var(--wall-2); }
.features { gap: var(--col-gap, 32px); }
.feature { padding-top: 22px; border-top: 1px solid var(--rail); max-width: 30rem; padding-right: 24px; }
.feature .icon, .light .feature .icon { width: 26px; height: 26px; color: var(--ink); margin-bottom: 14px; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p, .light .feature p { color: var(--shadow); font-size: 15px; }
.stats { border: 0; gap: 32px; margin: 0 0 64px; }
.stats div { display: flex; flex-direction: column; padding: 0; }
.stats b { font: 400 clamp(52px, 5vw, 72px)/1 var(--serif); color: var(--ink); letter-spacing: -.01em; margin-bottom: 14px; }
.stats span { font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.cert-shot img, .light .cert-shot img { border: 1px solid var(--gilt); box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .16); }
.kv { font-size: 16px; }
.kv dt { font: 400 14px/1.9 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.notice { border-left: 2px solid var(--green); background: var(--card); color: var(--ink); border-top: 1px solid var(--rail); border-right: 1px solid var(--rail); border-bottom: 1px solid var(--rail); }
.notice.warn { border-left-color: var(--bad); }
.notice.important { background: #F8F0EC; border-color: #E6CFC6; border-left: 3px solid var(--bad); color: #4A2816; }
.notice.important strong { color: #7A2A1C; }
.contact-faq { background: var(--card); border: 1px solid var(--rail); }
.contact-faq h3 { font: 400 24px/1.2 var(--serif); }
.contact-faq p { color: var(--shadow); }
.disclaimer, .section:not(.light) .disclaimer { margin: 88px 0 0; padding: 20px 0 0; background: transparent; border: 0; border-top: 1px solid var(--rail); font-size: 13.5px; line-height: 1.55; color: var(--shadow); max-width: 46rem; }

/* -------------------------------------------------------- curriculum, resources */
.unit-group-head { border-bottom: 1px solid var(--ink); }
.unit-group-head h3, h2.h3-look { font-size: clamp(24px, 2.4vw, 30px); }
.unit-row { border-color: var(--rail); }
a.unit-row:hover, .unit-row:target { background: var(--wall-2); box-shadow: -14px 0 0 var(--wall-2), 14px 0 0 var(--wall-2); }
.unit-row:target { box-shadow: -14px 0 0 var(--wall-2), 14px 0 0 var(--wall-2), -17px 0 0 var(--green); }
.unit-row .no { font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); white-space: nowrap; }
.unit-row[style*="align-items:start"] .no { height: 1.5rem; padding-top: 0; }
.unit-row h4, .unit-row h3 { font-size: 24px; line-height: 1.2; }
.unit-row p { color: var(--ink); font-size: 15.5px; }
.unit-row p em { color: var(--shadow); }
.unit-row .pk { font: 400 13.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.topic-badges li { font: 400 13px/1.3 var(--sans); color: var(--shadow); border-color: var(--rail); background: transparent; border-radius: 0; }
.spot-box { background: var(--card); border-color: var(--rail); border-left: 2px solid var(--green); }
.spot-label { font: 400 13.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--green); }
.spot { color: var(--ink); }
.spot span { color: var(--shadow); }
.spot b { color: var(--ink); font: 400 15px/1.3 var(--sans); }
.spot .avatar-mono { background: var(--wall-2); color: var(--shadow); border: 0; font: 400 14px/1 var(--serif); }
.sample-cta { background: var(--green); color: var(--wall); }
.sample-cta:hover { background: var(--green-deep); }
.sample-cta .icon { color: var(--wall); }
.sample-cta span { color: var(--on-green-2); }
.sample-cta b { color: var(--wall); }
.unit-more, .sample-pdf { color: var(--shadow); }
.unit-more:hover, .sample-pdf:hover { color: var(--ink); }
.unit-pager { border-color: var(--rail); }
.unit-pager a { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.unit-pager a span { font: 400 13.5px/1.8 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.learn { gap: clamp(28px, 4vw, 64px); }
.learn-card { background: transparent; border: 0; border-top: 1px solid var(--rail); padding-top: 28px; }
.learn-card:hover { transform: none; border-color: var(--rail); }
.learn-img { aspect-ratio: 4 / 3; background: var(--wall); box-shadow: 0 16px 30px -8px rgba(38, 36, 34, .15); }
.learn-card:hover .learn-img img { transform: none; }
.learn-body { padding: 26px 0 0; }
.learn-body .eyebrow { margin-bottom: 6px; }
.learn-body h3 { font-size: 24px; margin: 0 0 14px; min-height: 0; }
.learn-body p { color: var(--shadow); font-size: 14.5px; line-height: 1.55; min-height: 0; margin: 0 0 18px; }
.learn-units { border-top: 1px solid var(--rail); padding-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.resource { border-color: var(--rail); }
.resource:hover { background: var(--wall-2); }
.resource-name { font: 400 22px/1.2 var(--serif); color: var(--ink); }
.resource p { color: var(--shadow); }
.resource-host { color: var(--green); font-weight: 400; }
.resource-note { color: var(--shadow); }
.resource-note .icon { color: var(--green); }
.eq-card { background: var(--card); border: 1px solid var(--rail); }
.eq-card h4, .eq-card h3 { font: 400 16px/1.3 var(--sans); color: var(--ink); }
.eq-card p { color: var(--shadow); }
.eq-toc { border: 1px solid var(--rail); background: var(--card); }
.eq-toc a span { font: 400 14px/1 var(--sans); color: var(--shadow); }
.pathway-map td, .pathway-map th { border-color: var(--rail); }
.topic-links a, .section:not(.light) .topic-links a { border-color: var(--rail); border-radius: 0; color: var(--ink); font-size: 14px; }
.topic-links a:hover { border-color: var(--ink); }
.prose .citation .cite-doi { color: var(--green); }
.prose th { font: 400 13.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.prose td { border-color: var(--rail); }
.prose blockquote { font: 400 22px/1.4 var(--serif); border-left: 1px solid var(--ink); }
.legal-updated { font: 400 13.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.legal-box { border: 1px solid var(--rail); background: var(--card); }
.post-meta { border-color: var(--rail); }

/* ------------------------------------------------------------ researchers */
/* Portraits at their own height in a row, the name in the serif under a hairline, as the scholars of the design;
   a researcher without a portrait shows initials in Picture Rail. Two per row on phones (the engine's grid). */
.researchers { gap: clamp(48px, 6vw, 96px) clamp(24px, 3.4vw, 56px); }
.researcher { color: var(--ink); }
.avatar { width: auto; height: 160px; aspect-ratio: auto; max-width: 100%; align-self: flex-start; object-fit: contain; filter: none; background: transparent; box-shadow: 0 12px 22px -8px rgba(38, 36, 34, .18); }
.avatar-mono { width: auto; height: 160px; aspect-ratio: auto; align-self: flex-start; display: flex; align-items: center; justify-content: flex-start; font: 400 72px/1 var(--serif); color: var(--rail); border: 0; background: transparent; letter-spacing: .02em; box-shadow: none; }
.researcher-body { border-top: 0; padding-top: 22px; margin-top: 0; max-width: 32ch; }
.researcher h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.researcher-inst { font: 400 13.5px/1.45 var(--sans); color: var(--ink); margin-bottom: 10px; }
.researcher p { font-size: 13.5px; line-height: 1.5; color: var(--shadow); margin-bottom: 10px; }
.researcher-body .eyebrow { font-size: 13.5px; color: var(--shadow); }
.researcher:hover h3 { text-decoration: underline; text-decoration-color: var(--rail); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* --------------------------------------------------------------- packages */
/* The tiers of the design: three columns parted by hairlines, no card grounds, the fee in the serif, the main
   tier marked by a gilt hairline above its flag. The flag is in the flow on every card (the engine prints an
   invisible placeholder on the other two), so the titles, week lines, and fees stay level; the Enrol button
   keeps the engine's place under the fee. On the landing page the section is the green cabinet room. */
.packages { gap: 0; align-items: stretch; }
.package { display: flex; flex-direction: column; background: transparent; border: 0; border-left: 1px solid var(--rail); padding: 0 clamp(24px, 3vw, 52px); }
.package:first-child { border-left: 0; padding-left: 0; }
.package:last-child { padding-right: 0; }
.light .package { background: transparent; }
.package.is-featured { background: transparent; border-color: var(--rail); }
.package-flag { position: static; display: block; align-self: stretch; margin: 0 0 22px; padding: 10px 0 0; background: transparent; color: var(--shadow); font: 400 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; min-height: 30px; border-top: 1px solid transparent; }
.package.is-featured .package-flag { border-top-color: var(--gilt); }
.package-flag.is-placeholder { visibility: hidden; }
.package > .eyebrow:not(.package-units-label) { font: 400 14px/1.4 var(--sans); color: var(--shadow); margin: 0 0 6px; }
.package h2, .package h3 { font-size: 26px; line-height: 1.2; min-height: 2.4em; margin: 0 0 6px; align-items: flex-end; }
.package-note { color: var(--shadow); font-size: 15px; line-height: 1.5; min-height: 6em; margin: 0 0 6px; }
.fee { border-top: 0; padding-top: 0; margin: 10px 0 24px; gap: 4px 16px; }
.fee-label { font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); margin-bottom: 4px; }
.fee-now { font: 400 44px/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.fee-cents { font-size: .5em; vertical-align: .7em; }
.fee-was { font: 400 17px/1 var(--sans); color: var(--shadow); text-decoration-thickness: 1px; }
.package > .btn { margin: 0 0 18px; align-self: flex-start; min-width: 0; }
.package:not(.is-featured) > .btn, .package.is-featured > .btn { background: var(--green); border-color: var(--green); color: var(--wall); }
.package:not(.is-featured) > .btn:hover, .package.is-featured > .btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.fee-aid { color: var(--shadow); font: 400 14px/1.4 var(--sans); margin: -8px 0 14px; }
.fee-aid span { color: var(--green); }
.fee-aid:hover { color: var(--ink); }
.package-incl { margin: 10px 0 30px; gap: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.package-incl li { padding: 10px 0; border-top: 1px solid var(--rail); }
.package-incl li::before { content: none; }
.package-units-label { margin: 0 0 12px; padding-top: 16px; border-top: 1px solid var(--rail); font: 400 14px/1.4 var(--sans); color: var(--shadow); }
.package-units { gap: 6px; font-size: 14.5px; }
.package-units li a { grid-template-columns: 30px 1fr; gap: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 400; line-height: 1.45; align-items: baseline; }
.package-units li a::after { display: none; }
.package-units li a:hover, .package-units li a:focus-visible { background: transparent; text-decoration: underline; text-decoration-color: var(--rail); text-underline-offset: 4px; }
.package-units li a > span { font: 400 14.5px/1.45 var(--sans); color: var(--shadow); font-variant-numeric: tabular-nums; }
.package-units li.gap { margin-top: 14px; }
.topic-badge { float: none; display: inline-block; margin: 0 8px 0 0; font: 400 11px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); padding: 2px 5px; vertical-align: 2px; }
.fee-footnote { margin: 80px 0 0; font-size: 13.5px; color: var(--shadow); text-align: left; max-width: 46rem; }
.aid-note { border: 1px solid var(--rail); background: var(--card); border-left: 2px solid var(--green); }
.aid-note h3 { font-size: 24px; }
.aid-note p { color: var(--shadow); }
.aid-note.is-granted { border-color: var(--ok); background: var(--card); }
/* the green cabinet room of the landing page */
.tuition { background: var(--green); color: var(--wall); }
.tuition .section-head p { color: var(--on-green-2); }
.tuition .package, .tuition .package.is-featured { border-color: rgba(247, 247, 244, .22); }
.tuition .package-flag, .tuition .package > .eyebrow:not(.package-units-label), .tuition .package-note, .tuition .fee-label, .tuition .fee-was, .tuition .package-units-label, .tuition .package-units li a > span, .tuition .fee-aid, .tuition .fee-footnote { color: var(--on-green-2); }
.tuition .package h2, .tuition .package h3, .tuition .fee-now, .tuition .package-incl, .tuition .package-units li a, .tuition b, .tuition strong { color: var(--wall); }
.tuition .package-incl li, .tuition .package-units-label { border-color: rgba(247, 247, 244, .18); }
.tuition .package > .btn, .tuition .package.is-featured > .btn { background: var(--wall); border-color: var(--wall); color: var(--green); }
.tuition .package > .btn:hover, .tuition .package.is-featured > .btn:hover { background: #fff; border-color: #fff; color: var(--green); }
.tuition .topic-badge { color: var(--wall); border-color: rgba(247, 247, 244, .5); }
.tuition .fee-aid span { color: var(--wall); }
.tuition .fee-aid:hover { color: var(--wall); }
.tuition .aid-note { background: rgba(247, 247, 244, .08); border-color: rgba(247, 247, 244, .25); color: var(--wall); }
.tuition .aid-note p, .tuition .aid-note h3 { color: var(--wall); }

/* ----------------------------------------------------------- testimonials */
.testimonials { gap: clamp(32px, 4.6vw, 80px); }
.testimonial, .section:not(.light) .testimonial { padding: 0; border: 0; background: transparent; }
.testimonial blockquote { font: 400 clamp(20px, 1.7vw, 24px)/1.38 var(--serif); max-width: 30rem; margin: 0 0 30px; }
.testimonial blockquote::before { content: none; }
.testimonial figcaption, .section:not(.light) .testimonial figcaption { border-top: 0; padding-top: 0; font-size: 13.5px; line-height: 1.4; gap: 14px; }
.t-avatar { width: 46px; height: 46px; }
.testimonial figcaption .t-avatar-mono, .section:not(.light) .testimonial figcaption .t-avatar-mono { background: transparent; color: var(--ink); border: 1px solid var(--rail); font: 400 15px/1 var(--serif); letter-spacing: .04em; }
.testimonial figcaption strong { color: var(--ink); }
.testimonial figcaption span, .section:not(.light) .testimonial figcaption span, .testimonial .t-date, .section:not(.light) .testimonial .t-date { color: var(--shadow); }

/* ------------------------------------------------------------------- blog */
.posts { gap: 48px clamp(28px, 4vw, 64px); }
.post-card-img { aspect-ratio: 16 / 10; background: var(--wall); margin-bottom: 20px; box-shadow: 0 16px 30px -8px rgba(38, 36, 34, .15); }
.post-card:hover .post-card-img img { transform: none; }
.post-card .eyebrow { font-size: 13.5px; }
.post-card h3 { font-size: 24px; line-height: 1.25; margin: 8px 0 10px; }
.post-card p, .section:not(.light) .post-card p { color: var(--shadow); font-size: 15px; max-width: 40rem; }
.post-card:hover h3 { text-decoration-color: var(--rail); text-underline-offset: 5px; }
.pager a, .pager span { border-color: var(--rail); color: var(--ink); }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.post-cover { aspect-ratio: 21 / 9; }

/* -------------------------------------------------------------------- faq */
.faq, .light .faq { border-top: 0; border-bottom: 1px solid var(--rail); }
.faq details, .light .faq details { border: 0; border-top: 1px solid var(--rail); }
.faq summary { padding: 22px 48px 22px 0; font: 400 20px/1.3 var(--serif); }
.faq summary:hover { color: var(--green); }
.faq summary::after { content: ""; right: 4px; width: 13px; height: 13px; background: linear-gradient(var(--ink), var(--ink)) center/13px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1px 13px no-repeat; font: 0/0 a; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a, .light .faq-a { padding: 0 48px 26px 0; color: var(--shadow); max-width: 44rem; }

/* ------------------------------------------------------------- newsletter */
.newsletter { border: 0; padding: 0; background: transparent; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); gap: 36px; align-items: end; }
.newsletter h2 { font-size: clamp(30px, 2.65vw, 38px); margin-bottom: 14px; }
.newsletter p { color: var(--shadow); max-width: 30rem; }
.newsletter-form { grid-column: 3; display: flex; gap: 20px; align-items: flex-end; }
.newsletter-form input[type=email] { background: transparent; border: 0; border-bottom: 1px solid var(--rail); color: var(--ink); padding: 12px 0; height: 50px; font: 400 16px/1.4 var(--sans); }
.newsletter-form input[type=email]::placeholder { color: var(--shadow); }
.newsletter-form input[type=email]:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.newsletter-form .btn { height: 50px; }
.newsletter-band { padding: 96px 0; border-top: 1px solid var(--rail); }
.cta-final h2 { max-width: 18ch; }

/* ----------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--rail); padding: 80px 0 40px; background: var(--wall); color: var(--ink); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); }
.foot-brand { grid-column: 1 / span 4; }
.logo-footer { height: 52px; margin-bottom: 0; }
.foot-brand p { color: var(--shadow); margin: 18px 0 0; max-width: 30ch; font-size: 14px; }
.footer-contact { grid-template-columns: 64px 1fr; gap: 6px 12px; margin: 22px 0 0; font-size: 14px; color: var(--shadow); max-width: 30ch; }
.footer-contact dt { font: 400 14px/1.55 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.footer-contact dd, .footer-contact a { color: var(--ink); }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-nav { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); }
.footer-col { display: block; }
.footer-col h2 { font: 400 14px/1.4 var(--sans); color: var(--shadow); margin: 0 0 14px; letter-spacing: .01em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 14px; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-credits { margin: 56px 0 0; font-size: 12px; color: var(--shadow); max-width: 70rem; }
.foot-credits summary { cursor: pointer; list-style: none; display: inline; text-decoration: underline; text-decoration-color: var(--rail); text-underline-offset: 4px; }
.foot-credits summary::-webkit-details-marker { display: none; }
.foot-credits summary:hover { text-decoration-color: currentColor; }
.foot-credits ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; line-height: 1.45; }
.foot-credits a { color: inherit; text-decoration: underline; text-decoration-color: var(--rail); text-underline-offset: 3px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--rail); color: var(--shadow); }
.foot-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-legal a { color: var(--ink); text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-social a { color: var(--ink); text-decoration: none; margin-left: 22px; }
.footer-social a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social-icon { width: 16px; height: 16px; }

/* ---------------------------------------------------- forms, auth, account */
.field label { font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); margin-bottom: 8px; }
.field input, .field select, .field textarea { border: 1px solid var(--rail); background: var(--card); color: var(--ink); font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field input[disabled] { background: var(--wall-2); color: var(--shadow); }
.field .hint { color: var(--shadow); }
.checkline input, .aid-form .aid-radios input, .upgrade-opt input { accent-color: var(--green); }
.auth-card { background: var(--card); color: var(--ink); border: 1px solid var(--rail); }
.auth-card h1 { font-size: 36px; margin: 10px 0 14px; }
.auth-card p { color: var(--shadow); }
.auth-switch { border-color: var(--rail); }
.auth-card .field .hint a, .pw-toggle { color: var(--green); }
.cp-list { background: var(--card); color: var(--ink); border-color: var(--rail); box-shadow: 0 18px 30px -18px rgba(38, 36, 34, .25); }
.cp-list li.is-active, .cp-list li[role=option]:hover { background: var(--wall-2); }
.account-head h1 { font-size: clamp(34px, 4vw, 48px); }
.account-head p { color: var(--shadow); }
.tabs { box-shadow: inset 0 -1px 0 var(--rail); }
.tabs a { font: 400 15px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.tabs a.is-active, .tabs a:hover { color: var(--ink); border-color: var(--ink); }
.account-body .wrap > .notice { background: var(--card); color: var(--ink); border: 1px solid var(--rail); border-left: 2px solid var(--green); }
.account-body .wrap > .notice a, .account-body .wrap > .notice .link-button { color: var(--green); }
.account-body .wrap > .notice-bad { border-left-color: var(--bad); }
.save-ok { color: var(--ok); }
.save-bad { color: var(--bad); }
.dialog-back { background: rgba(38, 36, 34, .45); }
.dialog { background: var(--card); color: var(--ink); border-top: 2px solid var(--green); box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .25); }
.dialog h2 { font: 400 28px/1.2 var(--serif); }
.dialog p { color: var(--shadow); }
.progress-strip { border-color: var(--rail); background: var(--card); }
.progress-strip div { border-color: var(--rail); }
.progress-strip b { font: 400 30px/1.1 var(--serif); }
.progress-strip span { font: 400 13.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.bar { background: var(--rail); }
.bar i { background: var(--green); }
.ucard { border-color: var(--rail); background: var(--card); }
.ucard.is-open { border-color: var(--green); background: var(--card); }
.ucard.is-locked { background: transparent; }
.ucard.is-locked h3, .ucard.is-locked .ucard-no { color: var(--shadow); }
.ucard-no { font: 400 36px/1 var(--serif); color: var(--ink); }
.ucard-no small { font: 400 12px/1 var(--sans); letter-spacing: .04em; color: var(--shadow); }
.ucard-meta { color: var(--shadow); }
.ucard-score b { color: var(--ink); }
.ucard-score span { color: var(--shadow); }
.ucard-score:not(.is-done) b { color: var(--shadow); }
.ucard-more { color: var(--shadow); }
.ucard-more:hover { color: var(--green); }
.pill { font: 400 12.5px/1 var(--sans); letter-spacing: .02em; text-transform: none; border-color: var(--rail); color: var(--ink); }
.pill.ok { border-color: var(--ok); color: var(--ok); }
.pill.wait { color: var(--shadow); }
.pill.bad { border-color: var(--bad); color: var(--bad); }
.exam-score { color: var(--ink); font-family: var(--serif); font-weight: 400; }
.exam-score small, .exam-score span { color: var(--shadow); }
.verdict { font: 400 14px/1 var(--sans); letter-spacing: .02em; text-transform: none; }
.score { color: var(--ink); }
.panel { border-color: var(--rail); background: var(--card); }
.panel h2 { font-size: 28px; }
.panel p { color: var(--shadow); }
.panel.is-key { border-color: var(--ink); }
.paper-card { background: var(--card); color: var(--ink); border: 1px solid var(--rail); }
.paper-card h2 { font-size: 30px; }
.rating-opt span { border-color: var(--rail); background: var(--card); }
.rating-opt b { font-weight: 400; }
.rating-opt:hover span { border-color: var(--ink); }
.rating-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.rating-opt input:checked + span small { color: var(--rail); }
.rating-opt input:focus-visible + span { outline: 2px solid var(--green); }
.upgrade-opt { border-color: var(--rail); background: var(--card); }
.upgrade-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.upgrade-opt b { font-weight: 400; }
.upgrade-opt small, .upgrade-price s { color: var(--shadow); }
.upgrade-badge { background: var(--green); font: 400 11px/1 var(--sans); letter-spacing: .04em; }
.upgrade-price strong { font-weight: 400; }
.tag-chip { background: var(--ink); color: var(--wall); }
.coupon-box summary { color: var(--shadow); }
.coupon-form input { border-color: var(--rail); background: var(--card); color: var(--ink); font: 400 15px/1.2 var(--sans); letter-spacing: .04em; }
.coupon-error { color: var(--bad); }
.coupon-applied { color: var(--ok); }
.coupon-code { font: 400 13.5px/1 var(--sans); color: var(--shadow); }
.doc-cards { gap: 32px; }
.doc-card { border-color: var(--rail); background: var(--card); }
.doc-card img { border: 1px solid var(--gilt); box-shadow: 0 16px 30px -8px rgba(38, 36, 34, .15); }
.doc-card p { color: var(--shadow); }
.copyline input { background: var(--card); border-color: var(--rail); color: var(--ink); font: 400 14px/1 var(--sans); }
.aid-apply-aside { border-top-color: var(--ink); color: var(--shadow); }
.aid-apply-aside h3, .aid-apply-aside ul, .aid-apply-aside a { color: var(--ink); }
.aid-form fieldset { border-color: var(--rail); background: var(--card); }
.aid-form legend { font: 400 26px/1.2 var(--serif); }
.aid-form legend span { background: var(--ink); color: var(--wall); font: 400 15px/34px var(--sans); }
.aid-form .field input[type=file] { background: var(--wall); }
.aid-submit span, .aid-contact, .aid-body > p { color: var(--shadow) !important; }
.aid-location { border-color: var(--rail); background: var(--wall-2); font-weight: 400; }
.aid-location em { color: var(--shadow); }
.aid-wrong summary { color: var(--shadow); }
.geo-test-badge { font-family: var(--sans); }

/* ------------------------------------------------------------------- quiz */
.quiz-head { border-color: var(--rail); }
.quiz-head h1 { font-size: clamp(32px, 4vw, 44px); }
.quiz-head p { color: var(--shadow); }
.q { border-color: var(--rail); background: var(--card); }
.q-no { font: 400 13.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.q-text { font: 400 21px/1.35 var(--serif); }
.opt { border-color: var(--rail); background: var(--wall); }
.opt:hover { border-color: var(--line-strong); }
.opt .k { border-color: var(--line-strong); font: 400 13px/1 var(--sans); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--card); }
.opt:has(input:checked) .k { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.opt:has(input:focus-visible) { outline-color: var(--ink); }
.opt.is-right { border-color: var(--ok); background: #EAF5EE; }
.opt.is-wrong { border-color: var(--bad); background: #FBECEA; }
.q.is-correct { border-left: 2px solid var(--ok); }
.q.is-incorrect { border-left: 2px solid var(--bad); }
.explain { background: var(--wall); border-left: 2px solid var(--ink); color: var(--ink); }
.explain b { font: 400 13px/1 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--shadow); }
.quiz-foot { background: rgba(247, 247, 244, .96); border-color: var(--rail); backdrop-filter: none; }
.quiz-foot .state { font: 400 13.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.scorebox { border-color: var(--ink); background: var(--card); }
.scorebox .big { font: 400 56px/1 var(--serif); }
.scorebox .big small { color: var(--shadow); }
.timer { background: var(--card); border-color: var(--ink); font: 400 13.5px/1 var(--sans); letter-spacing: .02em; text-transform: none; }
.timer b { font: 400 24px/1 var(--serif); letter-spacing: 0; }
.timer.is-low { border-color: var(--bad); color: var(--bad); }
.breakdown td, .breakdown th { border-color: var(--rail); }
.breakdown th { font: 400 13.5px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.q-figure img { filter: none; mix-blend-mode: normal; }

/* ------------------------------------------------------------ unit reader */
/* The unit opens like a picture on the wall: the hero photograph hangs with a cast shadow above the title,
   never as a darkened band under white text. */
.reader-hero { background: var(--wall); color: var(--ink); overflow: visible; }
.reader-hero img.bg { position: static; display: block; width: min(100%, 980px); height: auto; max-height: 520px; object-fit: cover; margin: 0 auto; filter: none; box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .16); }
.reader-hero .wrap { padding-top: 44px; padding-bottom: 48px; }
.reader-hero h1 { font-size: clamp(34px, 4.2vw, 52px); margin: 14px 0 14px; }
.reader-hero .sub { font: 400 21px/1.35 var(--serif); font-style: normal; color: var(--shadow); }
.reader-hero .credit { position: static; display: block; width: min(100%, 980px); margin: 10px auto 0; padding: 0 var(--gut); }
.reader { background: var(--card); color: var(--ink); border-top: 1px solid var(--rail); }
.reader-grid { padding-top: 56px; }
.toc { font-size: 14px; }
.toc a { border-color: var(--rail); color: var(--shadow); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--ink); }
.unit-text { font-size: 17px; line-height: 1.72; }
.unit-text h2 { font-size: 32px; border-color: var(--ink); }
.unit-text h3 { font-size: 24px; }
.unit-text h4 { font: 400 17px/1.3 var(--sans); font-style: italic; }
.unit-text .secno { font: 400 .6em/1 var(--sans); color: var(--shadow); }
.unit-text code { font-family: var(--mono); background: var(--wall-2); }
.unit-text .fn, .unit-text figcaption { color: var(--shadow); }
.unit-text figcaption b { color: var(--ink); }
.unit-text table { border-color: var(--ink); }
.unit-text th { border-color: var(--ink); font-weight: 400; }
.box { background: var(--card); border-color: var(--ink); }
.box-kind { font: 400 13px/1.3 var(--sans); letter-spacing: .02em; text-transform: none; }
.box-title { font: 400 17px/1.3 var(--serif); }
/* Box colours, the same as in the unit PDFs (theme/theme.tex) and the emails (theme/email.php). */
.box-keyequation { --bx: #2D4A3E; --bx-l: #EAF0EC; }
.box-law, .box-laws { --bx: #262422; --bx-l: #EEEEEA; }
.box-derivation { --bx: #3D5A73; --bx-l: #EAF0F5; }
.box-example { --bx: #8A6B2E; --bx-l: #F7F2E7; border-top-color: #A88746; }
.box-excursion { --bx: #7A4A5E; --bx-l: #F6EEF1; }
.box-research { --bx: #2D4A3E; --bx-l: #F7F7F4; border-width: 1px; }
.box-research .box-kind { color: rgba(247, 247, 244, .75); letter-spacing: .02em; }
.box-research .box-name { font: 400 24px/1.15 var(--serif); }
.box-research .box-inst { font: 400 16px/1.3 var(--sans); font-style: normal; color: rgba(247, 247, 244, .8); }
.box-keypoints { --bx: #A88746; --bx-l: #F7F2E7; }
.box-keypoints .box-kind { color: #8A6B2E; font-weight: 400; }
.box-check { --bx: #8A3B4C; --bx-l: #F6ECEF; }
.box-interactive { --bx: #2C6B6A; --bx-l: #E8F2F1; }
.box-questions .box-kind { font: 400 16px/1.4 var(--sans); color: #8A6B2E; }
.paperlink { border-color: var(--rail); }
.paperlink span { font: 400 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); }
.reader-end { background: var(--green); color: var(--wall); }
.reader-end h3, .reader-end h2 { font-size: 26px; }
.preview-fade::after { background: linear-gradient(180deg, rgba(253, 253, 251, 0) 0%, var(--card) 88%); }
.lit-list li { border-color: var(--rail); }
.lit-list a.t { font: 400 22px/1.2 var(--serif); }
.lit-list .m { color: var(--shadow); }
.ia-stage { background: var(--card); border-color: var(--rail); }
.ia-btn { border-color: var(--rail); background: var(--card); }
.ia-btn.on { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.ia-slider input[type=range] { accent-color: var(--green); }
.ia-val, .ia-readout b { font-family: var(--sans); font-weight: 400; }

/* ----------------------------------------------------------------- verify */
.verify-form input { background: var(--card); border-color: var(--rail); color: var(--ink); font: 400 17px/1 var(--sans); letter-spacing: .06em; }
.verify-form input:focus { border-color: var(--ink); }
.credential { background: var(--card); color: var(--ink); border: 1px solid var(--gilt); border-top-width: 1px; }
.credential .eyebrow { color: var(--shadow); }
.credential h1 { font-size: clamp(34px, 4.2vw, 52px); }
.credential .valid { font: 400 13.5px/1 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--ok); border-color: var(--ok); }
.credential .facts { border-color: var(--rail); }
.credential .facts b { font: 400 22px/1.2 var(--serif); }
.credential th { font: 400 13.5px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--shadow); border-color: var(--ink); }
.credential td { border-color: var(--rail); }
.credential td:first-child { font: 400 14px/1 var(--sans); color: var(--shadow); }

/* --------------------------------------------------------- cookie, reveal */
.cookie { background: var(--card); color: var(--ink); border: 1px solid var(--rail); box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .16); }
.cookie p { color: var(--shadow); }
.reveal { opacity: 1; transform: none; transition: none; }
.hero-media img, .marquee { animation: none; }

/* ============================================================ landing page */
/* The works hang on the wall with a cast shadow and a museum label under each. */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); }
.eye-row { align-items: center; }
.hung { position: relative; margin: 0; }
.work-frame { position: relative; background: var(--wall); }
.work-frame img { width: 100%; height: auto; display: block; }
.cast { box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .16); }
.cast-soft { box-shadow: 0 16px 30px -8px rgba(38, 36, 34, .15); }
.cutout { background: none; filter: drop-shadow(0 20px 18px rgba(38, 36, 34, .16)); }
.label { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.45; color: var(--shadow); margin-top: 18px; max-width: 30ch; }
.l-artist, .l-title { color: var(--ink); }
.intro-text h2, .cert-text h2, .sample-text h2, .newsletter h2 { margin-bottom: 24px; }
.points { list-style: none; margin: 32px 0 32px; padding: 0; display: grid; gap: 14px; }
.points li { color: var(--shadow); padding-top: 14px; border-top: 1px solid var(--rail); }
.points b { color: var(--ink); }

/* 1. The hero and the closer look. Without the html.zoom class (no JS, reduced motion) the hero is static and
   the two details hang below it with their labels; with it the painting's stage is pinned while the labels
   scroll past and theme.js moves the frame into two details and back. */
.tour { position: relative; margin-top: calc(var(--header-h) * -1); padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: clamp(16px, 2.2vw, 36px); padding-bottom: 120px; }
.has-overlay-header .tour { margin-top: 0; }
.tour::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(100svh, 1100px); background: linear-gradient(180deg, #DDDCD7 0%, #E6E5E1 45%, #EEEDEA 100%); pointer-events: none; animation: lights 900ms cubic-bezier(.3, .1, .3, 1) 250ms both; }
@keyframes lights { from { opacity: 1; } to { opacity: 0; } }
.tour .cast { animation: shadow-in 900ms cubic-bezier(.3, .1, .3, 1) 250ms both; }
@keyframes shadow-in { from { box-shadow: 0 22px 40px -4px rgba(38, 36, 34, 0); } to { box-shadow: 0 22px 40px -4px rgba(38, 36, 34, .16); } }
.hero-text { position: relative; z-index: 2; grid-column: 1 / span 5; grid-row: 1; display: flex; align-items: center; min-height: min(100svh, 1100px); padding-block: calc(var(--header-h) + 32px) 48px; }
.hero-text-in { max-width: 33rem; }
.tour h1 { margin: 0 0 26px; font-size: inherit; }
.hero-name { display: block; font: 400 15px/1.5 var(--sans); letter-spacing: .01em; color: var(--shadow); margin: 0 0 22px; }
.hero-headline { display: block; font: 400 clamp(40px, 4.2vw, 60px)/1.1 var(--serif); letter-spacing: -.01em; max-width: none; }
.hero-sub { font-size: 17px; line-height: 1.6; max-width: 28rem; color: var(--ink); margin: 0; }
.tour .hero-actions { margin-top: 36px; }
.hero-checks { padding: 0; border: 0; margin-top: 36px; gap: 6px 26px; font: 400 14px/1.5 var(--sans); color: var(--shadow); }
.hero-checks li { gap: 8px; }
.hero-checks .icon { width: 12px; height: 12px; color: var(--ink); stroke-width: 1.3; }
.guide { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rail); max-width: 31rem; }
.guide-hint { font-size: 13.5px; color: var(--shadow); margin: 0 0 16px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 36px; }
.guide-list a { position: relative; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.guide-list img { width: 56px; height: 56px; object-fit: cover; box-shadow: 0 8px 14px -6px rgba(38, 36, 34, .3); }
.g-no { position: absolute; left: -8px; top: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--wall); font-size: 11.5px; line-height: 22px; text-align: center; }
.g-text { display: flex; flex-direction: column; line-height: 1.3; }
.g-name { font-family: var(--serif); font-size: 17px; }
.g-sub { font-size: 12.5px; color: var(--shadow); margin-top: 3px; }
.guide-list a:hover .g-name { text-decoration: underline; text-decoration-color: var(--rail); text-underline-offset: 4px; }
.stage-col { grid-column: 6 / span 7; grid-row: 1; position: relative; min-width: 0; }
.stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: min(100svh, 1100px); padding-top: var(--header-h); }
.hero-work { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.slot { position: relative; width: min(100%, calc((100svh - var(--header-h) - 210px) * 1400 / 1109)); min-width: min(100%, 420px); aspect-ratio: 1400 / 1109; }
.frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #1F2C55; }
.canvas { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1400 / 1109; transform-origin: 0 0; }
.canvas img { position: absolute; max-width: none; }
.whole { left: 0; top: 0; width: 100%; height: 100%; }
.sharp { display: none; opacity: 0; transition: opacity .25s; }
.sharp.ready { opacity: 1; }
.sharp-1 { left: 64.5%; top: 0; width: 33%; height: 41.6667%; }
.sharp-2 { left: 7%; top: 3%; width: 30%; height: 56.8333%; }
.markers { position: absolute; inset: 0; pointer-events: none; transition: opacity .25s, visibility .25s; }
.markers.off { opacity: 0; visibility: hidden; }
.marker { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--wall); color: var(--ink); font: 400 13px/30px var(--sans); text-align: center; text-decoration: none; pointer-events: auto; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.marker::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(247, 247, 244, .85); animation: ring 2.6s cubic-bezier(.3, 0, .3, 1) 1.2s infinite; }
@keyframes ring { 0% { transform: scale(.7); opacity: 0; } 25% { opacity: 1; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.marker:hover { background: #fff; }
.marker:focus-visible { outline: 2px solid var(--wall); outline-offset: 4px; }
.hero-label { margin: 18px 0 0; max-width: none; font-size: 13px; }
.stops { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 96px; margin-top: 40px; }
.stop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); align-items: center; }
.approach { display: none; }
.static-detail { grid-column: 1 / span 6; margin: 0; }
.static-detail img { width: auto; max-width: 100%; max-height: 80vh; margin-inline: auto; box-shadow: 0 16px 30px -8px rgba(38, 36, 34, .15); }
.note { grid-column: 8 / span 5; max-width: 30rem; background: var(--card); border: 1px solid var(--rail); padding: 34px 38px 26px; box-shadow: 0 14px 28px -16px rgba(38, 36, 34, .18); }
.note-label { margin: 0 0 26px; max-width: none; font-size: 13px; }
.d-step { font-size: 13.5px; color: var(--shadow); margin: 0 0 6px; }
.note-title { font-size: clamp(26px, 2.2vw, 32px); margin-bottom: 16px; }
.note > p:not(.label):not(.d-step) { font-size: 15.5px; line-height: 1.62; }
.stop-whole { display: block; }
.coda { max-width: 30rem; }
.coda p { font-family: var(--serif); font-size: 22px; line-height: 1.4; margin-bottom: 18px; }
.coda .link { font-size: 15px; }
.zoom .tour { padding-bottom: 0; }
.zoom .stage-col { grid-row: 1 / span 2; }
.zoom .stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.zoom .stops { grid-column: 1 / span 5; display: block; margin-top: 0; padding-bottom: 28vh; }
.zoom .stop { display: block; }
.zoom .static-detail { display: none; }
.zoom .approach { display: block; height: 62vh; }
.zoom .stop:first-child .approach { height: 18vh; }
.zoom .note { margin-bottom: 32vh; position: relative; z-index: 2; }
.zoom .sharp { display: block; }
.zoom .frame { will-change: left, top, width, height; }
.zoom .coda { padding-bottom: 4vh; }

/* 2. Alumni: a quiet grid of grey wordmarks, no marquee */
.alumni { padding: 44px 0 8px; border-top: 1px solid var(--rail); border-bottom: 0; overflow: visible; }
.alumni-title { font: 400 14px/1.4 var(--sans); color: var(--shadow); margin: 0 0 30px; letter-spacing: .01em; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; justify-items: start; gap: 30px clamp(16px, 2.2vw, 36px); }
.logos img { height: 26px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; filter: grayscale(1) brightness(.3); opacity: .55; }

/* 3. The program beside Bruegel */
.intro-work { grid-column: 1 / span 7; }
.intro-text { grid-column: 9 / span 4; }

/* 4. Audiences and 5. the picture rail of the six steps */
.audiences { padding-top: 40px; }
.how { padding-top: 40px; }
.rail { position: relative; list-style: none; margin: 0; padding: 64px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); }
.rail::before { content: ""; position: absolute; top: 0; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); height: 1px; background: var(--rail); }
.rail .step { position: relative; padding: 20px 0 0; border-top: 0; background: transparent; }
.rail .step::before { content: ""; position: absolute; left: 10px; top: -64px; width: 1px; height: 76px; background: var(--rail); }
.rail .step::after { content: ""; position: absolute; left: 6px; top: -66px; width: 9px; height: 5px; background: var(--shadow); }
.rail .step-no { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; margin-bottom: 16px; padding-top: 4px; }
.rail .step h3 { font: 400 15.5px/1.35 var(--sans); margin-bottom: 8px; }
.rail .step p { font-size: 13.5px; line-height: 1.5; color: var(--shadow); margin: 0; max-width: none; }

/* 6. Topics: three works on one eye line */
.topics-row { display: grid; grid-template-columns: 0.855fr 1.488fr 0.784fr; grid-template-rows: auto auto auto; column-gap: clamp(36px, 5vw, 84px); }
.topic { display: grid; grid-row: span 3; grid-template-rows: subgrid; min-width: 0; }
.topic .hung { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.topic .label { align-self: start; max-width: 34ch; }
.group { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rail); max-width: 34ch; }
.g-range { font-size: 13.5px; color: var(--shadow); margin: 0 0 6px; }
.group h3 { font-size: 24px; line-height: 1.2; margin-bottom: 14px; }
.g-teaser { font-size: 14.5px; line-height: 1.55; color: var(--shadow); }
.unit-list { margin: 18px 0 0; padding-left: 1.7em; font-size: 14.5px; line-height: 1.5; display: grid; gap: 3px; }
.unit-list li::marker { color: var(--shadow); font-size: 13px; }
.unit-list a { text-decoration: none; color: inherit; }
.unit-list a:hover { text-decoration: underline; text-decoration-color: var(--rail); text-underline-offset: 4px; }

/* 9. Certificate and 10. the sample unit as a triptych of pages */
.cert-work { grid-column: 1 / span 6; }
.cert-text { grid-column: 8 / span 5; max-width: 34rem; }
.cert-shot.gilt img { border: 1px solid var(--gilt); box-shadow: none; }
.cert { aspect-ratio: 1.414; background: var(--card); border: 1px solid var(--gilt); container-type: inline-size; position: relative; }
.cert-in { position: absolute; inset: 2.6cqw; border: 1px solid var(--rail); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5.4cqw 7cqw 4cqw; }
.c-brand { font-family: var(--serif); font-size: 3cqw; letter-spacing: .04em; margin: 0 0 4.4cqw; }
.c-kind { font-family: var(--serif); font-size: 5.4cqw; line-height: 1.1; margin: 0 0 3.4cqw; }
.c-small { font-size: 1.75cqw; line-height: 1.5; color: var(--shadow); margin: 0; max-width: 62cqw; }
.c-name { font-family: var(--serif); font-size: 4.4cqw; margin: 1.6cqw 0 2.2cqw; padding: 0 6cqw .8cqw; border-bottom: 1px solid var(--rail); }
.c-foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; font-size: 1.5cqw; color: var(--shadow); text-align: left; }
.c-foot span { display: flex; flex-direction: column; gap: 1cqw; }
.c-line { display: block; width: 18cqw; height: 1px; background: var(--ink); opacity: .5; }
.c-id { text-align: right; line-height: 1.4; }
.sample-work { grid-column: 1 / span 7; }
.sample-text { grid-column: 9 / span 4; }
.triptych { display: flex; gap: clamp(12px, 1.6vw, 24px); text-decoration: none; color: var(--ink); }
.page { flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1.414; background: var(--card); border: 1px solid var(--gilt); container-type: inline-size; overflow: hidden; transition: transform .25s; display: block; }
.page.is-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.triptych:hover .page { transform: translateY(-3px); }
.pg { display: flex; flex-direction: column; height: 100%; padding: 9cqw 9cqw 7cqw; position: relative; }
.pg-head { display: flex; justify-content: space-between; gap: 4cqw; font-size: 3.4cqw; color: var(--shadow); padding-bottom: 2.6cqw; border-bottom: 1px solid var(--rail); margin-bottom: 7cqw; }
.pg-title { font-family: var(--serif); font-size: 9.4cqw; line-height: 1.1; margin: 6cqw 0 5cqw; }
.pg-rule { display: block; width: 16cqw; height: 1px; background: var(--gilt); margin-bottom: 5cqw; }
.pg-text { font-size: 3.5cqw; line-height: 1.5; color: #3D3A37; display: -webkit-box; -webkit-line-clamp: 14; -webkit-box-orient: vertical; overflow: hidden; }
.pg-folio { position: absolute; bottom: 4cqw; left: 0; right: 0; text-align: center; font-size: 3cqw; color: var(--shadow); }
.pg-h { font-family: var(--serif); font-size: 6cqw; margin-bottom: 4cqw; }
.pg-q { font-size: 3.5cqw; line-height: 1.45; padding: 2.4cqw 0; border-top: 1px solid var(--rail); }
.sample-work .label { max-width: none; }
.s-meta { font-size: 14px; color: var(--shadow); margin: 28px 0 4px; }
.s-title { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.sample-text p { color: var(--shadow); }
.sample-text > p:first-of-type { color: var(--ink); }
.opening { grid-column: 1 / -1; margin-top: 150px; padding-top: 28px; border-top: 1px solid var(--rail); }
.s-qh { font: 400 14px/1.4 var(--sans); color: var(--shadow); margin: 0 0 22px; }
.questions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); font-size: 14.5px; line-height: 1.5; }
.questions .q-no { display: block; font: 400 28px/1 var(--serif); margin-bottom: 12px; color: var(--ink); letter-spacing: 0; text-transform: none; }

/* 11. Testimonials, 12. the community figures */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 4.6vw, 80px); row-gap: 64px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); margin: 0 0 96px; }
.figures div { display: flex; flex-direction: column; }
.figures dd { order: -1; margin: 0; font-family: var(--serif); font-size: clamp(52px, 5vw, 72px); line-height: 1; letter-spacing: -.01em; }
.figures dt { margin-top: 14px; font-size: 14px; color: var(--shadow); }

/* 14. FAQ beside its title, 15. the newsletter, 16. the final call to action */
.faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 36px); }
.faq-wrap .section-head { grid-column: 1 / span 4; }
.faq-list { grid-column: 5 / span 8; }
.faq-wrap .more { grid-column: 5 / span 8; }
.final { padding-top: 120px; }
.final-work { width: min(100%, 960px); margin-inline: auto; }
.final-text { width: min(100%, 960px); margin: 72px auto 0; }
.final-text h2 { font-size: clamp(32px, 3.4vw, 48px); max-width: 18ch; margin: 0; }
.final-text .actions { margin-top: 32px; }

/* Desktop: labels hang under the work without moving the eye line */
@media (min-width: 901px) {
  .intro-work .label, .cert-work .label, .sample-work .label { position: absolute; top: 100%; left: 0; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav { gap: 0; }
  .nav-top { padding: 0 9px; }
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 72px; }
  .rail::before { display: none; }
  .rail .step > .step-no::before { content: ""; position: absolute; top: -64px; left: 0; right: calc(clamp(20px, 2.4vw, 40px) * -1); height: 1px; background: var(--rail); }
  .questions { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .intro-work, .sample-work { grid-column: 1 / span 7; }
  .intro-text, .sample-text { grid-column: 8 / span 5; }
}
@media (max-width: 1080px) {
  .nav, .nav-login { display: none; }
  .burger { display: inline-flex; align-items: center; }
  .header-cta { margin-left: auto; }
  .packages { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 64px; }
  .package, .package:first-child, .package:last-child { padding: 0; border-left: 0; }
  .package h2, .package h3, .package-note { min-height: 0; }
  .package-flag.is-placeholder { display: none; }
  .package-units li.out { display: none; }
}
@media (max-width: 900px) {
  :root { --section: 96px; }
  h1 { font-size: clamp(38px, 10vw, 48px); }
  .tour { display: block; padding-bottom: 72px; }
  .hero-text { min-height: 0; padding-block: calc(var(--header-h) + 24px) 40px; }
  .hero-text-in { max-width: none; }
  .hero-headline { font-size: clamp(38px, 10vw, 48px); }
  .guide { margin-top: 36px; }
  .stage { display: block; min-height: 0; padding-top: 0; }
  .slot { width: min(100%, calc((62svh - 130px) * 1400 / 1109)); min-width: 0; }
  .hero-label { font-size: 12.5px; margin-top: 12px; }
  .stops { margin-top: 64px; gap: 64px; }
  .stop { display: block; }
  .static-detail img { max-height: none; margin-inline: 0; }
  .note { margin-top: 24px; padding: 26px 22px 18px; }
  .note-title { font-size: 24px; margin-bottom: 12px; }
  .note > p:not(.label):not(.d-step) { font-size: 15px; line-height: 1.55; }
  .note-label { margin-bottom: 18px; }
  .zoom .tour { display: block; padding-bottom: 0; }
  .zoom .stage-col { display: contents; }
  .zoom .stage { position: sticky; top: 0; z-index: 3; display: block; height: 58vh; height: 58svh; padding-top: 12px; background: var(--wall); }
  .zoom .stops { padding-bottom: 16vh; }
  .zoom .approach { height: 46vh; }
  .zoom .stop:first-child .approach { height: 34vh; }
  .zoom .note { margin: 0 0 22vh; }
  .coda p { font-size: 19px; }
  .grid > * { grid-column: 1 / -1 !important; }
  .grid { row-gap: 56px; }
  .intro-text, .cert-text, .sample-text { max-width: 36rem; }
  .audiences, .how { padding-top: 24px; }
  .cards-3 { grid-template-columns: 1fr; row-gap: 48px; }
  .aud, .aud:first-child, .aud:last-child { padding: 28px 0 0; border: 0; border-top: 1px solid var(--rail); }
  .aud:first-child { border-top: 0; padding-top: 0; }
  .section-head { margin-bottom: 56px; }
  .rail { grid-template-columns: 1fr; row-gap: 44px; padding-top: 0; padding-left: 34px; margin-left: 4px; border-left: 1px solid var(--rail); }
  .rail .step { padding-top: 0; }
  .rail .step::before { left: -34px; top: 16px; width: 26px; height: 1px; }
  .rail .step::after { left: -38px; top: 13px; width: 7px; height: 7px; border-radius: 50%; }
  .rail .step > .step-no::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .topics-row { display: flex; flex-direction: column; gap: 80px; }
  .topic, .topic .hung { display: block; }
  .topic .work-frame { width: min(100%, calc(56svh * var(--ar))); }
  .researchers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 20px; }
  .avatar, .avatar-mono { height: 120px; }
  .avatar-mono { font-size: 56px; }
  .opening { margin-top: 24px; }
  .questions { grid-template-columns: 1fr; row-gap: 20px; }
  .questions .q-no { font-size: 22px; margin-bottom: 6px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quotes, .figures, .features { grid-template-columns: 1fr; }
  .figures { row-gap: 40px; margin-bottom: 64px; }
  .features { row-gap: 36px; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head, .faq-list, .faq-wrap .more { grid-column: 1 / -1; }
  .faq summary { font-size: 18px; }
  .faq-a, .light .faq-a { padding-right: 0; }
  .newsletter { grid-template-columns: 1fr; row-gap: 28px; }
  .newsletter-form { grid-column: 1; flex-direction: column; align-items: stretch; }
  .newsletter-form input[type=email] { border-right: 0; }
  .triptych { gap: 8px; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .foot-brand, .foot-nav { grid-column: 1 / -1; }
  .foot-nav { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .final { padding-top: 72px; }
  .final-text { margin-top: 56px; }
  .split, .split.flip, .page-hero.has-figure .wrap { grid-template-columns: 1fr; }
  .page-hero.has-img::before { display: none; }
  .page-hero.has-img::after { display: none; }
  .page-hero.has-img h1, .page-hero.has-img .lead { max-width: none; }
  .split-media img { aspect-ratio: auto; }
  .fee-footnote { margin-top: 48px; }
  .stats { gap: 24px; }
  .stats div { border: 0; padding: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  body { font-size: 16px; }
  .btn { width: auto; }
  .hero-actions .btn { flex: 0 0 auto; }
  .logos { gap: 20px 30px; }
  .logos img { height: 24px; }
  .researchers { gap: 40px 16px; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .footer-social a { margin-left: 0; margin-right: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour::before { display: none; }
  .tour .cast { animation: none; }
  .marker::before { animation: none; opacity: 0; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .tour { display: block; }
}
