/* AUNM prototype v2 (elevated + streamlined, 2026-11-14)
   One long cinematic home page + Give + Contact. The book PDF is the comprehensive version.
   Brand: tokens.css loads first (Newsreader + Public Sans, text-safe golds). Motion: TEB language (site.js).
   Fixes from reviews/code-review.md + design-review.md are listed in CHANGES-v2.md. */
:root {
  --gold-rule: var(--aunm-gold-500);
  --cream: var(--aunm-gold-100);
  --label: 12.5px;
  --night: var(--aunm-navy-900);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; overflow-x: clip; font-variant-numeric: lining-nums; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hero :focus-visible, .bar:not(.thin) :focus-visible, .navyband :focus-visible, .foot :focus-visible, .scene :focus-visible, .night :focus-visible { outline-color: var(--gold-lt); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--navy); color: #fff; padding: 12px 18px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.flag { display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1px dashed currentColor; font-family: var(--sans); font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; opacity: .8; }

/* Page veil: lifts by CSS alone (no JS / CDN dependency), falls before leaving */
.pt { position: fixed; inset: 0; z-index: 50; background: var(--paper); pointer-events: none; opacity: 0; animation: pt-out .5s var(--ease) both; }
@keyframes pt-out { from { opacity: 1; } to { opacity: 0; } }
body.leaving .pt { animation: none; opacity: 1; transition: opacity .3s var(--ease); }

/* Header */
.bar { position: fixed; left: 0; right: 0; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--bar-h); padding: 0 var(--gutter); color: #fff; background: linear-gradient(to bottom, rgba(8,18,31,.6), rgba(8,18,31,0)); transition: min-height .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease); }
.bar.thin { min-height: 62px; background: var(--paper); color: var(--navy); box-shadow: 0 1px 0 var(--hair); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.brand img { width: clamp(46px, 4.2vw, 58px); height: auto; transition: width .6s var(--ease); filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
.bar.thin .brand img { width: 44px; }
.brand span { font-family: var(--serif); font-weight: 500; font-size: clamp(15px, 1.35vw, 19px); letter-spacing: .01em; line-height: 1.1; }
.brand span small { display: block; font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .82; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a, .nav button { text-decoration: none; font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; position: relative; padding-block: 12px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .give { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--gold); color: #fff; border: 1px solid var(--gold); transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.bar:not(.thin) .nav .give { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--night); }
.nav .give::after { display: none; }
.nav .give:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.bar:not(.thin) .nav .give:hover { background: #fff; border-color: #fff; color: var(--navy); }
@media (max-width: 860px) { .nav a:not(.give) { display: none; } .brand span { font-size: 14px; } }
@media (max-width: 520px) { .nav { gap: 14px; } .nav .give { padding: 0 14px; letter-spacing: .16em; } .brand span small { display: none; } .brand span { font-size: 13px; } }
@media (max-width: 370px) { .brand span { display: none; } }

/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 30; background: rgba(246,241,230,.985); backdrop-filter: blur(10px); color: var(--navy); display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--gutter); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu .close { justify-self: end; min-height: 48px; margin-block: 10px; padding: 0 4px; font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.menu ol { list-style: none; margin: 0; padding: 16px 0; align-self: center; justify-self: center; width: min(100%, 980px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2px, 1vh, 12px) clamp(24px, 5vw, 80px); }
.menu li a { display: grid; grid-template-columns: 2.4em 1fr; align-items: baseline; min-height: 44px; padding-block: 4px; text-decoration: none; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; line-height: 1.2; transition: color .3s var(--ease); }
.menu li a b { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--gold); }
.menu li a:hover, .menu li a[aria-current] { color: var(--red); }
.menu .menu-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: center; padding-block: 20px 30px; }
.menu .menu-cta .btn { margin: 0; }
.menu .menu-cta span { flex-basis: 100%; text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.menu li { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu.open li { opacity: 1; transform: none; }
body.menu-open main, body.menu-open .hero { visibility: hidden; }
@media (max-width: 640px) { .menu ol { grid-template-columns: 1fr; } }

/* Hero: pinned, fades on an S-curve while the page rises over it; slow push toward the focal point */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); color: #fff; will-change: transform, opacity; }
.hero .hm { position: absolute; inset: 0; }
.hero .hm picture { display: contents; }
.hero .hm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: var(--pos, 50% 50%); transform: scale(var(--zoom, 1)); will-change: transform; animation: from-paper .9s var(--ease) both, kb 26s linear .2s both; }
.hero .hm::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.hero .hm::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--overlay-hero); }
.hero.soft .hm::after { background: linear-gradient(to top, rgba(8,18,31,.8) 0%, rgba(8,18,31,.3) 40%, rgba(8,18,31,0) 66%), linear-gradient(to bottom, rgba(8,18,31,.35), rgba(8,18,31,0) 20%); }
@media (max-width: 700px) { .hero .hm img { object-position: 50% 50%; transform-origin: 50% 60%; } }
@keyframes from-paper { from { opacity: 0; } to { opacity: 1; } }
@keyframes kb { from { scale: 1; } to { scale: 1.06; } }
.hero .ht { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(44px, 9vh, 104px); max-width: 1080px; will-change: transform, opacity; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: var(--track-display); margin: 0; text-wrap: balance; }
.hero h1.xl { font-weight: 300; font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); line-height: .98; }
.hero .sub { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-lede); line-height: 1.38; color: var(--cream); margin: 18px 0 0; max-width: 34em; text-wrap: pretty; }
.hero .under { margin: 16px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero .kicker { margin: 0 0 18px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-cta .btn { margin-top: 0; }
.hero .cue { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(44px, 9vh, 104px); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .8; }
.hero .cue::after { content: ""; display: inline-block; width: 1px; height: 54px; margin-top: 14px; background: currentColor; transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.concept-tag { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--bar-h) + 16px); font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.62); }
@media (max-width: 700px) { .hero .cue { display: none; } .hero .concept-tag { display: none; } }
.hero-arrive > * { animation: rise 1.1s var(--ease) both; }
.hero-arrive > *:nth-child(2) { animation-delay: .12s; } .hero-arrive > *:nth-child(3) { animation-delay: .24s; } .hero-arrive > *:nth-child(4) { animation-delay: .36s; } .hero-arrive > *:nth-child(5) { animation-delay: .5s; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }

main { position: relative; z-index: 1; background: var(--paper); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.block { padding-block: var(--section-l); }
.block.tight { padding-block: var(--section-m); }
.navyband { background: var(--navy); color: var(--c-dark-text); }
.night { background: var(--night); color: var(--c-dark-text); }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: var(--label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); margin: 0 0 24px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold-rule); flex: none; }
.hero .eyebrow, .navyband .eyebrow, .night .eyebrow, .scene .eyebrow { color: var(--gold-lt); }
.hero .eyebrow::before, .navyband .eyebrow::before, .night .eyebrow::before, .scene .eyebrow::before { background: var(--gold-lt); }
.center .eyebrow { justify-content: center; }
h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: var(--track-heading); margin: 0; color: var(--navy); text-wrap: balance; }
h2.big { font-weight: 300; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6rem); line-height: 1.02; letter-spacing: var(--track-display); }
.navyband h2, .night h2, .scene h2 { color: #fff; }
.lede { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-lede); line-height: 1.4; color: var(--gold); margin: 22px 0 0; max-width: 30em; text-wrap: pretty; }
.navyband .lede, .night .lede, .scene .lede { color: var(--cream); }
.center { text-align: center; } .center .lede, .center p { margin-inline: auto; }
.copy { margin: 22px 0 0; max-width: 34em; color: var(--ink-soft); text-wrap: pretty; }
.navyband .copy, .night .copy { color: var(--c-dark-text-soft); }
.dash { display: block; width: 48px; height: 1px; background: var(--gold-rule); margin: 30px auto 0; }

