:root {
  --ink: #0e0d0b;
  --ink-2: #1a1916;
  --ivory: #f3efe7;
  --paper: #faf8f3;
  --stone: #8a857b;
  --stone-dark: #5c5850;
  --line: rgba(14, 13, 11, 0.14);
  --line-dark: rgba(243, 239, 231, 0.16);
  --gold: #b8955a;
  --gold-soft: #d9c39a;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* Placeholder text — anything still in [brackets] */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(184,149,90,.14) 0 6px, rgba(184,149,90,.06) 6px 12px);
  outline: 1px dashed rgba(184,149,90,.6);
  outline-offset: 2px;
  border-radius: 2px;
  color: inherit;
  opacity: .85;
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  color: var(--ivory);
  background: rgba(14,13,11,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  font-size: 13px; letter-spacing: .04em;
}
.nav.show { transform: none; }
.nav a { text-decoration: none; opacity: .75; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav-name { font-family: var(--serif); font-size: 16px; letter-spacing: .02em; opacity: 1 !important; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-cta {
  opacity: 1 !important; padding: 6px 12px; border: 1px solid var(--gold);
  color: var(--gold-soft); border-radius: 99px;
}
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; color: var(--ivory);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 22px var(--gutter) 28px; overflow: hidden;
  isolation: isolate;
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .7;
  position: relative; z-index: 2;
}
.hero-portrait {
  position: absolute; z-index: -1; margin: 0;
  right: 0; top: 0; bottom: 0; width: min(62vw, 900px);
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  filter: grayscale(1) contrast(1.05) brightness(.82);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  opacity: 0; transform: scale(1.06);
  transition: opacity 2.4s ease, transform 3.5s var(--ease);
}
.loaded .hero-portrait img { opacity: .9; transform: none; }

.hero-name {
  align-self: end; position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 15.5vw, 260px); line-height: .86; letter-spacing: -.02em;
  margin-bottom: 28px;
}
.hero-title {
  display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; margin: 0 0 18px 4px; color: var(--gold-soft);
}
.hero-name .line { display: block; overflow: hidden; }
.hero-name .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.4s var(--ease); }
.hero-name .line:nth-of-type(2) > span { transition-delay: .12s; }
.loaded .hero-name .line > span { transform: none; }

.hero-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-top: 18px;
}
.hero-dates { margin: 0; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.hero-burial {
  text-decoration: none; font-size: 13px; padding: 9px 16px;
  border: 1px solid var(--gold); color: var(--gold-soft); border-radius: 99px;
  background: rgba(14,13,11,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .25s, color .25s;
}
.hero-burial:hover { background: var(--gold); color: var(--ink); }
.hero-scroll { font-size: 12px; opacity: .55; letter-spacing: .08em; }

@media (max-width: 700px) {
  .hero-portrait { width: 100%; }
  .hero-portrait img {
    -webkit-mask-image: linear-gradient(to top, transparent 15%, #000 70%);
    mask-image: linear-gradient(to top, transparent 15%, #000 70%);
  }
  .loaded .hero-portrait img { opacity: .62; }
  .hero-meta span:nth-child(3) { display: none; }
  .hero-scroll { display: none; }
}

/* ── Statement ───────────────────────────────────────── */
.statement {
  min-height: 90svh; display: grid; place-items: center;
  padding: 18vh var(--gutter); color: var(--ivory); background: var(--ink);
}
.statement p {
  max-width: 21ch; margin: 0; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(30px, 5.4vw, 72px); line-height: 1.12;
}

/* ── Reveal ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Story / timeline ────────────────────────────────── */
.story { background: var(--paper); position: relative; }
.ruler {
  position: sticky; top: 0; z-index: 20; height: 54px;
  background: linear-gradient(var(--paper) 70%, rgba(250,248,243,0));
  padding: 0 var(--gutter);
}
.nav.show ~ .story .ruler { top: 49px; }
.ruler-track { position: relative; height: 100%; }
.ruler-track i {
  position: absolute; top: 0; width: 1px; height: 8px; background: var(--line);
}
.ruler-track i.major { height: 16px; background: rgba(14,13,11,.35); }
.ruler-track b {
  position: absolute; top: 20px; transform: translateX(-50%);
  font-weight: 400; font-size: 10px; letter-spacing: .1em; color: var(--stone);
}
.ruler-marker {
  position: absolute; top: 0; left: var(--gutter);
  width: 1px; height: 26px; background: var(--gold);
  transition: transform .8s var(--ease);
}
.ruler-marker span {
  position: absolute; top: 30px; left: 0; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: .08em; white-space: nowrap;
  background: var(--paper); padding: 0 4px;
}
@media (max-width: 700px) { .ruler-track b:not(.edge) { display: none; } }

.chapter {
  min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-content: center; padding: 14vh var(--gutter);
  border-bottom: 1px solid var(--line);
}
.chapter-year {
  grid-column: 1 / span 7; font-family: var(--serif);
  font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -.02em;
}
.chapter-title {
  grid-column: 1 / span 6; margin-top: 18px;
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1;
}
.chapter-place {
  grid-column: 1 / span 6; margin-top: 12px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-dark);
}
.chapter-body { grid-column: 8 / span 5; align-self: end; margin-top: 40px; color: #2b2925; }
.chapter-body p { margin: 0 0 1em; }
.chapter-body .chapter-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.2em; line-height: 1.5;
  border-left: 2px solid var(--gold); padding-left: 18px;
}
.chapter-photo { grid-column: 1 / span 6; margin: 48px 0 0; }
.chapter-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in;
  filter: saturate(.85);
}
.chapter-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--stone-dark); min-height: 1.4em; }

