/* The look of the inner pages, to match the 3D home page. Loaded after site.css; site.css keeps the structure. */
@font-face { font-family: Stix; src: url(film-fonts/stix.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Stix; font-style: italic; src: url(film-fonts/stix-i.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Poppins; src: url(film-fonts/poppins-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(film-fonts/poppins-500-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(film-fonts/poppins-600-latin.woff2) format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --night: #06080b; --night-2: #0c1016; --paper: #f5f5f2; --paper-2: #eaebe8; --ink: #141922; --text: #2b313b; --slate: #2b313b; --muted: #5f6670; --faint: #868d97;
  --brass: #FF2F92; --brass-ink: #FF6FB5; --line: #dcddd8; --line-2: #c9cbc6; --cloud: #eaebe8; --navy: #141922; --navy-tint: #2a3140; --navy-3: #000;
  --teal: #FF6FB5; --deep-mint: #2BFFA0; --mint: #FF2F92; --mint-20: #ece9e0; --radius: 2px;
  --serif: Stix, Georgia, 'Times New Roman', serif; --sans: Poppins, Arial, sans-serif; --display: Stix, Georgia, serif; --wide: 88rem; --text-col: 44rem;
}
html { scroll-padding-top: 96px; background: var(--night); }
body { background: var(--paper); color: var(--text); font-family: var(--serif); font-size: 20px; line-height: 1.58; font-variant-numeric: lining-nums; }
::selection { background: #FF2F92; color: #06080b; }
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.018em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
main a:not(.btn):not(.rfeature) { text-decoration-color: #FF2F92; text-decoration-thickness: 1px; text-underline-offset: .18em; }
main a:not(.btn):hover { color: var(--brass-ink); }

/* ---------- header and menu ---------- */
.site-header { padding: 0 !important; position: fixed; inset: 0 0 auto 0; z-index: 60; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .35s; height: auto; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, rgb(6 8 11 / .62), rgb(6 8 11 / 0)); pointer-events: none; transition: opacity .35s; }
.site-header.scrolled { background: #06080b; }
.site-header.scrolled::before { opacity: 0; }
.site-header .wrap { max-width: none; width: 100%; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: auto; min-height: 0; transition: padding .3s; }
.site-header.scrolled .wrap { padding-block: 15px; }
.site-header .brand img { display: block; width: 155px; height: auto; }
.hdr-actions { display: flex; align-items: center; gap: 34px; margin: 0 0 0 auto !important; padding: 0 !important; }
.search-btn, .nav-toggle { display: inline-flex !important; align-items: center; gap: 9px; font: 500 15px/1 var(--sans); color: #fff !important; background: none !important; border: 0 !important; padding: 10px 0; cursor: pointer; min-width: 0; width: auto; height: auto; box-shadow: none !important; border-radius: 0; }
.search-btn:hover, .nav-toggle:hover { text-decoration: underline; text-underline-offset: .4em; }
.search-btn kbd { display: none; }
.search-btn span { display: inline; }
.nav-cta { display: none !important; }
.nav { border-radius: 0 !important; position: fixed !important; inset: 0 !important; z-index: -1; background: var(--night); color: #fff; display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: 56px; padding: 124px 48px 56px; margin: 0; overflow: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; max-height: none; height: 100vh; height: 100dvh; align-items: start; box-shadow: none; border: 0; transform: none; }
.nav-open .nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.nav .mq a { display: block; font: 500 clamp(26px, 3vw, 58px)/1.22 var(--display); letter-spacing: -.02em; color: #fff; text-decoration: none; padding: 0; background: none; border: 0; }
.nav .mq small { display: block; font: 400 13.5px/1 var(--sans); color: #9aa2ac; margin: 22px 0 6px; letter-spacing: 0; }
.nav .mq a:first-child small { margin-top: 0; }
.nav .ml b { display: block; font: 500 14px/1.4 var(--sans); color: var(--brass); margin: 0 0 12px; }
.nav .ml b + a ~ b { margin-top: 30px; }
.nav .ml a { display: block; font: 400 15.5px/1.35 var(--sans); color: #cfd4da; text-decoration: none; padding: 6px 0; background: none; border: 0; }
.nav a:hover, .nav a[aria-current] { color: var(--brass) !important; }
.progress { z-index: 70; height: 2px; background: none; top: 0; }
.progress i { background: #fff; opacity: .8; }

/* ---------- the head of a page: a place from the story ---------- */
.page-head, .paper-head { position: relative; isolation: isolate; background: var(--night); color: #d9dde2; border: 0; padding: 0; min-height: clamp(560px, 86vh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 106%; object-fit: cover; display: block; }
.page-head::after, .paper-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(6 8 11 / .94) 0%, rgb(6 8 11 / .76) 26%, rgb(6 8 11 / .34) 50%, rgb(6 8 11 / 0) 74%); }
.page-head .wrap, .paper-head .wrap { width: 100%; max-width: var(--wide); padding: 150px 48px 54px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; row-gap: 0; align-items: end; }
.page-head .wrap > *, .paper-head .wrap > * { grid-column: 1; min-width: 0; }
.page-head h1, .paper-head h1 { color: #fff; font-size: clamp(40px, 5.3vw, 104px); line-height: 1; letter-spacing: -.028em; max-width: 12em; margin: 0; }
.paper-head h1 { font-size: clamp(36px, 4.4vw, 84px); line-height: 1.03; max-width: 14em; }
.page-head .lede, .page-head .lead, .paper-head .dek { grid-column: 2 !important; grid-row: 3; align-self: end; color: #dfe3e8; font: 400 clamp(19px, 1.42vw, 25px)/1.45 var(--serif); font-style: normal; max-width: 34em; margin: 0 0 .2em; text-shadow: 0 1px 14px rgb(0 0 0 / .5); }
.page-head h1, .paper-head h1 { text-shadow: 0 2px 26px rgb(0 0 0 / .45); }
.crumbs { grid-row: 1; } .series { grid-row: 2; } .page-head h1, .paper-head h1 { grid-row: 3; align-self: end; }
.page-head .actions, .page-head .meta-row, .paper-head .paper-facts { grid-column: 1 / -1; grid-row: 4; }
.page-head .actions { margin-top: 34px; }
.page-head .meta-row { margin: 30px 0 0; color: #a9b0b9; font: 400 14px/1.6 var(--sans); }
.ph-art, .page-head .art, .page-head .flowfig, .page-head figure { display: none !important; }
.crumbs { grid-column: 1 / -1 !important; margin: 0 0 18px; font: 400 13.5px/1.5 var(--sans); color: #e4e7ea; text-shadow: 0 0 10px rgb(0 0 0 / .9), 0 0 3px rgb(0 0 0 / .8); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs .sep { margin: 0 9px; color: #6f7680; }
.crumbs span[aria-current], .crumbs .sep { color: #dfe2e6 !important; }
.paper-head .series { grid-column: 1 / -1; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 26px; font: 400 14px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: #2BFFA0; text-shadow: 0 0 10px rgb(0 0 0 / .9), 0 0 3px rgb(0 0 0 / .8); }
.paper-head .paper-facts { display: flex; flex-wrap: wrap; gap: 10px 46px; margin: 40px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid rgb(255 255 255 / .2); font: 400 13.5px/1.5 var(--sans); color: #a9b0b9; text-transform: none; letter-spacing: 0; background: none; }
.paper-head .paper-facts span { background: none; border: 0; padding: 0; text-transform: none; letter-spacing: 0; color: #a9b0b9; font-size: 13.5px; }
.paper-head .paper-facts b { display: block; font: 400 15.5px/1.45 var(--sans); color: #fff; margin-top: 2px; }
.place-link { position: absolute; right: 48px; bottom: 30px; z-index: 2; font: 400 13.5px/1.4 var(--sans); color: #fff !important; text-decoration: underline; text-decoration-color: var(--brass) !important; text-underline-offset: .45em !important; text-shadow: 0 0 12px #000; }

.subt { grid-column: 1 !important; grid-row: 4; margin: 18px 0 0; font: 400 clamp(19px, 1.5vw, 27px)/1.3 var(--serif); color: #e6ddc9; max-width: 26em; text-shadow: 0 1px 14px rgb(0 0 0 / .6); }
.paper-head .wrap:has(.subt) .paper-facts { grid-row: 5; }
.paper-head .wrap:has(.subt) .dek { grid-row: 3 / span 2; }
.finding { background: var(--night); color: #fff; border-top: 1px solid #171d25; padding: clamp(64px, 6.5vw, 120px) 0 clamp(70px, 7vw, 130px); }
.finding .key { font: 500 clamp(30px, 3.5vw, 66px)/1.12 var(--display); letter-spacing: -.022em; color: #fff; margin: 0; max-width: 21em; text-wrap: balance; }
.finding .src2 { font: 400 14.5px/1.5 var(--sans); color: #a9b0b9; margin: 30px 0 0; }

/* ---------- sections ---------- */
.wrap { max-width: var(--wide); padding-inline: 48px; }
.section, .sec { padding: clamp(72px, 9vw, 150px) 0; background: var(--paper); border: 0 !important; }
.section--cloud, .sec--cloud, .sec--alt { background: var(--paper-2); }
.section h2, .sec h2 { font-size: clamp(34px, 3.6vw, 68px); line-height: 1.05; letter-spacing: -.024em; }
.section h3, .sec h3 { font-size: clamp(22px, 1.6vw, 29px); line-height: 1.2; }
.section p, .sec p, .section li, .sec li { font-size: inherit; line-height: 1.55; }
.sec-intro, .sec-head { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 72px; align-items: start; margin-bottom: 56px; }
.sec-intro h2 { margin: 0; }
.sec-intro p { font-size: 21px; color: var(--text); max-width: 36em; }
.sec-intro p + p { grid-column: 2; }
.sec-lead { font-size: 21px; max-width: 40em; }
.split { gap: 48px 96px; }
.split h2 { font-size: clamp(30px, 2.7vw, 50px); }
.small { font-size: 18.5px !important; }
.divs { gap: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.divs > div, .divs > div:first-child, .divs > div + div { background: none; border: 0; border-radius: 0; padding: 44px 56px 48px 0; }
.divs > div + div { border-left: 1px solid var(--line-2); padding-left: 56px; }
.card, .qcard, .form-card, .rfeature, .level, .callout, .fig-box, .index, .ttable, .stackbar { border-radius: 2px !important; box-shadow: none !important; }
.card, .qcard, .form-card { border-color: var(--line-2); background: #fff; }
.badge, .tag, .chip { border-radius: 2px !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; }

/* eyebrows and small labels become plain words */
.series, .mono, .eyebrow, .abstract .t, .callout .t, .essay-toc p, .rowx .k, .by, .rid, .next .mono, .brief .h, th, .lv, .sm-head, .svtag, .kw { text-transform: none !important; letter-spacing: 0 !important; }
.abstract .t, .callout .t, .rid, .brief .h, .next .mono { font: 500 15px/1.4 var(--sans) !important; color: var(--brass-ink) !important; }
.by { margin-left: 0 !important; font: 400 14px/1.4 var(--sans) !important; color: var(--muted) !important; background: none !important; padding: 0 !important; }

/* lists of links: large lines */
.linklist { border-top: 1px solid var(--line-2); }
.linklist li { border-color: var(--line-2); padding: 22px 0; }
.linklist a, .linklist b { font: 500 clamp(25px, 2vw, 38px)/1.14 var(--display) !important; letter-spacing: -.012em; color: var(--ink); text-decoration: none !important; }
.linklist a:hover { color: var(--brass-ink); }
.linklist span { font: 400 17.5px/1.5 var(--serif) !important; color: var(--muted); }
.rfeature { display: block; background: var(--night); color: #d9dde2; border: 0; padding: clamp(36px, 4.4vw, 76px); }
.rfeature h2 { color: #fff !important; }
.rfeature p { color: #d9dde2; }
.rfeature .go, .rfeature:hover .go { color: var(--brass); }
.rfeature .rid { color: var(--brass) !important; }
.steps7 { counter-reset: s; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-2); list-style: none; padding: 0; }
.steps7 li { counter-increment: s; display: grid !important; grid-template-columns: 96px minmax(0, 4fr) minmax(0, 7fr); gap: 0 48px; padding: 30px 0 32px !important; border: 0; border-bottom: 1px solid var(--line-2); margin: 0; align-items: baseline; }
.steps7 li::before { content: counter(s) !important; position: static !important; width: auto !important; height: auto !important; background: none !important; border: 0 !important; display: block !important; font: 500 clamp(38px, 3.4vw, 64px)/1 var(--display) !important; color: var(--brass-ink) !important; text-align: left !important; }
.steps7 h3 { font-size: clamp(26px, 2.2vw, 42px) !important; margin: 0 !important; }
.steps7 h3 .by { display: block; margin-top: 6px; }
.steps7 p { margin: 0 !important; max-width: 38em; }

.values h3, .values b, .svlist h3, .svlist b { font: 500 clamp(24px, 1.9vw, 34px)/1.15 var(--display) !important; color: var(--ink); }
.values i, .values em { color: var(--brass-ink); }
.prose-narrow p { max-width: 42rem; font-size: 21px; }
.prose-narrow { max-width: var(--wide) !important; }
.more, .tlink { font: 500 16px/1.4 var(--sans); color: var(--ink) !important; text-decoration: underline; text-decoration-color: #FF2F92 !important; text-underline-offset: .4em !important; }
.feature { border: 0 !important; }
.feature p, .feature li { font-size: 20px !important; line-height: 1.55; }
.feature .cite, .feature p.cite { font-size: 15px !important; }
.topic-band, .brief, .fvis, .checklist, .checklist li { border-radius: 2px !important; }
.asks b, .illus, .fvis .tag, .legend, .asks span { text-transform: none !important; letter-spacing: 0 !important; font-family: var(--sans); }
.form-note { font: 400 14px/1.5 var(--sans) !important; }
.feature h2 { font-size: clamp(34px, 3.2vw, 60px); line-height: 1.06; }
.cite { font: 400 15px/1.5 var(--sans) !important; color: var(--muted) !important; }

.tag--a { background: #141414 !important; color: #ffffff !important; }

/* tables */
table { font-family: var(--serif); font-size: 18.5px; border-collapse: collapse; width: 100%; }
th { font: 500 14.5px/1.4 var(--sans) !important; color: var(--muted) !important; background: none !important; border-bottom: 1px solid var(--ink) !important; text-align: left; }
td { border-bottom: 1px solid var(--line-2) !important; background: none !important; }
.rowx { border-color: var(--line-2); grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); padding: 24px 0; }
.rowx .k, .rowx h3 { font: 500 clamp(20px, 1.5vw, 26px)/1.25 var(--display) !important; color: var(--ink) !important; padding-top: 0; }
.rowx p { font-size: 20px; }
.rows { border-top: 1px solid var(--ink) !important; }

/* buttons */
.btn { border-radius: 0 !important; font: 500 15.5px/1 var(--sans); padding: 18px 28px; }
.btn--primary, .btn--navy, .btn--mint, .btn--light { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--primary:hover, .btn--navy:hover { background: #000; }
.page-head .btn--primary, .page-head .btn--navy, .closing .btn--primary, .closing .btn--navy, .closing .btn--mint { background: #ffffff !important; border-color: #ffffff !important; color: #06080b !important; }
.page-head .btn--primary:hover, .closing .btn--primary:hover { background: var(--brass) !important; border-color: var(--brass) !important; }
.page-head .btn--line, .page-head .btn--ghost, .closing .btn--line, .closing .btn--ghost { background: none !important; color: #fff !important; border-color: rgb(255 255 255 / .45) !important; }
.arr { display: none; }
.tabs { border: 0; background: none; padding: 0; border-radius: 0; gap: 0 26px; border-bottom: 1px solid var(--line-2); width: 100%; display: flex; }
.tabs button { border-radius: 0; padding: 12px 0 14px; font: 400 16px/1 var(--sans); color: var(--muted); background: none !important; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink) !important; border-bottom-color: var(--ink); }
.level { background: #fff; border-color: var(--line-2) !important; padding: 28px 28px 30px; }
.level q, .level .q { font: 400 21px/1.4 var(--serif); color: var(--ink); }
.level .lv b, .level .lv { font: 500 clamp(22px, 1.7vw, 30px)/1.2 var(--display) !important; color: var(--ink) !important; }
.closing { background: var(--night); color: #cfd4da; border: 0; text-align: left; padding: clamp(80px, 9vw, 150px) 0; }
.closing h2 { color: #fff; font-size: clamp(38px, 4.6vw, 88px); margin: 0; max-width: 14em; }
.closing p { color: #cfd4da; margin: 24px 0 0; font-size: 21px; }
.closing .actions { justify-content: flex-start; }
.closing a:not(.btn) { color: #fff; }

/* ---------- papers and guides ---------- */
.essay { max-width: var(--wide); padding: clamp(72px, 8vw, 130px) 48px; grid-template-columns: 15rem minmax(0, 1fr); gap: 80px; background: var(--paper); }
body > main > .essay { background: none; }
.essay-toc { top: 104px; font: 400 14.5px/1.45 var(--sans); }
.essay-toc p { font: 500 15px/1.4 var(--sans); color: var(--ink); }
.essay-toc ol { border-left: 1px solid var(--line-2); }
.essay-toc a { color: var(--muted); padding: 7px 0 7px 18px; text-decoration: none !important; border-left-width: 1px; }
.essay-toc a.active { color: var(--ink); border-left-color: var(--brass-ink); box-shadow: -1px 0 0 var(--brass-ink); }
.essay-body { max-width: 46rem; }
.essay-body p, .essay-body li { font-size: 21px; line-height: 1.6; }
.essay-body .lead { font-size: 25px; line-height: 1.45; color: var(--ink); }
.essay-body h2 { font-size: clamp(34px, 3.1vw, 56px); line-height: 1.08; margin-bottom: .7em; }
.essay-body h3 { font-size: clamp(24px, 1.8vw, 31px); margin: 2.4rem 0 .6rem; }
.essay-body .sno { font: 500 clamp(22px, 1.6vw, 28px)/1 var(--display); color: var(--brass-ink); letter-spacing: 0; margin-bottom: 14px; }
.essay-body > section + section { border: 0; padding-top: 0; margin-top: clamp(76px, 7vw, 120px); }
.essay-body li::marker { color: var(--brass-ink); }
.abstract { border: 0; padding: 0; margin: 0 0 12px; }
.abstract p { font-size: 25px !important; line-height: 1.45 !important; color: var(--ink); }
.abstract .kw { font: 400 14px/1.6 var(--sans) !important; color: var(--muted); }
.essay-body blockquote { border: 0; padding: 0; font: 500 clamp(28px, 2.6vw, 46px)/1.16 var(--display); letter-spacing: -.018em; color: var(--ink); margin: 3.2rem 0; }
.essay-body blockquote footer { font: 400 15px/1.5 var(--sans); color: var(--muted); }
.callout { background: none; border: 0 !important; border-top: 2px solid var(--ink) !important; padding: 18px 0 4px; margin: 3rem 0; }
.callout p, .callout li { font: 400 24px/1.42 var(--serif) !important; color: var(--ink) !important; }
.callout .t { margin-bottom: 8px; }
.brief { background: var(--night); color: #d9dde2; border: 0 !important; padding: clamp(30px, 3vw, 52px); margin: 0 0 3rem; }
.brief p, .brief li { color: #e2e5e9 !important; font-size: 20.5px !important; line-height: 1.5 !important; }
.brief .h { color: var(--brass) !important; margin-bottom: 12px; }
.brief a { color: #fff; }
.brief > p:last-child { font: 400 15px/1.6 var(--sans) !important; color: #a9b0b9 !important; }
.form-side .callout { margin: 2.4rem 0 0; } .form-side .callout p { font-size: 19px !important; }
.brief .h, .brief h2 { font: 500 clamp(26px, 2vw, 36px)/1.15 var(--display) !important; color: #fff !important; }
.checklist li::before, .brief li::before { background-color: transparent; }
.sn { color: var(--brass-ink); }
.sidenote { font: 400 14px/1.55 var(--sans); color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 16px; }
.sidenote .k { color: var(--brass-ink); font-weight: 500; }
.fig-box { border: 0; background: #fff; padding: clamp(24px, 3vw, 46px); }
figcaption { font: 400 14.5px/1.6 var(--sans) !important; color: var(--muted) !important; margin-top: 16px; }
figcaption b { color: var(--ink); font-weight: 500; }
.refs, .refs li { font: 400 16.5px/1.55 var(--serif) !important; color: var(--text); }
.next, .next-page { background: none; border: 0; max-width: var(--wide); margin-inline: auto; }
.next a { padding: clamp(40px, 4vw, 70px) 0 clamp(60px, 6vw, 110px); border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none !important; align-items: baseline; }
.next strong { font: 500 clamp(30px, 3.2vw, 60px)/1.06 var(--display) !important; letter-spacing: -.022em; color: var(--ink) !important; max-width: 18em; }
.next a:hover strong { color: var(--brass-ink) !important; }
.field input, .field textarea { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-2); background: #fafaf8; font: 400 18px/1.5 var(--serif); padding: 14px; }
.field label { font: 500 15px/1.5 var(--sans); color: var(--ink); }
.cline { overflow-wrap: anywhere; font: 500 clamp(18px, 1.3vw, 22px)/1.3 var(--display) !important; color: var(--ink); }
.search-box { border-radius: 2px; }
.to-top { border-radius: 0; background: var(--night); border: 0; color: #fff; }
.smap .sm-root, .smap .sm-col { border-radius: 2px; box-shadow: none; }

/* ---------- foot ---------- */
.site-footer { background: var(--night); border-radius: 0 !important; margin: 0 !important; padding: clamp(72px, 7vw, 120px) 0 44px; color: #b9bfc7; font: 400 16px/1.6 var(--sans); border-top: 1px solid #151b22; }
.site-footer::before, .site-footer::after { display: none !important; }
.foot-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 56px; }
.foot-sig { font: 500 clamp(26px, 2.2vw, 40px)/1.18 var(--display) !important; letter-spacing: -.016em; color: #fff !important; max-width: 15em; margin: 24px 0 0 !important; }
.site-footer h4 { font: 500 15px/1.5 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; margin-bottom: 12px; }
.site-footer li { margin: 0 0 8px; }
.site-footer li a { color: #b9bfc7; text-decoration: none; font-size: 15.5px; }
.site-footer li a:hover { color: var(--brass); }
.foot-mail { font: 500 18px/1.4 var(--display) !important; color: #fff !important; border-bottom: 1px solid #6EC6A1; }
.foot-icons { display: none; }
.foot-base { border-top: 1px solid #1b222b; margin-top: 64px; padding-top: 22px; font: 400 13.5px/1.6 var(--sans); color: #868d97; }
.foot-base a { color: #b9bfc7; }

@media (max-width: 1080px) {
  .page-head .wrap, .paper-head .wrap { grid-template-columns: 1fr; }
  .page-head .wrap > *, .paper-head .wrap > * { grid-column: 1 !important; grid-row: auto !important; }
  .page-head .lede, .page-head .lead, .paper-head .dek { margin-top: 20px; }
  .essay { grid-template-columns: 1fr; gap: 40px; }
  .essay-toc { position: static; }
  .sec-intro, .sec-head { grid-template-columns: 1fr; }
  .sec-intro p + p { grid-column: 1; }
  .nav { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  .site-header .wrap { padding: 18px 20px; }
  .search-btn span { display: none; }
  .hdr-actions { gap: 22px; }
  .site-header .brand img { width: 126px; }
  .wrap, .essay { padding-inline: 20px; }
  .page-head, .paper-head { min-height: 88svh; }
  .page-head .wrap, .paper-head .wrap { padding: 120px 20px 34px; }
  .page-head::after, .paper-head::after { background: linear-gradient(0deg, rgb(6 8 11 / .96) 0%, rgb(6 8 11 / .86) 48%, rgb(6 8 11 / .25) 78%, rgb(6 8 11 / .1)); }
  .place-link { right: auto; left: 20px; top: 76px; bottom: auto; }
  .nav { grid-template-columns: 1fr; padding: 96px 20px 40px; gap: 34px; }
  .steps7 li { grid-template-columns: 1fr; gap: 10px; }
  .essay-body p, .essay-body li { font-size: 19px; }
  .abstract p, .essay-body .lead { font-size: 21px !important; }
  .divs > div, .divs > div + div { padding: 30px 0; border-left: 0; }
  .divs > div + div { border-top: 1px solid var(--line-2); }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .rowx { grid-template-columns: 1fr; }
  .paper-head .paper-facts { gap: 12px 30px; }
}
@media print { .hero-img, .place-link, .site-header { display: none; } .page-head, .paper-head { min-height: 0; color: #000; } .page-head h1, .paper-head h1 { color: #000; } }

/* The PRISM sample test notice (25 Nov 2026) */
.ntc { position: fixed; left: 48px; bottom: 44px; z-index: 40; width: min(404px, 100vw - 40px); background: #0b0b0b; color: #141922; padding: 24px 26px; opacity: 0; visibility: hidden; transform: translateY(34px); transition: opacity .4s, transform .5s, visibility .4s; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .55); border-left: 4px solid #FF2F92; }
.ntc.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s, transform .8s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.ntc b { display: block; font: 500 25px/1.15 var(--serif); letter-spacing: -.012em; padding-right: 26px; }
.ntc p { font: 400 17.5px/1.45 var(--serif); margin: 9px 0 18px; }
.ntc .lk { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.ntc .lk a { font: 500 15px/1 var(--sans); background: #141922; color: #fff; padding: 14px 18px; text-decoration: none; } .ntc .lk a:hover { background: #000; }
.ntc .lk a + a { font: 400 14.5px/1.4 var(--sans); background: none; color: #141922; padding: 0; text-decoration: underline; text-decoration-color: #FF2F92; text-underline-offset: .35em; }
.ntc .x { position: absolute; right: 10px; top: 8px; width: 36px; height: 36px; background: none; border: 0; font: 300 24px/1 var(--sans); color: #5f6670; cursor: pointer; }
@media print { .ntc { display: none; } }
.ntc { left: auto; right: 40px; bottom: 92px; width: min(344px, 100vw - 40px); } .ntc b { font-size: 23px; } .ntc p { font-size: 16.5px; }
@media (max-width: 800px) { .ntc { left: 20px; right: 20px; width: auto; bottom: 16px; padding: 18px; } .ntc b { font-size: 21px; } .ntc p { font-size: 16px; margin: 6px 0 12px; } .ntc .hide { display: none; } }

/* The footer (25 Nov 2026): contact first, then the pages */
.site-footer { padding: 52px 0 28px; }
.site-footer .wrap { width: auto; max-width: none; margin: 0; padding: 0 48px; }
.site-footer .foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(4, minmax(0, 2fr)); gap: 32px 40px; margin-top: 40px; padding-top: 36px; border-top: 1px solid #1d232b; }
.site-footer .foot-grid > :first-child { grid-column: auto; }
.site-footer .foot-grid .brand img { margin: 0 0 20px; } .site-footer .foot-grid p { font: 400 19px/1.45 var(--serif); color: #c9ced5; max-width: 27em; margin: 0; }
.site-footer h4 { margin: 0 0 12px; } .site-footer li { margin: 0 0 7px; }
.foot-base { margin-top: clamp(40px, 4vw, 64px); }
@media (max-width: 1080px) { .site-footer .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .site-footer .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 800px) { .site-footer .wrap { padding: 0 20px; } .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 800px) { .site-footer { padding-bottom: 76px; } .foot-base { display: block; } }
.foot-base { padding-right: 76px; } @media (max-width: 800px) { .foot-base { padding-right: 0; } .foot-base span { display: block; } }

/* Contacts with icons: the same rules as the home page (tools/contact_icons.py) */
.ctc{display:flex;flex-wrap:wrap;gap:20px 56px}
.ctc a{display:flex;align-items:center;gap:16px;text-decoration:none;color:#fff;font-style:normal}
.ctc i{flex:none;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;border:1px solid #3a424d;color:#e9ebee;transition:background .25s,border-color .25s,color .25s}
.ctc svg{width:25px;height:25px;display:block}
.ctc .c-wa i{background:#25d366;border-color:#25d366;color:#fff}
.ctc .c-call i{border-color:#FF2F92;color:#FF2F92}
.ctc small{display:block;font:400 14px/1.3 Poppins,sans-serif;color:#9aa1ab;margin:0}
.ctc b{display:block;font:500 clamp(20px,1.6vw,30px)/1.25 Stix,Georgia,serif;letter-spacing:-.01em;color:#fff}
.ctc a:hover b{text-decoration:underline;text-decoration-color:#FF2F92;text-decoration-thickness:1px;text-underline-offset:.25em}
.ctc .c-call:hover i{background:#FF2F92;color:#06080b}
.ctc .c-mail:hover i{background:#e9ebee;color:#06080b}
.ctc .c-wa:hover i{background:#1fb457;border-color:#1fb457}
.cs{display:flex!important;align-items:center;gap:12px}
.cs i{flex:none;width:22px;height:22px;display:grid;place-items:center;color:#FF2F92}
.cs i.wa{color:#25d366}
.cs svg{width:21px;height:21px;display:block}
@media(max-width:800px){.ctc{gap:12px;display:grid;grid-template-columns:1fr}
.ctc i{width:46px;height:46px}
.ctc svg{width:22px;height:22px}
.ctc a{gap:14px}
.ctc b{font-size:clamp(15.5px,4.25vw,19px)}
.ctc .c-mail b{white-space:nowrap}
}
.ctc-page { display: grid; gap: 0; } .ctc-page a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink) !important; } .ctc-page a b { color: var(--ink); } .ctc-page small { color: var(--muted); } .ctc-page .c-mail i { border-color: #b5b9bd; color: var(--ink); } .ctc-page .c-call i { border-color: #FF2F92; color: #FF6FB5; } .ctc-page .c-mail:hover i { background: var(--ink); color: #fff; }
.site-footer .ctc a { color: #fff; } .site-footer .ctc small { color: #9aa1ab; }
.ml .cs { white-space: nowrap; font-size: 14px; } @media (max-width: 1500px) { .ml .cs { font-size: 13px; } }