/* Statement (TEB motto: rises, lingers, dissolves) */
.statement { text-align: center; padding-block: clamp(110px, 22vh, 260px); }
.statement h2 { font-weight: 300; font-size: var(--fs-display); line-height: 1.02; letter-spacing: var(--track-display); }
.statement .lede { margin-inline: auto; }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Frames: veil lifts, picture settles (TEB media); grain ties renders and film stills together */
.frame { position: relative; overflow: hidden; background: var(--paper-2); margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(var(--zoom, 1)); }
.frame::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.frame.r43 { aspect-ratio: 4 / 3; } .frame.r169 { aspect-ratio: 16 / 9; } .frame.r34 { aspect-ratio: 3 / 4; } .frame.r45 { aspect-ratio: 4 / 5; } .frame.r21 { aspect-ratio: 21 / 9; } .frame.r1 { aspect-ratio: 1; }
.m { opacity: var(--fade, 1); will-change: opacity; }
.m::after { content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none; background: linear-gradient(to bottom, var(--paper) 0%, var(--paper) 40%, rgba(246,241,230,0) 100%); transform: translate3d(0, calc(var(--veil, 0) * -100%), 0); opacity: var(--veil-o, 0); }
.navyband .m::after, .night .m::after, .scene .m::after { background: linear-gradient(to bottom, var(--night) 0%, var(--night) 40%, rgba(14,29,51,0) 100%); }
.book img { filter: saturate(.9) sepia(.06); }
.archival img { filter: grayscale(1) contrast(1.05); }
.art { padding: clamp(10px, 1.2vw, 16px); background: var(--aunm-paper-50); box-shadow: var(--shadow-2); }
.art .frame { outline: 1px solid rgba(184,137,74,.55); outline-offset: -8px; }
figure { margin: 0; }
figcaption { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }
figcaption b { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-right: 10px; }

/* Scene: one cinematic section per center (full-bleed image, short headline, 1-2 lines, one fact) */
.scene { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.scene .frame { position: relative; height: max(92svh, 560px); width: 100%; background: var(--night); }
.scene .frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scene .shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(8,18,31,.9) 0%, rgba(8,18,31,.5) 34%, rgba(8,18,31,0) 62%); }
.scene.left .shade { background: linear-gradient(to right, rgba(8,18,31,.86) 0%, rgba(8,18,31,.45) 38%, rgba(8,18,31,0) 64%), linear-gradient(to top, rgba(8,18,31,.6), rgba(8,18,31,0) 40%); }
.scene.right .shade { background: linear-gradient(to left, rgba(8,18,31,.88) 0%, rgba(8,18,31,.5) 40%, rgba(8,18,31,0) 66%), linear-gradient(to top, rgba(8,18,31,.6), rgba(8,18,31,0) 40%); }
.scene .card { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 9vh, 110px); max-width: 640px; }
.scene.right .card { left: auto; }
.scene.left .card { bottom: auto; top: 50%; transform: translateY(-50%); }
.scene .num { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6vw, 96px); line-height: .85; letter-spacing: -.04em; color: var(--gold-lt); margin-bottom: 14px; }
.scene h2 { font-weight: 300; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5rem); line-height: 1.02; letter-spacing: var(--track-display); }
.scene .line { margin: 20px 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: rgba(238,240,244,.9); max-width: 32em; text-wrap: pretty; }
.scene .fact { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(214,178,115,.4); font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); max-width: 32em; }
.scene .fact strong { font-family: var(--serif); font-size: 30px; font-weight: 300; letter-spacing: 0; text-transform: none; color: #fff; }
.scene .cap { position: absolute; z-index: 4; right: var(--gutter); top: 22px; font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 700px) {
  .scene .frame { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .scene .card, .scene.left .card, .scene.right .card { position: relative; inset: auto; transform: none; margin: -110px var(--gutter) 0; padding-bottom: 56px; }
  .scene .shade, .scene.left .shade, .scene.right .shade { background: linear-gradient(to top, rgba(14,29,51,1) 0%, rgba(14,29,51,.6) 18%, rgba(14,29,51,0) 45%); }
}

/* Seal */
.seal-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
/* Great Seal: complete PD 1885 die impression, pre-tinted gold on transparent (assets/photo/great-seal-full.png).
   Shimmer = a soft diagonal light band that glances across the engraving every 8 s, masked to the seal's own lines
   (transform-only, compositor-friendly), plus a faint breathing glow. Both off under prefers-reduced-motion. */
.seal-row .seal-wrap { position: relative; display: block; width: 100%; max-width: 400px; aspect-ratio: 1; justify-self: center; isolation: isolate; }
.seal-row .seal { position: relative; z-index: 1; width: 100%; height: auto; opacity: .9; mix-blend-mode: screen; }
.seal-wrap::before { content: ""; position: absolute; inset: -6%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214,178,115,.16), rgba(214,178,115,.06) 62%, transparent 100%);
  opacity: .55; animation: seal-breathe 8s ease-in-out infinite; }
.seal-shine { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; mix-blend-mode: plus-lighter;
  -webkit-mask: url(photo/great-seal-full.png) center / contain no-repeat; mask: url(photo/great-seal-full.png) center / contain no-repeat; }
