/* ============================================================================
   CCLGFL Blog
   Centre for Corporate Law, Governance and Financial Laws, NLU Delhi

   A sibling of the Innovation Brief's design (CIIPC, NLU Delhi): the same bound
   volume of cloth covers, endpapers and stone pages, in the Centre's maroon and
   gold, with engraved guilloché where the Brief has marbling.
   Text is Source Serif 4, headings Cormorant Garamond, labels Hanken Grotesk.
   ============================================================================ */

/* ── fonts ─────────────────────────────────────────────────────────────── */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; }


/* ── tokens ────────────────────────────────────────────────────────────────
   The design is a bound volume, as the Innovation Brief's is: cloth covers,
   endpapers, stone pages. Where the Brief's endpapers are marbled, this
   Blog's are engraved: guilloché, the line-work of share certificates, cut
   in gold on the Centre's maroon. Six cloths, one for each area of law.
   Surfaces: day (default), sepia, night. Night also follows the device.
   ─────────────────────────────────────────────────────────────────────── */

:root {
  --paper:#F6F1E7; --paper-2:#EBE3D3; --plate:#EFE7D8;
  --ink:#241A19; --head:#3A0F18; --muted:#5A4A47; --faint:#74645F; --rule:#D9CDB8; --hair:#E8DECB;
  --blue:#5F1D25; --red:#8B5D20; --on-blue:#F6EEE4; --sel:#EADCBC;
  --engrave-1:#5F1D25; --engrave-2:#9E6B22; --engrave-1-o:.8; --engrave-2-o:.5;

  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --serif:   "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: var(--sans);
  --text: var(--serif);

  --wrap: 1240px;
  --page: 78rem; --pad: clamp(1.25rem, 4vw, 2.75rem);
  --measure: 38rem; --gutter: 3.5rem; --gap: 2.75rem; --rail: 14.5rem; --bar-h: 3.75rem;
  --read-scale: var(--lectern-scale, 1);
  --read: calc(1.1875rem * var(--read-scale));
  --note: calc(.8125rem * (1 + (var(--read-scale) - 1) * .5));
  --shadow: 0 18px 50px rgb(40 20 16 / .14);

  /* the names the article styles below were written with */
  --raise: var(--paper-2); --sunk: #E3D9C6; --ink-2: var(--muted); --ink-3: var(--faint);
  --accent: var(--blue); --accent-2: #7D3039; --gold: #9E6B22; --gold-ink: var(--red); --gold-pale: #E3CFA4;
  --display-ink: var(--head);
  --band: #3A0F18; --band-ink: #F4EADB; --band-ink-2: #D9C5A9; --band-gold: #C9A064;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-surface="day"]):not([data-surface="sepia"]) { --night: 1;
    --paper:#170E10; --paper-2:#22171A; --plate:#2A1D20;
    --ink:#EADFD3; --head:#F6EEE4; --muted:#C9B8AE; --faint:#AA988E; --rule:#3E2D30; --hair:#2B1E21;
    --blue:#E3BC82; --red:#D9B26F; --on-blue:#170E10; --sel:#4B3A26;
    --engrave-1:#C88A8F; --engrave-2:#C2914A; --engrave-1-o:.7; --engrave-2-o:.45;
    --sunk:#2D2023; --accent-2:#F1CEA3; --gold:#C2914A; --gold-pale:#6B5433; --shadow:0 18px 50px rgb(0 0 0 / .5);
  }
}
:root[data-surface="night"] {
  --paper:#170E10; --paper-2:#22171A; --plate:#2A1D20;
  --ink:#EADFD3; --head:#F6EEE4; --muted:#C9B8AE; --faint:#AA988E; --rule:#3E2D30; --hair:#2B1E21;
  --blue:#E3BC82; --red:#D9B26F; --on-blue:#170E10; --sel:#4B3A26;
  --engrave-1:#C88A8F; --engrave-2:#C2914A; --engrave-1-o:.7; --engrave-2-o:.45;
  --sunk:#2D2023; --accent-2:#F1CEA3; --gold:#C2914A; --gold-pale:#6B5433; --shadow:0 18px 50px rgb(0 0 0 / .5);
}
:root[data-surface="sepia"] {
  --paper:#EADFC8; --paper-2:#DFD2B8; --plate:#E4D8BF;
  --ink:#2A2018; --head:#43160F; --muted:#54463A; --faint:#65564A; --rule:#CDBD9F; --hair:#D9CCB1;
  --blue:#6B2A22; --red:#7A5219; --on-blue:#F6EEE4; --sel:#DCCBA3;
  --engrave-1:#6B2A22; --engrave-2:#946524; --sunk:#D5C7AA; --accent-2:#86372D; --gold:#946524; --gold-pale:#CDB68A;
}
:root[data-surface="night"], :root:not([data-surface="day"]):not([data-surface="sepia"]) { color-scheme: dark; }
:root[data-surface="day"], :root[data-surface="sepia"] { color-scheme: light; }
@media (prefers-color-scheme: light) { :root:not([data-surface="night"]) { color-scheme: light; } }

/* ── base ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--sel); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
  -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6;
  font-optical-sizing: auto; font-variant-numeric: oldstyle-nums proportional-nums; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; transition: background .3s ease, color .3s ease; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
p, ul, ol, dl, figure, blockquote { margin-top: 0; }
h1, h2, h3, h4, h5, .wordmark { color: var(--head); margin-top: 0; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; background: var(--paper-2); padding: .08em .3em; border-radius: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.visually-hidden, .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 200;
  font-family: var(--sans); font-size: .875rem; text-decoration: none; }
.skip:focus { left: 8px; }
html.locked { overflow: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; width: 100%; }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }
.muted { color: var(--faint); }

.label { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin: 0; font-variant-numeric: lining-nums; }
.meta { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0;
  font-variant-numeric: lining-nums; }
.meta b { color: var(--muted); font-weight: 600; }
.kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin: 0 0 1.1rem; font-variant-numeric: lining-nums; }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* ── cloths: the binding colours. A cloth re-sets the tokens, so anything inside just works ── */

