@charset "utf-8";
/* ============================================================================
   gyanvatsalswami.com
   Design system: "Quiet Intelligence"
   ----------------------------------------------------------------------------
   0.  Tokens
   1.  Reset & base
   2.  Typography scale
   3.  Layout primitives (wrap, grid, rail, sections)
   4.  Editorial atoms (eyebrow, rules, marks, statements, pull quotes)
   5.  Figures & image plates  (never crops a face — see §5 notes)
   6.  Header / sticky navigation
   7.  Footer
   8.  Buttons & links
   9.  Gate (index.html)
   10. Home
   11. About
   12. Teachings
   13. Journey
   14. Contributions
   15. Insights
   16. Contact
   17. Motion & reveal
   18. Responsive
   19. Print & forced colors
   ========================================================================== */

/* ---------------------------------------------------------------- 0. TOKENS */
:root {
  /* Core palette — deep indigo, muted teal, soft copper on mist & pearl */
  --indigo:        #16213F;
  --indigo-deep:   #0C1327;
  --indigo-soft:   #2A3760;
  --teal:          #2C6E6F;
  --teal-deep:     #1F5152;
  --copper:        #A96B38;
  --copper-ink:    #8E5A2C;   /* copper for TEXT: >=4.5:1 on mist, pearl and paper */
  --copper-light:  #C99164;
  --mist:          #EDF1F5;
  --mist-deep:     #E2E8EF;
  --pearl:         #F8F5F0;
  --pearl-deep:    #F1EBE2;
  --ice:           #D7E3EF;
  --slate:         #1D2733;
  --slate-soft:    #4A5765;
  --slate-faint:   #5C6875;
  --paper:         #FBFCFD;

  --line:          rgba(22, 33, 63, 0.14);
  --line-strong:   rgba(22, 33, 63, 0.26);
  --line-onDark:   rgba(215, 227, 239, 0.20);
  --line-onDark-2: rgba(215, 227, 239, 0.38);

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

  /* Rhythm */
  --wrap:      1400px;
  --gutter:    clamp(20px, 4.4vw, 72px);
  --sec-y:     clamp(64px, 9vw, 140px);
  --sec-y-lg:  clamp(84px, 12vw, 184px);
  --stack:     clamp(20px, 2.4vw, 34px);

  --radius:    2px;
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:       620ms;
}

/* ------------------------------------------------------- 1. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `clip`, not `hidden`: `overflow-x: hidden` turns the root into a scroll
     container and silently breaks `position: sticky` on the header. `clip`
     contains any stray overflow without creating one. */
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--mist);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
img { border-style: none; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
}

::selection { background: var(--ice); color: var(--indigo-deep); }

/* Skip link + focus visibility */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--indigo);
  color: var(--paper);
  padding: 14px 22px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

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

/* -------------------------------------------------- 2. TYPOGRAPHY SCALE */
.t-display,
.t-h1, .t-h2, .t-h3, .t-h4 {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--indigo);
  letter-spacing: -0.018em;
  line-height: 1.06;
  text-wrap: balance;
}

.t-display { font-size: clamp(2.55rem, 7.4vw, 6.1rem); line-height: 0.98; letter-spacing: -0.03em; }
.t-h1      { font-size: clamp(2.15rem, 5.6vw, 4.35rem); line-height: 1.02; letter-spacing: -0.026em; }
.t-h2      { font-size: clamp(1.72rem, 3.5vw, 2.85rem); line-height: 1.10; letter-spacing: -0.020em; }
.t-h3      { font-size: clamp(1.32rem, 2.1vw, 1.78rem); line-height: 1.20; letter-spacing: -0.014em; }
.t-h4      { font-size: clamp(1.10rem, 1.5vw, 1.28rem); line-height: 1.32; letter-spacing: -0.008em; }

.t-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.16rem, 2.05vw, 1.62rem);
  line-height: 1.46;
  letter-spacing: -0.012em;
  color: var(--indigo-soft);
  text-wrap: pretty;
}

.t-body   { font-size: clamp(1rem, 1.1vw, 1.075rem); line-height: 1.74; color: var(--slate-soft); text-wrap: pretty; }
.t-body + .t-body { margin-top: 1.05em; }
.t-body strong { color: var(--slate); font-weight: 600; }
.t-body em { font-style: italic; }

