/* ==========================================================================
   TYPE — EB Garamond, self-hosted (no external requests, works offline).
   SIL Open Font License 1.1 — see assets/fonts/ATTRIBUTION.md.
   ========================================================================== */

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/ebgaramond-roman.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/ebgaramond-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
  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;
}

/* ==========================================================================
   STYLES.CSS
   Design tokens live in :root. Most visual tweaks can be made there:
   --accent is also set from content.js (theme.accent), which wins.
   ========================================================================== */

:root {
  --accent: #1d4f91;          /* Columbia blue — also editable in content.js */
  --accent-dark: #12365f;
  --accent-light: #b9d9eb;    /* Columbia "baby blue" */
  --accent-wash: #e9f3fb;     /* baby blue at wash strength, for fills */
  --accent-hairline: #d3e5f3; /* baby blue for borders and rules */
  --ink: #14202e;
  --ink-soft: #3d4c5e;
  --muted: #67788c;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f9fd;
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(16, 32, 54, .06), 0 1px 3px rgba(16, 32, 54, .05);
  --shadow-md: 0 6px 24px rgba(16, 32, 54, .09);
  --radius: 14px;
  /* EB Garamond sitewide; system stacks remain as fallbacks. */
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "EB Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1080px;
}

/* ------------------------------- base ---------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* EB Garamond has a small x-height, so the root is scaled up ~12% to keep the
   same apparent size as the previous sans. Rem-based sizes all follow. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 112%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ------------------------------ header --------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--accent-hairline); box-shadow: 0 1px 12px rgba(16, 32, 54, .05); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }

.brand {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  color: var(--ink); letter-spacing: .01em; white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a {
  position: relative;
  padding: 8px 9px; border-radius: 7px;
  font-size: .74rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--accent); background: var(--accent-wash); text-decoration: none; }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* -------------------------------- hero --------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(185, 217, 235, .42), transparent 62%),
    radial-gradient(620px 340px at 6% 108%, rgba(185, 217, 235, .22), transparent 68%),
    linear-gradient(158deg, #0c2745 0%, #173f70 52%, #1d4f91 100%);
  color: #fff;
  padding: 92px 0 84px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-light) 22%, var(--accent-light) 78%, transparent);
  opacity: .85;
}
.hero-inner { position: relative; }

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent-light);
}
.hero-name {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: -.015em;
  margin-bottom: 14px;
}
.hero-tagline {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-style: italic; color: rgba(255, 255, 255, .93);
  max-width: 34ch; margin-bottom: 20px;
}
.hero-summary { max-width: 66ch; color: rgba(255, 255, 255, .8); font-size: 1.03rem; }

.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.hero-facts a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .38); }
.hero-facts a:hover { text-decoration: none; border-bottom-color: #fff; }
.dot { color: rgba(255, 255, 255, .4); }

.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: #fff; color: var(--accent-dark) !important;
  font-size: .93rem; font-weight: 650; letter-spacing: .01em;
  border: 1px solid #fff;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 5px rgba(185, 217, 235, .38), 0 8px 20px rgba(0, 0, 0, .22); }
.btn-quiet { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.btn-quiet:hover { background: rgba(255, 255, 255, .12); }

/* ------------------------------ sections -------------------------------- */

/* scroll-margin keeps anchored sections clear of the sticky header */
main section[id] { scroll-margin-top: 78px; }