.cloth { background: var(--cl); color: var(--ink); }
.cloth-maroon   { --cl:#3A0F18; --ink:#EADFD3; --head:#F6EEE4; --muted:#D4BEB5; --faint:#BFA79C; --red:#D9B26F; --blue:#FFFFFF;
  --rule:rgba(234,223,211,.24); --hair:rgba(234,223,211,.14); --engrave-1:#E3CFA4; --engrave-2:#C9A064; }
.cloth-midnight { --cl:#1B2A41; --ink:#DDE3EC; --head:#F1F4F8; --muted:#B4C0D0; --faint:#9AA9BD; --red:#D9B26F; --blue:#FFFFFF;
  --rule:rgba(221,227,236,.24); --hair:rgba(221,227,236,.14); --engrave-1:#C9D3E2; --engrave-2:#C9A064; }
.cloth-forest   { --cl:#1E3A2F; --ink:#DCE8E1; --head:#F0F6F2; --muted:#B2C6BB; --faint:#98B0A3; --red:#D9B26F; --blue:#FFFFFF;
  --rule:rgba(220,232,225,.24); --hair:rgba(220,232,225,.14); --engrave-1:#C5DACF; --engrave-2:#C9A064; }
.cloth-plum     { --cl:#45233F; --ink:#EBDDE8; --head:#F7EEF5; --muted:#D3BDCE; --faint:#BEA3B8; --red:#D9B26F; --blue:#FFFFFF;
  --rule:rgba(235,221,232,.24); --hair:rgba(235,221,232,.14); --engrave-1:#DEC6D8; --engrave-2:#C9A064; }
.cloth-slate    { --cl:#34414B; --ink:#E3E8EC; --head:#F4F6F8; --muted:#BAC4CC; --faint:#A1AEB8; --red:#E3C48A; --blue:#FFFFFF;
  --rule:rgba(227,232,236,.26); --hair:rgba(227,232,236,.15); --engrave-1:#D2DAE0; --engrave-2:#C9A064; }
.cloth-calf     { --cl:#C9B28B; --ink:#241A19; --head:#3A0F18; --muted:#3F332E; --faint:#4B3E37; --red:#5F1D25; --blue:#5F1D25;
  --rule:rgba(58,15,24,.3); --hair:rgba(58,15,24,.16); --engrave-1:#5F1D25; --engrave-2:#7A5219; }
.cloth-stone    { --cl:#F6F1E7; --ink:#241A19; --head:#3A0F18; --muted:#5A4A47; --faint:#74645F; --red:#8B5D20; --blue:#5F1D25;
  --rule:#D9CDB8; --hair:#E8DECB; --paper:#F6F1E7; --engrave-1:#5F1D25; --engrave-2:#9E6B22; }

/* the six areas of law: a colour each, for tags, plates and rules */
.a-corporate-law { --fc:#3A0F18; --fct:#F6EEE4; }
.a-corporate-governance { --fc:#1B2A41; --fct:#F1F4F8; }
.a-securities-capital-markets { --fc:#1E3A2F; --fct:#F0F6F2; }
.a-banking-finance-fintech { --fc:#C9B28B; --fct:#3A0F18; }
.a-insolvency { --fc:#45233F; --fct:#F7EEF5; }
.a-commercial-laws { --fc:#34414B; --fct:#F4F6F8; }

/* engraved endpapers: gold line-work on the cloth, as a full band or a thin page edge */
.endpaper, .edge { position: relative; overflow: hidden; background: #2A0A11; }
.endpaper { height: clamp(96px, 13vw, 180px); }
.edge { height: 14px; }
.endpaper > span, .edge > span { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.endpaper .e-rib, .edge .e-rib { background: #C9A064; opacity: .5; -webkit-mask-size: 100% auto; mask-size: 100% auto;
  -webkit-mask-position: center; mask-position: center; }
.endpaper .e-med { background: #E3CFA4; opacity: .55; -webkit-mask-size: auto 135%; mask-size: auto 135%;
  -webkit-mask-position: 74% 50%; mask-position: 74% 50%; }
.edge .e-rib { opacity: .6; -webkit-mask-size: 100% auto; mask-size: 100% auto; -webkit-mask-position: center 40%; mask-position: center 40%; }

/* engraved plates */
.plate { position: relative; display: block; overflow: hidden; background: var(--plate); }
.plate > span { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 74% 50%; mask-position: 74% 50%; }
.plate__ribbons { background: var(--engrave-2); opacity: var(--engrave-2-o); }
.plate__medal { background: var(--engrave-1); opacity: var(--engrave-1-o); }
.plate--medallion { aspect-ratio: 1; }
.plate--medallion .plate__medal { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.plate--medallion .plate__ribbons { opacity: calc(var(--engrave-2-o) * .75); -webkit-mask-size: auto 100%; mask-size: auto 100%;
  -webkit-mask-position: 30% 50%; mask-position: 30% 50%; }
.plate--band .plate__ribbons { -webkit-mask-size: 100% auto; mask-size: 100% auto; -webkit-mask-position: center; mask-position: center; }
.plate--band .plate__medal { -webkit-mask-size: auto 100%; mask-size: auto 100%; }
a.plate .plate__medal { transition: opacity .35s ease; }
a.plate:hover .plate__medal { opacity: 1; }
.plate.cloth { background: var(--cl); }

/* ── header: the spine ─────────────────────────────────────────────────── */

.top { position: sticky; top: 0; z-index: 60; }
.top-in { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.lockup { display: flex; align-items: center; gap: 12px; flex: none; }
.lockup a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; border-radius: 2px; }
.lockup img { display: block; width: 44px; height: 44px; }
.lockup .lk-nlu img { width: auto; }
.lockup .rv { width: 1px; height: 34px; background: var(--rule); }
.lockup .nm { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .01em; white-space: nowrap; color: var(--head); }
.lockup .nm i { font-style: normal; font-weight: 400; margin-left: .22em; }
.top .sp, .rbar .sp { flex: 1; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--sans); font-size: 14px; text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--head); }
.nav a[aria-current="page"] { color: var(--head); border-bottom-color: var(--head); }
.nsep { width: 1px; height: 16px; background: var(--rule); }
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.ib { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule);
  border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.ib:hover { border-color: var(--ink); }
.ib.disp { gap: 8px; font-family: var(--sans); font-size: 13px; }
.ib.disp .lb { display: none; line-height: 1; }
@media (min-width: 900px) and (max-width: 1240px) { .top .ib.disp { width: auto; padding: 0 15px 0 12px; } .top .ib.disp .lb { display: inline; } }
.ib[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--cl, var(--paper)); }
.pill { font-family: var(--sans); font-size: 13px; font-weight: 600; text-decoration: none; padding: 0 17px; height: 40px; display: inline-flex;
  align-items: center; border: 1px solid var(--ink); border-radius: 999px; white-space: nowrap; margin-left: 4px; }
.pill:hover { background: var(--ink); color: var(--cl, var(--paper)); }
.js-menu { display: none; }
@media (max-width: 1240px) { .top .nav { display: none; } .top .js-menu { display: inline-flex; } }
@media (max-width: 700px) { .top .pill { display: none; } }
@media (max-width: 640px) { .lockup img { width: 36px; height: 36px; } .lockup .rv { height: 28px; } .lockup, .lockup a { gap: 10px; }
  .top-in { gap: 12px; padding-top: 10px; padding-bottom: 10px; } .tools { gap: 6px; } }
@media (max-width: 560px) { .lockup .nm { display: none; } }
@media (max-width: 340px) { .lockup .lk-nlu, .lockup .rv { display: none; } }

/* ── home: the cover ───────────────────────────────────────────────────── */

.cover { position: relative; }
.cover-in { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(52px, 7vw, 96px); border-top: 1px solid var(--hair); }
.cover .label { margin: 0 0 clamp(26px, 3.4vw, 44px); }
.wordmark { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 14vw, 200px); line-height: .86; letter-spacing: -.02em; margin: 0; }
.wordmark .b { font-weight: 400; font-style: italic; margin-left: .16em; color: var(--red); }
.cover .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; color: var(--muted);
  max-width: 34em; margin: clamp(22px, 3vw, 36px) 0 0; }

/* ── home: featured ────────────────────────────────────────────────────── */

.featured { padding: 88px 0 0; }
.featured .grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.featured .plate { aspect-ratio: 10/7; border-radius: 2px; }
.featured h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.02; letter-spacing: -.012em; margin: 16px 0 14px; text-wrap: balance; }
.featured h2 a { text-decoration: none; }
.featured h2 a:hover { color: var(--blue); }
.featured .teaser { font-size: 17.5px; line-height: 1.62; color: var(--muted); margin: 0 0 24px; max-width: 32em; }
.featured .byline { font-size: 18px; margin: 0 0 6px; font-weight: 600; }
.featured .byline a { text-decoration: none; }
.featured .byline a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .featured .grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── section heads ─────────────────────────────────────────────────────── */

.shead { display: flex; align-items: baseline; gap: 18px; border-top: 2px solid var(--ink); padding-top: 14px; margin: 0 0 10px; }
.shead h2 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0; color: var(--ink); }
.shead .sp { flex: 1; }
.shead a.meta { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.shead a.meta:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ── home: the shelf, one bound volume per area of law ─────────────────── */

.shelf { padding: 104px 0 0; }
.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.book { position: relative; display: flex; flex-direction: column; min-height: clamp(380px, 31vw, 450px); padding: 28px 26px 26px 32px; text-decoration: none;
  border-radius: 2px 5px 5px 2px; box-shadow: inset 8px 0 0 rgba(0,0,0,.16), inset 9px 0 0 rgba(255,255,255,.06);
  transition: transform .28s ease, box-shadow .28s ease; }
.book::after { content: ""; position: absolute; inset: 11px 11px 11px 19px; border: 1px solid var(--rule); pointer-events: none; }
.book:hover { transform: translateY(-5px); box-shadow: inset 8px 0 0 rgba(0,0,0,.16), inset 9px 0 0 rgba(255,255,255,.06), 0 22px 36px -22px rgba(30,8,12,.6); }
.book .no { font-family: var(--display); font-size: clamp(40px, 3.6vw, 54px); line-height: 1; color: var(--red); margin: 0; font-weight: 500; }
.book .crest { width: clamp(76px, 7vw, 104px); margin: auto auto; opacity: .9; background: none; }
.book h3 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.5vw, 37px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 14px; color: var(--head); text-wrap: balance; }
.book .desc { font-size: 14.5px; line-height: 1.52; color: var(--muted); margin: 0 0 20px; }
.book .meta { color: var(--faint); border-top: 1px solid var(--rule); padding-top: 12px; }
.book .meta b { color: var(--ink); font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-style: italic; font-size: 13.5px;
  display: inline; }
@media (max-width: 1100px) { .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .book { min-height: 400px; } }
@media (max-width: 560px) { .covers { grid-template-columns: 1fr; } .book { min-height: 330px; } }

.latest { padding: 104px 0 0; }

/* ── cards ─────────────────────────────────────────────────────────────── */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 34px; padding: 26px 0 0; }
.card { display: block; text-decoration: none; }
.card .plate { aspect-ratio: 3/2; border-radius: 2px; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.12; margin: 16px 0 8px; text-wrap: balance; }
.card p { margin: 0; }
.card .s { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--blue); }
.card .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* the area tag: small, in the area's own cloth */
.tag { display: inline-block; font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  padding: 4px 7px 3px; border-radius: 2px; background: var(--fc, var(--paper-2)); color: var(--fct, var(--ink)); border: 1px solid var(--fc, var(--rule));
  vertical-align: 1px; white-space: nowrap; text-decoration: none; }
a.tag:hover { filter: brightness(1.15); }
:root[data-surface="night"] .tag { border-color: rgba(234,223,211,.3); }
@media (prefers-color-scheme: dark) { :root:not([data-surface="day"]):not([data-surface="sepia"]) .tag { border-color: rgba(234,223,211,.3); } }
.label .tag { margin-right: 8px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 1.1rem 0 0; padding: 0; }

/* ── home: beyond, and the call to write ───────────────────────────────── */

.beyond { padding: 96px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.tile { background: var(--paper-2); border-radius: 3px; padding: 28px 26px 30px; display: flex; flex-direction: column; }
.tile .big { font-family: var(--display); font-weight: 500; font-size: 56px; line-height: 1; color: var(--head); margin: 0 0 4px; font-variant-numeric: lining-nums; }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.08; margin: 10px 0 10px; }
.tile .d { font-size: 15.5px; line-height: 1.58; color: var(--muted); margin: 0 0 20px; }
.tile .go { margin-top: auto; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--blue); text-decoration: none; }
.tile .go:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

.plateband { position: relative; margin: 120px 0 0; padding: clamp(56px, 8vw, 104px) 20px; overflow: hidden; background: #2A0A11; }
.plateband > .e-rib, .plateband > .e-med { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.plateband > .e-rib { background: #C9A064; opacity: .42; -webkit-mask-size: 100% auto; mask-size: 100% auto; -webkit-mask-position: center; mask-position: center; }
.plateband > .e-med { background: #E3CFA4; opacity: .4; -webkit-mask-size: auto 150%; mask-size: auto 150%; -webkit-mask-position: 80% 50%; mask-position: 80% 50%; }
.bookplate { position: relative; max-width: 660px; margin: 0 auto; background: var(--cl); padding: clamp(40px, 5vw, 58px) clamp(26px, 5vw, 60px) clamp(40px, 5vw, 54px);
  text-align: center; box-shadow: 0 30px 60px -24px rgba(20,4,8,.8); }
.bookplate::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--head); pointer-events: none; }
.bookplate::after { content: ""; position: absolute; inset: 15px; border: 1px solid var(--rule); pointer-events: none; }
.bookplate .label { margin: 0 0 18px; color: var(--red); }
.bookplate h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: .98; letter-spacing: -.015em; margin: 0 0 20px; }
.bookplate p { font-size: 17px; line-height: 1.62; color: var(--muted); margin: 0 auto 26px; max-width: 28em; }
.bookplate .facts3 { display: flex; justify-content: center; gap: 12px 34px; flex-wrap: wrap; margin: 0 0 28px; padding: 14px 0 0; border-top: 1px solid var(--rule); font-family: var(--sans); }
.bookplate .facts3 div { text-align: center; }
.bookplate .facts3 dt { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.bookplate .facts3 dd { margin: 3px 0 0; font-size: 14.5px; color: var(--head); font-weight: 600; }
.bookplate .alt { font-size: 14.5px; margin: 20px auto 0; }
.bookplate .alt a { color: var(--head); text-underline-offset: 3px; }
.cta { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 600; text-decoration: none; padding: 13px 22px; background: var(--head);
  color: var(--cl, var(--paper)); border-radius: 2px; border: 0; cursor: pointer; }
.cta:hover { background: var(--blue); color: var(--on-blue); }
.cta-lg { font-size: 15px; padding: 17px 34px; }
.cta.ghost { background: transparent; color: var(--head); border: 1px solid var(--head); }
.cta.ghost:hover { background: var(--head); color: var(--cl, var(--paper)); }

/* ── footer ────────────────────────────────────────────────────────────── */

footer.site { margin-top: 110px; padding: 56px 0 76px; }
main:has(> .plateband:last-child) ~ footer.site { margin-top: 0; }
footer.site .foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
footer.site .lockup { margin: 0 0 20px; }
footer.site p { font-size: 14.5px; line-height: 1.62; color: var(--muted); margin: 0; max-width: 34em; }
footer.site .flabel { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 9px; }
footer.site a { color: var(--ink); text-underline-offset: 3px; }
footer.site a:hover { color: var(--blue); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0 0 6px; font-size: 14.5px; }
footer.site .foot-nlu { display: block; width: min(280px, 100%); margin-top: 22px; opacity: .92; }
footer.site .foot-nlu:hover { opacity: 1; }
footer.site .foot-nlu img { width: 100%; }
footer.site .colophon { margin-top: 44px; }
footer.site .colophon p { font-style: italic; font-size: 13.5px; color: var(--faint); max-width: none; padding-top: 18px; border-top: 1px solid var(--rule); }
@media (max-width: 860px) { footer.site .foot { grid-template-columns: 1fr; gap: 28px; } }

/* ── listing pages: areas, archive, authors ────────────────────────────── */

.phead-in { padding-top: clamp(52px, 7vw, 92px); padding-bottom: clamp(44px, 6vw, 76px); border-top: 1px solid var(--hair); }
.phead h1 { font-family: var(--display); font-weight: 500; font-size: clamp(50px, 8.4vw, 118px); line-height: .93; letter-spacing: -.018em; margin: 18px 0 22px; }
.phead .desc { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--ink); max-width: 32em; margin: 0; }
.phead .meta { margin-top: 26px; color: var(--faint); }
.phead .meta a { color: inherit; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 28px 0 6px; }
.filters .flab { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.filters button, .filters a.fb { font-family: var(--sans); font-size: 12px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; }
.filters button:hover, .filters a.fb:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"], .filters a.fb[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters .n { margin-left: 4px; font-variant-numeric: tabular-nums; opacity: .75; }
.filters .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fc); border: 1px solid var(--rule); margin-right: 7px; }
.filters button[aria-pressed="true"][class^="a-"] { background: var(--fc); border-color: var(--fc); color: var(--fct); }
.filters button[aria-pressed="true"] .dot { background: currentColor; border-color: currentColor; }
.filters[hidden] { display: none; }
.fnote { font-family: var(--sans); font-size: 13px; color: var(--faint); margin: 10px 0 0; min-height: 1.2em; }
.find { display: flex; align-items: center; gap: 12px; padding: 12px 18px; margin: 28px 0 0; border: 1px solid var(--rule); border-radius: 3px;
  color: var(--faint); font-family: var(--sans); font-size: 15px; background: transparent; width: 100%; text-align: left; cursor: pointer; }
.find:hover { border-color: var(--ink); color: var(--ink); }

.year { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.year[hidden], .row[hidden] { display: none; }
.year__n { font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1; margin: 0; font-variant-numeric: lining-nums; position: sticky; top: 5.5rem; align-self: start; }
.year__n small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .06em; color: var(--faint); margin-top: 8px; font-weight: 500; }
.rows { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.row:last-child { border-bottom: 0; }
.row h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; margin: 0 0 6px; text-wrap: balance; }
.row:hover h3 { color: var(--blue); }
.row .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.row .r { font-family: var(--sans); font-size: 11.5px; color: var(--faint); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 6px; text-align: right; }
.row .x { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 6px 0 0; }
.rows--compact .row h3 { font-size: 21px; }
@media (max-width: 640px) { .year { grid-template-columns: 1fr; gap: 10px; } .row { grid-template-columns: 1fr; } .row .r { text-align: left; padding-top: 0; } .year__n { position: static; } }

.writers { list-style: none; margin: 0; padding: 36px 0 0; columns: 3 17rem; column-gap: 40px; }
.writer { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.writer a { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; text-decoration: none; }
.writer a:hover { color: var(--blue); }
.writer span { font-family: var(--sans); font-size: 12px; color: var(--faint); white-space: nowrap; }
.writers-head { font-family: var(--display); font-weight: 500; font-size: 40px; color: var(--red); margin: 0; padding: 22px 0 6px; column-span: all; break-after: avoid; }

/* ── pages: About, Submissions, Contact — the text, with the facts beside it ── */

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 72px; align-items: start; }
.page-prose { max-width: var(--measure); padding: 48px 0 0; }
.page-prose h2 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; margin: 1.7em 0 .5em; }
.page-prose h2:first-child { margin-top: 0; }
.page-prose p, .page-prose li { font-size: 18.5px; line-height: 1.7; }
.page-prose p { margin: 0 0 1.1em; }
.page-prose ul, .page-prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.page-prose li { margin: 0 0 .5em; }
.page-prose a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.page-prose .lede { font-size: 22px; line-height: 1.55; color: var(--ink); }
.facts { position: sticky; top: 92px; margin-top: 52px; padding: 26px 24px 28px; background: var(--paper-2); border-radius: 3px; }
.facts .label { margin: 0 0 12px; }
.facts dl { margin: 0 0 22px; }
.facts dl div { padding: 11px 0; border-top: 1px solid var(--rule); }
.facts dt { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.facts dd a { color: inherit; text-underline-offset: 3px; }
.facts .cta { display: flex; justify-content: center; width: 100%; }
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px; margin: 28px 0 0; padding: 0; }
.person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; margin-bottom: 12px; }
.person__name { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; margin: 0 0 4px; }
.person__role { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0; }
.contact__email { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 48px); margin: 0 0 14px; }
.contact__email a { text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 980px) { .page-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } .facts { position: static; margin: 44px 0 0; } }

.lost { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; }
.lost h1 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 84px); line-height: .98; margin: 0 0 18px; }
.lost__plate { border-radius: 2px; }
@media (max-width: 700px) { .lost { grid-template-columns: 1fr; gap: 28px; } .lost__plate { max-width: 160px; } }

