@charset "UTF-8";
/* ==========================================================================
   deepakmhaskey.com — Core stylesheet
   Design language: "Ledger Editorial"
   Ink indigo + warm parchment + copper rule, set in Fraunces / Figtree.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink family — the authoritative dark */
  --ink-900: #0E1426;
  --ink-800: #161F3A;
  --ink-700: #222D4E;
  --ink-600: #33406A;

  /* Paper family — warm, human, never clinical white */
  --paper: #FBF8F2;
  --paper-2: #F4EDE1;
  --paper-3: #EDE3D3;
  --surface: #FFFFFF;

  /* Accent — copper. Used sparingly, as a rule and a marker. */
  --copper: #A9511F;
  --copper-strong: #8C4118;
  --copper-soft: #F4E3D5;
  --copper-line: #E0C3AB;

  /* Secondary — deep moss, for counterpoint chips and data marks */
  --moss: #245448;
  --moss-soft: #E2EDE8;

  /* Text */
  --text: #171E31;
  --text-2: #3D465D;
  --muted: #616B84;
  --muted-on-ink: #A9B3CC;
  --on-ink: #F2EEE6;

  /* Lines */
  --line: #E2D8C7;
  --line-soft: #EFE7DA;
  --line-ink: rgba(242, 238, 230, 0.18);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --radius: 3px;
  --radius-lg: 6px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --dur: 0.55s;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(14, 20, 38, 0.05), 0 6px 18px -12px rgba(14, 20, 38, 0.22);
  --shadow-md: 0 2px 6px rgba(14, 20, 38, 0.06), 0 24px 48px -28px rgba(14, 20, 38, 0.32);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--ink-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 6vw, 4.6rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.85rem, 4.1vw, 3.05rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); letter-spacing: -0.01em; }

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

a { color: var(--copper-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }

img { max-width: 100%; display: block; }

strong, b { font-weight: 600; color: var(--ink-900); }

ul, ol { margin: 0 0 1.25em; padding-left: 1.2em; }
li { margin-bottom: 0.5em; }
li:last-child { margin-bottom: 0; }

blockquote { margin: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--gap) 0;
}

::selection { background: var(--copper-soft); color: var(--ink-900); }

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

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink-900);
  color: var(--on-ink);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--on-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Auth gate — hide protected content until verification resolves
   -------------------------------------------------------------------------- */
html.gate-pending body { visibility: hidden; }
html.gate-pending { background: var(--paper); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 3rem);
}
.container--wide { max-width: 1480px; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--ink { background: var(--ink-900); color: var(--on-ink); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.stack > * + * { margin-top: var(--gap); }

/* --------------------------------------------------------------------------
   5. Typographic components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-strong);
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 1.85rem;
  height: 1px;
  background: var(--copper);
  flex: none;
}
.section--ink .eyebrow { color: #E8A97C; }
.section--ink .eyebrow::before { background: #E8A97C; }

.lede {
  font-size: clamp(1.1rem, 1.85vw, 1.35rem);
  line-height: 1.62;
  color: var(--text-2);
  font-weight: 400;
}
.section--ink .lede { color: #D3DAEA; }

.prose { max-width: 68ch; }
.prose p + h3 { margin-top: 2.2em; }
.prose h3 + p { margin-top: 0; }

.prose--drop > p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.6em;
  line-height: 0.82;
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--copper-strong);
  font-weight: 500;
}

.small-print {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}

.rule-copper {
  width: 3.5rem;
  height: 2px;
  background: var(--copper);
  border: 0;
  margin: 0 0 1.6rem;
}

/* Pull quote */
.pullquote {
  border-left: 2px solid var(--copper);
  padding: 0.35rem 0 0.35rem 1.5rem;
  margin: 2.4rem 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.42;
  color: var(--ink-800);
  font-weight: 400;
}
.pullquote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.section--ink .pullquote { color: var(--paper); border-color: #E8A97C; }
.section--ink .pullquote cite { color: var(--muted-on-ink); }

/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink-900); color: var(--paper); }
.btn--primary:hover { background: var(--copper-strong); color: #fff; }

.btn--copper { background: var(--copper-strong); color: #fff; }
.btn--copper:hover { background: var(--ink-900); color: var(--paper); }

.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-900); background: var(--surface); color: var(--ink-900); }

.section--ink .btn--ghost { color: var(--paper); border-color: var(--line-ink); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Arrow text link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-900);
  border-bottom: 1px solid var(--copper-line);
  padding-bottom: 0.35rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.arrow-link:hover { color: var(--copper-strong); border-color: var(--copper); gap: 0.85rem; }
.section--ink .arrow-link { color: var(--paper); border-color: rgba(232,169,124,0.5); }
.section--ink .arrow-link:hover { color: #E8A97C; border-color: #E8A97C; }

/* --------------------------------------------------------------------------
   7. Header / sticky navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -26px rgba(14, 20, 38, 0.5);
  background: rgba(251, 248, 242, 0.95);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

/* Wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink-900);
  flex: none;
}
.brand__mark {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background-color 0.3s var(--ease);
}
.brand:hover .brand__mark { background: var(--copper-strong); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__role {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: inline-block;
  font-size: 0.855rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink-900); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; flex: none; }

.btn--nav {
  padding: 0.72rem 1.15rem;
  font-size: 0.8rem;
}

.btn--signout {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.6rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--signout:hover { color: var(--ink-900); border-color: var(--ink-900); }

/* Scroll progress rule */
.scroll-rule {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--copper), var(--copper-strong));
  pointer-events: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-900);
}
.nav-toggle__bars { display: block; width: 1.15rem; height: 0.66rem; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(0.325rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-0.325rem) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Figures & images  (natural aspect ratio — never cropped)
   -------------------------------------------------------------------------- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--paper-3);
}
.figure figcaption {
  margin-top: 0.95rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 0.9rem;
  border-left: 2px solid var(--copper-line);
}
.section--ink .figure figcaption { color: var(--muted-on-ink); border-color: rgba(232,169,124,0.45); }