.t-small  { font-size: 0.905rem; line-height: 1.62; color: var(--slate-faint); }

.t-ital { font-family: var(--serif); font-style: italic; font-weight: 300; }
.t-copper { color: var(--copper-ink); }
.t-teal   { color: var(--teal); }

/* ---------------------------------------- 3. LAYOUT PRIMITIVES */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--tight { max-width: 1080px; }
.wrap--text  { max-width: 760px; }

.sec { padding-block: var(--sec-y); position: relative; }
.sec--lg { padding-block: var(--sec-y-lg); }
.sec--tight { padding-block: clamp(44px, 6vw, 88px); }
.sec--pearl { background: var(--pearl); }
.sec--paper { background: var(--paper); }
.sec--mist-deep { background: var(--mist-deep); }

.sec--dark {
  background: var(--indigo);
  color: var(--ice);
}
.sec--dark .t-display,
.sec--dark .t-h1, .sec--dark .t-h2,
.sec--dark .t-h3, .sec--dark .t-h4 { color: #F4F7FA; }
.sec--dark .t-lede { color: #C7D4E2; }
.sec--dark .t-body { color: #B3C1D2; }
.sec--dark .t-small { color: #93A3B7; }
.sec--dark .eyebrow { color: #9FB2C7; }
.sec--dark .eyebrow__n { color: var(--copper-light); }
.sec--dark .hr { background: var(--line-onDark); }

/* The "spine": a hairline that runs beside the content on wide screens */
.spine { position: relative; }
.spine::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 1px;
  background: var(--line);
}

/* Editorial grid */
.grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.grid--2      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3      { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--7-5    { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--5-7    { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--4-8    { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.grid--8-4    { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.grid--3-9    { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.grid--top    { align-items: start; }
.grid--end    { align-items: end; }
.grid--center { align-items: center; }

.stack > * + * { margin-top: var(--stack); }
.stack-sm > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: clamp(34px, 5vw, 62px); }

/* ------------------------------------------ 4. EDITORIAL ATOMS */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--slate-faint);
  margin: 0;
}
.eyebrow__n {
  font-variant-numeric: tabular-nums;
  color: var(--copper-ink);
  letter-spacing: 0.10em;
}
.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transform: translateY(-0.25em);
}
.eyebrow--plain::after { display: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }

.hr {
  height: 1px;
  width: 100%;
  background: var(--line);
  border: 0;
  display: block;
}
.hr--copper { background: var(--copper); opacity: 0.65; }
.hr--short { width: 64px; height: 2px; background: var(--copper); }

.markline {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--copper);
  margin-bottom: 26px;
}

/* Large statement block */
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 4.1vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.024em;
  color: var(--indigo);
  text-wrap: balance;
}
.sec--dark .statement { color: #F2F6FA; }

/* Quotation — used ONLY for verified, attributed quotations */
.quote {
  position: relative;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--copper);
}
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.34;
  letter-spacing: -0.014em;
  color: var(--indigo);
  text-wrap: pretty;
}
.quote__cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-faint);
}
.quote__cite span { display: block; letter-spacing: 0.04em; text-transform: none; font-weight: 400; margin-top: 7px; color: var(--slate-faint); }
.sec--dark .quote { border-left-color: var(--copper-light); }
.sec--dark .quote__text { color: #F2F6FA; }
.sec--dark .quote__cite, .sec--dark .quote__cite span { color: #9FB2C7; }

/* Definition rows — hairline "ledger" used instead of cards */
.ledger { border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(14px, 3vw, 48px);
  padding-block: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ledger__k {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--slate-faint);
  padding-top: 0.35em;
}
.ledger__v { font-size: clamp(1rem, 1.15vw, 1.09rem); line-height: 1.62; color: var(--slate); }
.ledger__v em { font-style: italic; color: var(--slate-soft); }
.sec--dark .ledger, .sec--dark .ledger__row { border-color: var(--line-onDark); }
.sec--dark .ledger__k { color: #93A3B7; }
.sec--dark .ledger__v { color: #DCE6F1; }

/* Source note */
.srcnote {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--slate-faint);
  letter-spacing: 0.005em;
}
.srcnote a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.srcnote a:hover { color: var(--copper-ink); }
.sec--dark .srcnote { color: #8DA0B6; }
.sec--dark .srcnote a { color: var(--copper-light); }

/* ------------------------------------------------- 5. FIGURES / PLATES
   Image policy
   ------------
   Default: images are NEVER cropped. `.plate img` uses width:100%; height:auto
   so the full frame — and every face in it — is always visible.
   `.plate--trim` is the single, deliberate exception: it trims a known,
   subject-free band from one edge with an explicit object-position, and is
   used only where verified safe.                                            */
.plate { margin: 0; display: block; }
.plate img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--mist-deep);
}
.plate figcaption {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: var(--slate-faint);
  max-width: 46ch;
}
.plate figcaption b {
  display: block;
  font-weight: 600;
  font-size: 0.70rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-bottom: 7px;
}
.sec--dark .plate figcaption { color: #93A3B7; border-top-color: var(--line-onDark); }
.sec--dark .plate figcaption b { color: var(--copper-light); }

/* Matte frame: photo sits on a pearl mount inside a hairline */
.plate--matte {
  background: var(--pearl);
  border: 1px solid var(--line);
  padding: clamp(12px, 1.5vw, 20px);
}
.plate--matte figcaption {
  border-top: 1px solid var(--line);
  margin-top: clamp(12px, 1.5vw, 18px);
  padding-top: 12px;
}
.plate--ink { background: var(--indigo-deep); border-color: var(--line-onDark); }
.plate--ink figcaption { color: #93A3B7; border-top-color: var(--line-onDark); }

/* Offset copper keyline behind a photo */
.plate--keyed { position: relative; }
.plate--keyed::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 62%;
  border-right: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  opacity: 0.5;
  pointer-events: none;
}

/* Deliberate, verified trim (removes a subject-free band only) */
.plate--trim { overflow: hidden; }
.plate--trim > img { height: 100%; object-fit: cover; }
.plate--trim-top { aspect-ratio: 335 / 502; }
.plate--trim-top > img { object-position: 50% 100%; }

/* ------------------------------------------- 6. HEADER / STICKY NAV */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(237, 241, 245, 0.86);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-head { background: var(--mist); }
}
.site-head.is-stuck { background: rgba(237, 241, 245, 0.96); border-bottom-color: var(--line-strong); }

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--indigo);
  display: grid;
  place-items: center;
  position: relative;
}
.brand__mark::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 50%;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--line-strong);
}
.brand__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.06rem;
  letter-spacing: -0.012em;
  color: var(--indigo);
  line-height: 1.1;
  white-space: nowrap;
}
.brand__name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.585rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-faint);
  margin-top: 3px;
}