.section { padding: 74px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section.is-last { border-bottom: none; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
}
.section-intro { max-width: 62ch; color: var(--muted); margin-top: 16px; }

.group-label {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.group-sub { font-size: .9rem; color: var(--muted); margin: 2px 0 0; }

/* Publication mark beside each outlet heading */
.group-head { display: flex; align-items: center; gap: 12px; }
.group-head > div { min-width: 0; }
.pub-logo {
  flex: none; width: 28px; height: 28px; border-radius: 7px;
  object-fit: contain; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.pub-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; box-shadow: none;
  font-family: var(--sans); font-size: .6rem; font-weight: 700; letter-spacing: .02em;
}
.group-label a { color: var(--accent); }

/* "Not the actress" note in the About section */
.disambiguation {
  margin: 20px 0 0; padding: 13px 17px;
  border-left: 3px solid var(--accent-light); border-radius: 0 9px 9px 0;
  background: var(--bg-alt); color: var(--muted);
  font-size: .93rem; font-style: italic;
}

/* Your other homes, listed under the contact block */
.contact-elsewhere { margin-top: 20px; font-size: .94rem; color: var(--muted); }

/* groups spacing */
.pub-group, .exp-group, .course-group { margin-top: 42px; }
.pub-group:first-of-type, .exp-group:first-of-type { margin-top: 34px; }

/* ------------------------------- about --------------------------------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(250px, .95fr); gap: 46px; margin-top: 30px; align-items: start; }
.prose p { color: var(--ink-soft); }
.prose p:first-child { font-size: 1.13rem; color: var(--ink); }

.facts {
  background: var(--card); border: 1px solid var(--accent-hairline); border-radius: var(--radius);
  border-top: 3px solid var(--accent-light);
  padding: 8px 24px; box-shadow: var(--shadow-sm);
}
.facts dl { margin: 0; }
.facts dt {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); padding-top: 18px;
}
.facts dd { margin: 5px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--ink-soft); }
.facts dl > dt:last-of-type + dd { border-bottom: none; padding-bottom: 18px; }

/* ------------------------------- cards --------------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 20px; }

.card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); opacity: 0; transition: opacity .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--accent-hairline); }
.card:hover::before { opacity: 1; }

.card-title { font-size: 1.2rem; margin-bottom: 8px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); }
.card-meta { font-size: .84rem; color: var(--muted); margin-bottom: 12px; letter-spacing: .01em; }
.card-body { font-size: .98rem; color: var(--ink-soft); margin-bottom: 0; }
.card-link { margin: 16px 0 0; font-size: .9rem; font-weight: 600; }
.card-link-empty { color: var(--muted); font-weight: 500; font-style: italic; opacity: .8; }

.pill {
  display: inline-block; margin-bottom: 10px; padding: 3px 11px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent);
  border: 1px solid var(--accent-hairline);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* ------------------------------ timeline -------------------------------- */

.timeline { position: relative; margin-top: 22px; padding-left: 26px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--accent);
}
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
.tl-title { font-size: 1.22rem; }
.tl-dates { font-size: .82rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tl-org { font-size: .95rem; color: var(--accent); font-weight: 600; margin: 6px 0 12px; }
.tl-degree { font-size: .98rem; color: var(--ink-soft); font-weight: 600; margin: -6px 0 12px; }

.bullets { margin: 0 0 14px; }
.bullets li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--ink-soft); font-size: .99rem; }
.bullets li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; }
.bullets li:last-child { margin-bottom: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li {
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent-hairline);
  background: var(--accent-wash); color: var(--ink-soft);
  font-size: .82rem; font-weight: 550;
}
.section-alt .tags li { background: #fff; }

/* ------------------------------- courses -------------------------------- */

.course-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; margin-top: 34px; }
.course-group {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.course-list { margin-top: 14px; }
.course-list li { padding: 11px 0; border-top: 1px solid var(--line); }
.course-list li:first-child { border-top: none; padding-top: 4px; }
.course-name { display: block; font-size: .99rem; font-weight: 600; color: var(--ink); }
.course-note { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }

/* -------------------------------- skills -------------------------------- */

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 32px; }
.skill-label { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.skill-block .tags { margin-top: 12px; }

/* ------------------------------- contact -------------------------------- */

.section-contact {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(29, 79, 145, .1), transparent 70%),
    var(--bg-alt);
  border-bottom: none;
}
.contact-inner { max-width: 62ch; }
.contact-text { margin-top: 18px; color: var(--ink-soft); }
.contact-cta { margin-top: 8px; font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.contact-cta a { border-bottom: 2px solid var(--accent-light); }
.contact-cta a:hover { text-decoration: none; border-bottom-color: var(--accent); }
.contact-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .95rem; }
.contact-meta .dot { color: var(--line); }

/* -------------------------------- footer -------------------------------- */

.site-footer {
  background: #0c2745; color: rgba(255, 255, 255, .72);
  border-top: 3px solid var(--accent-light);
  padding: 34px 0; font-size: .9rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; }
.footer-name { font-family: var(--serif); color: #fff; font-size: 1rem; margin: 0; }
.footer-note { margin: 0; }
.footer-meta { margin: 0; }
.footer-meta a { color: var(--accent-light); }

/* ------------------------------ responsive ------------------------------ */

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 780px) {
  body { font-size: 1.03rem; }
  .hero { padding: 66px 0 60px; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 20px; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16, 32, 54, .1);
    padding: 8px 14px 14px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 6px; font-size: .85rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: none; }
  .nav a.is-active::after { left: 6px; right: auto; width: 20px; bottom: 8px; }

  .header-inner { position: relative; }
  .tl-head { flex-direction: column; }
  .tl-dates { white-space: normal; }
  .footer-inner { flex-direction: column; }
}