/* Chapter slideshow — photos shown whole (never cropped), swipe or arrows */
.slider .slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 4 / 5; background: #ece6dc; outline: none;
}
.slider .slides::-webkit-scrollbar { display: none; }
.slider .slides:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.slider .slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; place-items: center; padding: 14px; }
.chapter-photo .slide img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto;
  object-fit: contain; cursor: zoom-in; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.slider-bar { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.slider-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  font-size: 16px; color: inherit; cursor: pointer; transition: background .2s, border-color .2s;
}
.slider-btn:hover:not(:disabled) { border-color: var(--gold); background: rgba(184,149,90,.12); }
.slider-btn:disabled { opacity: .3; cursor: default; }
.slider-count { font-size: 12px; letter-spacing: .14em; color: var(--stone-dark); min-width: 54px; text-align: center; }
.chapter.final .slider .slides { background: #1d1b18; }
.chapter.final .slider-btn { border-color: var(--line-dark); }
.chapter.final .slider-count, .chapter.final .chapter-photo figcaption { color: rgba(243,239,231,.6); }
.chapter.has-photo .chapter-body { grid-row: 1 / span 4; grid-column: 8 / span 5; align-self: center; margin-top: 0; }
.chapter.has-photo .chapter-photo { grid-column: 1 / span 5; }
.chapter.final { background: var(--ink); color: var(--ivory); border: 0; }
.chapter.final .chapter-body { color: rgba(243,239,231,.82); }
.chapter.final .chapter-year { color: var(--gold-soft); }

@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; padding: 12vh var(--gutter); min-height: auto; }
  .chapter > *, .chapter.has-photo .chapter-body, .chapter.has-photo .chapter-photo { grid-column: 1 !important; grid-row: auto !important; }
  .chapter-body, .chapter.has-photo .chapter-body { margin-top: 28px; }
  .chapter-photo { margin-top: 32px; max-width: 460px; }
}

/* ── Section heads ───────────────────────────────────── */
.section-head { padding: 0 var(--gutter); margin-bottom: 56px; }
.section-title {
  font-family: var(--serif); font-size: clamp(44px, 8vw, 120px); line-height: .95; letter-spacing: -.02em;
}
.section-title em { font-style: italic; color: var(--stone); }
.section-sub { margin: 16px 0 0; color: var(--stone-dark); max-width: 40ch; }