.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 1px;
  font-size: 0.755rem;
  font-weight: 600;
  letter-spacing: 0.155em;
  text-transform: uppercase;
  color: var(--slate-soft);
  text-decoration: none;
  transition: color 260ms var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  height: 1px;
  width: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--ease);
}
.nav__link:hover { color: var(--indigo); }
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--indigo); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--indigo); }

/* Scroll progress hairline */
.progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  width: 100%;
  background: var(--copper);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px; height: 40px;
  background: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.nav-toggle:hover { border-color: var(--indigo); }
.nav-toggle__box { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle__box i {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--indigo);
  transition: transform 340ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle__box i:nth-child(1) { top: 0; }
.nav-toggle__box i:nth-child(2) { top: 5px; }
.nav-toggle__box i:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile panel */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--indigo);
  color: var(--ice);
  padding: 96px var(--gutter) 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 340ms var(--ease), transform 340ms var(--ease), visibility 0s linear 340ms;
}
.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 340ms var(--ease), transform 340ms var(--ease), visibility 0s;
}
.nav-panel__list { border-top: 1px solid var(--line-onDark); }
.nav-panel__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line-onDark);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #F2F6FA;
  text-decoration: none;
  line-height: 1.1;
}
.nav-panel__list a span {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--copper-light);
  flex: 0 0 auto;
}
.nav-panel__list a[aria-current="page"] { color: var(--copper-light); }
.nav-panel__foot {
  margin-top: 34px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #9FB2C7;
}
.nav-panel__foot a { color: #DCE6F1; text-decoration: none; border-bottom: 1px solid var(--line-onDark-2); }
.nav-panel__foot a:hover { color: var(--copper-light); border-bottom-color: var(--copper-light); }

body.nav-open { overflow: hidden; }

/* ------------------------------------------------------------- 7. FOOTER */
.site-foot {
  background: var(--indigo-deep);
  color: #A9B9CB;
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 3px solid var(--copper);
}
.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 2.6fr) minmax(0, 3.4fr);
  gap: clamp(34px, 4vw, 60px);
  padding-bottom: clamp(42px, 5vw, 66px);
}
.site-foot__mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #F2F6FA;
}
.site-foot p { color: #A9B9CB; }
.foot-head {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #7D8FA5;
  margin-bottom: 20px;
}
.foot-nav li + li { margin-top: 11px; }
.foot-nav a {
  font-size: 0.93rem;
  color: #C4D1E0;
  text-decoration: none;
  transition: color 240ms var(--ease);
  position: relative;
}
.foot-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--copper-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 340ms var(--ease);
}
.foot-nav a:hover { color: #F2F6FA; }
.foot-nav a:hover::after, .foot-nav a:focus-visible::after { transform: scaleX(1); }

.foot-contact dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7D8FA5;
  margin-bottom: 5px;
}
.foot-contact dd { margin: 0 0 18px; font-size: 1rem; color: #E4EBF3; }
.foot-contact dd:last-child { margin-bottom: 0; }
.foot-contact a {
  color: #E4EBF3;
  text-decoration: none;
  border-bottom: 1px solid var(--line-onDark-2);
  padding-bottom: 2px;
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
  overflow-wrap: anywhere;
}
.foot-contact a:hover { color: var(--copper-light); border-bottom-color: var(--copper-light); }

/* Social row */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.social__item {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-onDark);
  color: #C4D1E0;
  text-decoration: none;
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
}
.social__item svg { width: 17px; height: 17px; fill: currentColor; display: block; }
a.social__item:hover {
  color: var(--indigo-deep);
  background: var(--copper-light);
  border-color: var(--copper-light);
  transform: translateY(-2px);
}
.social__item--off {
  opacity: 0.34;
  cursor: default;
  border-style: dashed;
}