.seal-shine::after { content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 70%; will-change: transform;
  background: linear-gradient(105deg, transparent 0%, rgba(255,226,170,0) 32%, rgba(255,232,186,.28) 44%, rgba(255,246,222,.55) 50%, rgba(255,232,186,.28) 56%, rgba(255,226,170,0) 68%, transparent 100%);
  transform: translate3d(-110%, 0, 0) skewX(-14deg); animation: seal-sweep 8s cubic-bezier(.45,.05,.35,1) 1.2s infinite; }
@keyframes seal-sweep { 0% { transform: translate3d(-110%, 0, 0) skewX(-14deg); } 38%, 100% { transform: translate3d(160%, 0, 0) skewX(-14deg); } }
@keyframes seal-breathe { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .seal-shine { display: none; } .seal-wrap::before { animation: none; opacity: .55; } }
@media (max-width: 860px) { .seal-row { grid-template-columns: 1fr; } .seal-row .seal-wrap { max-width: 240px; } }

/* Stats with count-up */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--hair); margin-top: 44px; }
.stats > div { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--hair); }
.stats strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 4.4vw, 72px); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.stats > div > span { display: block; margin-top: 12px; font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.navyband .stats, .navyband .stats > div, .night .stats, .night .stats > div { border-color: rgba(255,255,255,.16); }
.navyband .stats strong, .night .stats strong { color: #fff; }
.navyband .stats > div > span, .night .stats > div > span { color: var(--gold-lt); }

/* Quote moment */
.quote-moment blockquote { margin: 0 auto; max-width: 22em; text-align: center; }
.quote-moment p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.2; color: var(--navy); margin: 0; text-wrap: balance; }
.quote-moment cite { display: block; margin-top: 22px; font-style: normal; font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Origins beat */
.origin .frame { max-width: 520px; }
.origin .pair { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; margin-top: 26px; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); color: var(--navy); }
.origin .pair span { color: var(--gold); font-style: italic; }

/* Buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; margin-top: 34px; padding: 0 26px; border: 1px solid var(--c-rule-strong); text-decoration: none; font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); background: transparent; transition: color .45s var(--ease), border-color .45s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-inout); }
.btn::after { content: "→"; font-size: 15px; letter-spacing: 0; transition: transform .45s var(--ease); }
.btn.doc::after { content: "↗"; }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--navy); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover::after { transform: translateX(5px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.navyband .btn, .night .btn, .hero .btn, .scene .btn { color: #fff; border-color: rgba(238,240,244,.45); }
.navyband .btn::before, .night .btn::before, .hero .btn::before, .scene .btn::before { background: var(--paper); }
.navyband .btn:hover, .night .btn:hover, .hero .btn:hover, .scene .btn:hover, .navyband .btn:focus-visible, .night .btn:focus-visible, .hero .btn:focus-visible { color: var(--night); border-color: var(--paper); }
.navyband .btn.gold, .night .btn.gold, .hero .btn.gold { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 36px; }
.btn-row .btn { margin-top: 0; }
.center .btn-row { justify-content: center; }
.btn.t { transition: opacity .8s var(--ease), transform .8s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }

/* The book: "Read the full vision" */
.book-cta { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.book-cta .cover { position: relative; aspect-ratio: 3 / 4; max-width: 340px; width: 100%; justify-self: center; background: var(--navy); color: #fff; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-3); transform: rotate(-2deg); transition: transform 1.2s var(--ease); }
.book-cta:hover .cover { transform: rotate(0deg) translateY(-6px); }
.book-cta .cover img { width: 64px; }
.book-cta .cover b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.book-cta .cover i { font-family: var(--serif); color: var(--gold-lt); font-size: 16px; }
.book-cta .cover::after { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: rgba(214,178,115,.5); }
.book-cta .meta { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .book-cta { grid-template-columns: 1fr; } .book-cta .cover { max-width: 220px; } }

/* Form (prototype only, not wired) */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.form label { display: grid; gap: 8px; font-size: var(--label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-dark-meta); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .form select { font: inherit; font-size: 17px; letter-spacing: 0; text-transform: none; color: #fff; background: rgba(255,255,255,.05); border: 0; border-bottom: 1px solid rgba(255,255,255,.3); padding: 12px 10px; border-radius: 2px; min-height: 48px; }
.form select option { color: var(--ink); }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.form .note { grid-column: 1 / -1; font-size: 14px; color: var(--c-dark-meta); margin: 0; }
.form .btn { margin-top: 6px; justify-self: start; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; color: var(--c-dark-text-soft); }
.contact-lines li:first-child { font-family: var(--serif); font-size: 26px; color: #fff; }

/* Footer */
.foot { position: relative; z-index: 1; background: var(--aunm-navy-950); color: var(--c-dark-text-soft); padding: clamp(64px, 8vw, 110px) 0 36px; font-size: 15px; }
.foot .closing { text-align: center; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255,255,255,.1); }
.foot .closing p { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); color: #fff; }
.foot .closing em { display: block; margin-top: 10px; font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.8vw, 24px); color: var(--gold-lt); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.foot .logo { width: 96px; height: auto; margin-bottom: 18px; }
.foot .name { font-family: var(--serif); font-size: 24px; color: #fff; line-height: 1.15; margin: 0; }
.foot .fh { margin: 0 0 14px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lt); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot li a { display: inline-block; padding-block: 4px; }
.foot a { text-decoration: none; transition: color .3s var(--ease); }
.foot a:hover { color: #fff; }
.foot .trust { margin-top: 56px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: var(--c-dark-meta); }
.foot .legal { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8794a8; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }

/* Text reveal (TEB): lines light up as they rise. No-JS: everything visible. */
.js .t { opacity: .07; transform: translate3d(0, 14px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .t.on, .t:focus-within, .t:focus { opacity: 1; transform: none; }
.js .dash.t { opacity: 1; transform: scaleX(0); transition: transform .9s var(--ease); }
.js .dash.t.on { transform: scaleX(1); }
.float { transform: translate3d(0, var(--float, 0px), 0); will-change: transform; }
/* QA helper (?static): every reveal in its final state, for screenshots */
.static .t, .static .m, .static .sk-rv { opacity: 1 !important; transform: none !important; }
.static .bar { transition: none; }
.static .m::after, .static .pt { display: none; }
.static .hero .hm img, .static .hero-arrive > * { animation: none; }
.static *, .static *::before, .static *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
.static form .thanks { animation: none; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { position: relative; }
  .hero .hm img { scale: 1; }
  .t { opacity: 1 !important; transform: none !important; }
  .pt { display: none; }
}
@media print {
  .t, .m { opacity: 1 !important; transform: none !important; }
  .pt, .menu, .cue, .bar { display: none !important; }
  .hero { position: relative; height: auto; min-height: 0; }
}

/* v2 QA fixes (375 px): legibility over bright skies, captions clear of the header */
.hero .ht, .scene .card { text-shadow: 0 1px 22px rgba(8, 18, 31, .35); }
@media (max-width: 700px) {
  .hero .hm::after, .hero.soft .hm::after { background: linear-gradient(to top, rgba(8,18,31,.92) 0%, rgba(8,18,31,.6) 48%, rgba(8,18,31,.12) 78%), linear-gradient(to bottom, rgba(8,18,31,.45), rgba(8,18,31,0) 18%); }
  .scene .cap { display: none; }
  .scene .card, .scene.left .card, .scene.right .card { margin-top: -72px; }
  .scene .shade, .scene.left .shade, .scene.right .shade { background: linear-gradient(to top, rgba(14,29,51,1) 0%, rgba(14,29,51,.75) 16%, rgba(14,29,51,0) 42%); }
}

/* ===================================================== v3 (2026-11-14): Give page, center pages, clickable centers */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.copy.small { font-size: 14px; }

/* Give now: donation card (the payment-provider embed replaces the form; see DONATE_EMBED in build.py) */
.give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.give-intro h2.big { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem); }
.give-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hair); max-width: 34em; }
.give-points li { padding: 18px 0; border-bottom: 1px solid var(--hair); color: var(--ink-soft); }
.give-points b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); }
.give-card { position: relative; background: #fff; box-shadow: var(--shadow-3); padding: clamp(24px, 3.4vw, 48px); border-top: 3px solid var(--gold-rule); }
.donate { display: grid; gap: 26px; }
.donate fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.donate legend, .donate .who label > span, .donate .other-amt > span:first-child { display: block; margin-bottom: 10px; font-size: var(--label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.donate input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--c-rule-strong); }
.other-amt[hidden] { display: none; }
.seg label { position: relative; cursor: pointer; }
.seg label span { display: flex; align-items: center; justify-content: center; min-height: 52px; font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); transition: background .35s var(--ease), color .35s var(--ease); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.amt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.amt { position: relative; cursor: pointer; }
.amt span { display: flex; align-items: center; justify-content: center; min-height: 58px; border: 1px solid var(--c-rule-strong); font-family: var(--serif); font-size: 22px; color: var(--navy); font-variant-numeric: lining-nums; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.amt.other span { font-family: var(--sans); font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.amt:hover span { border-color: var(--navy); transform: translateY(-2px); }
.amt input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }
.donate input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.other-amt { display: block; margin-top: 14px; }
.other-amt .cur { display: flex; align-items: center; border-bottom: 1px solid var(--c-rule-strong); }
.other-amt .cur b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); padding: 0 6px 0 4px; }
.donate input[type=number], .donate input[type=email], .donate input:not([type]) { width: 100%; min-height: 50px; font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--c-rule-strong); padding: 10px 4px; border-radius: 0; }
.other-amt .cur input { border: 0; font-family: var(--serif); font-size: 26px; }
.donate input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.give-btn { margin-top: 0; width: 100%; justify-content: center; min-height: 60px; font-size: 13.5px; }
.give-btn::before { background: var(--navy); }
.give-btn:hover { border-color: var(--navy); }
.tax { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.navyband .tax, .night .tax { color: var(--c-dark-meta); }
.donate-embed { min-height: 420px; }
@media (max-width: 960px) { .give-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .amt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .who { grid-template-columns: 1fr; } .amt span { font-size: 19px; min-height: 52px; } }

/* Thank-you state (pledge, patron, contact): the form settles away, the message rises in its place */
form .thanks { animation: rise .9s var(--ease) both; }
form .thanks h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--navy); }
form .thanks p { margin: 14px 0 0; max-width: 30em; color: var(--ink-soft); font-size: 18px; }
form .thanks .pledge { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair); font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.night form .thanks h3, .navyband form .thanks h3 { color: #fff; }
.night form .thanks p, .navyband form .thanks p { color: var(--c-dark-text-soft); }
form.sent > :not(.thanks) { display: none; }
form .thanks:focus { outline: none; }
#founding-patrons .split { align-items: start; }
#founding-patrons .form { margin-top: 0; }
#founding-patrons .form select { min-height: 48px; }

.form { min-width: 0; }
.form label { min-width: 0; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; }
.form .btn.full { justify-self: start; }

/* Contact: the email form opens the page (no hero), on the dusk campus */
.write { position: relative; z-index: 1; overflow: hidden; background: var(--night); color: var(--c-dark-text); padding: calc(62px + clamp(48px, 8vh, 96px)) 0 clamp(64px, 10vh, 120px); min-height: 100svh; display: flex; align-items: center; }
.write > .wrap { position: relative; z-index: 2; align-items: start; }
.write-bg { position: absolute; inset: 0; z-index: 0; }
.write-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); animation: from-paper 1.2s var(--ease) both; }
.write-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(8,18,31,.94) 0%, rgba(8,18,31,.82) 45%, rgba(8,18,31,.66) 100%); }
.write h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 1.4rem + 4vw, 5.4rem); line-height: 1.02; letter-spacing: var(--track-display); color: #fff; text-wrap: balance; }
.write .eyebrow { color: var(--gold-lt); } .write .eyebrow::before { background: var(--gold-lt); }
.write .lede { color: var(--cream); }
.write-form { margin-top: 0; padding: clamp(22px, 3vw, 40px); background: rgba(14, 29, 51, .72); border-top: 2px solid var(--gold-lt); backdrop-filter: blur(6px); }
.write-form .btn { min-width: 200px; justify-content: center; }
.write :focus-visible { outline-color: var(--gold-lt); }
@media (max-width: 860px) { .write { min-height: 0; } .write-bg::after { background: rgba(8,18,31,.86); } }
.write form .thanks h3 { color: #fff; } .write form .thanks p { color: var(--c-dark-text-soft); }

/* Home: every center opens its page. Image, headline and "Explore" all link; hover = slow push + arrow nudge (TEB) */
.scene-go, .fig-go { display: block; color: inherit; text-decoration: none; }
.scene.go .frame img, .fig-go .frame img { transition: scale 1.6s var(--ease), filter 1.2s var(--ease); }
.scene.go:has(a:hover) .frame img, .scene.go:has(a:focus-visible) .frame img, .fig-go:hover .frame img, .split:has(.h-go:hover) .fig-go .frame img, .split:has(.explore:hover) .fig-go .frame img { scale: 1.045; }
.scene.go .shade { transition: opacity 1.2s var(--ease); }
.scene.go:has(a:hover) .shade { opacity: .9; }
.scene h2 a, .h-go { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .9s var(--ease); }
.scene h2 a:hover, .h-go:hover, .scene h2 a:focus-visible, .h-go:focus-visible { background-size: 100% 1px; }
.explore { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 22px; text-decoration: none; font-size: var(--label); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); position: relative; }
.scene .explore, .navyband .explore, .night .explore { color: var(--gold-lt); }
.explore::after { content: ""; position: absolute; left: 0; right: 30px; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .7s var(--ease); }
.explore .ar { font-size: 16px; letter-spacing: 0; transition: transform .7s var(--ease); }
.explore:hover::after, .explore:focus-visible::after, .scene.go:has(.scene-go:hover) .explore::after { transform: scaleX(1); }
.explore:hover .ar, .explore:focus-visible .ar, .scene.go:has(.scene-go:hover) .explore .ar { transform: translateX(6px); }
.scene .fact + .explore { margin-top: 18px; }