/* ── reader bar, progress ──────────────────────────────────────────────── */

.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); width: 0; z-index: 90; }
.rbar { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--cl) 95%, transparent); backdrop-filter: saturate(1.3) blur(14px); }
.rbar .in { display: flex; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.rbar .lockup img { width: 32px; height: 32px; }
.rbar .lockup .rv { height: 24px; }
.rbar .lockup .nm { font-size: 18px; }
.rbar .ib { width: 36px; height: 36px; }
.rbar .pill { display: none; }
.rbar .js-menu { display: inline-flex; }
.rbar .now { font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; padding-left: 16px; border-left: 1px solid var(--rule); }
@media (max-width: 640px) { .rbar .now { display: none; } .rbar .lockup img { width: 30px; height: 30px; } .rbar .ib { width: 34px; height: 34px; } }

.hero .frame { width: 100%; height: clamp(150px, 20vw, 280px); overflow: hidden; background: var(--cl); position: relative; }
.hero .frame .plate { position: absolute; inset: 0; height: 100%; background: transparent; }

/* ── menu sheet, search ────────────────────────────────────────────────── */

.sheet { position: fixed; inset: 0; z-index: 120; overflow-y: auto; display: flex; flex-direction: column; overscroll-behavior: contain; }
.sheet[hidden] { display: none; }
.sheet .wrap { max-width: 880px; }
.sheet-top { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.sheet-top .sp { flex: 1; }
.sheet-body { flex: 1; padding-top: 28px; padding-bottom: 44px; }
.sheet-search { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 18px; margin: 0 0 32px; border: 1px solid var(--rule); border-radius: 3px;
  background: rgba(255,255,255,.04); color: var(--muted); font-size: 17px; text-align: left; cursor: pointer; }
.sheet-search:hover { border-color: var(--ink); color: var(--ink); }
.sheet .label { margin: 0 0 4px; }
.sheet-areas { list-style: none; margin: 0 0 30px; padding: 0; }
.sheet-areas a { display: grid; grid-template-columns: 50px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.sheet-areas .no { font-family: var(--display); font-size: 24px; line-height: 1.1; color: var(--red); }
.sheet-areas .nm { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 6vw, 40px); line-height: 1; color: var(--head); }
.sheet-areas a:hover .nm { color: #fff; }
.sheet-links { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.sheet-links a { display: block; padding: 12px 0; font-family: var(--display); font-weight: 600; font-size: 24px; text-decoration: none; color: var(--head); border-bottom: 1px solid var(--hair); }
.sheet-foot { margin: 0; font-size: 14.5px; color: var(--muted); }
.sheet-foot a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 420px) { .sheet-links { grid-template-columns: 1fr; } }

.finder { position: fixed; inset: 0; z-index: 130; display: flex; justify-content: center; align-items: flex-start; padding: 9vh 20px 20px;
  background: rgba(25,6,10,.58); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.finder[hidden] { display: none; }
.finder-panel { width: 100%; max-width: 760px; max-height: 82vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); overflow: hidden; }
.finder-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--rule); color: var(--faint); }
.finder-bar input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--serif); font-size: 21px; color: var(--ink); padding: 9px 0; outline: none; }
.finder-bar input::placeholder { color: var(--faint); opacity: 1; }
.finder-bar input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.finder-x { flex: none; height: 36px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; font-family: var(--sans); font-size: 13px; color: var(--muted); cursor: pointer; }
.finder-x:hover { border-color: var(--ink); color: var(--ink); }
.finder-note { margin: 0; padding: 12px 20px 4px; font-family: var(--sans); font-size: 13.5px; color: var(--faint); }
.results { list-style: none; margin: 0; padding: 6px 8px 14px; overflow-y: auto; overscroll-behavior: contain; }
.res { display: block; padding: 14px 12px; border-radius: 3px; text-decoration: none; }
.res:hover, .res.on, .res:focus-visible { background: var(--paper-2); outline: none; }
.res .rk { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--faint); margin: 0 0 6px; }
.res .rt { display: block; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.15; color: var(--head); }
.res .rx { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 8px; }
.res mark { background: color-mix(in srgb, var(--red) 22%, transparent); color: var(--ink); padding: 0 1px; border-radius: 2px; }
@media (max-width: 640px) { .finder { padding: 0; } .finder-panel { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .finder-bar { padding: 10px 12px 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); } .finder-bar input { font-size: 18px; } }