.site-foot__bar {
  border-top: 1px solid var(--line-onDark);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.80rem;
  color: #8496AC;
}
.site-foot__bar a {
  color: #C4D1E0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-onDark-2);
  padding-bottom: 2px;
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}
.site-foot__bar a:hover { color: var(--copper-light); border-bottom-color: var(--copper-light); }

/* ------------------------------------------------- 8. BUTTONS & LINKS */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--indigo);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 260ms var(--ease), border-color 260ms var(--ease);
}
.link-arrow svg { width: 22px; height: 8px; stroke: currentColor; fill: none; stroke-width: 1.2; transition: transform 380ms var(--ease); }
.link-arrow:hover { color: var(--copper-ink); border-bottom-color: var(--copper); }
.link-arrow:hover svg { transform: translateX(6px); }
.sec--dark .link-arrow { color: #F2F6FA; border-bottom-color: var(--line-onDark-2); }
.sec--dark .link-arrow:hover { color: var(--copper-light); border-bottom-color: var(--copper-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 30px;
  background: var(--indigo);
  color: #F4F7FA;
  border: 1px solid var(--indigo);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease);
}
.btn:hover { background: var(--copper-ink); border-color: var(--copper-ink); color: #FFF; }
.btn--ghost { background: transparent; color: var(--indigo); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--indigo); border-color: var(--indigo); color: #F4F7FA; }

/* ------------------------------------------------------- 9. GATE (index) */
.gate {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(120% 80% at 12% 0%, #1B2A50 0%, rgba(27, 42, 80, 0) 60%),
    radial-gradient(90% 70% at 100% 100%, #24484A 0%, rgba(36, 72, 74, 0) 55%),
    var(--indigo-deep);
  color: var(--ice);
  padding: var(--gutter);
}
.gate__inner {
  width: 100%;
  max-width: 430px;
  margin: auto;
  padding-block: 40px;
}
.gate__mark {
  width: 42px; height: 42px;
  border: 1px solid var(--line-onDark-2);
  display: grid; place-items: center;
  position: relative;
  margin-bottom: 40px;
}
.gate__mark::after { content: ""; width: 7px; height: 7px; background: var(--copper-light); border-radius: 50%; }
.gate__mark::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-onDark); }
.gate__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: #F4F7FA;
}
.gate__note { margin-top: 16px; font-size: 0.93rem; line-height: 1.65; color: #93A6BC; }
.gate__form { margin-top: 38px; }
.gate__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #7D8FA5;
  margin-bottom: 12px;
}
.gate__field { position: relative; display: flex; }
.gate__input {
  width: 100%;
  min-height: 58px;
  padding: 0 54px 0 18px;
  background: rgba(215, 227, 239, 0.06);
  border: 1px solid var(--line-onDark-2);
  color: #F4F7FA;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}
.gate__input::placeholder { color: #8395AB; letter-spacing: 0.16em; }
.gate__input:focus { outline: none; border-color: var(--copper-light); background: rgba(215, 227, 239, 0.10); }
.gate__input:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.gate__reveal {
  position: absolute;
  right: 1px; top: 1px; bottom: 1px;
  width: 50px;
  background: none;
  border: 0;
  border-left: 1px solid var(--line-onDark);
  color: #93A6BC;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gate__reveal:hover { color: var(--copper-light); }
.gate__reveal svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.gate__submit { width: 100%; margin-top: 16px; background: var(--copper-light); border-color: var(--copper-light); color: var(--indigo-deep); }
.gate__submit:hover { background: #F4F7FA; border-color: #F4F7FA; color: var(--indigo-deep); }
.gate__msg {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: #93A6BC;
}
.gate__msg.is-error { color: #E9A98A; }
.gate__msg.is-ok { color: #9FD4C4; }
.gate__shake { animation: gate-shake 420ms var(--ease); }
@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}
.gate__foot {
  max-width: 430px;
  margin-inline: auto;
  width: 100%;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7C90A8;
}

/* ------------------------------------------------------------- 10. HOME */
.opening {
  position: relative;
  padding-top: clamp(44px, 6vw, 92px);
  padding-bottom: clamp(48px, 7vw, 108px);
  background: var(--mist);
}
.opening__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: end;
}
.opening__type { padding-bottom: clamp(0px, 2vw, 34px); }
.opening__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.65rem, 7.6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.034em;
  color: var(--indigo);
}
.opening__title .l2 { display: block; padding-left: clamp(0px, 6vw, 108px); }
.opening__title .l3 { display: block; font-style: italic; color: var(--teal); }
.opening__sub {
  margin-top: clamp(26px, 3vw, 42px);
  max-width: 46ch;
}
.opening__meta {
  margin-top: clamp(26px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--slate-faint);
}
.opening__meta b { color: var(--copper-ink); font-weight: 600; }
.opening__media { position: relative; }
.opening__media .plate img { border: 1px solid var(--line); }

/* Numbered editorial index (core themes) — replaces cards */
.index-list { border-top: 1px solid var(--line-strong); }
.index-item {
  border-bottom: 1px solid var(--line);
  transition: background 320ms var(--ease);
}
a.index-item__row { text-decoration: none; color: inherit; }
.index-item__row {
  display: grid;
  grid-template-columns: 74px minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(12px, 2.4vw, 40px);
  align-items: baseline;
  padding-block: clamp(24px, 2.8vw, 40px);
}
.index-item__n {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--copper-ink);
  font-variant-numeric: tabular-nums;
}
.index-item__t {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--indigo);
  transition: color 320ms var(--ease), transform 420ms var(--ease);
}
.index-item__d { color: var(--slate-soft); font-size: clamp(0.97rem, 1.05vw, 1.045rem); line-height: 1.7; }
.index-item:hover { background: rgba(255, 255, 255, 0.6); }
.index-item:hover .index-item__t { color: var(--teal); }

/* Wide preview band */
.preview {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(30px, 4.5vw, 76px);
  align-items: center;
}
.preview--flip .preview__media { order: 2; }

.bigyear {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  display: block;
}
.sec--dark .bigyear { -webkit-text-stroke-color: var(--line-onDark-2); }

.closing {
  text-align: center;
  max-width: min(900px, 100%);
  margin-inline: auto;
}
.closing__sig {
  margin-top: clamp(30px, 4vw, 48px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8FA2B8;
}

/* -------------------------------------------------------------- 11. ABOUT */
.pagehead { padding-top: clamp(38px, 5vw, 76px); padding-bottom: clamp(38px, 5vw, 72px); }
.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(30px, 4.5vw, 68px);
  align-items: end;
}
.pagehead__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-bottom: clamp(20px, 2.5vw, 32px);
  display: block;
}

/* Book-margin layout: label in the margin, prose in the column */
.margin-note {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(16px, 3vw, 56px);
  align-items: start;
  padding-block: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.margin-note__label {
  position: sticky;
  top: 104px;
}
.margin-note__label .n {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--copper-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.margin-note__label h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  line-height: 1.16;
  letter-spacing: -0.016em;
  color: var(--indigo);
}
.margin-note__body { max-width: 68ch; }

.portrait-band {
  background: var(--indigo);
  color: var(--ice);
}
.portrait-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(30px, 4.5vw, 72px);
  align-items: center;
}

/* ---------------------------------------------------------- 12. TEACHINGS */
.themes {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.theme-index { position: sticky; top: 104px; }
.theme-index__head {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--slate-faint);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 6px;
}
.theme-index a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 0.92rem;
  color: var(--slate-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 240ms var(--ease), padding-left 300ms var(--ease);
}
.theme-index a span { font-size: 0.7rem; font-weight: 600; color: var(--copper-ink); font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.theme-index a:hover, .theme-index a.is-active { color: var(--indigo); padding-left: 7px; }

.theme {
  padding-block: clamp(34px, 4.6vw, 68px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.theme:first-child { border-top: 0; padding-top: 0; }
.theme__n {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--copper-ink);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 14px;
}
.theme__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--indigo);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.theme__cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(22px, 3vw, 52px);
  align-items: start;
}
.theme__aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2vw, 28px);
}
.theme__aside h3 {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.theme__aside p { font-size: 0.945rem; line-height: 1.68; color: var(--slate-soft); }
.theme__aside + .theme__aside { margin-top: 24px; }

.plate-wide { margin-block: clamp(28px, 4vw, 52px); }

/* ------------------------------------------------------------ 13. JOURNEY */
.chapter {
  padding-block: clamp(38px, 5.5vw, 84px);
  border-top: 1px solid var(--line);
  position: relative;
}
.chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 8.8fr);
  gap: clamp(20px, 3.5vw, 64px);
  align-items: start;
}
.chapter__marker { position: relative; }
.chapter__year {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--indigo);
  display: block;
}
.chapter__year small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-top: 14px;
  letter-spacing: 0.2em;
}
.chapter__body { max-width: 70ch; }
.chapter__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--indigo);
  margin-bottom: 16px;
}
.chapter__media { margin-top: clamp(26px, 3vw, 40px); }
.sec--dark .chapter { border-top-color: var(--line-onDark); }
.sec--dark .chapter__year { color: #F2F6FA; }
.sec--dark .chapter__title { color: #F2F6FA; }

.annot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.annot::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.sec--dark .annot { color: var(--copper-light); }

/* ----------------------------------------------------- 14. CONTRIBUTIONS */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(30px, 4.5vw, 76px);
  align-items: center;
}
.factlist { border-top: 1px solid var(--line); }
.factlist__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  padding-block: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.factlist__n { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; color: var(--copper-ink); font-variant-numeric: tabular-nums; }
.factlist__t { font-family: var(--serif); font-weight: 350; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.24; letter-spacing: -0.012em; color: var(--indigo); margin-bottom: 8px; }
.sec--dark .factlist, .sec--dark .factlist__item { border-color: var(--line-onDark); }
.sec--dark .factlist__t { color: #F2F6FA; }

.metric {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.metric__cell { background: var(--pearl); padding: clamp(24px, 3vw, 38px) clamp(18px, 2vw, 28px); }
.metric__n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--indigo);
  display: block;
}
.metric__l { margin-top: 14px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-faint); line-height: 1.5; }
.metric__s { margin-top: 10px; font-size: 0.8rem; line-height: 1.55; color: var(--slate-faint); }

