/* Science Featured — site stylesheet.
   Type: Source Serif 4 (headlines, reading text) + Inter (interface, metadata). Both self-hosted (OFL), see fonts.css.
   Colour: navy ink and brand teal from the existing logo, on white so the site's white-padded figure plates sit flush.

   Contents
     1. Tokens
     2. Base: reset, typography, forms
     3. Layout helpers: .wrap, grids, blocks
     4. Components
        header (ribbon, topbar, masthead, sections nav) · buttons · plates · cards & list rows · home lead ·
        standards band · field index · institutions · researcher band · newsletter · footer ·
        article (head, hero, body, rail, end matter) · section & archive pages · offer page (fr-*) ·
        pricing, payment, documents, guarantee, FAQ · prose pages · contact & person cards · invitation page · utilities
     5. Responsive, one section per breakpoint (desktop first): >=1360, <=1180, <=1080, >=1081, <=860, >=861, <=600, >=601
     6. Print */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --ink: #0f1d26;
  --ink-2: #33434d;
  --ink-3: #5d6b74;
  --ink-4: #6b7780;
  --ink-body: #1b2a33;          /* long-form reading text */
  --line: #8a959c;              /* form fields, ghost buttons */
  --rule: #e2e4e3;
  --rule-strong: #c9cdcc;
  --paper: #ffffff;
  --paper-2: #f5f3ee;
  --paper-3: #eceae3;
  --plate: #f4f3ef;             /* image plate backdrop */
  --brand: #017888;
  --brand-ink: #015a66;
  --brand-tint: #e6f2f3;
  --night: #0c1c25;
  --night-2: #132a36;
  --night-ink: #d5dee2;
  --night-muted: #9fb2ba;       /* labels on dark */
  --night-accent: #7cc6cf;      /* teal on dark */
  --night-link: #9fd3da;        /* link hover on dark */
  --note-bg: #fff8e6;
  --note-ink: #6b4e12;
  --note-line: #f0dfb3;
  --gold: #a8742a;
  --ok: #2d6a4f;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --read: 680px;
  --gutter: 24px;
  --radius: 4px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; margin: 0; color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }
.dek, .excerpt, .art-body p, .prose p { text-wrap: pretty; }