/* ── buttons, chips, toast (kept from the first design) ────────────────── */

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: .5rem .9rem; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; color: var(--muted); text-decoration: none; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 140; margin: 0; transform: translate(-50%, .75rem); background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: .8125rem; padding: .65rem 1.05rem; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* the display panel: small, from the bar, not a sheet */
.panel { position: fixed; top: 70px; right: 22px; z-index: 125; width: 292px; padding: 18px 20px 20px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 16px 44px rgba(20,4,8,.28); }
.panel[hidden] { display: none; }
.panel h3 { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.panel .grp { margin: 0 0 16px; }
.panel .grp:last-child { margin: 0; }
.panel .grp[hidden] { display: none; }
.seg { display: flex; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.seg button { flex: 1; font-family: var(--sans); font-size: 12px; font-weight: 500; padding: 9px 4px; border: 0; background: transparent; color: var(--muted);
  cursor: pointer; border-right: 1px solid var(--rule); line-height: 1; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); background: var(--paper-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg.ser button { font-family: var(--serif); }
@media (max-width: 640px) { .panel { left: 12px; right: 12px !important; width: auto; } .seg button { min-height: 44px; font-size: 13.5px; } }

/* Lectern, the display-settings sheet, takes this Blog's colours */
:root { --lectern-bg: var(--paper); --lectern-ink: var(--ink); --lectern-muted: var(--muted); --lectern-rule: var(--rule);
  --lectern-accent: var(--ink); --lectern-on-accent: var(--paper); --lectern-font-ui: var(--sans); --lectern-font-display: var(--display);
  --lectern-font-text: var(--serif); }

/* ── phones: tighter rhythm ────────────────────────────────────────────── */

@media (max-width: 640px) {
  .featured { padding-top: 56px; } .shelf, .latest, .beyond { padding-top: 72px; } .plateband { margin-top: 80px; }
  .bookplate h2 { font-size: 40px; } footer.site .lockup .nm { display: none; }
}

/* ── article ───────────────────────────────────────────────────────────── */

.reader {
  width: 100%;
  max-width: calc(var(--gutter) + var(--measure) + var(--gap) + var(--rail) + var(--pad) * 2);
  margin-inline: auto; padding-inline: var(--pad);
}
.reader > * { margin-left: var(--gutter); max-width: var(--measure); }

.article__head { padding-top: clamp(2.25rem, 4.5vw, 3.75rem); }
.reader > .article__head { max-width: calc(var(--measure) + var(--gap) + var(--rail) * .6); }
.article__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.55rem, 1.45rem + 3.9vw, 4.6rem); line-height: 1.02; letter-spacing: -.014em;
  margin: 0 0 1.4rem; text-wrap: balance;
}
.article__stand { font-style: italic; font-size: clamp(1.2rem, 1.02rem + .65vw, 1.5rem); line-height: 1.46;
  color: var(--ink-2); max-width: 38ch; margin: 0 0 2.1rem; text-wrap: pretty; }
.dateline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: .4rem 1.5rem; border-top: 1px solid var(--ink); padding-top: .9rem; max-width: var(--measure); }
.dateline__who { margin: 0; font-weight: 600; font-size: 1.0625rem; }