/* Center pages */
.intro-solo { max-width: 900px; }
.intro .copy + .copy { margin-top: 16px; }
.feats-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.feat { padding-block: clamp(28px, 4vw, 56px); }
.feat + .feat { border-top: 1px solid var(--hair); }
.feat h3, .cards h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: var(--track-heading); color: var(--navy); text-wrap: balance; }
.feat .copy { font-size: clamp(17px, 1.2vw, 19px); }
.cards { list-style: none; margin: clamp(28px, 4vw, 56px) 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; border-top: 1px solid var(--hair); counter-reset: c; }
.cards li { position: relative; padding: 30px 28px 34px 0; border-bottom: 1px solid var(--hair); counter-increment: c; }
.cards li .eyebrow { margin-bottom: 16px; }
.cards h3 { font-size: clamp(24px, 2vw, 30px); }
.cards .copy { margin-top: 14px; font-size: 16.5px; }
@media (min-width: 861px) { .cards li + li { padding-left: 28px; border-left: 1px solid var(--hair); } .cards li:nth-child(3n+1) { border-left: 0; padding-left: 0; } }
.lt-intro { padding-bottom: 0; }
.figband .eyebrow { margin-bottom: 30px; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.figs > div { padding: 28px 28px 30px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.figs strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.figs strong em { font-style: italic; color: var(--gold-lt); }
.figs > div > span { display: block; margin-top: 16px; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--c-dark-text-soft); }
.gallery { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.gallery figure { margin: 0; }
.cta-band .meta { margin-top: 20px; font-size: 14px; color: var(--c-dark-meta); }
.cta-band .btn-row { justify-content: center; }
/* Previous / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); }
.pn a { position: relative; display: block; min-height: clamp(220px, 30vw, 360px); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.pn .pn-img { position: absolute; inset: 0; z-index: -1; }
.pn .pn-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: scale 1.6s var(--ease), opacity 1s var(--ease); opacity: .5; }
.pn a:hover .pn-img img, .pn a:focus-visible .pn-img img { scale: 1.05; opacity: .72; }
.pn .pn-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,31,.85), rgba(8,18,31,.15)); }
.pn .pn-t { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vw, 48px); }
.pn .next .pn-t { text-align: right; }
.pn small { display: block; font-size: var(--label); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt); }
.pn b { display: block; margin-top: 12px; font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; text-wrap: balance; }
.pn .prev small::before { content: "← "; } .pn .next small::after { content: " →"; }
.pn + .pn-all, .pn-all { margin: 0; padding: 22px var(--gutter); text-align: center; background: var(--night); border-top: 1px solid rgba(255,255,255,.08); }
.pn-all a { display: inline-block; padding: 10px 4px; color: var(--c-dark-text-soft); font-size: var(--label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.pn-all a:hover { color: #fff; }
@media (max-width: 700px) { .pn { grid-template-columns: 1fr; } .pn .next .pn-t { text-align: left; } .pn a { min-height: 200px; } }
.cj2[data-cj2] { --cj2-top: 62px; }
@media (max-width: 700px) { .scene .shade, .scene.left .shade, .scene.right .shade { background: linear-gradient(to top, rgba(14,29,51,1) 0%, rgba(14,29,51,.88) 20%, rgba(14,29,51,.35) 38%, rgba(14,29,51,0) 52%); } }
