/* =========================================================
   Vahid J. Sadeghi
   White and charcoal base, pine authority colour, gold for
   prestige signals only, steel-gray section washes.
   Per docs/website-strategy-roadmap.md, section 5.
   ========================================================= */

/* Headings use Charter, which is built into macOS, iOS and iPadOS, so Apple
   visitors download nothing. Other devices get a self-hosted Source Serif 4,
   loaded only when Charter is missing. Body text uses the system font. */
@font-face { font-family:"Source Serif 4"; font-style:normal; font-weight:200 900; font-display:swap;
  src:url("fonts/source-serif-4-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper:      #ffffff;
  --wash:       #f4f7f9;   /* steel section background */
  --wash-2:     #eef3f6;
  --deep:       #101820;   /* charcoal */
  --deep-2:     #16202b;

  --ink:        #101820;
  --ink-soft:   #3a4652;
  --muted:      #5c6873;
  --line:       #dfe5ea;
  --line-soft:  #edf1f4;

  --pine:       #006b68;   /* authority colour */
  --pine-lt:    #00857f;
  --pine-wash:  #e8f2f1;
  --gold:       #b88a36;   /* prestige signals only */
  --gold-wash:  #faf4e7;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Source Serif 4", Georgia, serif;
  --display: var(--serif);

  --w: 1320px;
  --w-text: 690px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip;
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip;
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--pine-lt); text-decoration: underline; text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; line-height: 1.12;
  letter-spacing: 0; color: var(--ink); margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); overflow-wrap: break-word;
  -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 480px) {
  h1 { font-size: 2.15rem; }
  .artwork:not(.hero-art) h1 { max-width: none !important; }
  h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.22rem; letter-spacing: 0; }
h4 { font-size: .98rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 30px; }
.measure { max-width: var(--w-text); }
.narrow { max-width: 780px; }