/* prose */
.prose {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  font-size: var(--read); line-height: 1.7;
  hyphens: auto; -webkit-hyphens: auto; hanging-punctuation: first allow-end;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
.prose p { position: relative; margin: 0 0 1.12em; text-wrap: pretty; }
.prose > p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-weight: 600; color: var(--accent);
  font-size: 3.7em; line-height: .78; margin: .07em .09em 0 -.03em; font-variant-numeric: lining-nums;
}
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, var(--gold) 50%, transparent);
  transition: text-decoration-color .15s ease; overflow-wrap: break-word; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 650; }

.prose h2 {
  display: flex; align-items: baseline; gap: .45em;
  font-family: var(--display); font-weight: 600; font-size: 1.62em; line-height: 1.12; letter-spacing: -.006em;
  margin: 2.3em 0 .75em; text-wrap: balance; hyphens: manual;
}
.prose h3 { display: flex; align-items: baseline; gap: .6rem; font-family: var(--serif); font-weight: 600;
  font-size: 1.06em; line-height: 1.35; margin: 2em 0 .55em; hyphens: manual; }
.prose h4 { display: flex; gap: .5rem; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1em; margin: 1.6em 0 .4em; }
/* Heading numerals are set in the display face at full size — a lone "I" in a
   small sans reads as a stray bar, not a numeral. */