/* Framed plate — a mounted photograph on paper */
.plate {
  background: var(--surface);
  padding: clamp(0.7rem, 1.5vw, 1.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.plate img { border-radius: 2px; }
.plate--ink { background: rgba(255,255,255,0.05); border-color: var(--line-ink); }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: var(--muted-on-ink);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.93rem;
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: #E8A97C; text-decoration: underline; text-underline-offset: 3px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-ink);
}

.footer__brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--paper);
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}
.footer__brand-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8A97C;
  margin-bottom: 1.25rem;
}
.footer__blurb { max-width: 34ch; line-height: 1.7; }

.footer__heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 1.25rem;
}

.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 0.65rem; }

.footer__contact { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.footer__contact li { margin-bottom: 0.6rem; line-height: 1.55; }
.footer__contact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7C879F;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

/* Social icons */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social li { margin: 0; }
.social__link {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-ink);
  border-radius: 50%;
  color: var(--paper);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}
.social__link svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.social__link:hover {
  background: var(--copper-strong);
  border-color: var(--copper-strong);
  color: #fff;
  transform: translateY(-2px);
}
.social__link[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

/* Light-surface variant of the social row */
.social--light .social__link {
  border-color: var(--line);
  color: var(--ink-900);
  background: var(--surface);
}
.social--light .social__link:hover { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.9rem;
  font-size: 0.82rem;
  color: #7C879F;
}
.footer__credit a { border-bottom: 1px solid rgba(232,169,124,0.45); }
.footer__credit a:hover { text-decoration: none; border-color: #E8A97C; }

/* --------------------------------------------------------------------------
   10. Page masthead (interior pages)
   -------------------------------------------------------------------------- */
.masthead {
  background: var(--ink-900);
  color: var(--on-ink);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58rem 32rem at 88% -12%, rgba(169, 81, 31, 0.24), transparent 62%),
    radial-gradient(46rem 30rem at -8% 108%, rgba(36, 84, 72, 0.28), transparent 60%);
  pointer-events: none;
}
.masthead > * { position: relative; z-index: 1; }
.masthead h1 { color: var(--paper); margin-bottom: 0.35em; }
.masthead .lede { color: #D3DAEA; max-width: 62ch; }

.masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.masthead__meta {
  border-top: 1px solid var(--line-ink);
  padding-top: 1.4rem;
}
.masthead__meta dl {
  margin: 0;
  display: grid;
  gap: 1.05rem;
}
.masthead__meta dt {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8A97C;
  margin-bottom: 0.2rem;
}
.masthead__meta dd { margin: 0; color: var(--paper); font-size: 0.95rem; line-height: 1.5; }

/* Breadcrumb */
.crumbs {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #7C879F;
  margin-bottom: 1.6rem;
}
.crumbs a { color: #7C879F; text-decoration: none; }
.crumbs a:hover { color: #E8A97C; }
.crumbs span { margin: 0 0.5rem; opacity: 0.6; }

/* --------------------------------------------------------------------------
   11. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   12. Shared content modules
   -------------------------------------------------------------------------- */

/* Fact list — definition pairs with a hairline grid */
.factlist {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.factlist > div {
  display: grid;
  grid-template-columns: minmax(9rem, 0.6fr) minmax(0, 1.4fr);
  gap: 1rem 1.75rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.factlist dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 0.15rem;
}
.factlist dd { margin: 0; color: var(--text); font-size: 0.98rem; line-height: 1.6; }

/* Source note */
.sourcenote {
  background: var(--paper-2);
  border-left: 2px solid var(--copper);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-2);
}
.sourcenote h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-strong);
  margin-bottom: 0.7rem;
}
.sourcenote ul { padding-left: 1.1rem; margin-bottom: 0; }

/* Chip */
.chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  background: var(--moss-soft);
  color: var(--moss);
}
.chip--copper { background: var(--copper-soft); color: var(--copper-strong); }
.chip--ink { background: rgba(255,255,255,0.09); color: #E8A97C; }

/* Next-page rail */
.nextup {
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.nextup__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.nextup__card {
  background: var(--paper);
  padding: 1.75rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.nextup__card:hover { background: var(--surface); color: var(--text); }
.nextup__num {
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--copper-strong);
  font-weight: 600;
}
.nextup__title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.nextup__desc { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   13. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nextup, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .masthead { background: #fff; color: #000; }
  .masthead h1, .masthead .lede { color: #000; }
}

/* ==========================================================================
   14. PAGE COMPOSITIONS — each page has its own distinct structural language
   ========================================================================== */

/* --------------------------------------------------------------------------
   14.1 HOME — asymmetric editorial hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--ink-900);
  color: var(--on-ink);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 34rem at 78% 8%, rgba(169, 81, 31, 0.30), transparent 60%),
    radial-gradient(44rem 30rem at 4% 96%, rgba(36, 84, 72, 0.34), transparent 58%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 6.5rem) clamp(3.25rem, 7vw, 6rem);
}
.hero__standfirst {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8A97C;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__standfirst::before { content: ""; width: 2.25rem; height: 1px; background: #E8A97C; }

.hero__name {
  font-size: clamp(2.7rem, 7.2vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 1.35rem;
  font-weight: 400;
}
.hero__name em {
  font-style: normal;
  display: block;
  color: #E8A97C;
}
.hero__role {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.01em;
  margin: 0 0 1.35rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--copper);
  line-height: 1.5;
}
.hero__intro {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.72;
  color: #C6CEE2;
  max-width: 54ch;
  margin: 0;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.5rem, 4vw, 3.25rem);
  margin-top: 2.75rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line-ink);
  list-style: none;
  padding-left: 0;
}
.hero__stats li { margin: 0 0 0.9rem; }
.hero__stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.hero__stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8B96B0;
  font-weight: 600;
  line-height: 1.5;
  display: block;
  max-width: 15ch;
}

/* Hero portrait — mounted, never cropped */
.hero__portrait { position: relative; }
.hero__portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: #1B2440;
}
.hero__portrait-frame {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(0.65rem, 1.3vw, 1rem);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__caption {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #8B96B0;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(232, 169, 124, 0.45);
}

/* Home — dossier introduction (sticky rail) */
.dossier {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.dossier__rail { position: sticky; top: 7rem; }
.dossier__rail h2 { margin-bottom: 1.1rem; }
.dossier__index {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.dossier__index li {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
  margin: 0;
}
.dossier__index span {
  font-family: var(--display);
  color: var(--copper-strong);
  font-size: 0.8rem;
  padding-top: 0.15rem;
  flex: none;
}

.dossier__body > article {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.dossier__body > article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.dossier__body h3 {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 0.7rem;
}
.dossier__body h3 b {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper-strong);
  flex: none;
}

/* Home — journey preview, offset chapters */
.jpreview { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.jpreview__item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: start;
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--line-ink);
  transition: padding-left 0.4s var(--ease);
}
.jpreview__item:hover { padding-left: 0.75rem; }
.jpreview__year {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #E8A97C;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.jpreview__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--paper);
  margin: 0 0 0.55rem;
  font-weight: 500;
}
.jpreview__text { color: #B4BDD2; font-size: 0.97rem; line-height: 1.7; margin: 0; max-width: 62ch; }

/* Home — milestone index with oversized numerals */
.milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.milestone {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
.milestone__num {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--copper-line);
  margin-bottom: 1.25rem;
  display: block;
  font-weight: 500;
}
.milestone h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.milestone p { font-size: 0.92rem; color: var(--text-2); line-height: 1.68; margin: 0; }

/* Home — contribution spreads */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.spread:last-of-type { border-bottom: 1px solid var(--line); }
.spread__label {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0;
  font-weight: 500;
}
.spread__label small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-strong);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.spread__body p { color: var(--text-2); margin-bottom: 1em; }
.spread__body p:last-child { margin-bottom: 0; }

/* Home — featured band */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Home — explore grid */
.explore {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}
.explore__card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.explore__card:hover {
  border-color: var(--copper-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.explore__card h3 { font-size: 1.25rem; margin: 0; }
.explore__card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; }
.explore__card .arrow-link { margin-top: auto; padding-top: 1rem; align-self: flex-start; border: 0; }

/* --------------------------------------------------------------------------
   14.2 ABOUT — portrait-led biography
   -------------------------------------------------------------------------- */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.bio__aside { position: sticky; top: 7rem; display: grid; gap: 1.75rem; }
.bio__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
}
.bio__panel h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-strong);
  margin-bottom: 1.15rem;
}
.bio__panel .factlist > div { grid-template-columns: 1fr; gap: 0.2rem; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.value {
  padding-top: 1.35rem;
  border-top: 2px solid var(--ink-900);
}
.value h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.value p { font-size: 0.92rem; color: var(--text-2); line-height: 1.68; margin: 0; }

/* --------------------------------------------------------------------------
   14.3 JOURNEY — chapter spreads
   -------------------------------------------------------------------------- */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter__marker { position: sticky; top: 7rem; }
.chapter__no {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.85;
  color: var(--copper-line);
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.chapter__period {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-strong);
}
.chapter__title { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-bottom: 0.9rem; }
.chapter__body { max-width: 70ch; }
.chapter__body p { color: var(--text-2); }
.chapter__facts {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.chapter__facts li {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.85rem;
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.62;
  margin: 0;
}
.chapter__facts li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--copper);
  margin-top: 0.62rem;
}

/* --------------------------------------------------------------------------
   14.4 CAREER — ledger rows
   -------------------------------------------------------------------------- */
.ledger {
  border-top: 2px solid var(--ink-900);
}
.ledger__row {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3vw, 2.75rem);
  padding-block: clamp(1.75rem, 3.2vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ledger__period {
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--copper-strong);
  line-height: 1.3;
  font-weight: 600;
}
.ledger__period small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.4rem;
}
.ledger__role h3 { font-size: 1.32rem; margin-bottom: 0.4rem; }
.ledger__org {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.55;
}
.ledger__detail p { font-size: 0.96rem; color: var(--text-2); margin-bottom: 0.9em; }
.ledger__detail ul { margin: 0; padding-left: 1.05rem; font-size: 0.93rem; color: var(--text-2); }
.ledger__detail li { margin-bottom: 0.4em; }

.skillgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: var(--line-ink);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skillgrid > div { background: var(--ink-900); padding: clamp(1.5rem, 2.6vw, 2rem); }
.skillgrid h3 { color: var(--paper); font-size: 1.1rem; margin-bottom: 0.5rem; }
.skillgrid p { font-size: 0.89rem; color: #B4BDD2; line-height: 1.66; margin: 0; }

/* --------------------------------------------------------------------------
   14.5 LEADERSHIP — narrative with side notes
   -------------------------------------------------------------------------- */
.narrative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.44fr);
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.narrative:first-of-type { border-top: 0; padding-top: 0; }
.narrative__main h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.narrative__main p { color: var(--text-2); max-width: 68ch; }
.narrative__note {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  position: sticky;
  top: 7rem;
}
.narrative__note h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-strong);
  margin-bottom: 0.85rem;
}
.narrative__note p, .narrative__note li { font-size: 0.88rem; line-height: 1.68; color: var(--text-2); }
.narrative__note ul { padding-left: 1.05rem; margin-bottom: 0; }

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.15rem;
}
.team__card {
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
}
.team__card h3 { font-size: 1.08rem; color: var(--paper); margin-bottom: 0.3rem; }
.team__card p { font-size: 0.85rem; color: #A9B3CC; margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   14.6 CONTRIBUTIONS — case modules
   -------------------------------------------------------------------------- */
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.case:last-child { margin-bottom: 0; }
.case__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem 1.35rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem) clamp(1.5rem, 2.8vw, 2.5rem);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.case__no {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--copper-strong);
  font-weight: 600;
  flex: none;
}
.case__head h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 0; flex: 1 1 14rem; }
.case__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 0;
}
.case__cell {
  padding: clamp(1.5rem, 2.6vw, 2.1rem) clamp(1.5rem, 2.8vw, 2.5rem);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.case__cell:last-child { border-right: 0; }
.case__cell h3 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.case__cell p { font-size: 0.93rem; color: var(--text-2); line-height: 1.7; margin-bottom: 0.85em; }
.case__cell p:last-child { margin-bottom: 0; }
.case__foot {
  padding: 1.15rem clamp(1.5rem, 2.8vw, 2.5rem);
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   14.7 TIMELINE — vertical rail interface
   -------------------------------------------------------------------------- */
.tl-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.tl-filter {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.62rem 1.05rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tl-filter:hover { border-color: var(--ink-900); color: var(--ink-900); }
.tl-filter[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper);
}

.tl { position: relative; margin: 0; padding: 0; list-style: none; }
.tl::before {
  content: "";
  position: absolute;
  left: 0.44rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: linear-gradient(180deg, var(--copper-line), var(--line), var(--line));
}
.tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding: 0 0 clamp(2rem, 3.5vw, 2.75rem) clamp(1.9rem, 3vw, 2.5rem);
  margin: 0;
}
.tl__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--copper);
  z-index: 1;
}
.tl__item[data-highlight="true"]::before { background: var(--copper); }
.tl__year {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink-900);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tl__year small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.3rem;
}
.tl__body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.tl__body p { font-size: 0.95rem; color: var(--text-2); line-height: 1.72; margin: 0 0 0.75em; max-width: 66ch; }
.tl__body p:last-child { margin-bottom: 0; }
.tl__item.is-hidden { display: none; }