/* ----------------------------------------------------------- 15. INSIGHTS */
.masthead {
  border-top: 2px solid var(--indigo);
  border-bottom: 1px solid var(--line-strong);
  padding-block: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--slate-faint);
}
.masthead b { color: var(--copper-ink); font-weight: 600; }

.lead-art {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(34px, 4.6vw, 68px);
}
.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 3.9em;
  line-height: 0.78;
  padding: 0.06em 0.10em 0 0;
  color: var(--copper-ink);
}
.cols2 { column-count: 2; column-gap: clamp(24px, 3vw, 46px); column-rule: 1px solid var(--line); }
.cols2 > p { break-inside: avoid-column; }
.cols2 > p + p { margin-top: 1.05em; }

.pullquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.22rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.016em;
  color: var(--indigo);
  border-top: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  padding-block: clamp(20px, 2.4vw, 30px);
  text-wrap: pretty;
}

.article-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(14px, 2.6vw, 44px);
  padding-block: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.article-row:last-of-type { border-bottom: 1px solid var(--line); }
.article-row__cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
  padding-top: 0.35em;
  line-height: 1.5;
}
.article-row__t {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.22rem, 2.1vw, 1.72rem);
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--indigo);
}
.article-row__t + p { margin-top: 12px; }

.marginalia {
  font-size: 0.82rem;
  line-height: 1.62;
  color: var(--slate-faint);
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
}
.marginalia b {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 9px;
}

