/* Dr. George C. Fraser: site styles
   Tokens first; everything below is driven from them. */

:root {
  /* palette: the existing navy and sky, refined, with one brass accent taken from the portrait */
  --ink: #0c1227;
  --ink-2: #131b38;
  --navy: #273c75;
  --navy-deep: #1b2a55;
  --sky: #4e9dd6;
  --sky-ink: #2f7fbf;          /* sky darkened for text on light grounds (AA) */
  --sky-wash: #e3eef8;
  --paper: #f2f4f6;            /* was #ecf0f1; a touch cleaner */
  --bone: #f6f3ec;             /* warm ground for long reading */
  --white: #fff;
  --brass: #b8955a;
  --brass-soft: #d9c39a;
  --ember: #b04318;             /* deep burnt orange for the accent announcement bar; white on it is 5.7:1 */
  --ember-soft: #ffe4d1;        /* its light partner for labels; 4.7:1 on --ember */
  --text: #1a2340;
  --muted: #59627a;
  --rule: rgba(12, 18, 39, .14);
  --rule-strong: rgba(12, 18, 39, .28);
  --faint: rgba(255, 255, 255, .14);

  /* type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.5rem, 2.2rem + 3.4vw, 5.4rem);
  --fs-h2: clamp(2rem, 1.6rem + 2vw, 3.3rem);
  --fs-h3: clamp(1.3rem, 1.15rem + .7vw, 1.75rem);
  --fs-lead: clamp(1.12rem, 1.04rem + .4vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  /* layout */
  --rail-w: 300px;
  --gutter: clamp(20px, 4vw, 64px);
  --measure: 66ch;
  --content-max: 1120px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(12,18,39,.06), 0 8px 28px rgba(12,18,39,.10);
  --shadow-lg: 0 30px 80px rgba(12,18,39,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --dock-space: 0px;
}

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--fs-body)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.012em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }

/* small caps label used across sections */
.kicker {
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem;
  font: 700 var(--fs-label)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sky-ink);
}
.kicker::before { content: ""; width: 2.2em; height: 2px; background: currentColor; }
.on-dark .kicker { color: var(--sky); }