/* ── Words ───────────────────────────────────────────── */
.words { background: var(--ink); color: var(--ivory); padding: 20vh var(--gutter); }
.words .section-title { margin-bottom: 10vh; }
.words .section-title em { color: var(--gold-soft); }
.quote {
  border-top: 1px solid var(--line-dark); padding: 7vh 0;
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
}
.quote-mark { font-family: var(--serif); font-size: 80px; line-height: .8; color: var(--gold); }
.quote blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.18; max-width: 26ch;
}
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
@media (max-width: 600px) { .quote { grid-template-columns: 1fr; gap: 0; } .quote-mark { font-size: 56px; } }

/* ── Sermons ─────────────────────────────────────────── */
.sermons { background: var(--ivory); padding: 20vh 0; }
.sermon-list { border-top: 1px solid var(--line); margin: 0 var(--gutter); }
.sermon {
  display: grid; grid-template-columns: 60px 1.1fr 1.4fr; gap: 32px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.sermon-num { font-size: 12px; color: var(--stone); letter-spacing: .12em; padding-top: 10px; }
.sermon h3 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.sermon-meta { margin-top: 12px; font-size: 13px; color: var(--stone-dark); }
.sermon-meta strong { color: var(--gold); font-weight: 500; }
.sermon-excerpt { margin: 0 0 .9em; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.55; color: #2b2925; white-space: pre-line; }
.sermon-excerpt:last-of-type { margin-bottom: 0; }
.sermon-page {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 0;
  background: none; border: 0; cursor: zoom-in; font: 13px var(--sans); color: var(--ink); text-align: left;
}
.sermon-page img { width: 64px; height: 84px; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.18); transform: rotate(-2deg); transition: transform .4s var(--ease); }
.sermon-page:hover img { transform: rotate(0) scale(1.05); }
.sermon-page span { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* Dates list inside a chapter (e.g. "Occasions to Remember") */
.chapter-list { margin: 8px 0 0; border-top: 1px solid var(--line); }
.chapter-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chapter-list dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding-top: 3px; font-weight: 500; }
.chapter-list dd { margin: 0; font-family: var(--serif); font-size: 18px; }
.sermon-link { margin: 0 0 18px; }
.sermon-link {
  display: inline-block; margin-top: 18px; font-size: 13px; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
@media (max-width: 760px) { .sermon { grid-template-columns: 1fr; gap: 14px; } .sermon-num { padding: 0; } }

/* ── Gallery ─────────────────────────────────────────── */
.gallery { background: var(--paper); padding: 20vh 0; }
.gallery-grid { padding: 0 var(--gutter); }
.album-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px; margin: 72px 0 24px;
}
.album-head:first-child { margin-top: 0; }
.album-head h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.album-head span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-dark); }
.album-grid { columns: 4 220px; column-gap: 12px; }
.album-grid .gallery-item { margin-bottom: 12px; }
/* placeholder shape until a photo is loaded */
.gallery-item img:not([src]) { aspect-ratio: 4 / 5; background: #ece6dc; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; cursor: zoom-in; position: relative; overflow: hidden; }
.gallery-item img { width: 100%; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.gallery-item:hover img { transform: scale(1.03); filter: saturate(1); }
.gallery-item figcaption { font-size: 13px; color: var(--stone-dark); padding: 8px 0 0; }

/* ── Tributes ────────────────────────────────────────── */
.tributes { background: var(--ivory); padding: 20vh 0; }
.tribute-list { margin: 0 var(--gutter); }
.tribute-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  column-gap: 40px; align-items: start; border-top: 1px solid var(--line);
}
.tribute { break-inside: avoid; padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.tribute p { margin: 0 0 1em; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.tribute-title { margin: 0 0 14px; font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tribute footer { font-size: 14px; padding-top: 4px; }
.tribute footer span { display: block; color: var(--stone-dark); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; margin-top: 3px; }
.tribute-more { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--gold); cursor: pointer; margin-bottom: 16px; border-bottom: 1px solid currentColor; }
.tribute-group {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  margin: 96px 0 0; padding-bottom: 20px;
}
/* His wife's tribute, shown first across the full width */
.tribute.featured {
  border: 0; padding: 0 0 24px; max-width: 46rem; margin: 0 auto;
}
.tribute.featured .tribute-title {
  font: italic 400 clamp(30px, 4.2vw, 54px)/1.1 var(--serif); letter-spacing: -.01em; text-transform: none;
  color: var(--ink); margin-bottom: 36px;
}
.tribute.featured p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; }
.tribute.featured p:first-of-type::first-letter {
  float: left; font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--gold);
}
.tribute.featured footer { font-size: 16px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 12px; }
.share { margin: 64px var(--gutter) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.share p { margin: 0; color: var(--stone-dark); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 12px 22px; border-radius: 99px; font-size: 14px; font-family: var(--sans);
  border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: transparent; color: var(--gold-soft); }
.burial .btn.ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* ── Burial ──────────────────────────────────────────── */
.burial { background: var(--ink-2); color: var(--ivory); padding: 18vh var(--gutter); }
.burial-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1300px; margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 22px; }
.burial-date { font-family: var(--serif); font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.01em; }
.burial-time { font-size: 18px; margin: 14px 0 0; opacity: .8; letter-spacing: .1em; }
.burial-events { margin: 48px 0 0; border-top: 1px solid var(--line-dark); }
.burial-events > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.burial-events dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); padding-top: 4px; }
.burial-events dd { margin: 0; font-size: 18px; }
.burial-note:empty { display: none; }
.burial-note { margin: 24px 0 0; opacity: .75; }
.burial-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.burial-flyer { margin: 0; }
.burial-flyer img { width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.5); cursor: zoom-in; }
@media (max-width: 860px) {
  .burial-inner { grid-template-columns: 1fr; }
  .burial-flyer { max-width: 420px; }
  .burial-events > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--ivory); text-align: center; padding: 22vh var(--gutter) 60px; }