.h-no { flex: none; font-family: var(--display); font-weight: 500; font-size: 1em; letter-spacing: .02em;
  color: var(--gold-ink); font-variant-numeric: lining-nums; }
.prose h2 .h-no::after { content: "."; }
.prose h3 .h-no { font-family: var(--serif); font-weight: 600; }
.prose h3 .h-no::after { content: "."; }
.prose h4 .h-no { font-style: normal; }
.prose h4 .h-no::before { content: "("; } .prose h4 .h-no::after { content: ")"; }

.prose blockquote { margin: 1.8em 0; padding: .1em 0 .1em 1.4rem; border-left: 2px solid var(--gold); color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 1.12em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--gold-ink); font-family: var(--sans); font-size: .85em; font-variant-numeric: lining-nums; }

.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; border: 1px solid var(--hair); }
.prose figcaption { font-family: var(--sans); font-size: .8rem; line-height: 1.45; color: var(--ink-3); margin-top: .65rem; }

.table-wrap { overflow-x: auto; margin: 2em 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
/* A minimum width, so on a phone a table scrolls inside its frame rather than
   crushing each column to a word or two per line. */
.prose table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: .86em; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
.prose th { text-align: left; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-3); padding: .75rem 1rem .6rem 0; border-bottom: 1px solid var(--rule); }
.prose td { padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }

.ornament { height: 30px; max-width: 16rem; margin: 2.8em auto; background: var(--gold); opacity: .55;
  -webkit-mask: url("../patterns/rule.svg") center / contain no-repeat; mask: url("../patterns/rule.svg") center / contain no-repeat; }

/* paragraph numbers, for pinpoint citation */
.prose a.pn {
  position: absolute; top: 0; left: calc(-1 * var(--gutter)); width: calc(var(--gutter) - 1.15rem);
  line-height: calc(var(--read) * 1.7); text-align: right; text-decoration: none;
  font-family: var(--sans); font-size: .6875rem; font-weight: 500; color: var(--ink-3);
  font-variant-numeric: lining-nums tabular-nums; transition: color .15s ease;
}
.prose p:hover > a.pn, .prose a.pn:focus-visible { color: var(--gold-ink); }
.prose p:target > a.pn { color: var(--accent); }
.prose p:target::before { content: ""; position: absolute; left: -.9rem; top: .3em; bottom: .3em; width: 2px; background: var(--gold); }

/* sidenotes: in the rail on wide screens, folded into the text below that */
.sn-wrap { display: inline; }
.sn-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sn-ref {
  font-family: var(--sans); font-size: .64em; font-weight: 700; line-height: 0; vertical-align: super;
  color: var(--gold-ink); padding: 0 .1em; cursor: pointer; user-select: none;
  font-variant-numeric: lining-nums; transition: color .15s ease;
}
.sn-ref:hover, .sn-ref.is-lit { color: var(--accent); }
.sn-toggle:focus-visible + .sn-ref { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 1px; }
.sn {
  float: right; clear: right; position: relative;
  width: var(--rail); margin: .3rem calc(-1 * (var(--gap) + var(--rail))) 1.1rem 0;
  font-family: var(--serif); font-size: var(--note); line-height: 1.52; font-style: normal; font-weight: 400;
  color: var(--ink-2); hyphens: manual; text-indent: 0; letter-spacing: 0;
  padding-left: .9rem; border-left: 1px solid var(--rule); transition: border-color .15s ease, color .15s ease;
}
.sn.is-lit { border-left-color: var(--gold); color: var(--ink); }
.sn-no { font-family: var(--sans); font-weight: 700; font-size: .72rem; color: var(--gold-ink); margin-right: .3em;
  font-variant-numeric: lining-nums; }
.snp { display: block; }
.snp + .snp { margin-top: .45em; }
.sn a { overflow-wrap: anywhere; }
.prose td .sn, .prose th .sn, .prose li .sn, .prose blockquote .sn { float: none; display: none; }

:root[data-notes="text"] .sn, .sn-folded .sn {
  float: none; width: auto; margin: .65rem 0 1rem; padding: .85rem 1rem .9rem;
  background: var(--raise); border-left: 2px solid var(--gold); font-size: calc(var(--note) * 1.06);
}
:root[data-notes="text"] .sn { display: block; }

/* apparatus */
.article__foot { margin-top: clamp(3rem, 6vw, 4.5rem); }
.bios { border-top: 1px solid var(--ink); padding-top: 1.2rem; margin-bottom: 2.5rem; }
.bios p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 .55rem; }
.cite { background: var(--raise); padding: 1.35rem 1.5rem 1.45rem; border-left: 2px solid var(--gold); margin-bottom: 1.5rem; }
.cite__text { font-size: .975rem; line-height: 1.6; margin: .65rem 0 1.05rem; overflow-wrap: anywhere; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .05em; }
.share { margin-bottom: 1rem; }
.share .label { margin-bottom: .65rem; }
.next { margin-top: 3rem; }