/* buttons */
.btn {
  --b-bg: var(--navy); --b-fg: #fff; --b-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); text-decoration: none;
  font: 700 .8125rem/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.btn:hover { --b-bg: var(--ink); --b-bd: var(--ink); color: #fff; transform: translateY(-1px); }
.btn--sky { --b-bg: var(--sky); --b-bd: var(--sky); --b-fg: var(--ink); }
.btn--sky:hover { --b-bg: #fff; --b-bd: #fff; color: var(--ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--navy); --b-bd: var(--rule-strong); }
.btn--ghost:hover { --b-bg: var(--navy); --b-bd: var(--navy); color: #fff; }
.on-dark .btn--ghost { --b-fg: #fff; --b-bd: rgba(255,255,255,.4); }
.on-dark .btn--ghost:hover { --b-bg: #fff; --b-bd: #fff; color: var(--ink); }
.btn .icon { width: 1.05em; height: 1.05em; }
.textlink { display: inline-flex; align-items: center; gap: .45em; font: 700 .8125rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--sky-ink); background: none; border: 0; padding: 0; }
.textlink:hover { color: var(--navy); }
.textlink .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }
.on-dark .textlink { color: var(--sky); }
.on-dark .textlink:hover { color: #fff; }

/* ───────── shell: sticky profile rail + main ───────── */
.shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; }
.rail {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--ink); color: #dfe5f2; display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.06);
}
.rail__portrait { position: relative; flex: 1 1 auto; min-height: 180px; overflow: hidden; background: #c9ccd1; }
.rail__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.rail__portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(to top, var(--ink) 18%, rgba(12,18,39,.75) 45%, rgba(12,18,39,0)); }
.rail__id { position: relative; padding: 0 26px; margin-top: -64px; z-index: 1; }
.rail__logo { display: block; width: 168px; height: auto; margin: 0 0 12px; }
.rail__logo img { width: 100%; }
.rail__roles { margin: 0; font: 600 .65rem/1.6 var(--sans); letter-spacing: .13em; white-space: nowrap; text-transform: uppercase; color: #8f9bb8; }
.rail__nav { padding: 18px 14px 6px; }
.rail__nav ol { list-style: none; margin: 0; padding: 0; counter-reset: nav; }
.rail__nav a {
  counter-increment: nav; position: relative; display: flex; align-items: baseline; gap: 14px;
  padding: 8px 12px; border-radius: 6px; text-decoration: none; color: #c9d1e3;
  font: 600 .875rem/1.3 var(--sans); letter-spacing: .02em; transition: color .2s, background .2s;
}
.rail__nav a::before { content: counter(nav, upper-roman); min-width: 1.6em; font: italic 400 .95rem/1 var(--serif); color: #66739a; transition: color .2s; }
.rail__nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.rail__nav a[aria-current="true"] { color: #fff; }
.rail__nav a[aria-current="true"]::before { color: var(--sky); }
.rail__nav a[aria-current="true"]::after { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; background: var(--sky); border-radius: 2px; }
.rail__cta { padding: 10px 26px 26px; }
.rail__cta .btn { width: 100%; }

/* mobile header */
.mbar, .mhead { display: none; }

main { min-width: 0; }
.section { position: relative; padding: clamp(72px, 10vw, 136px) var(--gutter); }
.section__inner { max-width: var(--content-max); margin: 0 auto; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section__head h2 { font-size: var(--fs-h2); }
.section__head h2 em { font-style: italic; color: var(--navy); }
.section__head p { font-size: var(--fs-lead); color: var(--muted); margin: 0; }
.on-dark { background: var(--ink); color: #cfd6e6; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .section__head h2 em { color: var(--sky); }
.on-dark .section__head p { color: #aab4cc; }

/* ───────── HERO: shared ───────── */
.hero { position: relative; }
.hero__quote { font-family: var(--serif); font-weight: 400; font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.025em; margin: 0; color: var(--ink); text-wrap: balance; }
.hero__quote em { font-style: italic; font-weight: 400; color: var(--navy); }
.hero__cite { margin: 26px 0 0; font: 700 var(--fs-label)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .8em; }
.hero__cite::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* reel card */
.reel {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); color: #fff;
  border-radius: var(--radius); overflow: hidden; text-align: left; box-shadow: var(--shadow);
}
.reel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.reel:hover img { transform: scale(1.04); }
.reel__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .35s var(--ease), background .3s;
}
.reel__play .icon { width: 26px; height: 26px; margin-left: 4px; }
.reel:hover .reel__play { transform: scale(1.08); background: #fff; }
.reel__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 44px 20px 16px; background: linear-gradient(to top, rgba(12,18,39,.92), rgba(12,18,39,0)); }
.reel__title { font: italic 400 1.2rem/1.2 var(--serif); }
.reel__dur { font: 700 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); white-space: nowrap; }

/* ───────── HERO: the screening room ───────── */
.hero--b { background: var(--ink); color: #fff; min-height: min(92vh, 900px); display: grid; overflow: hidden; isolation: isolate; }
.screen__media { position: absolute; inset: 0; z-index: -2; }
.screen__media video, .screen__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.85); }
/* duotone: navy in the shadows, sky in the lights */
.screen__media::before { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: multiply; z-index: 1; }
.screen__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 90% at 20% 100%, rgba(12,18,39,.92) 0%, rgba(12,18,39,.55) 45%, rgba(12,18,39,.15) 100%); }
.screen__grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.screen__body { align-self: end; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); max-width: calc(var(--content-max) + 2 * var(--gutter)); width: 100%; margin: 0 auto; }
.screen__body .hero__quote { color: #fff; max-width: 15ch; font-size: clamp(2.5rem, 1.9rem + 3.4vw, 5.4rem); }
.screen__body .hero__quote em { color: var(--sky); }
.screen__body .hero__cite { color: #aab4cc; }
.screen__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.screen__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font: 600 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #aab4cc; }
.screen__facts b { font: 500 1.15rem/1 var(--serif); letter-spacing: 0; color: #fff; margin-right: .35em; text-transform: none; }
.screen__actions { margin: 0; align-items: center; gap: 16px; }
/* player controls: slim and quiet so they read as controls, not a second call to action */
.screen__ctl { display: flex; align-items: center; gap: 2px; padding: 2px 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(12,18,39,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.screen__btn { display: grid; place-items: center; width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: #aab4cc; transition: background .2s, color .2s; }
.screen__btn:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (pointer: coarse) { .screen__btn { width: 42px; height: 36px; } }
.screen__btn .icon { width: 16px; height: 16px; }

/* ───────── ABOUT ───────── */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.about__clip { position: relative; }
.vclip { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.vclip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform 1.2s var(--ease); }
.vclip:hover img { transform: scale(1.03); }
.vclip .reel__play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
.vclip__cap { margin: 12px 2px 0; font: 600 .75rem/1.5 var(--sans); letter-spacing: .08em; color: var(--muted); }
.about__quote { margin: 0 0 32px; padding: 0; }
.about__quote blockquote { margin: 0; font: italic 400 clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem)/1.18 var(--serif); letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
.about__quote blockquote::before { content: "\201C"; display: block; height: .5em; margin-bottom: .1em; font: 400 4.5rem/1 var(--serif); color: var(--brass); }
.about__quote figcaption { margin-top: 16px; font: 700 var(--fs-label)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.about__intro { font-size: var(--fs-lead); line-height: 1.6; max-width: var(--measure); }

/* ───────── BIOGRAPHY ───────── */
.bio { background: var(--bone); }
.bio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(36px, 6vw, 96px); align-items: start; }
.bio__text { position: relative; max-width: var(--measure); font-family: var(--serif); font-size: 1.22rem; line-height: 1.68; color: #262f4a; }
.bio__text p:first-child::first-letter { float: left; margin: .07em .1em 0 0; font: 500 4.4em/.8 var(--serif); color: var(--navy); }
.bio__more { position: relative; overflow: hidden; max-height: 0; transition: max-height .7s var(--ease); }
.bio__text.is-open .bio__more { max-height: 2400px; }
.bio__fade { position: absolute; left: 0; right: 0; bottom: 64px; height: 110px; background: linear-gradient(to bottom, rgba(246,243,236,0), var(--bone)); pointer-events: none; transition: opacity .4s; }
.bio__text.is-open .bio__fade { opacity: 0; }
.bio__toggle { margin-top: 8px; }
.bio__toggle .icon { transition: transform .3s var(--ease); }
.bio__text.is-open .bio__toggle .icon { transform: rotate(180deg); }
.bio__figure { position: sticky; top: 40px; margin: 0; }
.bio__figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--rule), var(--shadow); }
.bio__figure figcaption { margin-top: 22px; font: italic 400 1rem/1.45 var(--serif); color: var(--muted); }
.books { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--rule-strong); }
.books__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.books__head h3 { font-size: var(--fs-h3); }
.books__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(24px, 3vw, 44px); }
.book a { display: grid; gap: 16px; text-decoration: none; color: inherit; }
.book__cover { position: relative; height: clamp(250px, 21vw, 310px); display: flex; align-items: flex-end; justify-content: center; padding: 22px 20px 0; background: linear-gradient(180deg, #e9e3d6, #ddd4c2); border-radius: 2px; overflow: hidden; }
/* every cover shares one height so the row reads as a shelf, whatever each cover's proportions */
.book__cover img { height: 100%; width: auto; max-width: 100%; object-fit: contain; box-shadow: -6px 10px 24px rgba(12,18,39,.3), inset 4px 0 0 rgba(255,255,255,.3); transition: transform .5s var(--ease); transform-origin: bottom center; }
.book a:hover .book__cover img { transform: translateY(-6px) rotate(-1deg); }
.book__title { font: 500 1.25rem/1.2 var(--serif); color: var(--ink); }
.book__sub { margin-top: 4px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.book__buy { margin-top: 10px; }

/* ───────── LEGACY (Hall of Fame) ───────── */
.legacy { overflow: hidden; }
.legacy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 85% 0%, rgba(78,157,214,.16), rgba(78,157,214,0) 70%); pointer-events: none; }
.legacy__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.legacy__grid .reel { box-shadow: 0 0 0 1px rgba(255,255,255,.1), var(--shadow-lg); }
.legacy h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem); margin-bottom: 20px; }
.legacy__body { color: #b9c2d8; }
.legacy__more { overflow: hidden; max-height: 0; transition: max-height .6s var(--ease); }
.legacy__body.is-open .legacy__more { max-height: 1600px; }
.legacy__credit { font: italic 400 .95rem/1.5 var(--serif); color: #8592b0; }
.legacy__toggle .icon { transition: transform .3s var(--ease); }
.legacy__body.is-open .legacy__toggle .icon { transform: rotate(180deg); }

/* ───────── GALLERY ───────── */
.gallery { padding-inline: 0; background: var(--ink-2); }
.gallery .section__head, .gallery__controls { padding-inline: var(--gutter); max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; }
.gallery .section__head { margin-bottom: 0; }
.gallery__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto clamp(28px, 4vw, 44px); padding-inline: var(--gutter); }
.gallery__top .section__head { padding: 0; margin: 0; }
.gallery__nav { display: flex; align-items: center; gap: 10px; flex: none; }
.gallery__count { min-width: 5.5em; text-align: right; font: 500 1rem/1 var(--serif); color: #8f9bb8; font-variant-numeric: tabular-nums; }
.round { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.round:hover:not(:disabled) { background: #fff; color: var(--ink); border-color: #fff; }
.round:disabled { opacity: .3; cursor: default; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 24px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { height: 6px; } .strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 3px; }
.strip__item { flex: none; scroll-snap-align: start; margin: 0; width: clamp(240px, 30vw, 380px); }
.strip__item:nth-child(3n+2) { width: clamp(260px, 36vw, 460px); }
.strip__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #1d2547; border-radius: 3px; overflow: hidden; }
.strip__btn img { width: 100%; height: clamp(300px, 34vw, 460px); object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.92); }
.strip__btn:hover img { transform: scale(1.035); filter: none; }
.strip__btn .icon { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(12,18,39,.55); color: #fff; opacity: 0; transition: opacity .3s; }
.strip__btn:hover .icon, .strip__btn:focus-visible .icon { opacity: 1; }
.strip__item figcaption { margin-top: 12px; font: italic 400 1rem/1.4 var(--serif); color: #b9c2d8; }

/* ───────── EVENTS ───────── */
.events { background: var(--paper); }
.events__label { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 700 var(--fs-label)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.events__label::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); }
.events__label .count { color: var(--muted); font-weight: 600; }
.upcoming { display: grid; gap: 22px; margin-bottom: clamp(56px, 7vw, 88px); }
.feature { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature__media { position: relative; min-height: 340px; background: var(--ink); }
.poster { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.poster__blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.poster img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.feature__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3.5vw, 44px); }
.feature__body h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.2rem); }
.tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 700 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--sky-wash); color: var(--navy); }
.tag--brass { background: #f3ead8; color: #7a5d2a; }
.tag--live { background: var(--navy); color: #fff; }
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(78,157,214,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(78,157,214,0); } 100% { box-shadow: 0 0 0 0 rgba(78,157,214,0); } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--muted); }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts .icon { color: var(--sky-ink); margin-top: .22em; }
.desc { margin: 0; }
.desc p, .desc ul { margin: 0 0 .85em; }
.desc > :last-child { margin-bottom: 0; }
.desc ul { padding-left: 1.2em; }
.desc li { margin: .25em 0; }
.desc li::marker { color: var(--sky-ink); }
.desc strong { font-weight: 700; color: var(--ink); }
.desc .desc__head { margin: 1.1em 0 .4em; font: 700 var(--fs-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-ink); }
.desc > .desc__head:first-child { margin-top: 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.upcoming__more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: left; border: 0; width: 100%; color: inherit; }
.mini img { width: 96px; height: 120px; object-fit: cover; border-radius: 3px; background: var(--ink); }
.mini h4 { font-size: 1.15rem; margin: 6px 0 6px; }
.mini p { margin: 0; font-size: .875rem; color: var(--muted); }
.datechip { font: 700 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); }

/* upcoming events on the dark ground, matching the empty state */
.feature, .mini { background: var(--ink); color: #cfd6e6; }
.feature h3, .mini h4 { color: #fff; }
.feature__media { border-right: 1px solid rgba(255,255,255,.08); }
.feature .facts, .mini p { color: #aab4cc; }
.feature .facts .icon, .mini .datechip { color: var(--sky); }
.feature .tag { background: rgba(78,157,214,.16); color: var(--sky); }
.feature .tag--brass { background: rgba(184,149,90,.18); color: var(--brass-soft); }
.feature .tag--live { background: rgba(255,255,255,.1); color: #fff; }
.feature .links .btn:not(.btn--ghost) { --b-bg: var(--sky); --b-bd: var(--sky); --b-fg: var(--ink); }
.feature .links .btn:not(.btn--ghost):hover { --b-bg: #fff; --b-bd: #fff; color: var(--ink); }
.feature .btn--ghost { --b-fg: #fff; --b-bd: rgba(255,255,255,.4); }
.feature .btn--ghost:hover { --b-bg: #fff; --b-bd: #fff; color: var(--ink); }
.feature a:not(.btn) { color: var(--sky); }
.feature .desc strong { color: #fff; }
.feature .desc li::marker, .feature .desc .desc__head { color: var(--sky); }
.feature .card__date { left: 16px; top: 16px; min-width: 60px; padding: 8px 10px 7px; }
.feature .card__date b { font-size: 1.75rem; }
.mini:hover h4 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }

/* empty state for upcoming */
.between { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); color: #cfd6e6; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.between__copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.between__copy h3 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); }
.between__copy h3 em { color: var(--sky); }
.between__copy p { margin: 0; color: #aab4cc; }
.between__recent { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: clamp(24px, 3vw, 40px); background: rgba(255,255,255,.04); border-left: 1px solid rgba(255,255,255,.08); text-align: left; color: inherit; border-top: 0; border-right: 0; border-bottom: 0; width: 100%; }
.between__recent img { width: 150px; height: 190px; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-lg); }
.between__recent h4 { color: #fff; font-size: 1.3rem; margin: 8px 0; }
.between__recent .datechip { color: var(--sky); }
.between__recent p { margin: 0; font-size: .9rem; color: #aab4cc; }
.between__recent:hover h4 { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }

/* past events */
.past { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 30px 22px; }
.past__item[hidden] { display: none; }
.card { display: grid; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--ink); }
.card__media .poster img { transition: transform .8s var(--ease); }
.card:hover .card__media .poster img { transform: scale(1.04); }
.card__date { position: absolute; left: 10px; top: 10px; z-index: 1; display: grid; place-items: center; min-width: 52px; padding: 7px 8px 6px; background: #fff; border-radius: 3px; box-shadow: 0 4px 14px rgba(0,0,0,.25); text-align: center; }
.card__date span { font: 700 .625rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-ink); }
.card__date b { font: 500 1.5rem/1 var(--serif); color: var(--ink); margin: 3px 0 2px; }
.card__date i { font: 600 .625rem/1 var(--sans); font-style: normal; letter-spacing: .1em; color: var(--muted); }
.card h4 { font-size: 1.15rem; line-height: 1.22; }
.card:hover h4 { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.card p { margin: 0; font-size: .85rem; color: var(--muted); }
.past__more { display: flex; justify-content: center; margin-top: 40px; }

/* ───────── GET CONNECTED ───────── */
.connect { background: var(--white); }
.connect__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); }
.connect__intro .section__head { margin: 0; }
.connect__intro > p { align-self: end; margin: 0; color: var(--muted); font-size: 1.05rem; }
.services { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.service { position: relative; }
.service + .service { border-left: 1px solid var(--rule); }
.service button { display: flex; flex-direction: column; gap: 14px; height: 100%; width: 100%; padding: 28px 24px 26px; border: 0; background: none; text-align: left; color: inherit; transition: background .3s var(--ease); }
.service button:hover { background: var(--paper); }
.service .icon { width: 34px; height: 34px; stroke-width: 1.4; color: var(--navy); }
.service h3 { font-size: 1.35rem; }
.service p { margin: 0; font-size: .925rem; line-height: 1.55; color: var(--muted); flex: 1; }
.service .textlink { margin-top: 4px; }
.formwrap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 56px); background: var(--ink); color: #cfd6e6; border-radius: var(--radius-lg); }
.formwrap__aside h3 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 16px; }
.formwrap__aside h3 em { color: var(--sky); }
.formwrap__aside p { color: #aab4cc; }
.formwrap__aside .promise { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: .925rem; }
.formwrap__aside .promise li { display: flex; gap: 10px; }
.formwrap__aside .promise .icon { color: var(--sky); margin-top: .25em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font: 700 .6875rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #aab4cc; }
.field label .req { color: var(--sky); margin-left: .25em; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: 14px 16px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05); color: #fff; font: 400 1rem/1.4 var(--sans); transition: border-color .2s, background .2s;
}
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e9dd6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: rgba(78,157,214,.08); }
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; font-size: .925rem; color: #cfd6e6; cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--sky); border-color: var(--sky); }
.check input:checked::after { opacity: 1; }
.interests { border: 0; margin: 0; padding: 0; }
.interests legend { padding: 0; margin-bottom: 12px; line-height: 1.5; }
.interests__hint { margin-left: .6em; font-weight: 600; letter-spacing: .08em; text-transform: none; color: #8592b0; }
.interests__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.interests .check { grid-column: auto; font: 400 .95rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: #dfe5f2; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.03); line-height: 1.4; transition: border-color .2s, background .2s; }
.interests .check:hover { border-color: rgba(255,255,255,.35); }
.interests .check:has(input:checked) { border-color: var(--sky); background: rgba(78,157,214,.1); }
.interests .check input { margin-top: -1px; }
.interests .check:has(input:checked) { color: #fff; }
.interests[aria-invalid="true"] .interests__grid .check { border-color: #ff8a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form__status.is-ok { color: #9fd6a9; }
.form__status.is-err { color: #ff9f9f; }
.form.is-sent { opacity: .5; pointer-events: none; }

/* ───────── announcement bar ─────────
   Three themes chosen in the admin (content.announcement.theme): dark (default), light, accent.
   Every color comes from the --an-* tokens, so a theme is just a token set. */
.announce {
  --an-bg: var(--ink); --an-fg: #fff; --an-kicker: var(--sky); --an-muted: #aab4cc;
  --an-bell-bg: var(--sky); --an-bell-fg: var(--ink);
  --an-line: rgba(255,255,255,.35); --an-pill: rgba(255,255,255,.4);
  --an-pill-hover-bg: var(--sky); --an-pill-hover-fg: var(--ink); --an-title-hover: var(--sky);
  --an-close: #8f9bb8; --an-close-hover-bg: rgba(255,255,255,.08); --an-close-hover: #fff;
  --an-ring: rgba(255,255,255,.06);
  position: fixed; z-index: 60; right: 24px; bottom: 24px; width: min(440px, calc(100vw - 32px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 14px 14px 16px; background: var(--an-bg); color: var(--an-fg); border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--an-ring);
  transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.announce[data-theme="light"] {
  --an-bg: var(--white); --an-fg: var(--ink); --an-kicker: var(--navy); --an-muted: var(--muted);
  --an-bell-bg: var(--sky-wash); --an-bell-fg: var(--navy);
  --an-line: rgba(12,18,39,.3); --an-pill: var(--rule-strong);
  --an-pill-hover-bg: var(--navy); --an-pill-hover-fg: #fff; --an-title-hover: var(--navy);
  --an-close: var(--muted); --an-close-hover-bg: rgba(12,18,39,.06); --an-close-hover: var(--ink);
  --an-ring: rgba(12,18,39,.1);
}
.announce[data-theme="accent"] {
  --an-bg: var(--ember); --an-fg: #fff; --an-kicker: var(--ember-soft); --an-muted: var(--ember-soft);
  --an-bell-bg: var(--ink); --an-bell-fg: var(--ember-soft);
  --an-line: rgba(255,255,255,.5); --an-pill: rgba(255,255,255,.6);
  --an-pill-hover-bg: #fff; --an-pill-hover-fg: var(--ember); --an-title-hover: #fff;
  --an-close: var(--ember-soft); --an-close-hover-bg: rgba(255,255,255,.14); --an-close-hover: #fff;
  --an-ring: rgba(255,255,255,.12);
}
.announce[hidden] { display: none; }
.announce.is-in { transform: none; opacity: 1; }
.announce__bell { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--an-bell-bg); color: var(--an-bell-fg); }
.announce__bell .icon { width: 20px; height: 20px; transform-origin: 50% 10%; animation: ring 4s ease-in-out 1.2s infinite; }
@keyframes ring { 0%, 12%, 100% { transform: rotate(0); } 2% { transform: rotate(14deg); } 4% { transform: rotate(-12deg); } 6% { transform: rotate(9deg); } 8% { transform: rotate(-6deg); } 10% { transform: rotate(3deg); } }
.announce__kicker { display: block; font: 700 .625rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--an-kicker); margin-bottom: 5px; }
.announce__text { margin: 0; font: 500 1rem/1.3 var(--serif); color: var(--an-fg); }
.announce__text button { color: var(--an-fg); background: none; border: 0; padding: 0; font: inherit; text-align: left; text-decoration: underline; text-decoration-color: var(--an-line); text-underline-offset: .18em; }
.announce__text button:hover { text-decoration-color: var(--an-title-hover); color: var(--an-fg); }
/* link as a thin pill button on its own line */
.announce__text a { display: flex; width: fit-content; align-items: center; margin-top: 10px; padding: 5px 14px; border: 1px solid var(--an-pill); border-radius: 999px; color: var(--an-fg); text-decoration: none; font: 700 .6875rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; }
.announce__text a:hover { background: var(--an-pill-hover-bg); border-color: var(--an-pill-hover-bg); color: var(--an-pill-hover-fg); }
.announce__more { display: block; margin-top: 4px; font: 600 .75rem/1.3 var(--sans); color: var(--an-muted); background: none; border: 0; padding: 0; text-align: left; }
.announce__more:hover { color: var(--an-fg); }
.announce__close { align-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--an-close); }
.announce__close:hover { background: var(--an-close-hover-bg); color: var(--an-close-hover); }
.announce :focus-visible { outline-color: var(--an-fg); }

/* ───────── dialogs ───────── */
dialog { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; color: inherit; }
dialog::backdrop { background: rgba(6, 9, 20, .86); backdrop-filter: blur(4px); }
.dlg-close { position: fixed; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(12,18,39,.6); color: #fff; }
.dlg-close:hover { background: #fff; color: var(--ink); }
.vmodal { width: min(1200px, 92vw); }
.vmodal video { width: 100%; max-height: 82vh; background: #000; border-radius: 6px; box-shadow: var(--shadow-lg); }
.vmodal--tall { width: min(440px, 92vw); }
.vmodal__cap { margin-top: 12px; font: italic 400 1rem/1.4 var(--serif); color: #aab4cc; text-align: center; }
.lightbox { width: 100vw; height: 100vh; }
.lightbox__stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: 100%; height: 100%; padding: 72px clamp(12px, 8vw, 110px) 24px; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__cap { margin: 16px auto 0; max-width: 60ch; text-align: center; font: italic 400 1.1rem/1.4 var(--serif); color: #dfe5f2; }
.lightbox__cap span { display: block; margin-top: 6px; font: 600 .75rem/1 var(--sans); font-style: normal; letter-spacing: .14em; color: #8f9bb8; }
.lightbox .round { position: fixed; top: 50%; margin-top: -24px; background: rgba(12,18,39,.5); }
.lightbox .round.prev { left: 16px; } .lightbox .round.next { right: 16px; }
.evmodal { width: min(980px, 94vw); }
.evmodal__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--white); color: var(--text); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-height: 88vh; }
.evmodal__media { position: relative; min-height: 320px; }
.evmodal__body { padding: clamp(24px, 3.5vw, 44px); overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.evmodal__body h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ───────── ATG branding footer (shared house block) ─────────
   Portable: set the three --atg-foot-* tokens per site; nothing else changes. */
.atg-foot {
  --atg-foot-fg: var(--paper, #fff);
  --atg-foot-muted: rgba(255, 255, 255, .69);
  --atg-foot-line: var(--faint, rgba(255, 255, 255, .14));
  text-align: center; color: var(--atg-foot-fg);
  border-top: 1px solid var(--atg-foot-line);
  padding: clamp(36px, 6vh, 56px) 16px calc(clamp(28px, 5vh, 44px) + var(--dock-space, 0px));
  transition: padding .5s ease;
}
.atg-foot__copy { margin: 0; font-size: clamp(15px, 1vw + 8px, 18px); font-weight: 500; }
.atg-foot__credit {
  margin: 2.25vh 0 0; font-family: system-ui, sans-serif; font-size: 90%; font-weight: 400;
  text-transform: lowercase; color: #eee;
}
.atg-foot__brand { display: inline-block; margin-left: .14rem; text-transform: lowercase; }
.atg-foot__brand a { color: var(--atg-foot-fg); text-decoration: none; }
.atg-foot__brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atg-foot__brand::after {
  /* external-link mark as a masked SVG so it takes the text color; swap to FA ("\f14c") on sites that load the kit */
  content: ""; display: inline-block; width: .74em; height: .74em; margin-left: .3rem; vertical-align: -.04em;
  background-color: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.atg-foot__brand b { font-weight: 700; }
.atg-foot__tag-link { display: inline-block; margin-top: 1.5vh; border-radius: 50%; }
.atg-foot__tag {
  display: inline-block; vertical-align: middle; border-radius: 50%;
  filter: grayscale(100%); transform: scale(1);
  transition: filter 1s ease-in-out, transform 1s ease-in-out;
}
.atg-foot__tag-link:hover .atg-foot__tag,
.atg-foot__tag-link:focus-visible .atg-foot__tag { filter: grayscale(0%); transform: scale(1.25); }
.atg-foot__tag-link:focus-visible { outline: 2px solid var(--atg-foot-fg); outline-offset: 6px; }
.site-foot { background: var(--ink); }

/* ───────── responsive ───────── */
@media (max-width: 1180px) {
  :root { --rail-w: 260px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .feature { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail {
    position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(320px, 86vw); height: 100%;
    transform: translateX(-102%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
  }
  .rail.is-open { transform: none; }
  .rail__portrait { flex: 0 0 34vh; }
  .rail__nav { overflow: auto; }
  .scrim { position: fixed; inset: 0; z-index: 65; background: rgba(6,9,20,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .scrim.is-on { opacity: 1; pointer-events: auto; }
  .mbar {
    display: flex; position: sticky; top: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 16px;
    height: 64px; padding: 0 16px; background: rgba(12,18,39,.96); backdrop-filter: blur(8px);
  }
  .mbar__logo { transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .mbar__logo img { height: 34px; width: auto; }
  /* while the headshot banner is on screen it already carries the logo; the bar shows only Menu */
  .mbar[data-logo="hidden"] .mbar__logo { opacity: 0; transform: translateY(6px); pointer-events: none; }
  .mbar[data-logo="hidden"] { justify-content: flex-end; }
  .mbar[data-logo="hidden"] .mbar__logo { position: absolute; left: 16px; }
  .mhead { display: block; position: relative; height: 58vh; height: min(58svh, 560px); min-height: 340px; overflow: hidden; background: #c9ccd1; }
  .mhead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
  .mhead::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, var(--ink) 12%, rgba(12,18,39,.7) 45%, rgba(12,18,39,0)); }
  .mhead__id { position: absolute; left: 16px; right: 16px; bottom: 20px; z-index: 1; }
  .mhead__logo { width: 190px; height: auto; margin-bottom: 10px; }
  .mhead__roles { margin: 0; font: 600 .6875rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #aab4cc; }
  /* anchored sections clear the sticky bar */
  main [id] { scroll-margin-top: 64px; }
  .mbar__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: 700 .6875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .about__grid, .bio__grid, .legacy__grid, .connect__intro, .formwrap, .between { grid-template-columns: minmax(0, 1fr); }
  .about__clip { max-width: 300px; }
  .bio__figure { position: static; max-width: 420px; }
  .between__recent { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  .section { padding-block: 64px; }
  .feature, .evmodal__card { grid-template-columns: minmax(0, 1fr); }
  .feature__media { min-height: 0; aspect-ratio: 4 / 5; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .evmodal__media { min-height: 0; aspect-ratio: 1; }
  .evmodal__card { max-height: 90vh; overflow: auto; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service + .service { border-left: 0; border-top: 1px solid var(--rule); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .interests__grid { grid-template-columns: minmax(0, 1fr); }
  .formwrap { padding: 24px 18px; }
  .gallery__top { flex-direction: column; align-items: flex-start; }
  .gallery__count { text-align: left; min-width: 0; margin-right: auto; }
  .gallery__nav { width: 100%; }
  .strip__item, .strip__item:nth-child(3n+2) { width: 78vw; }
  .strip__btn img { height: 104vw; max-height: 480px; }
  .between__recent { grid-template-columns: 96px minmax(0, 1fr); }
  .between__recent img { width: 96px; height: 120px; }
  .announce { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .hero--b { min-height: 0; }
  .hero--b .screen__body { padding-top: 56px; }
  .hero--b .kicker { display: none; }   /* the headshot banner above already says this */
  .screen__actions { width: 100%; justify-content: space-between; }
  .books__head { flex-direction: column; align-items: flex-start; }
  .past { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .books__list { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .book__title { font-size: 1.05rem; }
  .book__cover { height: 54vw; max-height: 260px; padding: 16px 14px 0; }
  .lightbox .round { top: auto; bottom: 18px; margin: 0; }
  .lightbox__stage { padding-bottom: 84px; }
}
