/* International Relations Masterclass theme "Flags and Chambers" (design option 10): overrides of the engine styles
   (assets/theme/site.css). Loaded after engine/css/site.css and tokens.css. The tokens turn the engine's black ground
   into white and its paper sections into Mist, so the inner pages alternate white and mist as the landing page does.
   What is redrawn here: the type (Brygada 1918 headings in weight 500, Brygada running text, Hanken Grotesk for
   navigation, buttons, labels, captions, and numbers; no tracked capitals anywhere), the design's language (1 px
   hairlines, 4 px corners on buttons and fields, one soft shadow on the panels that overlap a photograph, Assembly
   Blue as the one accent), the white header and the Ink footer, page heroes as a photograph band with the white panel
   overlapping its lower edge, buttons, the tuition cards, forms, the unit reader and its boxes, the account pages.
   The second half styles the landing page (theme/home.php): the place captions, the topic cards, the certificate
   figure, the sample page, and the two photograph bands with their panels. */

/* ------------------------------------------------------------------- base */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font: 400 17.5px/1.65 var(--serif); font-variant-ligatures: no-common-ligatures; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.08; letter-spacing: -.012em; }
h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.14; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.25; }
h4 { font-size: 18px; line-height: 1.3; }
b, strong { font-weight: 700; }
a { color: var(--blue); }
::selection, .light ::selection, .paper ::selection, .auth-card ::selection, .paper-card ::selection, input::selection, textarea::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { padding: 0 var(--gut); }
.wrap-narrow { max-width: calc(820px + 2 * var(--gut)); }
.skip { background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 600; }
.icon { stroke-width: 1.4; }
.ic-check { width: 20px; height: 20px; flex: none; color: var(--blue); }
/* Labels: the engine sets them in tracked capitals; the design has none. One rule for every label class. */
.eyebrow, .light .eyebrow, .paper .eyebrow, .paper-card .eyebrow, .auth-card .eyebrow, .reader .eyebrow, .credit, .link-arrow, .tag, .fee-label, .package-flag, .topic-badge,
.package-units li a > span, .week .d, .unit-row .no, .spot-label, .unit-row .pk, .box-kind, .paperlink span, .legal-updated, .kv dt, .field label, .footer-contact dt,
.hero-stats span, .stats span, .progress-strip span, .ucard-no small, .pill, .verdict, .q-no, .explain b, .quiz-foot .state, .timer, .credential .valid, .credential th,
.breakdown th, .toc .eyebrow, .unit-text .secno, .unit-pager a span, .eq-toc a span, .stack-table td::before, .tabs a, .coupon-code, .aid-wrong summary, .prose th, .footer-social a
{ font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.eyebrow, .light .eyebrow, .paper .eyebrow, .paper-card .eyebrow, .auth-card .eyebrow, .reader .eyebrow { font: 700 14.5px/1.4 var(--sans); color: var(--blue); }
.site-footer .eyebrow, .mm-group .eyebrow { font: 700 15.5px/1.35 var(--sans); color: #fff; }
.lead, .light .lead { font-size: 19px; line-height: 1.55; color: var(--slate); max-width: 62ch; }
.credit { font: 400 12.5px/1.4 var(--sans); color: var(--slate); }
.credit a, a.credit { color: var(--slate); text-decoration: none; }
.credit a:hover, a.credit:hover { text-decoration: underline; }
.link-arrow, .text-link { display: inline; font: 600 16.5px/1.4 var(--sans); color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; border: 0; padding: 0; }
.link-arrow:hover, .text-link:hover { opacity: 1; color: var(--blue-dark); }
.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, .split-body p a, .section-head p a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose a:not(.btn):hover, .faq-a a:hover { color: var(--blue-dark); }
.rule, .light .rule { border-top: 1px solid var(--hair); }
.after { margin: 40px 0 0; }

/* ---------------------------------------------------------------- buttons */
.btn { padding: 15px 24px; border: 2px solid transparent; border-radius: var(--radius); font: 600 16.5px/1.2 var(--sans); letter-spacing: 0; gap: 8px; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn-light, .light .btn-light, .reader .btn-light, .reader-end .btn-light, .paper-card .btn-light, .auth-card .btn-light, .dialog .btn-light, .page-hero .btn-light, .reader-hero .btn-light, .header-cta .btn-light, .mm-cta .btn-light, .newsletter-form .btn-light, .btn-dark, .btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-light:hover, .light .btn-light:hover, .reader .btn-light:hover, .reader-end .btn-light:hover, .header-cta .btn-light:hover, .mm-cta .btn-light:hover, .newsletter-form .btn-light:hover, .btn-dark:hover, .btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost, .light .btn-ghost, .reader .btn-ghost, .header-cta .btn-ghost, .mm-cta .btn-ghost, .page-hero .btn-ghost, .reader-hero .btn-ghost, .cookie .btn-ghost, .btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost:hover, .light .btn-ghost:hover, .reader .btn-ghost:hover, .cookie .btn-ghost:hover, .btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.reader-end .btn-ghost { color: #fff; border-color: #fff; }
.reader-end .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn[disabled], .btn.is-disabled { opacity: .45; }
.btn-block { padding-left: 14px; padding-right: 14px; }
/* The engine sizes the three Enrol buttons to two text lines plus its own padding (.9em a side, 1 px border); this theme's
   .btn has 15 px padding and a 2 px border, so the min-height is restated with these values: a one-line label and a
   two-line "Advanced + Technology and Conflict" label give the same 74 px button. */
@media (min-width: 861px) { .package .btn-block { min-height: calc(2 * 1.2em + 30px + 4px); } }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.hero-actions .link-arrow, .actions .text-link { align-self: center; }

/* ----------------------------------------------------------------- header */
.site-header, .has-overlay-header .site-header, .has-overlay-header .site-header.is-scrolled { position: sticky; top: 0; left: auto; right: auto; height: var(--header-h); background: #fff; color: var(--ink); border-bottom: 1px solid var(--hair); backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
.has-overlay-header .flash { padding-top: 14px; }
.header-inner { gap: 40px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo { height: 42px; width: auto; }
.nav { flex: 1; margin-left: 0; gap: 6px; }
.nav-top { font: 600 16px/1 var(--sans); color: var(--ink); padding: 12px 12px; letter-spacing: 0; display: inline-flex; align-items: center; gap: 7px; border-radius: var(--radius); }
.nav-top::after { width: 7px; height: 7px; border-width: 1.7px; margin-left: 0; opacity: 1; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-group:hover .nav-top, .nav-group.is-open .nav-top, .nav-group:focus-within .nav-top, .nav-top:hover { color: var(--blue); }
.nav-group.is-open .nav-top::after { transform: translateY(1px) rotate(225deg); }
.nav-menu { top: 100%; min-width: 260px; background: #fff; color: var(--ink); border: 1px solid var(--hair); box-shadow: 0 18px 40px rgba(20, 26, 38, .12); padding: 8px 0; transform: none; transition: opacity .12s, visibility .12s; }
.nav-menu a { padding: 9px 18px; font: 500 15.5px/1.35 var(--sans); color: var(--ink); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--mist); color: var(--blue); outline-offset: -3px; }
.header-cta { gap: 20px; }
.nav-login { font: 600 16px/1 var(--sans); color: var(--ink); }
.nav-login:hover { color: var(--blue); text-decoration: none; }
.burger { width: 44px; height: 42px; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.burger span { background: var(--ink); height: 2px; }
.mobile-menu { background: #fff; color: var(--ink); border-bottom: 1px solid var(--hair); box-shadow: 0 20px 40px rgba(20, 26, 38, .12); padding: 8px 0 24px; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.mm-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.mm-group { padding: 12px 0; border: 0; border-bottom: 1px solid var(--hair); }
.mm-group .eyebrow { font: 700 17px/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; }
.mm-group a { font: 500 16.5px/1.4 var(--sans); padding: 6px 0; color: var(--ink); }
.mm-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* --------------------------------------------------------------- sections */
.section { padding: var(--sec) 0; }
.section.light { background: var(--mist); color: var(--ink); }
.section.tight { padding: calc(var(--sec) * .64) 0; }
.section-head { gap: 16px; margin-bottom: 52px; max-width: 760px; }
.section-head p, .light .section-head p { font-size: 19px; color: var(--slate); max-width: 40em; }
.section-head.center { max-width: 760px; }
.flash { background: var(--blue-tint); color: var(--ink); border-bottom: 1px solid var(--hair); font: 400 16px/1.5 var(--sans); }
.flash-error { background: #F7E9EB; color: var(--wax); border-color: #E9C9CE; }

/* -------------------------------------------------------------- page hero */
/* Without a photograph: a white band under a hairline. With one: the photograph as a full-width band and the title
   in a white panel that overlaps its lower edge, as the hero of the landing page. The panel is the first pseudo-
   element of the grid; the eyebrow, title, and lead sit on it in explicit rows. */
.page-hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--hair); padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); overflow: visible; }
.page-hero::before, .page-hero::after { content: none; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { margin: 14px 0 20px; max-width: 18em; color: var(--ink); }
.page-hero .lead { color: var(--slate); }
.page-hero.has-img { padding: 0 0 40px; border-bottom: 0; }
.page-hero.has-img::before { content: ""; display: block; position: static; height: clamp(300px, calc(100vh - var(--header-h) - 300px), 560px); background: var(--hero-img) center/cover; filter: none; }
.page-hero.has-img::after { content: none; }
.page-hero.has-img .wrap { display: grid; grid-template-columns: minmax(0, 880px) minmax(0, 1fr); grid-template-rows: auto auto auto; margin-top: -170px; position: relative; z-index: 2; }
.page-hero.has-img .wrap::before { content: ""; grid-column: 1; grid-row: 1 / span 3; background: #fff; box-shadow: var(--shadow); }
.page-hero.has-img .wrap > * { grid-column: 1; position: relative; margin: 0; padding: 0 52px; }
.page-hero.has-img .wrap > .eyebrow { grid-row: 1; padding-top: 44px; }
.page-hero.has-img .wrap > h1 { grid-row: 2; padding-top: 14px; }
.page-hero.has-img .wrap > .lead { grid-row: 3; padding-top: 18px; }
.page-hero.has-img .wrap > :last-child { padding-bottom: 40px; }
.page-hero.has-figure .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 80px); align-items: center; }
.page-hero.has-figure .wrap > * { grid-column: 1; }
.page-hero.has-figure .wrap > .page-hero-figure { grid-column: 2; grid-row: 1 / span 6; }
@media (max-width: 1180px) { .page-hero.has-img .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1040px) {
  .page-hero.has-figure .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero.has-figure .wrap > .page-hero-figure { grid-column: 1; grid-row: auto; margin-top: 28px; }
}
@media (max-width: 640px) {
  .page-hero.has-img::before { height: 300px; }
  .page-hero.has-img .wrap { margin-top: -56px; }
  .page-hero.has-img .wrap > * { padding-left: 22px; padding-right: 22px; }
  .page-hero.has-img .wrap > .eyebrow { padding-top: 28px; }
  .page-hero.has-img .wrap > :last-child { padding-bottom: 26px; }
}

/* ------------------------------------------------------- split, checks, cards */
.split { grid-template-columns: 1.08fr 1fr; gap: 72px; align-items: start; }
.split.flip > :first-child { order: 2; }
.split-body h2 { margin-bottom: 22px; }
.split-body p, .light .split-body p { color: var(--ink); font-size: 17.5px; }
.split-media img { aspect-ratio: 3 / 2; object-fit: cover; }
.split-media .credit { position: static; display: block; margin-top: 8px; }
.checks { gap: 14px; margin: 26px 0 30px; }
.checks li { display: flex; grid-template-columns: none; gap: 12px; align-items: flex-start; }
.checks .icon, .light .checks .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--blue); stroke-width: 2; flex: none; }
.checks .ic-check { margin-top: 4px; }
.checks b { font-family: var(--sans); font-weight: 700; }
.checks.small { gap: 8px; margin: 18px 0 0; font: 400 15.5px/1.45 var(--sans); }
.checks.small .ic-check { width: 18px; height: 18px; margin-top: 1px; }
/* Three audience columns: white cards on mist, the heading, the paragraph, and the check list pushed to the bottom. */
.cards-3 { border: 0; gap: 32px; }
.aud { padding: 34px 32px 36px; border: 1px solid var(--hair); background: #fff; display: flex; flex-direction: column; transition: none; }
.aud:hover { background: #fff; color: inherit; }
.aud p, .aud:hover p, .aud:hover li, .aud:hover .eyebrow { color: var(--slate); }
.aud .icon { display: none; }
.aud-ic { width: 44px; height: 44px; color: var(--blue); margin-bottom: 20px; }
.aud h3 { font-size: 21px; margin-bottom: 12px; }
.aud p { font-size: 16.5px; flex: 1; }
.aud ul { border-top: 0; padding-top: 0; margin-top: 18px; gap: 8px; color: var(--ink); }
.aud li { white-space: normal; align-items: flex-start; gap: 10px; }
.aud li .icon { display: none; }
/* The six steps: a rule above each, the number large in blue. */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 48px; background: none; border: 0; }
.step { background: transparent; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.step-no { margin: 0 0 14px; display: block; }
.step .icon { display: none; }
.step-num b { width: auto; height: auto; border-radius: 0; background: none; color: var(--blue); font: 800 40px/1 var(--sans); letter-spacing: -.03em; display: block; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 16.5px; line-height: 1.55; }
.week { border: 1px solid var(--hair); margin-top: 56px; }
.week > div { border-right: 1px solid var(--hair); }
.week .d { font: 700 13.5px/1 var(--sans); color: var(--slate); }
.week b { font: 500 19px/1.25 var(--serif); }
.week span { color: var(--slate); font-size: 14.5px; }
.week .on { background: var(--blue-tint); }
.features { gap: 40px 32px; }
.feature .icon { display: none; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p, .light .feature p { color: var(--slate); font-size: 16.5px; }
.stats { border: 0; border-top: 1px solid var(--hair); margin: 40px 0 56px; padding-top: 24px; gap: 24px; }
.stats div { padding: 0; }
.stats b { font: 800 clamp(38px, 4vw, 54px)/1 var(--sans); letter-spacing: -.035em; color: var(--blue); margin-bottom: 10px; }
.stats span { font: 500 15px/1.4 var(--sans); color: var(--slate); }
.cert-shot img, .light .cert-shot img { border: 1px solid var(--hair); box-shadow: 0 24px 50px rgba(20, 26, 38, .18); }
.kv dt { font: 700 14.5px/1.9 var(--sans); color: var(--slate); }
.notice { border-left: 3px solid var(--blue); background: var(--blue-tint); color: var(--ink); font-size: 16px; }
.notice.warn { border-color: var(--wax); background: #F7E9EB; }
.notice.important { background: #F7E9EB; border: 1px solid #E9C9CE; border-left: 4px solid var(--wax); color: #4A1119; }
.notice.important strong { color: var(--wax); }
.contact-faq { background: #fff; border: 1px solid var(--hair); }
.contact-faq h3 { font: 500 24px/1.2 var(--serif); }
.contact-faq p { color: var(--slate); }
.disclaimer, .section:not(.light) .disclaimer { margin: 52px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--hair); max-width: 820px; font: 400 14.5px/1.6 var(--sans); color: var(--slate); }

/* ------------------------------------------------------------- curriculum */
.unit-group { margin-bottom: 64px; }
.unit-group-head { border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.unit-group-head h3, .unit-group-head h2.h3-look, h2.h3-look { font: 500 clamp(26px, 2.4vw, 32px)/1.15 var(--serif); letter-spacing: -.01em; }
.unit-group-head .eyebrow { color: var(--blue); }
.unit-row { border-bottom: 1px solid var(--hair); padding: 20px 0; }
a.unit-row:hover, .unit-row:target { background: var(--blue-tint); box-shadow: -14px 0 0 var(--blue-tint), 14px 0 0 var(--blue-tint); }
.unit-row:target { box-shadow: -14px 0 0 var(--blue-tint), 14px 0 0 var(--blue-tint), -17px 0 0 var(--blue); }
.unit-row .no { font: 800 15px/1 var(--sans); color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.unit-row[style*="align-items:start"] .no { height: 1.45rem; padding-top: 0; }
.unit-row h4, .unit-row h3 { font: 500 23px/1.2 var(--serif); letter-spacing: -.005em; }
.unit-row p { color: var(--slate); font-size: 16px; }
.unit-more, .sample-pdf { color: var(--blue); font: 600 15px/1.4 var(--sans); }
.unit-more:hover, .sample-pdf:hover { color: var(--blue-dark); }
.topic-badges li { border-radius: 999px; border: 1px solid var(--hair); background: #fff; color: var(--slate); font: 400 13.5px/1.3 var(--sans); }
.spot-box { background: #fff; border: 1px solid var(--hair); border-left: 2px solid var(--blue); }
.spot-label { font: 700 13.5px/1 var(--sans); color: var(--blue); }
.spot span { color: var(--slate); font-family: var(--sans); }
.spot b { color: var(--ink); font: 700 15px/1.3 var(--sans); }
.spot .avatar-mono { background: var(--mist); font: 500 15px/1 var(--sans); }
.sample-cta { background: var(--blue); color: #fff; border-radius: var(--radius); }
.sample-cta:hover { background: var(--blue-dark); }
.sample-cta .icon { color: #fff; }
.sample-cta span { color: #D5DEF6; font-family: var(--sans); }
.sample-cta b { font-family: var(--sans); }
.unit-row .pk { font: 600 14px/1.4 var(--sans); color: var(--slate); }
.unit-pager { border-top: 1px solid var(--ink); }
.unit-pager a { font: 500 20px/1.3 var(--serif); }
.unit-pager a span { font: 700 14px/1.8 var(--sans); color: var(--slate); }
.learn-card { background: #fff; border: 1px solid var(--hair); }
.learn-card:hover { border-color: var(--ink); transform: none; }

/* ------------------------------------------------------------ researchers */
/* 4:5 portraits in grey scale as in the design, the name in Brygada, the institution in Slate. The engine's grid keeps
   two columns on phones (owner's rule); only the gaps change here. */
.researchers { gap: 44px 32px; }
.avatar { aspect-ratio: 4 / 5; border: 0; background: var(--mist); filter: grayscale(1) contrast(1.06); object-fit: cover; object-position: 50% 22%; }
.avatar-mono { font: 500 2.6rem/1 var(--serif); color: var(--slate); border: 1px solid var(--hair); background: #fff; letter-spacing: 0; }
.researcher-body { border-top: 0; padding-top: 18px; margin-top: 0; }
.researcher h3 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.researcher-inst { font: 500 14px/1.45 var(--sans); color: var(--slate); margin: 0 0 10px; }
.researcher p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.researcher-body .eyebrow { font: 600 14px/1.4 var(--sans); color: var(--slate); }
.researcher:hover h3 { color: var(--blue); text-decoration-color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* --------------------------------------------------------------- packages */
/* White cards with a hairline; the recommended one with a blue frame and the blue flag in its corner (absolute, so it
   never moves the titles; the engine's invisible placeholder keeps the three cards level). The Enrol button follows the
   price tag in the engine's order. */
.packages { gap: 28px; align-items: stretch; }
.package, .light .package { display: flex; flex-direction: column; padding: 28px 28px 30px; border: 1px solid var(--hair); background: #fff; color: var(--ink); position: relative; }
.package.is-featured, .light .package.is-featured { background: #fff; border: 2px solid var(--blue); box-shadow: 0 22px 50px rgba(31, 71, 184, .14); padding: 27px 27px 29px; }
.package-flag { position: absolute; top: 14px; right: 14px; background: var(--blue); color: #fff; font: 700 13.5px/1 var(--sans); padding: 8px 12px; border-radius: 3px; }
.package-flag.is-placeholder { visibility: hidden; }
.package > .eyebrow:not(.package-units-label) { font: 600 15px/1.3 var(--sans); color: var(--slate); margin: 0 0 2px; }
.package h2, .package h3 { font: 500 24px/1.2 var(--serif); margin: 6px 0 8px; min-height: 2.4em; display: flex; align-items: flex-end; }
.package-note { color: var(--slate); font-size: 15.5px; line-height: 1.55; min-height: 6.2em; margin: 0 0 14px; }
.fee { border: 0; padding: 0; margin: 4px 0 18px; gap: 4px 12px; align-items: baseline; font-family: var(--sans); font-variant-numeric: tabular-nums lining-nums; }
.fee-label { font: 500 14.5px/1 var(--sans); color: var(--slate); margin-bottom: 8px; }
.fee-now { font: 800 40px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.fee-cents { font-size: .5em; vertical-align: .7em; }
.fee-was { font: 500 18px/1 var(--sans); color: var(--slate); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.fee-aid { margin: -4px 0 16px; color: var(--blue); font: 600 15px/1.4 var(--sans); }
.fee-aid span { color: var(--blue); }
.fee-aid:hover { color: var(--blue-dark); text-decoration: underline; }
.package-incl { margin: 20px 0 0; gap: 8px; font: 400 15.5px/1.45 var(--sans); color: var(--ink); }
.package-incl li { position: relative; padding-left: 28px; }
.package-incl li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%231F47B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat; }
.package-units-label { border-top: 1px solid var(--hair); margin: 24px 0 4px; padding-top: 18px; font: 700 14.5px/1.4 var(--sans); color: var(--ink); }
.package-units { gap: 0; font: 500 15.5px/1.35 var(--sans); }
.package-units li a { grid-template-columns: 24px 1fr 14px; gap: 12px; border: 0; border-bottom: 1px solid var(--hair); background: none; padding: 11px 0; font-weight: 500; transition: none; color: var(--ink); }
.package-units li a::after { color: var(--blue); }
.package-units li a:hover, .package-units li a:focus-visible { background: transparent; border-color: var(--hair); color: var(--blue); }
.package-units li a > span { font: 800 15px/1.35 var(--sans); color: var(--blue); font-variant-numeric: tabular-nums; }
.package-units li.gap { margin-top: 14px; }
.topic-badge { font: 700 11px/1 var(--sans); color: var(--blue); border: 1px solid var(--blue); padding: 3px 6px; border-radius: 3px; }
.fee-footnote { margin-top: 32px; font: 500 16px/1.5 var(--sans); color: var(--slate); text-align: left; }
.aid-note { border: 1px solid var(--blue); background: var(--blue-tint); }
.aid-note h3 { font-size: 21px; }
.aid-note p { color: var(--ink); font-size: 15.5px; }
.aid-note.is-granted { border-color: var(--ok); background: #EAF5EE; }
@media (max-width: 1080px) {
  .packages { max-width: 620px; gap: 28px; }
  .package h2, .package h3, .package-note { min-height: 0; }
}

/* ----------------------------------------------------------- testimonials */
.testimonials { gap: 48px 40px; }
.testimonial, .section:not(.light) .testimonial { border: 0; border-top: 2px solid var(--ink); background: transparent; padding: 24px 0 0; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 22px; font: 400 17.5px/1.6 var(--serif); letter-spacing: 0; color: var(--ink); flex: 1; }
.testimonial blockquote::before { content: none; }
.testimonial figcaption, .section:not(.light) .testimonial figcaption { border: 0; padding: 0; font: 400 14.5px/1.45 var(--sans); color: var(--slate); gap: 14px; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; }
.testimonial figcaption .t-avatar-mono, .section:not(.light) .testimonial figcaption .t-avatar-mono { background: var(--blue-tint); color: var(--blue); border: 0; font: 800 16px/1 var(--sans); letter-spacing: .02em; }
.testimonial figcaption strong { color: var(--ink); font-weight: 700; }
.testimonial figcaption span, .section:not(.light) .testimonial figcaption span { color: var(--slate); }
.testimonial .t-date, .section:not(.light) .testimonial .t-date { font: 400 13.5px/1.4 var(--sans); color: var(--slate); }

/* ------------------------------------------------------------------- blog */
.posts { gap: 48px 32px; }
.post-card-img { aspect-ratio: 16 / 10; background: var(--mist); margin-bottom: 18px; }
.post-card:hover .post-card-img img { transform: none; }
.post-card .eyebrow { font: 600 14px/1.3 var(--sans); color: var(--blue); }
.post-card h3 { font-size: 21px; margin: 8px 0 10px; }
.post-card p, .section:not(.light) .post-card p { font-size: 16px; color: var(--slate); }
.post-card:hover h3 { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.pager a, .pager span { border: 1px solid var(--hair); color: var(--ink); border-radius: var(--radius); font-family: var(--sans); }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic-links a, .section:not(.light) .topic-links a { border: 1px solid var(--hair); color: var(--ink); font-family: var(--sans); }
.topic-links a:hover { border-color: var(--blue); color: var(--blue); }
.post-meta { border-bottom: 1px solid var(--hair); font-family: var(--sans); font-size: 15px; }
.post-cover { background: var(--mist); }
.prose .citation .cite-doi { color: var(--blue); }
.prose .citation .cite-note { color: var(--slate); }

/* -------------------------------------------------------------------- faq */
.faq, .light .faq { border-top: 1px solid var(--hair); }
.faq details, .light .faq details { border-bottom: 1px solid var(--hair); }
.faq summary { padding: 22px 44px 22px 0; font: 600 18.5px/1.35 var(--sans); letter-spacing: 0; }
.faq summary:hover { color: var(--blue); }
.faq summary::after { content: ""; width: 14px; height: 14px; right: 6px; font: 0/0 a; background: linear-gradient(var(--blue), var(--blue)) center/14px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center/2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%); background: linear-gradient(var(--blue), var(--blue)) center/14px 2px no-repeat; }
.faq-a, .light .faq-a { color: var(--slate); max-width: 68ch; padding: 0 44px 24px 0; }
.faq-a p { margin: 0; }

/* ------------------------------------------------------------- newsletter */
.newsletter { border: 0; border-top: 1px solid var(--hair); background: transparent; padding: 48px 0 0; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: center; }
.newsletter h2 { font-size: 32px; margin-bottom: 10px; }
.newsletter p { color: var(--slate); font-size: 17px; }
.newsletter-form { gap: 10px; }
.newsletter-form input[type=email] { height: 52px; background: #fff; border: 1.5px solid #9AA4B5; border-radius: var(--radius); color: var(--ink); font: 400 17px/1.2 var(--sans); padding: 0 16px; }
.newsletter-form input[type=email]::placeholder { color: #6B7485; }
.newsletter-form input[type=email]:focus { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 1px; }
.newsletter-form .btn { height: 52px; }
.cta-final { text-align: center; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-ink); border-top: 0; padding: 72px 0 0; font: 400 15px/1.55 var(--sans); }
.footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px 28px; padding-bottom: 44px; border-bottom: 1px solid var(--ink-line); }
.footer-brand .brand { display: inline-flex; }
.logo-footer { height: 54px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--on-ink); font-size: 15px; max-width: 28em; }
.footer-contact { color: var(--on-ink); font-size: 15px; grid-template-columns: 68px 1fr; margin: 18px 0 0; }
.footer-contact dt { font: 700 14px/1.9 var(--sans); color: #fff; }
.footer-contact dd, .footer-contact a { color: var(--on-ink); }
.footer-contact a:hover { color: #fff; }
.footer-col { gap: 9px; }
.footer-col .eyebrow { margin-bottom: 6px; }
.footer-col a { font-size: 15px; color: var(--on-ink); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 0; border-top: 0; color: var(--on-ink); font-size: 14px; padding-top: 24px; padding-bottom: 32px; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social a { font-weight: 600; }
.site-footer :focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------------ forms */
.auth-card { background: #fff; color: var(--ink); max-width: 500px; border: 1px solid var(--hair); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 34px; margin: 10px 0 14px; }
.auth-card p { color: var(--slate); }
.field label { font: 600 15px/1.3 var(--sans); color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { border: 1.5px solid #9AA4B5; background: #fff; color: var(--ink); border-radius: var(--radius); height: 50px; font: 400 17px/1.2 var(--sans); }
.field textarea { line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 1px; }
.field input[disabled] { background: var(--mist); color: var(--slate); border-color: var(--hair); }
.field .hint { color: var(--slate); font-family: var(--sans); }
.checkline { font-family: var(--sans); font-size: 15px; }
.checkline input, .upgrade-opt input, .aid-form .aid-radios input { accent-color: var(--blue); }
.pw-toggle, .link-button, .auth-card .field .hint a { color: var(--blue); font-weight: 600; font-family: var(--sans); }
.auth-switch { border-top: 1px solid var(--hair); font-family: var(--sans); font-size: 15px; }
.cp-list { border: 1px solid var(--hair); box-shadow: 0 18px 40px rgba(20, 26, 38, .12); font-family: var(--sans); }
.cp-list li.is-active, .cp-list li[role=option]:hover { background: var(--blue-tint); }
.verify-form input { background: #fff; border: 1.5px solid #9AA4B5; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); color: var(--ink); font: 600 17px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; height: 54px; }
.verify-form input:focus { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 1px; }
.verify-form .btn { height: 54px; border-radius: 0 var(--radius) var(--radius) 0; }
.credential { background: #fff; color: var(--ink); border: 1px solid var(--hair); border-top: 4px solid var(--blue); }
.credential .eyebrow { color: var(--blue); }
.credential h1 { font-size: clamp(30px, 3.4vw, 44px); }
.credential .valid { color: var(--ok); border: 1px solid var(--ok); font: 600 14px/1 var(--sans); border-radius: 3px; }
.credential .facts { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); font-family: var(--sans); font-size: 15px; color: var(--slate); }
.credential .facts b { font: 700 20px/1.2 var(--sans); color: var(--ink); }
.credential table { font-family: var(--sans); font-size: 15.5px; }
.credential th { font: 700 14px/1 var(--sans); color: var(--slate); border-bottom: 1px solid var(--ink); }
.credential td { border-color: var(--hair); }
.credential td:first-child { font: 800 14px/1 var(--sans); color: var(--blue); }
.copyline input { background: #fff; border: 1.5px solid #9AA4B5; border-radius: var(--radius); color: var(--ink); font: 400 15px/1 var(--sans); }
.doc-cards { gap: 24px; }
.doc-card { background: #fff; border: 1px solid var(--hair); }
.doc-card img { border: 1px solid var(--hair); }
.doc-card p { color: var(--slate); }
.coupon-box { font-family: var(--sans); }
.coupon-form input { border: 1.5px solid #9AA4B5; border-radius: var(--radius); font: 600 15px/1.2 var(--sans); letter-spacing: .06em; }
.coupon-code { color: var(--slate); font-weight: 600; }
.coupon-error { color: var(--wax); }
.coupon-applied { color: var(--ok); }
.tag-chip { background: var(--blue); color: #fff; border-radius: 3px; font-family: var(--sans); }
.rating-opt span { border: 1px solid var(--hair); border-radius: var(--radius); }
.rating-opt:hover span { border-color: var(--ink); }
.rating-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.rating-opt input:checked + span small { color: #D5DEF6; }
.rating-opt b { font: 800 24px/1 var(--sans); }
.upgrade-opt { border: 1px solid var(--hair); border-radius: var(--radius); font-family: var(--sans); }
.upgrade-opt:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.upgrade-opt b { font: 500 20px/1.25 var(--serif); }
.upgrade-badge { background: var(--wax); font: 700 11px/1 var(--sans); letter-spacing: .02em; }
.upgrade-price strong { font: 800 22px/1 var(--sans); letter-spacing: -.02em; }

/* ---------------------------------------------------------------- account */
.account-head p { color: var(--slate); }
.tabs { box-shadow: inset 0 -1px 0 var(--hair); }
.tabs a { font: 600 15.5px/1 var(--sans); color: var(--slate); border-bottom: 2px solid transparent; }
.tabs a.is-active, .tabs a:hover { color: var(--ink); border-color: var(--blue); }
.account-body .wrap > .notice { background: var(--blue-tint); color: var(--ink); border: 0; border-left: 3px solid var(--blue); }
.account-body .wrap > .notice a, .account-body .wrap > .notice .link-button { color: var(--blue); }
.account-body .wrap > .notice-bad { border-left-color: var(--wax); background: #F7E9EB; }
.save-ok { color: var(--ok); }
.save-bad { color: var(--wax); }
.dialog-back { background: rgba(20, 26, 38, .6); }
.dialog { background: #fff; color: var(--ink); border: 1px solid var(--hair); border-top: 3px solid var(--blue); box-shadow: 0 24px 60px rgba(20, 26, 38, .3); }
.dialog h2 { font: 500 26px/1.2 var(--serif); }
.dialog p { color: var(--slate); }
.progress-strip { border: 1px solid var(--hair); background: #fff; }
.progress-strip div { border-right: 1px solid var(--hair); }
.progress-strip b { font: 800 30px/1.1 var(--sans); letter-spacing: -.02em; }
.progress-strip span { font: 500 14px/1.3 var(--sans); color: var(--slate); }
.bar { background: var(--hair); height: 3px; }
.bar i { background: var(--blue); }
.ucard { background: #fff; border: 1px solid var(--hair); }
.ucard.is-open { background: #fff; border-color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
.ucard.is-locked { background: transparent; }
.ucard.is-locked h3, .ucard.is-locked .ucard-no { color: #9AA4B5; }
.ucard-no { font: 800 34px/1 var(--sans); letter-spacing: -.03em; color: var(--blue); }
.ucard-no small { font: 700 12px/1 var(--sans); color: var(--slate); }
.ucard h3 { font-size: 22px; }
.ucard-meta, .ucard-score span, .ucard-more { color: var(--slate); font-family: var(--sans); }
.ucard-score b { font-family: var(--sans); }
.ucard-more:hover { color: var(--blue); }
.pill { font: 700 13px/1 var(--sans); border: 1px solid var(--ink); color: var(--ink); border-radius: 3px; }
.pill.ok { border-color: var(--ok); color: var(--ok); }
.pill.wait { color: var(--slate); border-color: var(--hair); }
.pill.bad { border-color: var(--wax); color: var(--wax); }
.verdict { font: 700 15px/1 var(--sans); border-radius: 3px; }
.verdict.bad { background: var(--wax); }
.verdict.ok { background: var(--ok); }
.exam-score { font: 800 54px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.exam-score small, .exam-score span { color: var(--slate); font-family: var(--sans); }
.exam-result.is-passed { border-color: var(--ok); }
.exam-result.is-failed { border-color: var(--wax); }
.score { font: 800 19px/1 var(--sans); }
.panel { background: #fff; border: 1px solid var(--hair); }
.panel h2 { font-size: 28px; }
.panel p { color: var(--slate); }
.panel.is-key { border: 1px solid var(--ink); }
.paper-card { background: #fff; color: var(--ink); border: 1px solid var(--hair); }
.paper-card h2 { font-size: 32px; }
.kv { font-size: 16px; }

/* ------------------------------------------------------------------- quiz */
.quiz-head { border-bottom: 1px solid var(--ink); }
.quiz-head p { color: var(--slate); }
.q { background: #fff; border: 1px solid var(--hair); }
.q-no { font: 700 13.5px/1 var(--sans); color: var(--slate); }
.q-text { font: 500 21px/1.35 var(--serif); }
.opt { border: 1px solid var(--hair); border-radius: var(--radius); font-size: 16.5px; }
.opt:hover { border-color: var(--ink); }
.opt .k { border: 1.5px solid var(--ink); border-radius: 3px; font: 700 13px/1 var(--sans); }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.opt:has(input:checked) .k { background: var(--blue); color: #fff; border-color: var(--blue); }
.opt:has(input:focus-visible) { outline-color: var(--blue); }
.opt.is-right { background: #EAF5EE; }
.opt.is-wrong { background: #F7E9EB; border-color: var(--wax); }
.opt.is-wrong .k { background: var(--wax); border-color: var(--wax); }
.q.is-incorrect { border-left-color: var(--wax); }
.explain { background: var(--blue-tint); border-left: 3px solid var(--blue); color: var(--ink); }
.explain b { font: 700 13.5px/1 var(--sans); color: var(--slate); }
.quiz-foot { background: rgba(255, 255, 255, .94); border-top: 1px solid var(--hair); }
.quiz-foot .state { font: 600 14px/1.4 var(--sans); color: var(--slate); }
.scorebox { border: 1px solid var(--ink); background: #fff; }
.scorebox .big { font: 800 60px/1 var(--sans); letter-spacing: -.03em; }
.scorebox .big small { color: var(--slate); }
.timer { background: #fff; border: 1px solid var(--ink); font: 600 14px/1 var(--sans); }
.timer b { font: 800 26px/1 var(--sans); letter-spacing: 0; }
.timer.is-low { border-color: var(--wax); color: var(--wax); }
.breakdown th { font: 700 13.5px/1 var(--sans); color: var(--slate); }
.breakdown td, .breakdown th { border-color: var(--hair); }

/* ------------------------------------------------------------ unit reader */
/* The unit's photograph as a band with the title panel overlapping its lower edge, as the page heroes; the reading
   column on white; the boxes in the colours of the unit PDFs (theme/theme.tex). */
.reader-hero { background: #fff; overflow: visible; }
.reader-hero img.bg { position: static; display: block; width: 100%; height: clamp(300px, 42vw, 560px); object-fit: cover; filter: none; }
.reader-hero .wrap { position: relative; z-index: 2; margin: -170px auto 0; max-width: calc(980px + 2 * var(--gut)); }
.reader-hero .wrap { background: #fff; box-shadow: var(--shadow); padding: 44px 52px 40px; }
.reader-hero h1 { color: var(--ink); margin: 14px 0 14px; }
.reader-hero .sub { font: italic 400 21px/1.4 var(--serif); color: var(--slate); margin-bottom: 26px; }
.reader-hero .credit { position: static; display: block; text-align: right; padding: 10px var(--gut) 0; max-width: var(--wrap); margin: 0 auto; }
.reader { background: #fff; color: var(--ink); }
.reader-grid { padding-top: 56px; }
.toc { font-family: var(--sans); font-size: 14.5px; }
.toc a { border-left: 1px solid var(--hair); color: var(--slate); }
.toc a:hover, .toc a.is-active { color: var(--blue); border-color: var(--blue); }
.unit-text { font-size: 17.5px; line-height: 1.7; }
.unit-text h2 { font-size: 32px; border-bottom: 1px solid var(--ink); }
.unit-text h3 { font-size: 24px; }
.unit-text h4 { font: 700 17px/1.3 var(--sans); font-style: normal; }
.unit-text .secno { font: 700 .62em/1 var(--sans); color: var(--slate); }
.unit-text code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--mist); }
.unit-text .fn { color: var(--slate); }
.unit-text figcaption { font-family: var(--sans); font-size: 14px; color: var(--slate); }
.unit-text figcaption b { color: var(--ink); }
.unit-text table { font-family: var(--sans); font-size: 15px; border-color: var(--ink); }
.unit-text th { border-bottom-color: var(--ink); }
.box { border: 1px solid var(--ink); background: #fff; }
.box-head { font-family: var(--sans); }
.box-kind { font: 700 13px/1.2 var(--sans); }
.box-title { font: 700 16px/1.3 var(--sans); }
.box-keyequation { --bx: #1F47B8; --bx-l: #E7ECF8; }
.box-law, .box-laws { --bx: #2B3A67; --bx-l: #EAEDF5; }
.box-derivation { --bx: #4B5567; --bx-l: #F2F4F7; background: #fff; }
.box-example { --bx: #2E7D4F; --bx-l: #EAF5EE; }
.box-excursion { --bx: #8E1F2F; --bx-l: #F7E9EB; }
.box-research { --bx: #141A26; --bx-l: #F2F4F7; }
.box-research .box-kind { color: var(--on-ink); }
.box-research .box-name { font: 500 24px/1.15 var(--serif); }
.box-research .box-inst { font: italic 400 17px/1.3 var(--serif); color: var(--on-ink); }
.box-keypoints { --bx: #8A6512; --bx-l: #F8F1DF; }
.box-keypoints .box-kind { color: #8A6512; }
.box-check { --bx: #6B3D7A; --bx-l: #F3ECF6; }
.box-interactive { --bx: #173890; --bx-l: #E7ECF8; }
.box-questions .box-kind { font: 600 16.5px/1.4 var(--serif); color: #8A6512; }
.paperlink { border-top: 1px solid var(--hair); font-family: var(--sans); font-size: 15px; }
.paperlink span { font: 700 13px/1 var(--sans); color: var(--slate); }
.reader-end { background: var(--ink); color: #fff; }
.reader-end h3, .reader-end h2 { font-size: 26px; }
.preview-fade::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%); }
.lit-list li { border-bottom: 1px solid var(--hair); }
.lit-list a.t { font: 500 21px/1.25 var(--serif); color: var(--ink); }
.lit-list .m { color: var(--slate); font-family: var(--sans); }
.ia-stage { border: 1px solid var(--hair); }
.ia-btn { border: 1px solid var(--hair); border-radius: 3px; font-family: var(--sans); }
.ia-btn.on { background: var(--blue); border-color: var(--blue); }
.ia-slider input[type=range] { accent-color: var(--blue); }
.ia-slider, .ia-readouts, .ia-note, .ia-choice { font-family: var(--sans); }
.ia-val, .ia-readout b { font: 600 14.5px/1.3 var(--sans); }
.q-figure img { filter: none; mix-blend-mode: normal; }

/* ------------------------------------------------------------------ prose */
.prose { font-size: 17.5px; line-height: 1.7; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 24px; }
.prose th { font: 700 14px/1.3 var(--sans); border-bottom: 1px solid var(--ink); }
.prose td { border-bottom: 1px solid var(--hair); }
.prose table { font-size: 15.5px; font-family: var(--sans); }
.prose blockquote { border-left: 2px solid var(--blue); font: italic 400 21px/1.45 var(--serif); }
.legal-updated { font: 600 14px/1.4 var(--sans); color: var(--slate); }
.legal-box { background: #fff; border: 1px solid var(--hair); }
.stack-table td::before { font: 700 13px/1.9 var(--sans); color: var(--slate); }
.resource { border-bottom: 1px solid var(--hair); }
.resource:hover { background: var(--blue-tint); }
.resource-name { font: 500 21px/1.2 var(--serif); }
.resource p { color: var(--slate); font-size: 15.5px; }
.resource-host { color: var(--blue); font: 600 14px/1 var(--sans); }
.resource-note { color: var(--slate); font-family: var(--sans); font-size: 15px; }
.resource-note .icon { color: var(--blue); }
.eq-card { background: #fff; border: 1px solid var(--hair); }
.eq-card h4, .eq-card h3 { font: 700 16px/1.3 var(--sans); }
.eq-card p { color: var(--slate); font-size: 15px; }
.eq-toc { border: 1px solid var(--hair); background: #fff; font-family: var(--sans); font-size: 15px; }
.eq-toc a span { font: 800 13px/1 var(--sans); color: var(--blue); }
.pathway-map td, .pathway-map th { border-bottom: 1px solid var(--hair); font-size: 15.5px; }
.prose-page li { font-size: 17px; }

/* ------------------------------------------------------------ financial aid */
.aid-body > p { color: var(--slate); font-size: 18px; }
.aid-contact { color: var(--slate) !important; font-family: var(--sans); }
.aid-apply-aside { border-top: 2px solid var(--ink); color: var(--slate); font-family: var(--sans); font-size: 15px; }
.aid-apply-aside h3 { color: var(--ink); font-size: 22px; }
.aid-apply-aside ul { color: var(--ink); }
.aid-apply-aside a { color: var(--blue); }
.aid-form fieldset { border: 1px solid var(--hair); background: #fff; }
.aid-form legend { font: 500 26px/1.2 var(--serif); }
.aid-form legend span { background: var(--blue); color: #fff; font: 700 15px/34px var(--sans); }
.aid-form [aria-invalid=true] { border-color: var(--wax); }
.aid-err { color: var(--wax); font-family: var(--sans); }
.aid-submit span { color: var(--slate); font-family: var(--sans); }
.aid-location { border: 1px solid var(--hair); background: var(--mist); font-family: var(--sans); }
.aid-location em { color: var(--slate); }
.aid-wrong summary { color: var(--slate); }
.aid-status { font-family: var(--sans); }
.geo-test-badge { font-family: var(--sans); }

/* ----------------------------------------------------------------- cookie */
.cookie { background: #fff; color: var(--ink); border: 1px solid var(--hair); box-shadow: 0 20px 60px rgba(20, 26, 38, .2); font: 400 15px/1.5 var(--sans); }
.cookie p { color: var(--ink); }
.cookie a { color: var(--blue); }

/* ============================================================ landing page */
/* Place captions: the signature of the design, under every chamber photograph. */
.place { display: grid; gap: 4px; font: 400 14.5px/1.5 var(--serif); color: var(--slate); }
.place-name { font: 700 15px/1.3 var(--sans); color: var(--ink); display: flex; align-items: flex-start; gap: 8px; }
.place-name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); flex: none; margin-top: 5px; }
.place-line { font-family: var(--serif); }
.place-unit { font: 600 14px/1 var(--sans); color: var(--blue); white-space: nowrap; text-decoration: none; }
.place-unit:hover { text-decoration: underline; text-underline-offset: 3px; }
figure > .place { padding-top: 14px; }

/* The hero: the photograph band, the white panel overlapping its lower edge, the caption at its right. */
.ir-hero { position: relative; padding-bottom: 40px; background: #fff; }
.ir-hero-photo { margin: 0; height: clamp(320px, calc(100vh - var(--header-h) - 300px), 600px); min-height: 320px; overflow: hidden; background: #8fb0d8; }
.ir-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.ir-hero-grid, .ir-band-grid { display: grid; grid-template-columns: minmax(0, 880px) minmax(0, 1fr); gap: 48px; margin-top: -236px; position: relative; z-index: 2; }
.ir-band-grid { grid-template-columns: minmax(0, 820px) minmax(0, 1fr); margin-top: -170px; }
.ir-panel { align-self: start; background: #fff; padding: 44px 52px 40px; box-shadow: var(--shadow); }
.ir-hero h1 { display: block; margin: 0; font-size: inherit; max-width: none; }
.ir-hero .hero-name, .hero-name { display: block; font: 600 18px/1.3 var(--sans); letter-spacing: 0; color: var(--blue); margin-bottom: 14px; }
.ir-hero .hero-headline, .hero-headline { display: block; font: 500 clamp(36px, 3.9vw, 54px)/1.08 var(--serif); letter-spacing: -.012em; max-width: none; }
.hero-sub { font: 400 19px/1.55 var(--serif); color: var(--slate); margin: 20px 0 28px; max-width: 62ch; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 0; border: 0; font: 600 15.5px/1.3 var(--sans); color: var(--ink); }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.ir-hero-caption { align-self: start; padding-top: 256px; }
.ir-band-caption { align-self: start; padding-top: 190px; }

/* Alumni strip on mist. */
.alumni { background: var(--mist); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 26px 0; margin-top: 24px; overflow: hidden; }
.alumni-row { display: flex; align-items: center; gap: 40px; }
.alumni-h { font: 600 15px/1.3 var(--sans); color: var(--slate); letter-spacing: 0; flex: none; max-width: 110px; margin: 0; text-align: left; }
.alumni .marquee { flex: 1; overflow: hidden; display: flex; width: auto; animation: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.alumni .marquee-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; animation: marq 70s linear infinite; }
.alumni .marquee img { height: 34px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .72; }
@keyframes marq { to { transform: translateX(-100%); } }

/* About the program: the split with the place caption under the photograph. */
#program .split-media { margin: 0; }
#program .split-body p { color: var(--ink); }

/* Topics: three photograph cards with the units of each group. */
.ir-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ir-topic { background: #fff; border: 1px solid var(--hair); display: flex; flex-direction: column; }
.ir-topic-media { margin: 0; }
.ir-topic-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ir-topic-media .place { padding: 14px 26px 0; }
.ir-topic-body { padding: 22px 26px 30px; }
.topic-units { font: 700 14.5px/1 var(--sans); color: var(--blue); margin: 8px 0 10px; }
.ir-topic h3 { font-size: 24px; margin-bottom: 12px; }
.ir-topic-body > p:not(.topic-units) { font-size: 16px; color: var(--slate); }
.unit-list { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.unit-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--hair); font: 500 15.5px/1.35 var(--sans); }
.unit-list a { color: var(--ink); text-decoration: none; }
.unit-list a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.u-no { font: 800 15px/1.35 var(--sans); color: var(--blue); min-width: 22px; font-variant-numeric: tabular-nums; }

/* The certificate figure: the Peace Palace with the document laid over its lower left corner. */
.ir-cert-media { position: relative; margin: 0; }
.ir-cert-media > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ir-cert-row { display: grid; grid-template-columns: minmax(0, 62%) minmax(0, 1fr); gap: 24px; margin-top: -150px; position: relative; }
.ir-cert-doc, .ir-cert-doc-img { margin-left: -28px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 24px 50px rgba(20, 26, 38, .22); }
.ir-cert-doc-img { width: 100%; height: auto; }
.ir-cert-doc { padding: 26px 28px 22px; outline: 1px solid var(--hair); outline-offset: -9px; }
.ir-cert-doc p { margin: 0; }
.cd-brand { font: 700 14px/1 var(--sans); }
.cd-title { font: 700 22px/1.2 var(--sans); letter-spacing: -.01em; margin: 14px 0 10px !important; color: var(--blue); }
.cd-small { font-size: 12.5px; line-height: 1.5; color: var(--slate); }
.cd-name { font: italic 400 26px/1.3 var(--serif); margin: 4px 0 6px !important; border-bottom: 1px solid var(--hair); padding-bottom: 4px; }
.cd-units { font: 500 11.5px/1.45 var(--sans); color: var(--slate); margin-top: 10px !important; }
.cd-foot { display: flex; justify-content: space-between; gap: 12px; font: 600 11.5px/1.3 var(--sans); margin-top: 16px !important; padding-top: 10px; border-top: 1px solid var(--hair); }
.ir-cert-cap { padding-top: 166px; }
.split-rev { grid-template-columns: 1fr 1.08fr; }

/* The sample unit: the typeset first page, or its stand-in while the unit is not built. */
.ir-preview { padding: 0; }
.ir-sheet-link { display: block; max-width: 600px; }
.ir-sheet-img { width: 100%; height: auto; background: #fff; box-shadow: 0 2px 0 var(--hair), 0 30px 60px rgba(20, 26, 38, .12); border: 1px solid var(--hair); }
.ir-sheet { background: #fff; box-shadow: 0 2px 0 var(--hair), 0 30px 60px rgba(20, 26, 38, .12); padding: 40px 46px 28px; max-width: 600px; }
.pp-head { display: flex; justify-content: space-between; font: 500 12.5px/1 var(--sans); color: var(--slate); border-bottom: 1px solid var(--hair); padding-bottom: 12px; margin-bottom: 30px; }
.pp-unit { font: 700 15px/1 var(--sans); color: var(--blue); margin-bottom: 8px; }
.pp-title { font: 500 30px/1.1 var(--serif); letter-spacing: -.015em; margin-bottom: 10px; }
.pp-sub { font: italic 400 16.5px/1.4 var(--serif); color: var(--slate); margin-bottom: 18px; }
.pp-text { font-size: 15px; line-height: 1.7; hyphens: auto; }
.pp-fig { margin: 22px 0 0; }
.pp-fig img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 30%; }
.pp-cap { font-size: 13px; }
.pp-cap .place-name { font-size: 13.5px; }
.pp-folio { font: 500 12px/1 var(--sans); color: var(--slate); text-align: right; margin: 20px 0 0; }
.lead-in { font: 700 20px/1.35 var(--sans); color: var(--blue); margin-bottom: 14px; }
.questions { margin: 8px 0 32px; padding-left: 0; list-style: none; counter-reset: q; }
.questions li { counter-increment: q; position: relative; padding: 12px 0 12px 42px; border-top: 1px solid var(--hair); font-size: 16.5px; line-height: 1.55; }
.questions li:last-child { border-bottom: 1px solid var(--hair); }
.questions li::before { content: counter(q); position: absolute; left: 0; top: 12px; font: 800 17px/1.5 var(--sans); color: var(--blue); }

/* The two photograph bands (community, final call) with the panel of the hero. */
.ir-band-section { position: relative; padding: 0 0 var(--sec); background: #fff; }
.ir-band { margin: 0; height: clamp(300px, 42vw, 560px); overflow: hidden; }
.ir-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.ir-band-section .ir-panel > p { color: var(--slate); font-size: 18px; margin: 16px 0 30px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; border-top: 1px solid var(--hair); padding-top: 24px; }
.figures div { display: flex; flex-direction: column; gap: 8px; }
.figures dd { order: -1; margin: 0; font: 800 clamp(38px, 4vw, 54px)/1 var(--sans); letter-spacing: -.035em; color: var(--blue); }
.figures dt { font: 500 15px/1.4 var(--sans); color: var(--slate); }
.ir-band-section .features { margin-top: 72px; }
.ir-final-panel h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 16px; }
.ir-final-panel p { color: var(--slate); font-size: 19px; margin-bottom: 28px; max-width: 56ch; }
.ir-final .ir-band-grid { margin-top: -190px; }
.ir-final .ir-band-caption { padding-top: 210px; }

/* FAQ, blog head, newsletter on the landing page. */
.ir-faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.ir-faq-wrap .section-head { margin-bottom: 0; }
.ir-faq-wrap .faq { border-top: 1px solid var(--hair); }
.head-row-link { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 24px; }
.ir-nl { padding: 72px 0; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nl-row h2 { font-size: 32px; margin-bottom: 10px; }
.nl-row p { color: var(--slate); margin: 0; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .nav-top { padding: 12px 8px; }
  .ir-hero-grid, .ir-band-grid { grid-template-columns: 1fr; gap: 0; }
  .ir-hero-caption, .ir-band-caption, .ir-final .ir-band-caption { padding-top: 20px; max-width: 640px; }
}
@media (max-width: 1080px) {
  .researchers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .split, .split-rev { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > :first-child { order: 0; }
  .split-rev .ir-cert-media { order: -1; }
  .cards-3, .ir-topics { grid-template-columns: 1fr; }
  .ir-topics { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ir-faq-wrap, .nl-row, .newsletter { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .alumni-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .alumni-h { max-width: none; }
  .alumni .marquee { width: 100%; }
  .head-row-link { flex-direction: column; align-items: flex-start; }
  .reader-hero .wrap { margin-top: -120px; padding: 32px var(--gut) 30px; }
}
@media (max-width: 860px) {
  .logo { height: 36px; }
  .split-media img { aspect-ratio: 3 / 2; }
  .cards-3, .steps, .features, .posts, .testimonials { grid-template-columns: 1fr; }
  .aud { border: 1px solid var(--hair); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats div { border: 0; padding: 0; }
  .unit-row .no { white-space: nowrap; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .ir-hero-photo { height: 300px; min-height: 0; }
  .ir-hero-grid { margin-top: -56px; }
  .ir-panel { padding: 28px 22px 26px; margin: 0 -4px; }
  .hero-headline, .ir-hero .hero-headline { font-size: 33px; }
  .hero-sub { font-size: 17.5px; }
  .actions .btn, .hero-actions .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .researchers { gap: 32px 16px; }
  .ir-band { height: 260px; }
  .ir-band-grid, .ir-final .ir-band-grid { margin-top: -48px; }
  .figures { grid-template-columns: 1fr; gap: 18px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .ir-cert-row { grid-template-columns: 1fr; margin-top: -60px; gap: 0; }
  .ir-cert-doc, .ir-cert-doc-img { margin: 0 12px; }
  .ir-cert-doc-img { width: calc(100% - 24px); }
  .ir-cert-cap { padding-top: 16px; }
  .ir-sheet { padding: 26px 20px 20px; }
  .pp-title { font-size: 25px; }
  .fee-now { font-size: 36px; }
  .ir-nl { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .reader-hero img.bg { height: 240px; }
  .reader-hero .wrap { margin-top: -40px; padding: 24px var(--gut) 24px; }
  .mm-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .alumni .marquee { -webkit-mask-image: none; mask-image: none; }
  .alumni .marquee-set { animation: none; flex-wrap: wrap; gap: 24px 40px; padding: 0; }
  .alumni .marquee-set + .marquee-set { display: none; }
}