/* small type */
.kicker { font: 600 11.5px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }
.kicker a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.meta { font: 400 13.5px/1.45 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.meta strong { color: var(--ink-2); font-weight: 600; }
.date { font-variant-numeric: tabular-nums; }
.dot::before { content: "·"; margin: 0 .45em; color: var(--ink-4); }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* forms */
input[type=email], input[type=text], input[type=search], textarea, select {
  font: 400 15px/1.3 var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
label { font: 500 14px/1.3 var(--sans); color: var(--ink-2); display: block; margin-bottom: 6px; }
.opt { color: var(--ink-3); font-weight: 400; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.two-col.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

.block { padding: 52px 0; }
.block + .block { border-top: 1px solid var(--rule); }
.block.tinted { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.block.tinted .kicker { color: var(--brand-ink); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.block-head.plain { border-bottom: 0; padding-bottom: 0; margin-bottom: 18px; }
.block-head h2 { font-size: 26px; line-height: 1.15; }
.block-head a { font: 500 14px/1 var(--sans); color: var(--brand-ink); }
.block-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   4. Components
   ========================================================================== */

/* ---------- header: preview ribbon, topbar, masthead, sections nav ---------- */
.preview-ribbon {
  background: var(--note-bg); color: var(--note-ink); border-bottom: 1px solid var(--note-line);
  font: 500 12.5px/1.4 var(--sans); text-align: center; padding: 6px 16px;
}

.topbar { background: var(--night); color: var(--night-ink); font: 400 12.5px/1 var(--sans); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { display: inline-block; padding: 6px 0; color: #fff; }
.topbar a:hover { color: var(--night-link); }
.topbar .tb-links { display: flex; gap: 22px; }
.topbar .tb-note { opacity: .85; }

.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 15px; padding-bottom: 14px; }
.brand-h1 { margin: 0; font: inherit; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand-name { font: 600 27px/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.brand-name span { color: var(--brand); }
.brand-tag { display: none; }
.mast-actions { display: flex; align-items: center; gap: 12px; }
.search-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--ink-2); }
.search-btn:hover { background: var(--paper-2); }

.sections-nav { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.sections-nav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sections-nav .wrap::-webkit-scrollbar { display: none; }
.sections-nav a {
  white-space: nowrap; font: 500 14px/1 var(--sans); color: var(--ink-2);
  padding: 15px 12px 14px; border-bottom: 2px solid transparent;
}
.sections-nav a:first-child { padding-left: 0; }
.sections-nav a:hover { color: var(--ink); }
.sections-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.sections-nav .nav-sep { flex: 1; }
.sections-nav .nav-strong { color: var(--brand-ink); font-weight: 600; }
/* mini logo mark: only shown in the left margin on wide screens, see >=1360 */
.sections-nav .mini-mark { display: none; }
.sections-nav .mini-mark img { width: 24px; height: 24px; }
.sections-nav .mini-mark + a { padding-left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14.5px/1 var(--sans); letter-spacing: .005em;
  padding: 12px 18px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9f4f5; color: var(--ink); }
.btn-line-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-line-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.btn-block { display: flex; width: 100%; }
.btn-cta { white-space: nowrap; }
.arrow::after { content: "→"; font-family: var(--sans); }

/* ---------- plates: photos and illustrations fill the frame, paper figures sit padded on white ---------- */
.plate { position: relative; background: var(--plate); border: 1px solid var(--rule); aspect-ratio: 3 / 2; overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate.tight { border-color: transparent; }
a:hover .plate { border-color: var(--rule-strong); }
.plate.figure { background: #fff; padding: 5%; }
.plate.figure img { object-fit: contain; }
.plate.hero { aspect-ratio: 16 / 10; }
.plate.hero.figure { aspect-ratio: auto; padding: 3%; }
.plate.hero.figure img { height: auto; max-height: 540px; }

/* ---------- cards & list rows ---------- */
.card { display: flex; flex-direction: column; }
.card .plate { margin-bottom: 14px; }
.card .plate.figure { padding: 3%; }
.card h3 { font-size: 21px; line-height: 1.2; margin: 9px 0 8px; letter-spacing: -0.012em; }
.card .excerpt { font: 400 15.5px/1.5 var(--serif); color: var(--ink-2); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card a:hover h3 { color: var(--brand-ink); }

.card-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--rule); }
.card-row:first-child { border-top: 0; padding-top: 0; }
.card-row h3 { font-size: 17px; line-height: 1.25; margin: 6px 0; }

.list-2 { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.list-row { padding: 16px 0 15px; border-top: 1px solid var(--rule); }
.list-row .kicker { display: flex; gap: 12px; align-items: baseline; }
.list-row .date { font: 400 12.5px/1 var(--sans); color: var(--ink-3); letter-spacing: 0; text-transform: none; }
.list-row h3 { font-size: 19px; line-height: 1.28; margin: 7px 0 5px; }
.list-row h3 a:hover { color: var(--brand-ink); }
.grid-note { font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); margin: 12px 0 0; }

/* ---------- home lead ---------- */
.home-lead { padding: 40px 0 36px; border-bottom: 1px solid var(--rule); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.lead-grid.is-figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lead-story .plate { margin-bottom: 0; }
.lead-story .plate.figure, .sec-lead .plate.figure { aspect-ratio: auto; padding: 2.5%; display: grid; place-items: center; }
.lead-story .plate.figure img, .sec-lead .plate.figure img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.lead-text { padding-top: 6px; }
.lead-text .lead-title { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.08; margin: 12px 0 16px; letter-spacing: -0.02em; }
.lead-text .dek { font: 400 19px/1.5 var(--serif); color: var(--ink-2); margin: 0 0 20px; }
.byline { font: 400 14px/1.45 var(--sans); color: var(--ink-3); }
.byline b { color: var(--ink); font-weight: 600; }
.also { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 26px; border-top: 1px solid var(--rule); }

/* ---------- standards band ---------- */
.standards { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.standards .wrap { padding-top: 56px; padding-bottom: 56px; }
.standards-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.standards h2 { font-size: 32px; line-height: 1.12; margin: 10px 0 14px; }
.standards .intro { font: 400 17px/1.55 var(--serif); color: var(--ink-2); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); }
.pillar { padding: 22px 26px 22px 0; border-bottom: 1px solid var(--rule); }
.pillar:nth-child(odd) { border-right: 1px solid var(--rule); }
.pillar:nth-child(even) { padding-left: 26px; padding-right: 0; }
.pillar .num { font: 600 13px/1 var(--sans); color: var(--brand); letter-spacing: .04em; }
.pillar h3 { font-size: 19px; margin: 8px 0 6px; }
.pillar p { font: 400 15px/1.5 var(--sans); color: var(--ink-2); margin: 0; }

/* ---------- field index (sections on home) ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sec-cell { display: flex; flex-direction: column; padding: 22px 22px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec-cell h3 { font-size: 19px; margin-bottom: 4px; }
.sec-cell h3 a:hover { color: var(--brand-ink); }
.sec-cell .count { font: 400 13px/1 var(--sans); color: var(--ink-3); }
.sec-cell ul { list-style: none; margin: 14px 0 0; padding: 0; }
.sec-cell li { font: 400 15px/1.35 var(--serif); padding: 7px 0; border-top: 1px dashed var(--rule); }
.sec-cell li a:hover { color: var(--brand-ink); }
.sec-desc { font: 400 14px/1.5 var(--sans); color: var(--ink-3); margin: 10px 0 14px; }
.sec-grid .sec-desc { min-height: calc(3 * 1.5em); }
.sec-latest { margin-top: auto; display: block; padding-top: 12px; border-top: 1px dashed var(--rule); font: 400 15.5px/1.35 var(--serif); color: var(--ink); }
.sec-latest .eyebrow { display: block; font-size: 10.5px; margin-bottom: 5px; color: var(--ink-3); }
.sec-latest:hover { color: var(--brand-ink); }
.sec-all { background: var(--paper-2); }

/* ---------- institutions strip ---------- */
.institutions { padding: 34px 0 40px; border-top: 1px solid var(--rule); }
.institutions .eyebrow { margin-bottom: 14px; }
.inst-list { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 400 16px/1.4 var(--serif); color: var(--ink-2); }
.inst-list span { white-space: nowrap; }
.inst-list a { color: var(--brand-ink); font: 500 14px/1.6 var(--sans); white-space: nowrap; }

/* ---------- researcher band ---------- */
.researcher-band { background: var(--night); color: var(--night-ink); }
.researcher-band .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.researcher-band h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin: 12px 0 16px; }
.researcher-band .kicker { color: var(--night-accent); }
.researcher-band p { font: 400 18px/1.55 var(--serif); color: var(--night-ink); max-width: 560px; }
.researcher-band .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.text-link-light { color: #fff; font: 600 14.5px/1 var(--sans); align-self: center; padding: 12px 6px; }
.text-link-light:hover { color: var(--night-link); }
.facts { border-top: 1px solid rgba(255,255,255,.18); font-variant-numeric: tabular-nums; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); font: 400 15px/1.35 var(--sans); }
.facts dt, .facts .k { color: var(--night-muted); }
.facts dd, .facts .v { margin: 0; color: #fff; font-weight: 500; text-align: right; }
.facts dd a { color: var(--night-link); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- newsletter ---------- */
.newsletter { padding: 48px 0; border-top: 1px solid var(--rule); }
.newsletter .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter h2 { font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.newsletter p { color: var(--ink-3); margin: 0; }
.nl-form { display: flex; gap: 8px; flex: 0 1 460px; }
.nl-form input { flex: 1; min-width: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-ink); font: 400 14px/1.55 var(--sans); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer .brand-name { color: #fff; font-size: 23px; }
.site-footer .brand-name span { color: var(--night-accent); }
.site-footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: #e8eef0; }
.site-footer a:hover { color: var(--night-link); }
.foot-about p { color: #b7c5cb; max-width: 420px; margin-top: 14px; }
.identity { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; padding-top: 30px; }
.id-org p { margin: 0 0 6px; color: #c9d5da; font-size: 14px; }
.id-org p a { color: #fff; font-weight: 500; }
.id-org address { font-style: normal; font-size: 13px; color: var(--night-muted); }
.id-org address .sep { margin: 0 9px; opacity: .55; }
.id-org address a, .id-legal a { color: #c9d5da; }
.id-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.fine { display: flex; justify-content: space-between; gap: 8px 32px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: var(--night-muted); }
.fine p { margin: 0; }
.site-footer .nw { white-space: nowrap; }
.social { display: flex; gap: 14px; margin-top: 18px; }
.social a { font-size: 13px; color: #cfdbe0; border: 1px solid rgba(255,255,255,.2); padding: 6px 10px; border-radius: var(--radius); }

/* ---------- article: head ---------- */
.crumbs { font: 400 13px/1.4 var(--sans); color: var(--ink-3); padding: 22px 0 0; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { margin: 0 6px; color: var(--ink-4); }
.art-head { padding: 22px 0 26px; }
.art-head .inner { max-width: 860px; }
.art-type { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 3px; background: var(--brand-tint); color: var(--brand-ink); }
.tag { font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--rule-strong); border-radius: 3px; color: var(--ink-2); }
.art-head h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.022em; margin: 14px 0 16px; }
.art-head .dek { font: 400 21px/1.5 var(--serif); color: var(--ink-2); margin: 0 0 22px; max-width: 760px; }
.art-byline { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
.art-byline .who { font: 400 15px/1.4 var(--sans); color: var(--ink-3); }
.art-byline .who b { color: var(--ink); font-weight: 600; }
.art-byline .meta { margin-top: 3px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; background: var(--brand-tint); }
.avatar.ph { display: inline-flex; align-items: center; justify-content: center; font: 600 15px/1 var(--serif); color: var(--brand-ink); }
.disclose-line { margin: 12px 0 0; font: 400 13px/1.5 var(--sans); color: var(--ink-3); }
.disclose-line a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }

/* ---------- article: hero ---------- */
.art-hero { margin: 0 0 30px; }
.art-hero figcaption, .art-body figcaption { font: 400 13.5px/1.5 var(--sans); color: var(--ink-3); padding: 10px 0 0; }
.art-hero figcaption a { color: var(--brand-ink); white-space: nowrap; }

/* ---------- article: layout and body ---------- */
.art-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 290px); gap: 64px; justify-content: space-between; padding: 6px 0 64px; }
.art-body { font: 400 19.5px/1.66 var(--serif); font-variant-numeric: oldstyle-nums; color: var(--ink-body); max-width: var(--read); }
.art-body p { margin: 0 0 1.15em; }
.art-body figure { margin: 34px 0; }
.art-body figure img { margin: 0 auto; max-height: 720px; width: auto; border: 1px solid var(--rule); background: #fff; }
.art-body h2 { font-size: 26px; margin: 40px 0 14px; }
.art-body a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-body blockquote.pull { margin: 36px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); }
.art-body blockquote.pull p { font: italic 400 24px/1.42 var(--serif); color: var(--ink); margin: 0; hanging-punctuation: first; }
.art-body blockquote.pull cite { display: block; margin-top: 10px; font: 400 14px/1.4 var(--sans); font-style: normal; color: var(--ink-3); }
.art-body blockquote.pull cite::before { content: "— "; }

/* ---------- article: rail ---------- */
.art-rail { padding-top: 22px; }
.aside-stack { display: flex; flex-direction: column; gap: 22px; }
.aside-sticky { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 22px; }
.paper-card { border: 1px solid var(--rule-strong); border-top: 3px solid var(--brand); padding: 18px 20px 20px; background: #fff; }
.paper-card .eyebrow { color: var(--brand-ink); margin-bottom: 10px; }
.paper-card .pt { font: 600 16px/1.35 var(--serif); color: var(--ink); margin-bottom: 8px; }
.paper-card .doi-txt { font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); margin: -6px 0 14px; word-break: break-all; }
.paper-card .ref { font: 400 14.5px/1.5 var(--serif); color: var(--ink-2); margin-bottom: 16px; word-break: break-word; }
.paper-card .ref a { color: var(--brand-ink); }
.paper-card .btn { width: 100%; }
.paper-btn-m { display: none; }
.rail-actions { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.rail-actions a { padding: 12px 0; border-bottom: 1px solid var(--rule); font: 500 14px/1.3 var(--sans); color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rail-actions a:hover { color: var(--brand-ink); }
.mini-card { border: 1px solid var(--rule); padding: 18px 20px; background: var(--paper-2); font: 400 14px/1.5 var(--sans); color: var(--ink-2); }
.mini-card h4 { font: 600 15px/1.3 var(--sans); color: var(--ink); margin: 0 0 6px; }
.mini-card a.more { display: block; margin-top: 10px; color: var(--brand-ink); font-weight: 600; }
.share-wrap .eyebrow { margin-bottom: 10px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { font: 500 13px/1 var(--sans); padding: 9px 11px; border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink-2); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.share-end { display: none; }

/* ---------- article: end matter ---------- */
.art-section { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--rule); }
.art-section > h2 { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.ref-block { font: 400 16px/1.6 var(--serif); color: var(--ink-2); }
.ref-block a { color: var(--brand-ink); overflow-wrap: anywhere; }
.author { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule); }
.author:first-of-type { border-top: 0; padding-top: 0; }
.author img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; background: var(--paper-2); }
.author .ph { width: 84px; height: 84px; border-radius: 50%; background: var(--paper-3); display: flex; align-items: center; justify-content: center; font: 600 24px/1 var(--serif); color: var(--ink-3); }
.author h3 { font-size: 19px; margin: 2px 0 6px; }
.author p { font: 400 15.5px/1.6 var(--serif); color: var(--ink-2); margin: 0; }
.author .more-bio { display: none; }
.author.open .more-bio { display: inline; }
.author .dots { color: var(--ink-3); }
.author.open .dots { display: none; }
.author button { background: none; border: 0; padding: 0; margin-top: 6px; font: 600 13.5px/1 var(--sans); color: var(--brand-ink); cursor: pointer; }
button[data-bio] { padding: 6px 0; min-height: 28px; }
.disclosure { background: var(--paper-2); border-left: 3px solid var(--ink); padding: 18px 22px; font: 400 15px/1.6 var(--sans); color: var(--ink-2); }
.disclosure strong { color: var(--ink); }
.disclosure a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.disclosure p { margin: 0 0 .7em; }
.disclosure p:last-child { margin: 0; }
.cite { font: 400 14px/1.55 var(--sans); color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--rule); padding: 14px 16px; word-break: break-word; }
.copy-cite { margin-top: 10px; }
.related { border-top: 1px solid var(--rule); background: var(--paper-2); }

/* ---------- section & archive pages ---------- */
.page-head { padding: 44px 0 30px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.06; margin: 10px 0 12px; letter-spacing: -0.02em; }
.page-head .dek { font: 400 19px/1.55 var(--serif); color: var(--ink-2); max-width: 760px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font: 500 13px/1 var(--sans); padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink-2); background: #fff; }
.chip[aria-current="true"], .chip:hover { border-color: var(--ink); color: var(--ink); }
.empty-note { font: 400 15px/1.6 var(--sans); color: var(--ink-3); padding: 18px 20px; background: var(--paper-2); border: 1px solid var(--rule); }

.sec-lead { margin-bottom: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.sec-lead .lead-text .dek { font: 400 18px/1.5 var(--serif); color: var(--ink-2); margin: 0 0 16px; }
.lead-h { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; margin: 10px 0 14px; }
.lead-h a:hover { color: var(--brand-ink); }

.search-box { position: relative; max-width: 640px; margin-top: 22px; }
.search-box input { padding: 14px 16px; font-size: 16px; }
.search-count { display: block; font: 400 13px/1.4 var(--sans); color: var(--ink-3); margin-top: 8px; min-height: 18px; }
.arch-wrap { max-width: var(--wrap); }
.arch-wrap > .year-group, .arch-wrap > .pager, .arch-wrap > .empty-note { max-width: 980px; }
.year-group + .year-group { margin-top: 30px; }
.year { font: 600 13px/1 var(--sans); letter-spacing: .1em; color: var(--ink-3); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.arch-list { list-style: none; margin: 0; padding: 0; }
.arch-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.arch-row .date { font: 400 13px/1.6 var(--sans); color: var(--ink-3); padding-top: 2px; }
.arch-row h3 { font-size: 19px; line-height: 1.28; margin: 5px 0; }
.arch-row h3 a:hover { color: var(--brand-ink); }
.pager { display: flex; gap: 6px; align-items: center; margin: 34px 0 22px; font: 500 14px/1 var(--sans); }
.pager a, .pager span { padding: 10px 13px; border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink-2); }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager span:not(.cur) { border: 0; }

/* ---------- offer page (for researchers) ---------- */
.fr-hero { padding: 58px 0 46px; border-bottom: 1px solid var(--rule); }
.fr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.fr-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.025em; margin: 14px 0 20px; }
.fr-hero .dek { font: 400 21px/1.5 var(--serif); color: var(--ink-2); margin: 0 0 28px; max-width: 620px; }
.fr-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fr-hero .reassure { margin-top: 18px; font: 400 14px/1.5 var(--sans); color: var(--ink-3); }
.reassure a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.sample-stack { position: relative; }
.sample-stack .card { background: #fff; border: 1px solid var(--rule); padding: 16px 16px 18px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -24px rgba(12,28,37,.35); }
.sample-stack .card h3 { font-size: 19px; }
.sample-stack .card .plate { border: 0; }
.sample { display: block; }
.sample:hover h3 { color: var(--brand-ink); }
.sample-note { font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); margin-top: 10px; text-align: left; }
.sample-note a { color: var(--brand-ink); font-weight: 600; }
.sample-links { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; font: 600 14.5px/1.4 var(--sans); }
.sample-links a { color: var(--brand-ink); }
.sample-links a[aria-disabled] { color: var(--ink-3); font-weight: 500; }

/* in-page subnav; the sections nav stops being sticky on pages that have one */
body:has(.fr-subnav) .sections-nav { position: static; }
.fr-subnav { position: sticky; top: 0; z-index: 15; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.fr-subnav .wrap { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; font: 500 14px/1 var(--sans); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.fr-subnav .wrap::-webkit-scrollbar { display: none; }
.fr-subnav a { padding: 15px 0 13px; border-bottom: 2px solid transparent; color: var(--ink-2); white-space: nowrap; }
.fr-subnav a.on, .fr-subnav a:hover { border-bottom-color: var(--ink); color: var(--ink); }

.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.keyfact { padding: 26px 24px 24px 0; }
.keyfact + .keyfact { border-left: 1px solid var(--rule); padding-left: 24px; }
.keyfact .v { font: 600 30px/1.1 var(--serif); color: var(--ink); letter-spacing: -0.015em; }
.keyfact .k { font: 400 14px/1.45 var(--sans); color: var(--ink-3); margin-top: 6px; }
.keyfact .k a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.lede-col h2 { font-size: 32px; line-height: 1.12; margin: 10px 0 14px; }
.lede-col p { font: 400 17.5px/1.6 var(--serif); color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 13px 0 13px 32px; border-top: 1px solid var(--rule); font: 400 16px/1.5 var(--sans); color: var(--ink-2); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.ticks li b { color: var(--ink); font-weight: 600; }
.crosses { margin-top: 18px; }
.crosses li::before { border: 0; width: 14px; height: 2px; top: 23px; background: var(--ink-4); transform: none; }

/* steps: a five-column timeline; .steps-v is the stacked variant */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 22px 22px 8px 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.steps li::before { content: "0" counter(s); font: 600 13px/1 var(--sans); color: var(--brand); letter-spacing: .05em; }
.steps h3 { font-size: 19px; line-height: 1.22; margin: 10px 0 8px; }
.steps p { font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); margin: 0 0 10px; }
.steps .when { display: block; margin: 8px 0 0; font: 600 11.5px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
.steps-v { display: block; margin-top: 26px; }
.steps-v li, .steps-v li + li { padding: 18px 0 14px 54px; border-left: 0; border-bottom: 1px solid var(--rule); }
.steps-v li::before { position: absolute; left: 0; top: 22px; }

/* ---------- pricing, payment, documents, guarantee, FAQ ---------- */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.price-card { border: 1px solid var(--rule-strong); border-top: 4px solid var(--ink); padding: 30px 30px 26px; background: #fff; }
.price-card .eyebrow { margin-bottom: 14px; }
.price { display: flex; align-items: flex-start; gap: 4px; font: 600 56px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; color: var(--ink); }
.price small { font: 500 16px/1 var(--sans); color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.price .cur { font: 500 22px/1 var(--sans); color: var(--ink-3); margin-top: 8px; }
.price-sub { font: 400 15px/1.5 var(--sans); color: var(--ink-2); margin: 10px 0 18px; }
.price-card .ticks li { font-size: 15px; padding-top: 11px; padding-bottom: 11px; }
.price-card .btn { width: 100%; margin-top: 12px; }
.price-card .btn:first-of-type { margin-top: 24px; }
.price-foot { font: 400 13px/1.5 var(--sans); color: var(--ink-3); margin-top: 14px; }
.price-foot a { color: var(--brand-ink); }
.promise { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--rule); }
.promise li { font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid var(--rule); }
.promise b { color: var(--ink); }
.promise a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.pay-table { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--sans); }
.pay-table th, .pay-table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-top: 1px solid var(--rule); }
.pay-table th { width: 38%; font-weight: 600; color: var(--ink); }
.pay-table td { color: var(--ink-2); }
.pay-table td a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.pay-table tr:last-child th, .pay-table tr:last-child td { border-bottom: 1px solid var(--rule); }

.docs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.docs-list span { font: 500 12.5px/1 var(--sans); padding: 7px 10px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); }
.doc-links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); font-variant-numeric: tabular-nums; }
.doc-links li { padding: 13px 0; border-bottom: 1px solid var(--rule-strong); font: 400 15px/1.45 var(--sans); display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 16px; }
.doc-links a { color: var(--brand-ink); font-weight: 600; }
.doc-links a::after { content: " →"; }
.doc-links span { color: var(--ink-3); }
.fine { font: 400 13.5px/1.55 var(--sans); color: var(--ink-3); margin-top: 16px; }
.next { margin: 20px 0 0; padding-left: 1.3em; font: 400 16px/1.6 var(--sans); color: var(--ink-2); }
.next li { margin-bottom: 6px; }

.guarantee { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule-strong); }
.guarantee div { padding: 24px 24px 22px; }
.guarantee div + div { border-left: 1px solid var(--rule-strong); }
.guarantee h3 { font-size: 20px; margin: 0 0 8px; }
.guarantee p { font: 400 15px/1.55 var(--sans); color: var(--ink-2); margin: 0; }

.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 19px/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--sans); color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; font: 400 16.5px/1.65 var(--serif); color: var(--ink-2); max-width: 760px; }
.faq .a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 30px; }
.faq-group > .eyebrow { margin-bottom: 4px; color: var(--brand-ink); }

/* ---------- prose pages (about, standards, impressum) ---------- */
.page-layout { display: grid; grid-template-columns: 220px minmax(0, var(--read)); gap: 64px; padding: 40px 0 70px; }
.toc { position: sticky; top: 72px; align-self: start; font: 400 14px/1.4 var(--sans); }
.toc .eyebrow { margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--rule); color: var(--ink-2); }
.toc a:hover, .toc a.on { border-left-color: var(--brand); color: var(--ink); }
.prose { font: 400 18.5px/1.65 var(--serif); color: var(--ink-body); max-width: var(--read); }
.prose h2 { font-size: 28px; margin: 46px 0 14px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.fact-table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.5 var(--sans); margin: 18px 0 8px; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-top: 1px solid var(--rule); }
.fact-table th { width: 40%; color: var(--ink-3); font-weight: 500; }
.fact-table td { color: var(--ink); }
.callout { border: 1px solid var(--rule-strong); border-left: 3px solid var(--brand); padding: 18px 22px; font: 400 16px/1.6 var(--sans); color: var(--ink-2); background: #fff; margin: 22px 0; }
.callout b { color: var(--ink); }
.callout a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.updated { font: 400 13px/1.4 var(--sans); color: var(--ink-3); margin: 12px 0 0; }

/* ---------- contact & person cards, forms ---------- */
.contact-grid { align-items: stretch; }
.contact-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: start; padding: 24px; border: 1px solid var(--rule-strong); background: #fff; }
.contact-card .ph { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font: 600 24px/1 var(--serif); }
.contact-card .ph svg { color: var(--brand-ink); }
.contact-card h3 { font-size: 21px; line-height: 1.2; margin: 2px 0; }
.contact-card .role { font: 400 14px/1.4 var(--sans); color: var(--ink-3); margin-bottom: 10px; }
.contact-card p { font: 400 15px/1.55 var(--sans); color: var(--ink-2); margin: 0 0 6px; }
.contact-card a { color: var(--brand-ink); font-weight: 500; }
.contact-card .sub { font-size: 14px; color: var(--ink-3); margin-top: 10px; }

.form-card { border: 1px solid var(--rule-strong); padding: 28px; background: #fff; }
.form-card .btn { margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font: 400 13px/1.5 var(--sans); color: var(--ink-3); margin-top: 12px; }

.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); font-family: var(--sans); }
.person .ph { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; font: 600 21px/1 var(--serif); }
.person h3 { font: 600 18px/1.3 var(--serif); margin: 0; }
.person .role { font-size: 14px; color: var(--ink-3); margin: 2px 0 6px; }
.person p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ---------- invitation page ---------- */
.inv-head { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: 40px 0 44px; }
.inv-note { font: 500 13px/1.5 var(--sans); color: var(--note-ink); background: var(--note-bg); border: 1px solid var(--note-line); padding: 8px 12px; border-radius: 3px; display: inline-block; margin-bottom: 22px; }
.inv-head h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin: 10px 0 22px; }
.inv-paper { background: #fff; border: 1px solid var(--rule-strong); border-left: 4px solid var(--brand); padding: 20px 24px; max-width: 860px; }
.inv-paper .pt { font: 600 21px/1.35 var(--serif); margin: 8px 0; }
.inv-paper .meta + .meta { margin-top: 6px; }
.inv-paper a { color: var(--brand-ink); }
.inv-why { font: 400 14px/1.5 var(--sans); color: var(--ink-3); margin: 16px 0 0; max-width: 860px; }
.inv-why a, .inv-paper .meta a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.inv-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.inv-h2 { font-size: 30px; margin-bottom: 12px; }
.inv-lead { font: 400 18px/1.6 var(--serif); color: var(--ink-2); max-width: 640px; }
.inv-more { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; font: 600 14.5px/1.4 var(--sans); }
.inv-more a { color: var(--brand-ink); }
.inv-pay { position: sticky; top: 76px; }
.cv-line { font: 400 15px/1.55 var(--sans); color: var(--ink-2); margin: 18px 0 0; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--rule); }

/* ---------- utilities ---------- */
.tbd { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; border-radius: 3px; background: #fff3d6; color: #7a5a12; border: 1px solid #efd9a1; vertical-align: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
#about-feature, #researchers, #cite-text, .block[id], section[id] { scroll-margin-top: 110px; }

/* ==========================================================================
   5. Responsive
   ========================================================================== */

/* ---------- >= 1360: room in the left margin for the mini mark ---------- */
@media (min-width: 1360px) {
  .sections-nav .wrap { position: relative; overflow: visible; }
  .sections-nav .mini-mark { display: inline-flex; align-items: center; position: absolute; left: -20px; top: 50%; width: 24px; margin: 0; padding: 0; border: 0; overflow: hidden; opacity: 0; transform: translateY(-50%); transition: opacity .2s; }
  .sections-nav.stuck .mini-mark { opacity: 1; }
}

/* ---------- <= 1180 ---------- */
@media (max-width: 1180px) {
  .grid-3.contact-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}

/* ---------- <= 1080 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  /* article: single column, rail replaced by the in-body paper button and end-of-article share */
  .art-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .art-rail { display: none; }
  .paper-btn-m { display: flex; width: 100%; margin-top: 16px; min-height: 44px; }
  .share-end { display: block; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps:not(.steps-v) li, .steps:not(.steps-v) li + li { padding: 20px 20px 14px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .steps:not(.steps-v) li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }

  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { display: none; }
}

/* ---------- >= 1081 ---------- */
@media (min-width: 1081px) {
  .prose-head .wrap > * { margin-left: calc(220px + 64px); }
}

/* ---------- <= 860 ---------- */
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .lead-grid, .lead-grid.is-figure, .standards-grid, .researcher-band .wrap, .fr-hero-grid,
  .two-col, .two-col.wide-right, .price-wrap, .inv-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }

  .topbar .tb-note { display: none; }
  .mast-actions .btn-ghost { display: none; }
  .sections-nav .wrap { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-padding-inline: 16px; }

  .list-2 { grid-template-columns: minmax(0, 1fr); }

  .also { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .also .card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
  .also .card:first-child { border-top: 0; }
  .also .card .plate { margin: 0; }
  .also h3 { font-size: 17px; margin-top: 4px; }

  .researcher-band .actions { align-items: center; gap: 18px; }

  .arch-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .sample-stack { display: none; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfact:nth-child(3) { border-left: 0; padding-left: 0; }
  .keyfact:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .doc-links li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .guarantee { grid-template-columns: minmax(0, 1fr); }
  .guarantee div + div { border-left: 0; border-top: 1px solid var(--rule-strong); }

  .inv-pay { position: static; }
}

/* ---------- >= 861 ---------- */
@media (min-width: 861px) {
  .two-col > .lede-col { position: sticky; top: 76px; align-self: start; }
}

/* ---------- <= 600 ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  input, textarea, select { font-size: 16px; }
  form .btn { width: 100%; }

  .grid-3, .grid-4, .sec-grid, .pillars { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { gap: 0; }
  .block { padding: 38px 0; }
  .block-head h2 { font-size: 22px; }

  .topbar .tb-links { gap: 14px; }
  .topbar .tb-links a.hide-sm { display: none; }
  .brand { gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 21px; }
  .mast-actions { gap: 4px; }
  .mast-actions .btn-primary, .mast-actions .btn-cta { padding: 10px 12px; font-size: 13px; }
  .mast-actions .btn-primary .long { display: none; }
  .mast-actions .search-btn { display: none; }

  .plate.hero { border-left: 0; border-right: 0; }

  /* grid cards become compact rows */
  .grid-3 .card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); }
  .grid-3 .card .plate { margin: 0; }
  .grid-3 .card h3 { font-size: 17.5px; margin-top: 4px; }
  .grid-3 .card .excerpt { display: none; }
  .grid-3 .card .plate.figure img, .card-row .plate.figure img { object-fit: cover; object-position: 50% 30%; }

  .lead-text .lead-title { font-size: 30px; }
  .lead-text .dek { font-size: 17.5px; }

  .pillar, .pillar:nth-child(even) { padding: 18px 0; }
  .pillar:nth-child(odd) { border-right-style: none; }

  .sec-grid { border-left: 0; }
  .sec-grid .sec-desc, .sec-grid .sec-latest { display: none; }
  .sec-grid .sec-cell { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 14px 0; border: 0; border-top: 1px solid var(--rule); background: none; }
  .sec-grid .sec-cell h3 { margin: 0; font-size: 18px; }

  .inst-list { display: block; font-size: 15px; line-height: 1.6; }
  .inst-list span { white-space: normal; }
  .inst-list span + span::before { content: " · "; color: var(--ink-4); }
  .inst-list a { display: block; margin-top: 8px; }

  .nl-form { flex-direction: column; flex-basis: 100%; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-about { grid-column: 1 / -1; }
  .identity, .fine { flex-direction: column; align-items: flex-start; }
  .id-org address .sep { display: block; height: 0; overflow: hidden; margin: 0; }
  .social a { padding: 12px; }

  .art-head .dek { font-size: 19px; }
  .art-byline { align-items: flex-start; }
  .art-hero { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .art-hero figcaption { padding-left: var(--gutter); padding-right: var(--gutter); }
  .art-body { font-size: 18.5px; }
  .art-body blockquote.pull p { font-size: 21px; }
  .share a, .share button { padding: 12px; }
  .author { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .author img, .author .ph { width: 60px; height: 60px; }

  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .chips .chip { white-space: nowrap; }
  .pager { flex-wrap: wrap; }

  .keyfact .v { font-size: 21px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps:not(.steps-v) li, .steps:not(.steps-v) li + li, .steps:not(.steps-v) li:nth-child(even) { padding: 18px 0 12px; border-left: 0; }
  .price { font-size: 48px; }
  .price-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }

}

/* ---------- >= 601 ---------- */
@media (min-width: 601px) {
  .mast-actions .btn-primary .short { display: none; }
}

/* ==========================================================================
   6. Print
   ========================================================================== */
@media print {
  .topbar, .sections-nav, .site-footer, .preview-ribbon, aside, .share { display: none !important; }
  .art-layout { display: block; }
}

/* =========================================================================
   Round 5 components (David's review, 2026-10-20)
   ========================================================================= */
.topbar .wrap { justify-content: flex-end; }
.topbar .tb-links a[aria-current="page"] { color: #9fd3da; }
.foot-h-gap { margin-top: 26px; }

/* home: field blocks */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.fb-rows .card-row:first-child { padding-top: 0; border-top: 0; }
.fcols { display: grid; gap: 44px; }
.fcols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcol { min-width: 0; }
.fcol-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--ink); }
.fcol-head h2 { font-size: 24px; line-height: 1.15; }
.fcol-head h2 a:hover { color: var(--brand-ink); }
.fcol-head .arrow { font: 500 14px/1 var(--sans); color: var(--brand-ink); }
.fcol .card-row:first-of-type { border-top: 0; padding-top: 0; }
.fcols-3 .card-row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
.fcols-3 .card-row h3 { font-size: 16.5px; }

/* featured institutes: logo slider */
.institutes-band { padding: 46px 0 50px; border-top: 1px solid var(--rule); background: var(--paper-2); }
.logo-marquee { display: flex; overflow: hidden; gap: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { list-style: none; margin: 0; padding: 0 28px 0 0; display: flex; align-items: center; gap: 56px; flex: 0 0 auto; animation: sf-marquee 70s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-track li { flex: 0 0 auto; height: 56px; display: flex; align-items: center; }
.logo-track img { height: 44px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logo-track li:hover img { filter: none; opacity: 1; }
@keyframes sf-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; }
  .logo-track { animation: none; flex-wrap: wrap; row-gap: 24px; }
  .logo-track[aria-hidden="true"] { display: none; }
}

/* featured journals */
.journal-list { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.journal-list a { font: italic 400 17px/1.3 var(--serif); color: var(--ink); padding: 9px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--paper); }
.journal-list a:hover { border-color: var(--ink); color: var(--brand-ink); }
.journal-index a { font-size: 16px; }

/* all features: list with thumbnails */
.arch-row { grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: start; }
.arch-row .kicker { display: flex; gap: 12px; align-items: baseline; }
.arch-row .date { padding-top: 0; font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.arch-thumb .plate { margin: 0; }
.see-all { margin: 36px 0 0; }

/* institutes page */
.logo-wall { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.logo-wall li { background: var(--paper); height: 110px; display: flex; align-items: center; justify-content: center; padding: 18px; }
.logo-wall img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.inst-az { columns: 3 260px; column-gap: 40px; }
.inst-group { break-inside: avoid; margin-bottom: 22px; }
.inst-group h2 { font: 600 13px/1 var(--sans); letter-spacing: .1em; color: var(--brand-ink); padding-bottom: 8px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.inst-group ul { list-style: none; margin: 0; padding: 0; }
.inst-group li { font: 400 15.5px/1.45 var(--serif); color: var(--ink-2); padding: 4px 0; }

/* faq page, contact, fee */
.faq-page { max-width: var(--read); }
.faq-page .faq-group + .faq-group { margin-top: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.fee-why h3 { font-size: 22px; margin: 6px 0 12px; }
.fee-why p { font: 400 17px/1.6 var(--serif); color: var(--ink-2); }
.fee-why .arrow { font: 600 14.5px/1 var(--sans); color: var(--brand-ink); }
.price-sub b { color: var(--ink); }

@media (max-width: 1080px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fcols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .fb-grid, .fcols-2, .fcols-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .arch-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 600px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-track { gap: 36px; }
  .logo-track img { height: 34px; max-width: 140px; }
  .journal-list a { font-size: 15.5px; padding: 8px 12px; }
  .arch-row { grid-template-columns: 96px minmax(0, 1fr); }
  .arch-row h3 { font-size: 17px; }
  .topbar .wrap { justify-content: flex-start; overflow-x: auto; }
  .topbar .tb-links { gap: 16px; white-space: nowrap; }
}
.logo-track img, .logo-wall img { height: auto; max-height: none; max-width: 100%; }
.logo-track li { height: 72px; }
@media (max-width: 600px) { .logo-track img { transform: scale(.78); } }
/* very small phones (320px): links wrap instead of running off the screen */
a.eml { overflow-wrap: anywhere; }
.fact-table th, .fact-table td { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .topbar .wrap { overflow-x: visible; justify-content: center; }
  .topbar .tb-links { flex-wrap: wrap; justify-content: center; gap: 0 14px; white-space: normal; }
  .fact-table th { width: 36%; }
  .social { flex-wrap: wrap; gap: 10px; }
}