/* -------------------------------- print --------------------------------- */

@media print {
  .site-header, .hero-links, .skip-link, .card::before { display: none !important; }
  body { font-size: 10.5pt; color: #000; }
  .hero { background: none !important; color: #000; padding: 0 0 18pt; }
  .hero-eyebrow, .hero-summary, .hero-facts, .hero-tagline { color: #000 !important; }
  .hero-name { font-size: 22pt; }
  .section, .section-alt, .section-contact { background: none !important; padding: 12pt 0; border-bottom: 1px solid #999; }
  .wrap { max-width: none; padding: 0; }
  .card, .course-group, .facts { box-shadow: none; border: 1px solid #bbb; }
  .card, .tl-item, .course-group { break-inside: avoid; page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .site-footer { background: none; color: #000; padding: 10pt 0 0; }
  .footer-name, .footer-meta a { color: #000; }
}

/* ---------------------------- reduced motion ---------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   VISUAL INVESTIGATIONS PAGE (visual-investigations.html)
   ========================================================================== */

.nav a.is-current { color: var(--accent); }
.nav a.is-current::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.inv-main { padding-bottom: 20px; }

/* --- page hero ---------------------------------------------------------- */
.inv-hero {
  background:
    radial-gradient(900px 380px at 86% -12%, rgba(185, 217, 235, .40), transparent 62%),
    radial-gradient(620px 300px at 8% 106%, rgba(185, 217, 235, .20), transparent 68%),
    linear-gradient(158deg, #0c2745 0%, #173f70 52%, #1d4f91 100%);
  color: #fff;
  padding: 80px 40px 66px;
  margin: 0 -26px 8px;
  border-radius: 0 0 4px 4px;
}
.inv-title { font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -.015em; margin-bottom: 16px; }
.inv-lede { max-width: 68ch; color: rgba(255, 255, 255, .84); font-size: 1.06rem; }
.inv-meta { margin: 30px 0 0; display: grid; gap: 14px; }
.inv-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; }
.inv-meta dt {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light);
}
.inv-meta dd { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .86); }

/* --- blocks ------------------------------------------------------------- */
.inv-block { padding: 54px 0; border-bottom: 1px solid var(--line); }
.inv-block:last-of-type { border-bottom: none; }

.inv-labels { margin: 26px 0 0; display: grid; gap: 18px; }
.inv-labels div {
  display: grid; grid-template-columns: 148px 1fr; gap: 20px; align-items: baseline;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.inv-labels div:last-child { border-bottom: none; padding-bottom: 0; }
.inv-labels dt {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent);
}
.inv-labels dd { margin: 0; color: var(--ink-soft); font-size: .99rem; }

.inv-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 28px; }
.inv-method-item {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.inv-method-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.inv-method-item p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* --- case studies ------------------------------------------------------- */
.inv-case { padding: 58px 0 8px; border-top: 3px solid var(--accent-light); margin-top: 44px; }
.inv-case-head { margin-bottom: 22px; }
.inv-case-number {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 8px;
}
.inv-case-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.01em; }
.inv-case-dek { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); margin: 10px 0 0; }
.inv-case-meta { font-size: .84rem; color: var(--muted); letter-spacing: .02em; margin: 14px 0 0; }
.inv-status {
  display: inline-block; margin-top: 14px; padding: 5px 14px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent);
  border: 1px solid var(--accent-hairline);
  font-family: var(--sans); font-size: .8rem; font-weight: 650;
}
.inv-case-summary { font-size: 1.09rem; color: var(--ink); max-width: 74ch; }

.inv-sub {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin: 34px 0 12px; padding-left: 12px; border-left: 3px solid var(--line);
}
.inv-sub-established { color: #25703f; border-left-color: #7fc39a; }
.inv-sub-open { color: #8a5a12; border-left-color: #e0b463; }
.inv-case .bullets li { max-width: 78ch; }
.inv-why { max-width: 78ch; color: var(--ink-soft); }
.inv-case .tags { margin-top: 26px; }

.inv-principles { margin-top: 24px; }
.inv-principles li {
  position: relative; padding: 0 0 16px 30px; max-width: 78ch;
  color: var(--ink-soft); font-size: 1rem;
}
.inv-principles li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 12px; height: 3px; background: var(--accent); border-radius: 2px;
}

@media (max-width: 780px) {
  .inv-hero { padding: 54px 20px 46px; margin: 0 -20px 8px; }
  .inv-meta div { grid-template-columns: 1fr; gap: 2px; }
  .inv-labels div { grid-template-columns: 1fr; gap: 4px; }
  .inv-case { padding-top: 42px; }
  .inv-combined { grid-template-columns: 1fr; gap: 26px; }
  .inv-figure-portrait { max-width: 100%; }
}

/* --- combined method + labels block ------------------------------------- */
.inv-combined { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 22px; align-items: start; }
.inv-col { min-width: 0; }
.inv-col > .inv-sub { margin-top: 0; }
.inv-steps { margin: 0; padding-left: 1.25em; }
.inv-steps li { margin-bottom: 12px; color: var(--ink-soft); font-size: .97rem; }
.inv-steps li:last-child { margin-bottom: 0; }
.inv-steps strong { color: var(--ink); font-weight: 650; }

/* --- numbered exhibits -------------------------------------------------- */
.inv-figure { margin: 34px 0 0; }
.inv-figure img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.inv-figure-portrait { max-width: 420px; }
.inv-figure-portrait img { width: auto; max-width: 100%; max-height: 600px; margin: 0 auto; }
/* Social-post screenshots read as supporting evidence, not as the page — keep them small. */
.inv-figure-medium { max-width: 740px; }
.inv-figure-small { max-width: 520px; }
.inv-figure-small figcaption { font-size: .9rem; }
.inv-figure figcaption { margin-top: 13px; font-size: .94rem; color: var(--ink-soft); max-width: 74ch; }
.fig-label {
  font-family: var(--sans); font-size: .73rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent);
}
.fig-credit { display: block; margin-top: 7px; font-size: .82rem; font-style: italic; color: var(--muted); }
.fig-limits {
  display: block; margin-top: 12px; padding: 12px 16px;
  background: var(--bg-alt); border-left: 3px solid var(--accent-light);
  border-radius: 0 9px 9px 0; font-size: .89rem; color: var(--ink-soft);
}
.fig-limits span { display: block; }
.fig-limits span + span { margin-top: 7px; }
.fig-limits b {
  font-family: var(--sans); font-size: .73rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--accent);
  margin-right: 4px;
}

/* ==========================================================================
   ASSISTED ASSIGNMENTS
   The credit line leads, because the photograph is someone else's.
   ========================================================================== */

.assist-note {
  margin: 22px 0 0; padding: 14px 18px; max-width: 78ch;
  background: var(--accent-wash); border-left: 3px solid var(--accent-light);
  border-radius: 0 9px 9px 0; color: var(--ink-soft); font-size: .97rem;
}

.assist-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin-top: 30px;
}

.assist-item {
  background: var(--card); border: 1px solid var(--accent-hairline);
  border-left: 4px solid var(--accent-light); border-radius: var(--radius);
  padding: 22px 24px 20px; box-shadow: var(--shadow-sm);
}
.assist-by {
  margin: 0 0 10px; font-family: var(--sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.assist-by b { letter-spacing: .05em; }
/* The name drops to its own line so every credit block is the same shape,
   however long the photographer's name is. */
.assist-name { display: block; margin-top: 3px; font-size: .78rem; letter-spacing: .055em; }
.assist-title { font-size: 1.2rem; margin-bottom: 6px; }
.assist-outlet { font-size: .86rem; color: var(--muted); margin: 0 0 10px; }
.assist-role { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.assist-role-label {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-right: 5px;
}
.assist-link { margin: 14px 0 0; font-size: .9rem; font-weight: 600; }
.assist-detail { margin: 10px 0 0; font-size: .89rem; color: var(--muted); }
.assist-logo {
  width: 22px; height: 22px; border-radius: 5px; object-fit: contain;
  background: #fff; border: 1px solid var(--accent-hairline);
  margin-right: 8px; vertical-align: -6px;
}
/* Wordmarks have no square form, so they sit above the credit line like a
   masthead rather than inline with it. */
.assist-logo-wide {
  display: block; width: auto; height: 14px; max-width: 100%;
  background: none; border: 0; border-radius: 0;
  margin: 0 0 9px;
}