/* ------------------------------------------------------------ 16. CONTACT */
.contact-rows { border-top: 1px solid var(--line-strong); }
.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(10px, 2vw, 40px);
  padding-block: clamp(26px, 3.2vw, 44px);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-row__k {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-faint);
}
.contact-row__v {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--indigo);
}
.contact-row__v a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 260ms var(--ease), border-color 260ms var(--ease);
  overflow-wrap: anywhere;
}
.contact-row__v a:hover { color: var(--copper-ink); border-bottom-color: var(--copper); }
.contact-row__note { margin-top: 12px; font-size: 0.88rem; color: var(--slate-faint); font-family: var(--sans); letter-spacing: 0; }

/* --------------------------------------------------- 17. MOTION & REVEAL
   FAIL-VISIBLE BY DESIGN.
   `.rv` and `.rv-img` carry no hidden state of their own — everything on the
   page, images included, renders fully visible with no JavaScript at all.
   The hidden starting state exists only under `html.js-reveal`, a class that
   the inline head script adds solely when the browser supports
   IntersectionObserver and the visitor has not asked for reduced motion.
   Consequence: if scripting fails, is blocked, or the observer misfires, the
   content still shows. It can never be stranded invisible. */
.js-reveal .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.js-reveal .rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 90ms; }
.rv-d2 { transition-delay: 180ms; }
.rv-d3 { transition-delay: 270ms; }