.tl-empty {
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   14.8 MEDIA — column gallery, natural aspect ratios
   -------------------------------------------------------------------------- */
.gallery {
  columns: 3;
  column-gap: clamp(1rem, 2vw, 1.5rem);
}
.gallery__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  height: auto;
  background: var(--paper-3);
}
.gallery__item figcaption {
  padding: 1.05rem 1.25rem 1.2rem;
  font-size: 0.84rem;
  line-height: 1.62;
  color: var(--text-2);
  border: 0;
  margin: 0;
}
.gallery__item figcaption b {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--copper-strong);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.media-group { margin-bottom: clamp(3rem, 6vw, 5rem); }
.media-group:last-child { margin-bottom: 0; }
.media-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.media-group__head h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.media-group__count {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14.9 CONTACT — minimal split
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact__list li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.contact__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.contact__value {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.012em;
  word-break: break-word;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.contact__value:hover { color: var(--copper-strong); border-color: var(--copper); }
.contact__note { font-size: 0.86rem; color: var(--muted); margin: 0.4rem 0 0; }

.contact__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.contact__portrait {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.contact__portrait img {
  width: 5.25rem;
  height: auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
}
.contact__portrait p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.contact__portrait strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink-900);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Message composer */
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  line-height: 1.5;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--copper); background: var(--surface); }
.field__hint { font-size: 0.78rem; color: var(--muted); margin: 0.45rem 0 0; }