section { padding: 84px 0; }
section.tight { padding: 52px 0; }
section.wash { background: var(--wash); }
section.pine { background: var(--pine-wash); }
section.deep { background: var(--deep); color: #c3ccd4; }
section.deep h1, section.deep h2, section.deep h3, section.deep h4 { color: #fff; }
section.deep a { color: #6fd0c9; }
section.deep p { color: #b6c0c9; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.eyebrow.pine { color: var(--pine); }
.eyebrow.gold { color: var(--gold); }
section.deep .eyebrow { color: #7f96a8; }

.lede { font-size: clamp(1.06rem, 1.7vw, 1.22rem); line-height: 1.5;
  color: var(--ink-soft); letter-spacing: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 66px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.04rem;
  letter-spacing: 0; color: var(--ink); white-space: nowrap; min-width: 0; }
.brand:hover { text-decoration: none; color: var(--pine); }
.brand .brand-txt > span { display: block; font-weight: 500; font-size: .62rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 17px; }
.nav a { font-size: .82rem; font-weight: 450; color: var(--ink-soft);
  padding: 4px 0; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--pine); text-decoration: none; border-bottom-color: var(--line); }
.nav a.active { color: var(--ink); border-bottom-color: var(--pine); }
.nav a.track { border: 1px solid var(--pine); border-radius: var(--r);
  padding: 6px 13px; color: var(--pine); }
.nav a.track:hover, .nav a.track.active { background: var(--pine); color: #fff; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r); padding: 7px 11px; cursor: pointer; font-size: .8rem;
  color: var(--ink-soft); font-family: var(--sans); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 330px; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.positioning { font-family: var(--display); font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.62rem); line-height: 1.32; letter-spacing: 0;
  color: var(--pine); max-width: 20ch; margin-bottom: 24px; }
.hero .role { font-size: .93rem; color: var(--muted); margin-bottom: 28px; max-width: 48ch; }
.hero .role strong { color: var(--ink-soft); font-weight: 550; }

.portrait { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--r);
  background: var(--wash); }
.portrait-note { font-size: .72rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; font-size: .87rem; font-weight: 500; padding: 11px 20px;
  border-radius: var(--r); background: var(--pine); color: #fff; border: 1px solid var(--pine);
  transition: background .15s, border-color .15s; }
.btn:hover { background: var(--pine-lt); border-color: var(--pine-lt); color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: var(--pine); color: #fff; }
section.deep .btn { background: #fff; color: var(--deep); border-color: #fff; }
section.deep .btn:hover { background: #d5dde3; border-color: #d5dde3; }
section.deep .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
section.deep .btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.proof > div, .proof > a { background: var(--paper); padding: 22px 18px; color: var(--ink);
  display: block; }
.proof > a:hover { color: var(--ink); text-decoration: none; background: var(--pine-wash); }
.proof .n { font-family: var(--display); font-size: 1.85rem; font-weight: 600;
  letter-spacing: 0; line-height: 1; margin-bottom: 9px; }
.proof .l { font-size: .78rem; font-weight: 550; color: var(--ink-soft); line-height: 1.3;
  margin-bottom: 2px; }
.proof .s { font-size: .72rem; color: var(--muted); line-height: 1.3; }
section.wash .proof > div { background: var(--paper); }

/* ---------- cards & grids ---------- */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.g-wide { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
/* grid children default to min-width:auto, which stops an overflow-x container
   inside them from ever shrinking. Without this, wide figures push the page. */
.g2 > *, .g3 > *, .g4 > *, .g-wide > *, .shelf > * { min-width: 0; }

.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  padding: 26px 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .9rem; color: var(--ink-soft); }

/* story cards */
.story-card { display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--paper); padding: 28px 26px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.story-card:hover { text-decoration: none; border-color: var(--pine);
  transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16,24,32,.07); }
.story-card .kicker { font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pine); margin-bottom: 14px; }
.story-card h3 { color: var(--ink); margin-bottom: 10px; font-size: 1.14rem; }
.story-card p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }
.story-card .go { margin-top: auto; font-size: .82rem; font-weight: 550; color: var(--pine); }

/* ---------- figures ---------- */
figure { margin: 0; }
.figure { margin: 36px 0; }
.figure figcaption { font-size: .83rem; color: var(--muted); margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--line-soft); max-width: 76ch; }
.figure .fig-title { font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

.dg, .fig { width: 100%; height: auto; display: block; }
.dg-h  { font: 600 11px var(--sans); fill: #5c6873; letter-spacing: .12em; text-transform: uppercase; }
.dg-t  { font: 550 15px var(--sans); fill: #101820; }
.dg-s  { font: 400 12px var(--sans); fill: #5c6873; }
.dg-e  { font: 400 12px var(--sans); fill: #5c6873; }
.fig-lab  { font: 550 14px var(--sans); fill: #101820; }
.fig-sub  { font: 400 12px var(--sans); fill: #5c6873; }
.fig-val  { font: 550 13px var(--sans); fill: #3a4652; font-variant-numeric: tabular-nums; }
.fig-tick { font: 400 11px var(--sans); fill: #5c6873; font-variant-numeric: tabular-nums; }

/* ---------- reach map ---------- */
.reach-map { width: 100%; height: auto; display: block; }
.reach-map .rm-base path { fill: #e4eaee; stroke: var(--paper); stroke-width: .6; }
.reach-map .rm-hi path   { fill: var(--pine); stroke: var(--paper); stroke-width: .6; }
section.wash .reach-map .rm-base path { fill: #e0e8ec; stroke: var(--wash); }
section.wash .reach-map .rm-hi path { stroke: var(--wash); }
.map-key { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px 30px; margin-top: 30px; }
.map-key div { font-size: .83rem; font-weight: 550; color: var(--ink);
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.map-key span { display: block; font-size: .76rem; font-weight: 400; color: var(--muted); }

/* ---------- news cards ---------- */
.news { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.news-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  padding: 24px 24px 22px; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.news-outlet { font-size: .69rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pine); }
.news-date { font-size: .73rem; color: var(--muted); }
.news-card h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--pine); }
.news-sum { font-size: .86rem; color: var(--ink-soft); margin-bottom: 14px; }
.news-link { border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: auto; }
.news-link .lab { font-size: .66rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 5px; }
.news-link p { font-size: .85rem; color: var(--ink); margin: 0; }

/* ---------- pathway ---------- */
.path { position: relative; padding-left: 30px; }
.path::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--pine), var(--line)); border-radius: 2px; }
.path-item { position: relative; padding-bottom: 30px; }
.path-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2.5px solid var(--pine); }
section.wash .path-item::before { background: var(--wash); }
.path-when { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 4px; }
.path-item h4 { margin-bottom: 5px; font-size: 1.04rem; }
.path-item p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- module board ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 14px; }
.module { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px;
  background: var(--paper); }
.module.current { border-color: var(--pine); background: var(--pine-wash); }
.module .code { font-size: .68rem; font-weight: 600; letter-spacing: .1em; color: var(--muted);
  font-variant-numeric: tabular-nums; }
.module h4 { font-size: .93rem; margin: 5px 0 8px; line-height: 1.25; }
.module .meta { font-size: .74rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.module .score { color: var(--gold); font-weight: 600; }

/* ---------- book gallery ---------- */
.shelf { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; align-items: start; }
.book img { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: center;
  border-radius: 2px; box-shadow: 0 12px 34px rgba(16,24,32,.18); }
.book h4 { margin: 18px 0 5px; font-size: .96rem; line-height: 1.3; }
.book-pub { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.book p { font-size: .84rem; color: var(--ink-soft); }

/* ---------- publications ---------- */
.pub-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px;
  align-items: center; margin: 0 0 26px; padding: 18px 0 22px;
  border-bottom: 1px solid var(--line); }
.pub-tools label { grid-column: 1 / -1; font-size: .72rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pub-tools input { width: 100%; min-height: 46px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink); padding: 0 14px;
  font: inherit; box-shadow: 0 10px 24px rgba(16,24,32,.04); }
.pub-tools input:focus { outline: 2px solid rgba(0,107,104,.18); border-color: var(--pine); }
.pub-tools span { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.pub-group { margin-bottom: 48px; }
.pub-group > h3 { font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); padding-bottom: 11px;
  border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.pub { padding: 18px 0; border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 58px 1fr; gap: 20px; }
.pub.is-hidden, .pub-year.is-hidden { display: none; }
.pub .yr { font-size: .88rem; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.pub .body { font-size: .93rem; line-height: 1.5; }
.pub .a { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 3px; }
.pub .t { display: block; color: var(--ink); font-weight: 550; margin-bottom: 2px; }
.pub .j { font-style: italic; color: var(--ink-soft); font-size: .88rem; }
.pub .meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.pub-empty { margin: 20px 0 0; color: var(--muted); font-size: .92rem; }

.tag { font-size: .65rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px; border: 1px solid var(--line);
  color: var(--muted); background: var(--wash); white-space: nowrap; }
.tag.ft50 { color:#fff; background: var(--pine); border-color: var(--pine); }
.tag.utd  { color:#fff; background:#2f4858; border-color:#2f4858; }
.tag.abs4 { color: var(--pine); background: var(--pine-wash); border-color:#bcdcd9; }
.tag.award{ color:#7a5b1e; background: var(--gold-wash); border-color:#e6d3a8; }
.tag.status { color: var(--muted); background: transparent; }

/* ---------- rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 210px 1fr; gap: 30px;
  padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.row .k { font-size: .83rem; color: var(--muted); line-height: 1.45; }
.row .k strong { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.row .v { font-size: .92rem; color: var(--ink-soft); }
.row .v ul { margin: 0; padding-left: 17px; }
.row .v li { margin-bottom: 4px; }
.g2 .row, .g-wide .row { grid-template-columns: 140px 1fr; gap: 20px; }

/* ---------- contact form ---------- */
.contact-layout { align-items: start; gap: 60px; }
.page-contact { overflow-x: hidden; }
.contact-layout, .contact-layout * { min-width: 0; max-width: 100%; }
.contact-layout a, .contact-layout .v, .contact-panel, .contact-form, .file-control span,
.form-status { overflow-wrap: anywhere; word-break: break-word; }
.contact-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 30px; box-shadow: 0 18px 50px rgba(16,24,32,.06); }
.contact-panel h2 { font-size: 1.65rem; margin-bottom: 12px; }
.contact-panel > p { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.contact-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fff;
  color: var(--ink); font: 400 .96rem/1.45 var(--sans); padding: 11px 12px;
  letter-spacing: 0; text-transform: none; transition: border-color .15s, box-shadow .15s;
  min-width: 0;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 0; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(0,107,104,.12);
}
.hp-field { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; }
.page-contact .contact-form label.hp-field,
.page-contact .contact-form label.hp-field input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.file-control { border: 1px dashed var(--line); border-radius: 6px; padding: 16px 18px;
  background: var(--wash); cursor: pointer; display: block; width: 100%; position: relative; }
.file-control input { position: absolute; opacity: 0; pointer-events: none; }
.contact-form .file-control input[type="file"],
.file-control input[type="file"] {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px;
  min-width: 0; max-width: 1px; padding: 0; border: 0;
}
.file-control span { display: block; letter-spacing: 0; text-transform: none; }
.file-control strong { display: block; color: var(--ink); font-size: .9rem; margin-bottom: 3px; }
.file-control em { display: block; color: var(--muted); font-size: .82rem; font-style: normal; }
.contact-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn:disabled { opacity: .58; cursor: wait; }
.form-status { min-height: 1.4em; margin: 0; font-size: .86rem; color: var(--muted); }
.form-status.ok { color: var(--pine); font-weight: 550; }
.form-status.error { color: #9b2c2c; font-weight: 550; }

/* ---------- private admin ---------- */
.admin-shell { max-width: 1040px; display: grid; gap: 24px; }
.admin-card { border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 30px; box-shadow: 0 18px 50px rgba(16,24,32,.06); }
.admin-card h2 { font-size: 1.65rem; margin-bottom: 18px; }
.admin-hidden { display: none !important; }
.admin-tabs { position: sticky; top: 78px; z-index: 20; display: flex; gap: 6px;
  overflow-x: auto; padding: 7px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(16,24,32,.08); }
.admin-tab { flex: 0 0 auto; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font: 600 .78rem/1 var(--sans); letter-spacing: .02em;
  padding: 11px 13px; cursor: pointer; }
.admin-tab.active { background: var(--deep); color: #fff; }
.admin-top { display: flex; align-items: start; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.admin-status { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 14px; }
.admin-pill, .admin-deploy { border: 1px solid var(--line); border-radius: 6px; padding: 16px;
  background: var(--wash); }
.admin-pill strong, .admin-deploy strong { display: block; font-size: .84rem; color: var(--ink);
  margin-bottom: 5px; }
.admin-pill span, .admin-deploy span { display: block; font-size: .78rem; color: var(--muted); }
.admin-pill.ok { background: var(--pine-wash); border-color: #bcdcd9; }
.admin-pill.warn { background: var(--gold-wash); border-color: #e6d3a8; }
.admin-deploy { grid-column: 1 / -1; background: #fff; }
.admin-publish-box { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px;
  align-items: center; margin-top: 20px; padding: 18px; border: 1px solid #bcdcd9;
  border-radius: 8px; background: linear-gradient(135deg,#f3fbfa,#fff); }
.admin-publish-box.preview-disabled { border-color: var(--line); background: var(--wash); }
.admin-publish-box h3 { font-size: 1rem; margin-bottom: 6px; }
.admin-publish-box p { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.admin-publish-box .form-status { margin-top: 8px; }
.admin-publish-actions { display: grid; gap: 10px; justify-items: end; }
.admin-preview-diff { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 14px;
  font-size: .84rem; color: var(--ink-soft); }
.admin-preview-diff p { margin: 0; }
.admin-preview-diff-list { display: grid; gap: 10px; margin-top: 10px; }
.admin-preview-diff-list article { border: 1px solid var(--line-soft); border-radius: 6px;
  background: #fff; padding: 12px; }
.admin-preview-diff-list strong, .admin-preview-diff-list small { display: block; }
.admin-preview-diff-list small { color: var(--muted); overflow-wrap: anywhere; }
.admin-preview-diff-list ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.admin-preview-diff-list li { display: flex; justify-content: space-between; gap: 12px; }
.admin-preview-diff-list em { color: var(--muted); font-style: normal; white-space: nowrap; }
.admin-next { margin-top: 30px; }
.admin-next h3 { font-size: 1rem; margin-bottom: 12px; }
.admin-source { align-self: start; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px; color: var(--muted); font-size: .72rem; background: var(--wash);
  white-space: nowrap; }
.admin-editor-form { display: grid; gap: 18px; }
.admin-editor-form label { display: grid; gap: 7px; font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.admin-editor-form input, .admin-editor-form textarea, .admin-editor-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fff;
  color: var(--ink); font: 400 .96rem/1.45 var(--sans); padding: 11px 12px;
  letter-spacing: 0; text-transform: none; transition: border-color .15s, box-shadow .15s;
}
.admin-editor-form input[type="checkbox"] { width: auto; justify-self: start; }
.admin-editor-form textarea { resize: vertical; }
.admin-editor-form input:focus, .admin-editor-form textarea:focus, .admin-editor-form select:focus {
  outline: 0; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(0,107,104,.12);
}
.admin-help { margin: -6px 0 0; font-size: .86rem; color: var(--muted); }
.admin-profile-photo-box { display: grid; grid-template-columns: 148px 1fr; gap: 18px;
  align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--wash); }
.admin-profile-photo-box img { width: 100%; aspect-ratio: 1; object-fit: cover;
  object-position: 50% 18%; border-radius: 6px; border: 1px solid var(--line-soft);
  background: #fff; }
.admin-profile-photo-box > div { display: grid; gap: 14px; }
.admin-story-photo-box { grid-template-columns: 240px 1fr; margin-bottom: 22px; }
.admin-story-photo-box img { aspect-ratio: 16/9; }
.admin-story-photo-box img[hidden] { display: none; }
.admin-profile-upload-row { display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: 12px; align-items: end; }
.admin-profile-upload-row .file-control { padding: 12px 14px; }
.admin-profile-upload-row .form-status { grid-column: 1 / -1; }
.admin-story-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.admin-story-grid label.wide { grid-column: 1 / -1; }
.admin-story-grid small { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.admin-story-manage { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }
.admin-story-order { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-story-add { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; margin-top: 12px; padding: 14px; border: 1px dashed var(--line); border-radius: 6px; background: var(--wash); }
.admin-story-page-name { margin: 10px 0 4px; font-size: .82rem; color: var(--muted); }
.admin-story-page-name code { font-size: .82rem; color: var(--ink-soft); }
.admin-pagetext-count { margin: 8px 0 14px; font-size: .84rem; color: var(--muted); }
.admin-pagetext-list { display: grid; gap: 12px; margin-bottom: 18px; }
.admin-pagetext-row { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; background: #fff; display: grid; gap: 8px; }
.admin-pagetext-row.edited { border-color: var(--pine); box-shadow: inset 3px 0 0 var(--pine); }
.admin-pagetext-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.admin-pagetext-head label { font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.admin-pagetext-badge { font-size: .72rem; color: var(--muted); }
.admin-pagetext-row.edited .admin-pagetext-badge { color: var(--pine); font-weight: 600; }
.admin-pagetext-row textarea { width: 100%; }
.admin-pagetext-row textarea:disabled { opacity: .55; }
.admin-pagetext-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.admin-pagetext-hide { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 400; }
.admin-story-hint { margin: 10px 0 18px; font-size: .84rem; color: var(--muted); }
@media (max-width: 700px) { .admin-story-manage, .admin-story-add { grid-template-columns: 1fr; } }
.admin-inline-tool { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px;
  align-items: end; padding: 14px; margin-bottom: 20px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--wash); }
.admin-inline-tool .form-status { grid-column: 1 / -1; }
.admin-proof-head { display: flex; justify-content: space-between; gap: 20px; align-items: end;
  padding-top: 8px; }
.admin-proof-head h3 { font-size: 1rem; margin-bottom: 4px; }
.admin-proof-head p { font-size: .84rem; color: var(--muted); margin: 0; }
.admin-proof-list { display: grid; gap: 14px; }
.admin-proof-row { display: grid; grid-template-columns: 90px 1fr 1.6fr 1.6fr auto;
  gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--wash); }
.admin-candidate-box { border: 1px solid var(--line); border-radius: 6px; padding: 14px;
  background: #fff; }
.admin-candidate-list { margin-top: 12px; }
.admin-candidate-row .v { display: grid; gap: 8px; }
.admin-candidate-row .v span { display: block; font-size: .78rem; color: var(--muted); }
.admin-candidate-row .btn { justify-self: start; }
.admin-record-list { display: grid; gap: 16px; }
.admin-record-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto;
  gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--wash); }
.admin-record-row label.wide { grid-column: span 2; }
.admin-record-row label.admin-check { display: flex; flex-direction: row-reverse; justify-content: flex-end;
  align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); }
.admin-record-row label.admin-check input { width: 18px; height: 18px; margin: 0; }
.admin-record-row .btn { align-self: end; }
.admin-row-upload { grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(150px,.7fr) minmax(240px,1.4fr) auto; gap: 12px;
  align-items: end; border-top: 1px solid var(--line); padding-top: 14px; }
.admin-row-upload .file-control { padding: 12px 14px; }
.admin-row-upload .form-status { grid-column: 1 / -1; }
.admin-upload-result { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: end;
  border-top: 1px solid var(--line); padding-top: 18px; }
.btn.compact { padding: 8px 12px; font-size: .78rem; }

/* ---------- paper cards on story pages ---------- */
.paper { border-left: 2px solid var(--pine); padding: 4px 0 4px 20px; margin-bottom: 22px; }
.paper h4 { font-size: .97rem; line-height: 1.32; margin-bottom: 6px; }
.paper .j { font-size: .84rem; font-style: italic; color: var(--ink-soft); }
.paper .m { font-size: .78rem; color: var(--muted); margin-top: 5px;
  display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- note & lists ---------- */
.note { background: var(--wash); border-left: 2px solid var(--pine);
  padding: 18px 22px; font-size: .86rem; color: var(--ink-soft);
  border-radius: 0 var(--r) var(--r) 0; }
section.wash .note { background: var(--paper); }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { font-size: .9rem; color: var(--ink-soft); margin-bottom: 9px;
  padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--pine); }
.ticks.two { columns: 2; column-gap: 40px; }
.ticks.two li { break-inside: avoid; }

/* ---------- page header ---------- */
.page-head { padding: 68px 0 42px; border-bottom: 1px solid var(--line); }
.page-head.themed { border-bottom: 0; background: var(--wash); padding-bottom: 56px; }
.page-head h1 { margin-bottom: 16px; max-width: 20ch; }
.page-head .standfirst { font-size: clamp(1.05rem,1.8vw,1.3rem); line-height: 1.45;
  color: var(--ink-soft); max-width: 58ch; margin: 0; letter-spacing: 0; }

.pager { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 24px; }
.pager a { font-size: .9rem; font-weight: 550; }
.pager span { display: block; font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: #9aa6b1; padding: 58px 0 30px; font-size: .86rem; }
.site-footer h4 { color: #fff; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 13px; font-weight: 600; }
.site-footer a { color: #c0cbd5; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-bot { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  font-size: .76rem; color: #6f7c88; display: flex; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shelf { grid-template-columns: repeat(2,1fr); gap: 26px; }
  .nav { gap: 13px; }
  .nav a { font-size: .78rem; }
}
@media (max-width: 1000px) {
  .news { grid-template-columns: 1fr; }
  .map-key { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 16px;
    max-height: 70vh; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
  .nav a.active { border-bottom-color: var(--line-soft); }
  .nav a.track { border: 0; padding: 11px 0; border-bottom: 1px solid var(--line-soft);
    background: transparent; color: var(--pine); border-radius: 0; }
  .nav a.track.active { background: transparent; color: var(--pine); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { max-width: 280px; }
  .g2, .g-wide { grid-template-columns: 1fr; gap: 30px; }
  .row, .g2 .row, .g-wide .row { grid-template-columns: 1fr; gap: 7px; }
  .ticks.two { columns: 1; }
  .contact-layout { gap: 42px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 56px 0; }
  .hero { padding: 44px 0 44px; }
  .page-head { padding: 44px 0 32px; }
  .g3, .g4, .shelf { grid-template-columns: 1fr; }
  .pub { grid-template-columns: 1fr; gap: 3px; }
  .map-key { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .figure.scrolls { overflow-x: auto; }
  .figure.scrolls .dg, .figure.scrolls .fig { min-width: 680px; }
  .contact-panel { padding: 22px; }
  .page-contact .contact-layout { display: block; width: 100%; }
  .page-contact .contact-layout > * + * { margin-top: 34px; }
  .page-contact .rows { width: 100%; }
  .page-contact .row { width: 100%; overflow: hidden; }
  .page-contact .row .v { line-height: 1.55; overflow-wrap: anywhere; }
  .page-contact .contact-panel { width: 100%; overflow: hidden; }
  .page-contact .contact-form { width: 100%; }
  .page-contact .contact-form label:not(.hp-field) { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-actions { align-items: stretch; }
  .contact-actions .btn { width: 100%; text-align: center; }
  .admin-card { padding: 22px; }
  .admin-tabs { top: 64px; }
  .admin-top { display: block; }
  .admin-top .btn { margin-top: 12px; }
  .admin-source { display: inline-block; margin-top: 12px; white-space: normal; }
  .admin-status { grid-template-columns: 1fr; }
  .admin-profile-photo-box, .admin-profile-upload-row, .admin-story-grid, .admin-inline-tool, .admin-publish-box { grid-template-columns: 1fr; }
  .admin-profile-photo-box img { max-width: 170px; }
  .admin-story-grid label.wide, .admin-inline-tool .form-status { grid-column: auto; }
  .admin-proof-head { display: block; }
  .admin-proof-head .btn { margin-top: 12px; }
  .admin-proof-row { grid-template-columns: 1fr; }
  .admin-record-row { grid-template-columns: 1fr; }
  .admin-record-row label.wide { grid-column: auto; }
  .admin-row-upload { grid-template-columns: 1fr; }
  .admin-upload-result { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .btn-row, .pager { display: none; }
  body { font-size: 11pt; }
}

/* =========================================================
   DATA-LED LAYER
   Full-bleed generative fields, oversized numerals, media slots.
   The fields are illustrative, not plots — see art.py.
   ========================================================= */

.artwork { position: relative; background: #0a0e12; color: #e8eeee; overflow: hidden;
  padding: 108px 0 96px; }
.artwork::before { content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: .95; }
.artwork::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,14,18,.94) 0%, rgba(10,14,18,.80) 42%,
    rgba(10,14,18,.30) 72%, rgba(10,14,18,.15) 100%); }
.artwork > * { position: relative; z-index: 2; }
.artwork h1, .artwork h2, .artwork h3 { color: #fff; }
.artwork p { color: #b9c6c6; }
.artwork a { color: #57d6cc; }
.artwork .eyebrow { color: #57d6cc; }

.art-population  ::before, .artwork.art-population::before  { background-image: url("art/field-population.webp"); }
.artwork.art-bifurcation::before { background-image: url("art/field-bifurcation.webp"); }
.artwork.art-dispersion::before  { background-image: url("art/field-dispersion.webp"); }
.artwork.art-oscillation::before { background-image: url("art/field-oscillation.webp"); }
.artwork.art-network::before     { background-image: url("art/field-network.webp"); }
.artwork.art-attrition::before   { background-image: url("art/field-attrition.webp"); }

.art-note { font-size: .72rem; color: #6f8080; letter-spacing: .04em; margin-top: 30px;
  max-width: 62ch; }

/* hero on the landing page */
.hero-art { min-height: 76vh; display: flex; align-items: center; padding: 120px 0 100px; }
.hero-art h1 { font-size: clamp(3rem, 8.5vw, 7.2rem); line-height: .94; letter-spacing: 0;
  margin-bottom: 26px; }
.hero-art .positioning { color: #fff; font-weight: 500; max-width: 17ch;
  font-size: clamp(1.3rem, 3vw, 2.3rem); line-height: 1.18; margin-bottom: 26px; }
.hero-art .role { color: #94a5a5; max-width: 46ch; font-size: .95rem; margin-bottom: 32px; }
.hero-art .role strong { color: #dbe6e6; font-weight: 550; }

/* oversized numerals — replaces the boxed stat grid */
.figures { display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  border-top: 1px solid var(--line); }
.figures > div, .figures > a { padding: 34px 30px 30px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); display: block; }
.figures > a:hover { color: var(--ink); text-decoration: none; background: linear-gradient(90deg, var(--pine-wash), transparent 88%); }
.figures .n { font-family: var(--display); font-weight: 600; letter-spacing: 0;
  font-size: clamp(3rem, 6vw, 5rem); line-height: .88; color: var(--ink); margin-bottom: 14px; }
.figures .l { font-size: .88rem; font-weight: 550; color: var(--ink); }
.figures .s { font-size: .78rem; color: var(--muted); }
.artwork .figures { border-top-color: rgba(255,255,255,.16); }
.artwork .figures > div, .artwork .figures > a { border-bottom-color: rgba(255,255,255,.12); }
.artwork .figures .n { color: #fff; }
.artwork .figures .l { color: #dbe6e6; }
.artwork .figures .s { color: #7f9090; }

/* editorial story list — asymmetric, numbered, no card grid */
.story-list { border-top: 1px solid var(--line); }
.story-row { display: grid; grid-template-columns: 92px 1.15fr 1fr; gap: 34px;
  padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: background .15s; }
.story-row:hover { background: var(--wash); text-decoration: none; }
.story-row .idx { font-family: var(--display); font-weight: 600; font-size: 2.6rem;
  line-height: .9; color: var(--line); letter-spacing: 0; }
.story-row:hover .idx { color: var(--pine); }
.story-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.1; margin-bottom: 10px;
  color: var(--ink); letter-spacing: 0; }
.story-row .p { font-size: .92rem; color: var(--ink-soft); }
.story-row .go { display: inline-block; margin-top: 14px; font-size: .82rem;
  font-weight: 550; color: var(--pine); }
.story-thumb { aspect-ratio: 16/9; border-radius: 3px; background: #0a0e12;
  background-size: cover; background-position: center; overflow: hidden; max-width: 100%; }
.story-thumb img { display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.8) contrast(1.03); transition: filter .25s ease; }
.story-row:hover .story-thumb img, .story-row:focus-visible .story-thumb img { filter: none; }
.story-credits { margin-top: 14px; font-size: .74rem; color: var(--muted); }
.story-credits a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .story-thumb img { transition: none; } }

/* media slots — clearly marked, so an empty site never looks broken */
.slot { position: relative; border: 1px dashed var(--line); border-radius: var(--r);
  background: var(--wash); display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 26px; }
.slot span { font-size: .78rem; color: var(--muted); max-width: 30ch; line-height: 1.45; }
.slot span b { display: block; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px;
  font-size: .82rem; }
.slot.wide { aspect-ratio: 16/9; }
.slot.square { aspect-ratio: 1/1; }
.slot.tall { aspect-ratio: 3/4; }

.media-wall { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.media-wall .slot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.media-wall .slot:nth-child(1).wide { aspect-ratio: 1/1; }

.portrait-frame { position: relative; }
.portrait-frame .tagline { position: absolute; left: 0; right: 0; bottom: -30px;
  font-size: .72rem; color: var(--muted); }

@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2,1fr); }
  .story-row { grid-template-columns: 54px 1fr; gap: 20px; }
  .story-row .story-thumb { grid-column: 2; }
  .media-wall { grid-template-columns: repeat(2,1fr); }
  .artwork { padding: 72px 0 64px; }
  .hero-art { min-height: 0; padding: 84px 0 72px; }
}
@media (max-width: 560px) {
  .figures { grid-template-columns: 1fr; }
  .media-wall { grid-template-columns: 1fr; }
  .media-wall .slot:nth-child(1) { grid-column: span 1; grid-row: span 1; }
}

/* the hero .wrap is a flex child, so it shrink-wraps and centres unless told
   to fill; without this the whole hero drifts to the middle of the page */
.hero-art > .wrap { width: 100%; }

/* on the dark fields the pine ghost button falls below contrast */
.artwork .btn { background: #fff; color: #0a0e12; border-color: #fff; }
.artwork .btn:hover { background: #cfdcda; border-color: #cfdcda; color: #0a0e12; }
.artwork .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.artwork .btn.ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.7); }

/* ============ REVIEW ROUND 3: logo, rails, reveal, map tips, offers ============ */

.brand { display: flex; align-items: center; gap: 13px; }
.brand .brand-txt { padding-left: 13px; border-left: 1px solid var(--line); min-width: 0; }
.logo { height: 30px; width: auto; flex: 0 0 auto; color: var(--ink); }
.artwork .logo, .site-header.on-dark .logo { color: #fff; }
.brand::after { content: ""; }

.brand-txt { display: flex; flex-direction: column; }

/* News: index number + outlet monogram */
.news-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.news-no { font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  color: var(--pine); opacity: .35; letter-spacing: 0; }
.news-mark { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: var(--deep); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: 0; }
.news-chip { display: inline-block; margin-top: 14px; font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--pine);
  border: 1px solid var(--pine); border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.news-chip:hover { background: var(--pine); color: #fff; }

/* Horizontal news rail on the landing page */
.news.rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(340px, 82vw);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
  scrollbar-width: thin; }
.news.rail > .news-card { scroll-snap-align: start; }

/* Scroll reveal (JS adds .will-reveal, then .revealed) */
.will-reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease; }
.will-reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; transition: none; }
}

/* Reach-map hover */
.rm-hi path { transition: fill .15s ease; cursor: default; }
.rm-hi path:hover, .rm-hi path:focus { fill: var(--pine); outline: none; }
.map-tip { display: none; }

/* Advisory offer cards */
.offer { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.offer h3 { font-size: 1.05rem; margin-bottom: 10px; }
.offer p { font-size: .9rem; color: var(--muted); }

/* Publications: year groups */
.pub-year { display: grid; grid-template-columns: 88px 1fr; gap: 0 18px;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.pub-year:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.pub-year-label { font-family: var(--display); font-weight: 600;
  font-size: 1.5rem; color: var(--pine); line-height: 1; }
.pub-year-items { min-width: 0; }
.pub.pub-flat { grid-template-columns: 1fr; }
.pub.pub-flat .yr { display: none; }
.pub-link { font-size: .83rem; white-space: nowrap; }
@media (max-width: 640px) {
  .pub-tools { grid-template-columns: 1fr; }
  .pub-tools span { white-space: normal; }
  .pub-year { grid-template-columns: 1fr; }
  .pub-year-label { margin-bottom: 10px; }
}

/* Hero portrait. The point is that there is no seam: the same generative field
   that fills the hero is painted again on top of the photograph's left side in
   screen blend, so the teal marks carry on across the picture and thin out over
   it rather than stopping at an edge. The overlay is a full-viewport box
   anchored right, sized exactly like the section's own field layer, so the two
   are in register and the marks line up pixel for pixel. */
.hero-art { position: relative; overflow: hidden; }
.hero-portrait { position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  margin: 0; overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 20%; display: block;
  filter: grayscale(.16) contrast(1.05) saturate(.85);
  /* a long, gentle dissolve — no hard step anywhere across it */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.30) 7%,
      rgba(0,0,0,.68) 14%, rgba(0,0,0,.92) 20%, #000 25%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.30) 7%,
      rgba(0,0,0,.68) 14%, rgba(0,0,0,.92) 20%, #000 25%); }

/* The field, continued over the photograph, but only across the empty
   left margin of the frame. It resolves before it reaches his hair: skin and
   hair are never faded into the background. */
.hero-portrait::before { content: ""; position: absolute; z-index: 2;
  top: 0; bottom: 0; right: 0; width: 100vw;
  background-image: url("art/field-population.webp");
  background-size: cover; background-position: center;
  mix-blend-mode: screen; opacity: .62;
  -webkit-mask-image: linear-gradient(90deg, #000 0 54%, rgba(0,0,0,.66) 59%,
      rgba(0,0,0,.26) 63%, transparent 67%);
          mask-image: linear-gradient(90deg, #000 0 54%, rgba(0,0,0,.66) 59%,
      rgba(0,0,0,.26) 63%, transparent 67%); }

/* a soft vignette only, so the bright office falls away at the frame edges
   while the face stays lit. No vertical band, no dark seam. */
.hero-portrait::after { content: ""; position: absolute; z-index: 3; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(86% 70% at 64% 36%, transparent 0%, rgba(10,14,18,.06) 46%,
      rgba(10,14,18,.40) 78%, rgba(10,14,18,.66) 100%),
    linear-gradient(180deg, rgba(10,14,18,.34) 0%, transparent 22%); }

.hero-art > .wrap { position: relative; z-index: 4; }
.hero-art h1, .hero-art .positioning, .hero-art .role,
.hero-art .btn-row, .hero-art .art-note { max-width: min(600px, 46%); }
@media (max-width: 1100px) {
  .hero-portrait { width: 54%; }
  .hero-art h1, .hero-art .positioning, .hero-art .role,
  .hero-art .btn-row, .hero-art .art-note { max-width: 44%; }
}
@media (max-width: 820px) {
  .hero-art { padding-top: 54px; }
  .hero-portrait { display: block; position: absolute; top: 78px; right: 30px; bottom: auto;
    width: clamp(104px, 28vw, 142px); aspect-ratio: 1; margin: 0; border-radius: 50%;
    box-shadow: 0 18px 50px rgba(0,0,0,.28); }
  .hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
    border-radius: 50%; -webkit-mask-image: none; mask-image: none; }
  .hero-portrait::before, .hero-portrait::after { display: none; }
  .hero-art h1 { max-width: calc(100% - clamp(124px, 32vw, 170px)); }
  .hero-art .positioning, .hero-art .role,
  .hero-art .btn-row, .hero-art .art-note { max-width: none; }
  .hero-art .positioning { margin-top: 18px; }
  .hero-art .role { text-wrap: pretty; }
}
@media (max-width: 430px) {
  .header-inner { gap: 10px; }
  .brand { gap: 9px; font-size: .95rem; }
  .brand .brand-txt { padding-left: 9px; }
  .brand .brand-txt > span { font-size: .54rem; letter-spacing: .09em; }
  .logo { height: 26px; }
  .nav-toggle { padding: 6px 9px; }
  .hero-portrait { top: 88px; right: 24px; width: 112px; }
  .hero-art h1 { max-width: calc(100% - 128px); }
}
@media (max-width: 360px) {
  .hero-art h1 { font-size: 2.25rem; }
  .artwork:not(.hero-art) h1 { font-size: 1.7rem; }
}

/* ============ EVENT PHOTOGRAPHY ============ */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: 100%; object-fit: contain;
  border-radius: 12px; background: var(--wash); aspect-ratio: 3 / 2;
  border: 1px solid var(--line-soft); }
.shot.contain img { object-fit: contain; }
.shot.wide img { aspect-ratio: 21 / 9; }
.shot figcaption { margin-top: 12px; font-size: .82rem; line-height: 1.5;
  color: var(--muted); }
.shots { align-items: start; }
.shots .shot { min-width: 0; }
.photo-rail { display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: minmax(280px, min(420px, 78vw)); gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.photo-rail .shot { scroll-snap-align: start; }
.photo-rail .shot img { aspect-ratio: 4 / 3; }
.recognition-media { margin-top: 34px; display: grid; gap: 26px; }
.recognition-certificate { align-items: center; gap: 36px; }
.recognition-certificate h3 { font-size: 1.5rem; margin-bottom: 16px; }
.recognition-certificate .shot a { display: block; }
.recognition-certificate .shot img { aspect-ratio: 1800 / 1391; height: auto;
  border-radius: 4px; object-fit: contain; }
.recognition-media .recognition-photos { gap: 22px; }
.recognition-media .recognition-photos .shot img { aspect-ratio: 16 / 10; }
.pdf-panel { border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 18px; box-shadow: 0 16px 44px rgba(16,24,32,.06); }
.pdf-panel-head { display: flex; justify-content: space-between; align-items: baseline;
  gap: 18px; margin-bottom: 14px; }
.pdf-panel-head h3 { margin: 0; }
.pdf-panel-head a { font-size: .84rem; font-weight: 550; white-space: nowrap; }
.pdf-frame { width: 100%; height: min(720px, 72vh); border: 1px solid var(--line-soft);
  border-radius: 8px; background: var(--wash); }
.pdf-panel p { margin-top: 12px; font-size: .86rem; color: var(--muted); }
@media (max-width: 700px) { .shot img { aspect-ratio: 4 / 3; } }
@media (max-width: 700px) {
  .pdf-panel-head { display: block; }
  .pdf-panel-head a { display: inline-block; margin-top: 8px; }
  .pdf-frame { height: 420px; }
}

/* ============ MODULE BOARD ============ */
/* the board is no longer a card grid; it is a set of grouped lists */
.board { display: block; }
.mgroup { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 34px;
  display: grid; grid-template-columns: 230px 1fr; gap: 0 40px; }
.mgroup:first-child { margin-top: 0; }
.mhead h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mhead p { font-size: .84rem; color: var(--muted); }
.mlist { list-style: none; margin: 0; padding: 0; min-width: 0; }
.mlist li { display: grid; grid-template-columns: 82px 1fr auto; gap: 18px;
  align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.mlist li:last-child { border-bottom: 0; }
.mcode { font-size: .78rem; letter-spacing: .04em; color: var(--pine);
  font-weight: 650; font-variant-numeric: tabular-nums; }
.mname { font-size: .96rem; color: var(--ink); min-width: 0; }
.mlvl { font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px; white-space: nowrap; }
@media (max-width: 780px) {
  .mgroup { grid-template-columns: 1fr; gap: 18px; }
  .mlist li { grid-template-columns: 70px 1fr; }
  .mlvl { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* Pipeline note under a story's published-work list */
.pipeline { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted); font-style: italic; }

/* News cards carrying the outlet's own preview image. The picture is
   decorative (the headline is the link that matters), so it is hidden from
   assistive technology and the outlet is credited on the image itself. */
.news-card.has-shot { padding-top: 0; overflow: hidden; }
.news-shot { position: relative; display: block; margin: 0 0 18px;
  border-radius: 10px 10px 0 0; overflow: hidden; background: var(--wash); }
.news-shot img { display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; }
.news-credit { position: absolute; left: 10px; bottom: 10px;
  background: rgba(10,14,18,.82); color: #fff; font-size: .64rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px;
  border-radius: 5px; }
.news-card.has-shot .news-body { padding: 0 20px 20px; }
.news-card.has-shot .news-outlet { display: none; }

/* PhD supervision page */
.phd-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.phd-area { border-top: 2px solid var(--pine); padding-top: 14px; }
.phd-area h3 { font-size: 1.15rem; margin-bottom: 8px; }
.phd-area p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.phd-steps { margin: 0 0 18px; padding-left: 1.3em; display: grid; gap: 10px; }
.phd-steps li { padding-left: 4px; }
@media (max-width: 760px) { .phd-areas { grid-template-columns: minmax(0, 1fr); } }

.admin-cv-box { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--wash); margin-bottom: 18px; }
.admin-cv-box h3 { margin: 0; font-size: 1.05rem; }
.admin-cv-box > p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.admin-cv-current { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------------------
   Pathway: illustrated story, research road, tappable map, recognition wall
   --------------------------------------------------------------------------- */
.pw-story { padding: 48px 0 40px; }
.pw-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pw-stage { position: sticky; top: 96px; }
.pw-plates { position: relative; aspect-ratio: 8 / 5; max-width: 100%; }
.pw-plate { position: absolute; inset: 0; border-radius: 8px; overflow: hidden; background: #e7eff0;
  box-shadow: 0 1px 0 rgba(16,24,32,.06), 0 14px 30px -18px rgba(16,24,32,.38); opacity: 0; transition: opacity .8s ease; }
.pw-plate.on { opacity: 1; }
.pw-plate svg { display: block; width: 100%; height: 100%; }
.pw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-track { position: relative; margin: 18px 12px 0; height: 36px; }
.pw-track .ln, .pw-track .fill { position: absolute; left: 0; top: 9px; height: 2px; }
.pw-track .ln { right: 0; background: var(--line); }
.pw-track .fill { width: 0; background: var(--pine); transition: width .8s ease; }
.pw-track span { position: absolute; top: 0; transform: translateX(-50%); padding-top: 18px; font-size: .74rem;
  color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pw-track span::before { content: ""; position: absolute; left: 50%; top: 4px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: all .4s; }
.pw-track span.on { color: var(--ink); }
.pw-track span.on::before { background: var(--pine); border-color: var(--pine); }
.pw-intro { padding: 8px 0 18vh; }
.pw-intro h1 { max-width: 16ch; margin-bottom: 16px; }
.pw-intro .standfirst { font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.5; color: var(--ink-soft); }
.pw-avatar { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: #dcebe9; margin-bottom: 22px;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.pw-avatar svg, .pw-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-ch { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.pw-ch:last-child { min-height: 64vh; }
.pw-ch-in { border-left: 2px solid var(--line); padding-left: 22px; transition: border-color .4s; }
.pw-live .pw-ch.on .pw-ch-in { border-color: var(--pine); }
.pw-when { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pine); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.pw-ch h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-bottom: 12px; }
.pw-ch p { color: var(--ink-soft); }
.pw-edu { font-size: .88rem; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.pw-story:not(.pw-live) .pw-plate:first-child { opacity: 1; }
.pw-head { max-width: 720px; margin-bottom: 26px; }
.pw-head h2 { margin-bottom: 10px; }
.pw-head p { color: var(--ink-soft); margin: 0; }
.pw-road-art { display: block; width: 100%; height: auto; }
.pw-ms { transition: opacity .6s ease; }
.pw-road-wait .pw-ms { opacity: 0; }
.pw-phases { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.pw-phase { min-width: 0; }
.pw-phase h3 { font-size: 1.08rem; margin: 0 0 6px; }
.pw-phase p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.pw-phase .pw-when { font-size: .7rem; margin-bottom: 4px; }
.pw-map { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pw-map .rm-hi path { cursor: pointer; transition: fill .2s ease, opacity .6s ease; }
.pw-map .rm-hi path.sel { fill: var(--gold); }
.pw-map .rm-hi path:focus-visible { outline: none; fill: var(--gold); stroke: var(--ink); stroke-width: 1.2; }
.pw-map.map-wait .rm-hi path { opacity: 0; }
.pw-map-note { border-left: 2px solid var(--pine); padding-left: 18px; min-height: 110px; }
.pw-map-note h3 { font-size: 1.15rem; margin: 0 0 6px; }
.pw-map-note p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.rec-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; background: #eef2f3;
  border-radius: 8px; padding: 44px clamp(16px, 3vw, 34px) 34px; position: relative; }
.rec-wall::before { content: ""; position: absolute; left: 16px; right: 16px; top: 16px; height: 3px; background: var(--gold); opacity: .75; border-radius: 2px; }
.rec-item { margin: 0; min-width: 0; }
.rec-frame { display: block; background: #1d2630; padding: 9px; border-radius: 2px; box-shadow: 0 14px 22px -14px rgba(0,0,0,.55); transition: transform .3s ease; }
a.rec-frame:hover { transform: translateY(-3px); text-decoration: none; }
a.rec-frame:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.rec-award .rec-frame { background: linear-gradient(135deg, #d8b46a, #9c7228 45%, #e3c47e 70%, #8c6420); }
.rec-mat { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #fbfaf7; padding: 14px; overflow: hidden; }
.rec-mat img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.rec-plaque { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; width: 100%; height: 100%;
  border: 1px solid #e3d6b8; padding: 16px; font-family: var(--serif); color: var(--ink); font-size: 1.08rem; line-height: 1.3;
  background: radial-gradient(circle at 50% 30%, #fffdf6, #f6f0e2); }
.rec-plaque::before { content: ""; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 12px;
  background: radial-gradient(circle at 35% 35%, #f0d79c, #b88a36 60%, #8c6420); box-shadow: 0 0 0 3px #fbfaf7, 0 0 0 4px #d8b46a; }
.rec-plaque small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: 8px; }
.rec-item figcaption { margin: 12px 2px 0; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.rec-item figcaption strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; }
.rec-item figcaption span { display: block; }
.rec-links { margin-top: 4px; font-size: .84rem; }
.home-rec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.home-rec-head h2 { margin: 0; }
.home-rec-head p { margin: 0; }
.rec-compact { gap: 26px; padding: 36px clamp(14px, 2.4vw, 26px) 26px; }
.rec-compact .rec-mat { aspect-ratio: 3 / 2; padding: 10px; }
svg .rise { transform-box: fill-box; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s ease; transition-delay: var(--d, 0s); }
.pw-plate.wait svg .rise { opacity: 0; transform: translateY(26px); }
@keyframes pw-smoke { 0% { transform: translate(0,0) scale(.5); opacity: 0 } 20% { opacity: .6 } 100% { transform: translate(22px,-80px) scale(1.7); opacity: 0 } }
@keyframes pw-flicker { 0%,100% { opacity: 1 } 40% { opacity: .78 } 65% { opacity: .93 } }
@keyframes pw-bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(3px) } }
@keyframes pw-float { 0%,100% { transform: translateY(0) rotate(-10deg) } 50% { transform: translateY(-16px) rotate(10deg) } }
@keyframes pw-dash { to { stroke-dashoffset: -42 } }
@keyframes pw-drive { 0% { transform: translateX(0) } 100% { transform: translateX(130px) } }
@keyframes pw-blink { 0%,88%,100% { opacity: 1 } 94% { opacity: .25 } }
.scene-art .smoke { transform-box: fill-box; transform-origin: center; animation: pw-smoke 5s linear infinite; animation-delay: var(--d, 0s); }
.scene-art .flicker { animation: pw-flicker 1.9s ease-in-out infinite; }
.scene-art .bob { transform-box: fill-box; animation: pw-bob 3.2s ease-in-out infinite; }
.scene-art .floaty { transform-box: fill-box; transform-origin: center; animation: pw-float 3.6s ease-in-out infinite; }
.scene-art .dash { stroke-dasharray: 6 8; animation: pw-dash 2.4s linear infinite; }
.scene-art .drive { animation: pw-drive 8s ease-in-out infinite alternate; }
.scene-art .blink { animation: pw-blink 4s infinite; }
.pw-plate:not(.on) .scene-art * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .scene-art *, .pw-plate, .pw-track .fill, .pw-ms, .pw-map .rm-hi path { animation: none !important; transition: none !important; }
  .pw-plate.wait svg .rise { opacity: 1; transform: none; }
  .pw-road-wait .pw-ms, .pw-map.map-wait .rm-hi path { opacity: 1; }
}
@media (max-width: 900px) {
  .pw-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pw-stage { top: var(--pw-top, 67px); z-index: 5; background: var(--paper); margin: 0 -30px; padding: 10px 30px 2px; border-bottom: 1px solid var(--line); }
  .pw-plates, .pw-track { width: min(100%, calc(42vh * 1.6)); margin-left: auto; margin-right: auto; }
  .pw-track { margin-top: 12px; }
  .pw-track span { font-size: .68rem; }
  .pw-intro { padding: 28px 0 10vh; }
  .pw-avatar { width: 96px; height: 96px; }
  .pw-ch { min-height: 70vh; }
  .pw-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-map { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rec-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (max-width: 520px) {
  .pw-phases, .rec-wall { grid-template-columns: minmax(0, 1fr); }
  .rec-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 30px 12px 18px; }
  .rec-compact figcaption span { display: none; }
  .rec-compact figcaption strong { font-size: .78rem; }
  .rec-compact .rec-frame { padding: 5px; }
  .rec-compact .rec-mat { padding: 5px; }
  .rec-compact .rec-plaque { padding: 4px; }
  .rec-compact .rec-plaque span, .rec-compact .rec-plaque small { display: none; }
  .rec-compact .rec-plaque::before { margin: 0; width: 26px; height: 26px; }
}
@media (max-width: 720px) { .pw-stage { margin: 0 -20px; padding: 8px 20px 2px; } }
.pw-ms-short, .pw-num { display: none; }
@media (max-width: 620px) {
  .pw-ms-long { display: none; }
  .pw-ms-short { display: inline; }
  .pw-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
    background: var(--pine); color: #fff; font-size: .7rem; margin-right: 8px; letter-spacing: 0; }
}
.admin-record-tools { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.admin-record-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.admin-record-upload input[type=file] { position: relative; max-width: 100%; font-size: .8rem; }
.admin-record-upload-status, .admin-record-hint { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
@media (max-width: 720px) { .admin-record-tools { flex-direction: row; flex-wrap: wrap; } }