.footer-closing { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 6vw, 84px); margin: 0; line-height: 1.05; }
.footer-verse { max-width: 46ch; margin: 28px auto 0; opacity: .65; font-size: 15px; }
.footer-top { display: inline-block; margin-top: 16vh; font-size: 13px; opacity: .55; text-decoration: none; }
.footer-top:hover { opacity: 1; }
.footer-credit { max-width: 60ch; margin: 40px auto 0; font-size: 12px; opacity: .4; }
.footer-credit:empty { display: none; }

/* ── Music ───────────────────────────────────────────── */
.music {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px; border-radius: 99px; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .04em;
  color: var(--ink); background: var(--ivory);
  border: 1px solid rgba(14,13,11,.12);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.music[hidden] { display: none; }
.music-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13px; color: var(--stone-dark); letter-spacing: 0; }
.music-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.music-bars i { width: 2px; height: 3px; background: var(--gold); border-radius: 1px; }
.music.playing .music-bars i { animation: bar 1.1s ease-in-out infinite; }
.music.playing .music-bars i:nth-child(2) { animation-delay: -.3s; }
.music.playing .music-bars i:nth-child(3) { animation-delay: -.6s; }
.music.playing .music-bars i:nth-child(4) { animation-delay: -.9s; }
@keyframes bar { 0%, 100% { height: 3px; } 50% { height: 12px; } }
@media (max-width: 520px) { .music-title { display: none; } }

/* ── Lightbox ────────────────────────────────────────── */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100dvh; background: rgba(10,9,8,.96); color: var(--ivory);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 16px; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80dvh; object-fit: contain; }
.lightbox figcaption { font-size: 14px; opacity: .75; text-align: center; }
.lightbox button { position: fixed; background: none; border: 0; color: var(--ivory); cursor: pointer; font-size: 40px; line-height: 1; padding: 12px 18px; opacity: .7; }
.lightbox button:hover { opacity: 1; }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-nav.prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 4px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-name .line > span, .hero-portrait img { transition: none !important; opacity: 1 !important; transform: none !important; }
}