.form-status {
  margin-top: 1rem;
  font-size: 0.88rem;
  min-height: 1.4rem;
  color: var(--moss);
  font-weight: 500;
}
.form-status[data-state="error"] { color: var(--copper-strong); }

/* --------------------------------------------------------------------------
   14.10 INDEX — the passcode gate (self-contained)
   -------------------------------------------------------------------------- */
body.gate-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--ink-900);
  color: var(--on-ink);
  position: relative;
  overflow: hidden;
}
body.gate-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46rem 30rem at 76% 6%, rgba(169, 81, 31, 0.30), transparent 62%),
    radial-gradient(40rem 28rem at 8% 98%, rgba(36, 84, 72, 0.32), transparent 60%);
  pointer-events: none;
}

.gate {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 25.5rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: clamp(2rem, 5vw, 2.9rem);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.gate__mark {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 169, 124, 0.5);
  border-radius: 3px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: #E8A97C;
  margin-bottom: 1.6rem;
  letter-spacing: 0.02em;
}
.gate__title {
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--paper);
  margin: 0 0 0.5rem;
  letter-spacing: -0.018em;
  font-weight: 500;
}
.gate__hint {
  font-size: 0.88rem;
  color: #98A2BC;
  margin: 0 0 1.85rem;
  line-height: 1.6;
}
.gate__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #98A2BC;
  margin-bottom: 0.6rem;
}
.gate__inputwrap { position: relative; display: flex; }
.gate__input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0.95rem 3.15rem 0.95rem 1rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.gate__input::placeholder { color: #5D687F; letter-spacing: 0.2em; }
.gate__input:focus { border-color: #E8A97C; background: rgba(0, 0, 0, 0.4); outline-offset: 2px; }

.gate__peek {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: #98A2BC;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.gate__peek:hover { color: var(--paper); }
.gate__peek svg { width: 1.15rem; height: 1.15rem; }

.gate__submit {
  width: 100%;
  margin-top: 1.15rem;
  padding: 1rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-900);
  background: #E8A97C;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.gate__submit:hover { background: var(--paper); }
.gate__submit:disabled { opacity: 0.6; cursor: progress; }

.gate__message {
  margin: 1.05rem 0 0;
  min-height: 1.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #F0B08C;
}
.gate__message[data-state="ok"] { color: #92D2B8; }

.gate.is-invalid { animation: gate-shake 0.42s var(--ease); }
@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-7px); }
  46% { transform: translateX(6px); }
  70% { transform: translateX(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .gate.is-invalid { animation: none; }
}

/* --------------------------------------------------------------------------
   14.11 No-JavaScript notice (gate + protected pages)
   -------------------------------------------------------------------------- */
.noscript-gate {
  visibility: visible;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--ink-900);
  color: var(--on-ink);
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
}
.noscript-gate p { max-width: 34ch; margin: 0; }
.noscript-gate strong { color: #E8A97C; font-weight: 700; }

/* Two-column gallery variant for groups with fewer items */
.gallery--two { columns: 2; }

/* --------------------------------------------------------------------------
   14.12 Header fit corrections
   Eight primary links plus two actions must sit on one line without wrapping.
   -------------------------------------------------------------------------- */
.nav { gap: 1.5rem; }
.nav__list { gap: 1.25rem; }
.nav__link { white-space: nowrap; font-size: 0.82rem; }
.nav__actions { white-space: nowrap; }
.site-header__inner { gap: 1.25rem; }

/* Hero statistics read better as an even grid than as a wrapping flex row. */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.hero__stats li { margin: 0; }
.hero__stat-label { max-width: none; }

/* The base `li` bottom margin skews vertical centring inside flex navigation
   rows — every horizontal list needs it cleared explicitly. */
.nav__list li { margin: 0; }

/* --------------------------------------------------------------------------
   14.13 Reveal safety
   Content must never depend on JavaScript to become visible. `.reveal` is
   fully visible by default; the hidden start state is opted into by the boot
   script (html.js-anim) only when scripting is confirmed to be running.
   -------------------------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }

html.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.js-anim .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* Scrim behind the mobile navigation drawer */
@media (max-width: 1180px) {
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(14, 20, 38, 0.5);
    pointer-events: none;
  }
}

/* --------------------------------------------------------------------------
   14.14 Case modules — two columns, not four
   Four cells across a 1240px container leaves a ~25-character measure, which
   is uncomfortably narrow for running prose. A 2x2 grid doubles the measure.
   -------------------------------------------------------------------------- */
.case__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case__cell { border-right: 1px solid var(--line-soft); }
.case__cell:nth-child(2n) { border-right: 0; }
.case__cell:nth-last-child(-n+2) { border-bottom: 0; }

/* --------------------------------------------------------------------------
   14.15 Masthead is a dark surface — accents must switch to the light copper
   The `.eyebrow` default is the dark copper intended for paper backgrounds;
   on the ink masthead it fell to 2.52:1. This restores it to 8.5:1.
   -------------------------------------------------------------------------- */
.masthead .eyebrow { color: #E8A97C; }
.masthead .eyebrow::before { background: #E8A97C; }
.masthead .chip { background: rgba(255, 255, 255, 0.1); color: #E8A97C; }

/* Composite-layer hint only while an element is actually waiting to animate */
.reveal { will-change: auto; }
html.js-anim .reveal:not(.is-visible) { will-change: opacity, transform; }