/* Images are never animated in.
   The old `.rv-img { clip-path: inset(0 0 100% 0) }` wipe is deliberately
   gone, and no `<figure>` or media wrapper carries `.rv` any more. A reveal
   that starts from "invisible" hides a photograph COMPLETELY until a script
   un-hides it, so any hiccup — a missed observer callback, a stalled
   transition, a browser quirk — leaves the reader looking at an empty frame
   where a portrait should be. A photograph is content, not decoration, and
   it is not worth risking for an animation.

   Belt three: any element that still fades and happens to CONTAIN an image
   (a journey chapter, the insights sidebar) opts itself out here, so a photo
   can never be dimmed by an ancestor either. Browsers too old for `:has()`
   fall back to the JS sweep, which reveals anything that reaches the fold. */
.js-reveal .rv:has(img) { opacity: 1; transform: none; }

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

/* --------------------------------------------------------- 18. RESPONSIVE */
@media (max-width: 1180px) {
  .site-head__inner { min-height: 66px; }
  .nav__list { gap: 14px; }
  .nav__link { font-size: 0.70rem; letter-spacing: 0.12em; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .opening__grid,
  .pagehead__grid,
  .grid--7-5, .grid--5-7, .grid--4-8, .grid--8-4, .grid--3-9,
  .preview, .feature, .portrait-band__grid, .lead-art, .theme__cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview--flip .preview__media { order: 0; }
  .opening { background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 62%, var(--pearl) 62%, var(--pearl) 100%); }
  .opening__title .l2 { padding-left: 0; }

  .themes { grid-template-columns: minmax(0, 1fr); }
  .theme-index { position: static; }
  .margin-note { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .margin-note__label { position: static; }
  .chapter__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .theme__aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .marginalia { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 18px; }
  .cols2 { column-count: 1; column-rule: 0; }

  .site-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-foot__mark-col { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .metric { grid-template-columns: minmax(0, 1fr); }
  .article-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .article-row__cat { padding-top: 0; }
  .index-item__row { grid-template-columns: 52px minmax(0, 1fr); }
  .index-item__d { grid-column: 2 / -1; margin-top: 10px; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ledger__k { padding-top: 0; }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .factlist__item { grid-template-columns: 40px minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-head__inner { min-height: 60px; padding-block: 9px; }
  .brand__mark { width: 27px; height: 27px; }
  .brand__name { font-size: 0.97rem; }
  .brand__name small { font-size: 0.535rem; letter-spacing: 0.18em; }
  .nav-panel { padding-top: 88px; }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .site-foot__bar { justify-content: flex-start; }
  .plate figcaption { max-width: none; }
  .plate--keyed::before { display: none; }
  .theme__title, .chapter__title { text-wrap: balance; }
}

@media (max-width: 390px) {
  .brand__name small { display: none; }
  .social__item { width: 40px; height: 40px; }
}

/* Wide screens: keep the measure comfortable */
@media (min-width: 1600px) {
  :root { --wrap: 1480px; }
}

/* -------------------------------------------- 19. PRINT & FORCED COLORS */
@media print {
  .site-head, .nav-panel, .nav-toggle, .progress, .social { display: none !important; }
  body { background: #fff; color: #000; }
  .sec--dark, .site-foot { background: #fff !important; color: #000 !important; }
  .rv, .rv-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media (forced-colors: active) {
  .nav__link::after, .foot-nav a::after, .progress__bar { forced-color-adjust: none; }
  .plate img { forced-color-adjust: none; }
}

/* --------------------------------------------- 20. LATE REFINEMENTS
   Adjustments made during full-page visual QA. */

/* Short side columns track the reading on tall desktop sections. */
@media (min-width: 1001px) {
  .sticky-col { position: sticky; top: 108px; }
}

/* In-body link lists on dark bands need a visible affordance, not hover-only. */
.sec--dark .foot-nav a {
  display: inline-block;
  border-bottom: 1px solid var(--line-onDark);
  padding-bottom: 4px;
}
.sec--dark .foot-nav a:hover { border-bottom-color: var(--copper-light); }
.sec--dark .foot-nav a::after { display: none; }
.sec--dark .foot-nav li + li { margin-top: 14px; }

/* The opening no longer changes ground mid-hero; a hairline marks the fold instead. */
.opening::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--line);
  max-width: var(--wrap);
  margin-inline: auto;
}

/* --------------------------- 21. COPPER ON DARK GROUNDS
   --copper-ink is tuned for light grounds. On the indigo bands the lighter
   copper is the readable one (5.8:1), so every copper text role is remapped. */
.sec--dark .article-row__cat,
.sec--dark .chapter__year small,
.sec--dark .factlist__n,
.sec--dark .theme__n,
.sec--dark .pagehead__kicker,
.sec--dark .index-item__n,
.sec--dark .margin-note__label .n,
.sec--dark .masthead b,
.sec--dark .opening__meta b,
.sec--dark .t-copper,
.sec--dark .theme-index a span,
.portrait-band .eyebrow__n,
.site-foot .foot-contact a:hover { color: var(--copper-light); }

.sec--dark .srcnote a:hover { color: #E0B48C; }
.sec--dark .dropcap::first-letter { color: var(--copper-light); }