/* ── article: the new look over the reader layout above ────────────────── */

.article__head { padding-top: clamp(2.25rem, 4.5vw, 3.5rem); }
.article__title { font-weight: 500; letter-spacing: -.018em; color: var(--head); }
.article__stand { color: var(--muted); }
.dateline { border-top: 1px solid var(--rule); }
.dateline__who { font-family: var(--display); font-weight: 600; font-size: 1.35rem; }
.dateline__who a { text-decoration: none; }
.dateline__who a:hover { color: var(--blue); }
.dateline__meta { display: inline-flex; flex-wrap: wrap; gap: .2rem .9rem; font-family: var(--sans); font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--faint); font-variant-numeric: lining-nums; }
.meta-line { display: inline-flex; flex-wrap: wrap; gap: .2rem .9rem; }
.archive-note { font-family: var(--sans); font-size: .8125rem; color: var(--faint); margin: 1rem 0 0; }
.prose > p:first-of-type::first-letter { color: var(--blue); }
.prose blockquote { border-left-color: var(--red); }
.prose a { color: var(--blue); }

.bios { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.cite { background: #3A0F18; color: #EADFD3; border-left: 0; border-radius: 2px; --ink: #EADFD3; --muted: #D4BEB5; --faint: #BFA79C; --red: #D9B26F; --rule: rgba(234,223,211,.28); }
.cite .label { color: var(--red); }
.cite__text { color: #EADFD3; }
.cite .chip { color: #EADFD3; border-color: rgba(234,223,211,.38); }
.cite .chip:hover { background: #EADFD3; border-color: #EADFD3; color: #3A0F18; }
.share .label { margin-bottom: .65rem; }
.next { border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 3.5rem; }
.next .shead { border-top: 0; padding-top: 0; }
.next .cards { padding-top: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.next .card h3 { font-size: 21px; }
@media (max-width: 760px) { .next .cards { grid-template-columns: 1fr; } }
.preview-flag { background: var(--paper-2); border: 1px solid var(--rule); padding: .8rem 1rem; font-family: var(--sans); font-size: .875rem; margin: 1.5rem 0 0; }


/* the University's disclaimer */
.disclaimer { font-family: var(--sans); font-size: .8125rem; line-height: 1.55; color: var(--muted); margin: 0 0 .9rem; max-width: 52rem; }
.disclaimer--post { font-style: italic; font-family: var(--serif); font-size: .9375rem; border-left: 2px solid var(--gold); padding: .15rem 0 .15rem 1rem; margin: 0 0 2rem; }
footer.site .colophon { border-top: 1px solid var(--rule); padding-top: 18px; }
footer.site .colophon p.disclaimer { font-style: normal; font-size: 13.5px; color: var(--muted); border-top: 0; padding-top: 0; margin: 0 0 .8rem; max-width: 52rem; }
footer.site .colophon p.disclaimer + .colophon__row { margin-top: .4rem; }


/* ── motion and print ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .rbar, .progress, .hero, .edge, .endpaper, .plate, .toast, footer.site, .share, .next, .chips, .pn, .skip, .sheet, .finder, .tags, .cite .chips { display: none !important; }
  :root { --paper: #fff; --ink: #000; --muted: #222; --faint: #444; --blue: #000; --red: #000; --rule: #999; }
  body { font-size: 10.5pt; background: #fff; }
  .reader > * { margin-left: 0; max-width: none; }
  .prose { font-size: 11pt; line-height: 1.5; }
  .prose > p:first-of-type::first-letter { float: none; font-size: 1em; margin: 0; color: #000; }
  .sn { display: block !important; float: none; width: auto; margin: .2rem 0 .6rem 1.2rem; padding: 0 0 0 .6rem; background: none; border-left: 1px solid #999; font-size: 9pt; }
  .prose a { color: #000; text-decoration: none; }
  .prose a[href^="http"]::after { content: " <" attr(href) ">"; font-size: .8em; color: #444; overflow-wrap: anywhere; }
  .cite { background: none; color: #000; border: 1px solid #000; }
  .cite__text { color: #000; }
}

/* ── article on smaller screens: one column, notes fold into the text ──── */

@media (max-width: 1180px) {
  :root { --measure: 40rem; }
  .reader { max-width: calc(var(--measure) + var(--pad) * 2); }
  .reader > *, .reader > .article__head { margin-left: 0; max-width: var(--measure); }
  .prose a.pn { display: none; }
  .prose p:target::before { left: -.75rem; }
  .sn { display: none; float: none; width: auto; margin: .65rem 0 1rem; padding: .85rem 1rem .9rem;
    background: var(--raise); border-left: 2px solid var(--gold); font-size: calc(var(--note) * 1.06); }
  .sn-toggle:checked + .sn-ref + .sn { display: block; }
  .sn-ref { padding: .15em .3em; border-radius: 1px; }
  .sn-toggle:checked + .sn-ref { background: var(--sel); color: var(--ink); }
  .prose td .sn, .prose th .sn, .prose li .sn, .prose blockquote .sn { display: none; }
  .prose td .sn-toggle:checked + .sn-ref + .sn, .prose li .sn-toggle:checked + .sn-ref + .sn,
  .prose blockquote .sn-toggle:checked + .sn-ref + .sn { display: block; }
}
@media (max-width: 760px) {
  .dateline { display: grid; }
  .dateline__meta { margin-top: .2rem; }
  .article__title { font-size: clamp(2.2rem, 9vw, 3rem); }
}
:root[data-notes="text"] .sn { display: block; }
