/* Personal Journal theme: sage ground, serif display, warm green accent */
:root {
  --bg: #eef2ec;
  --band: #ffffff;
  --ink: #1f2a22;
  --muted: #4a584e;
  --line: #d3dccf;
  --accent: #2f6b47;
  --tile: #d6dfd4;
  --footer-bg: #1f2a22;
  --footer-ink: #e3eadf;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a16;
    --band: #1b231d;
    --ink: #e6ece3;
    --muted: #a9b6ab;
    --line: #2d3a31;
    --accent: #7fc79a;
    --tile: #243028;
    --footer-bg: #0d120f;
    --footer-ink: #dfe6dc;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin: 0 0 20px; }
h3 { margin: 0; }
p { margin: 0 0 16px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--band); padding: 8px 12px; z-index: 10; }
.eyebrow { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; color: var(--ink); text-decoration: none; }
.brand svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 7; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-block: 64px 48px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7.5vw, 84px); line-height: 1.02; margin: 0 0 24px; }
.hero h1 em { color: var(--accent); }
.lede { font-size: 19px; color: var(--muted); max-width: 600px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 500; }
.btn:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.portrait { flex: 0 1 300px; width: 300px; height: auto; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 72px; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--tile); transition: transform .3s ease; }
.strip figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip figure:nth-child(even) img, .strip figure:nth-child(even) figcaption { transform: none; }
}

/* Bands & sections */
.band { background: var(--band); }
.section { padding-block: 80px; }
.band > .two-col { padding-block: 80px; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.col-main { flex: 999 1 520px; min-width: 0; max-width: 680px; }
.col-side { flex: 1 1 280px; min-width: 0; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin-bottom: 12px; }
.card dl { margin: 0; display: grid; gap: 4px; }
.card dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.card dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

.section-head { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
.section-head h2 { margin-bottom: 8px; }

/* Publications */
.pubs { list-style: none; padding: 0; margin: 24px 0 0; }
.pubs li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.pubs li:last-child { border-bottom: 1px solid var(--line); }
.pub-year { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.pub-kind { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pubs h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 4px 0 6px; }
.pubs h3 a { color: var(--ink); }
.pubs h3 a:hover { color: var(--accent); }
.pubs p { margin: 0; color: var(--muted); font-size: 15px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 32px; }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
.when { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.timeline p { color: var(--muted); max-width: 680px; margin: 0; }
@media (max-width: 560px) {
  .timeline li, .pubs li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* Kitchen */
.kitchen { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.kitchen-text { flex: 1 1 420px; min-width: 0; }
.big { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; }
.life { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.life li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
.life span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; padding-top: 4px; }
blockquote { margin: 32px 0 0; padding: 0; font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--accent); }
.kitchen-photos { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kitchen-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--tile); }
.kitchen-photos img:nth-child(4) { aspect-ratio: 4 / 5; object-position: 40% 50%; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: 64px 32px; }
.site-footer a { color: var(--footer-ink); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.say-hi { font-family: var(--display); font-size: clamp(40px, 6vw, 64px); line-height: 1; margin-bottom: 12px; }
.email { font-size: 18px; margin-bottom: 4px; user-select: all; }
.addr { font-size: 14px; opacity: .75; margin: 0; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fine { font-size: 13px; opacity: .6; margin-top: 48px; }

/* ---- Multi-page additions ---- */
.nav-links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.page-hero { padding-block: 64px 40px; }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.5vw, 72px); line-height: 1.04; margin: 0 0 20px; max-width: 900px; }
.page-hero h1 em { color: var(--accent); }
.page-hero .lede { margin: 0; }
h2.sm { font-size: clamp(30px, 4vw, 40px); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile-link { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--band); color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.tile-link:hover { transform: translateY(-3px); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .tile-link, .tile-link:hover { transition: none; transform: none; } }
.tile-link h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.tile-link p { color: var(--muted); margin: 0; font-size: 15px; }
.tile-link .more { margin-top: auto; color: var(--accent); font-weight: 500; font-size: 15px; }
.band .tile-link { background: var(--bg); }

.now { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.now li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.now .when { font-size: 15px; }

.projects { display: grid; gap: 0; margin-top: 8px; }
.project { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project .meta { font-size: 14px; color: var(--muted); display: grid; gap: 4px; align-content: start; }
.project .meta strong { color: var(--accent); font-weight: 600; }
.project h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
.project ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.project p { color: var(--muted); }
@media (max-width: 640px) { .project { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.figs figure { margin: 0; }
.figs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--tile); }
.figs figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 8px; }
.stat { border-top: 2px solid var(--ink); padding-top: 14px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.05; color: var(--accent); }
.stat span { font-size: 14px; color: var(--muted); }

.gallery { columns: 3 240px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 6px; background: var(--tile); }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.book { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.book img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.book h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.book p { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---- Publications page ---- */
.pub-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 12px; }
.pub-tools input, .pub-tools select { font: inherit; font-size: 15px; color: var(--ink); background: var(--band); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
.pub-tools input { flex: 1 1 260px; min-width: 0; }
.pub-tools label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#pub-count { font-size: 14px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.pub-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.pub-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #c9a227; flex: none; }
.pub-status.live .dot { background: var(--accent); }
.pub-status .src { margin-left: auto; }
.pub-group h2 { font-size: 40px; color: var(--accent); margin: 32px 0 8px; }
.pub-list { list-style: none; padding: 0; margin: 0; }
.pub { padding: 22px 0; border-top: 1px solid var(--line); }
.pub-top { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.cites { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pub h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 4px 0 6px; }
.pub h3 a { color: var(--ink); text-decoration: none; }
.pub h3 a:hover { color: var(--accent); text-decoration: underline; }
.pub-authors, .pub-venue { margin: 0; font-size: 15px; color: var(--muted); }
.pub-authors b { color: var(--ink); }
.pub-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font: inherit; font-size: 13px; font-weight: 500; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.empty { color: var(--muted); padding: 24px 0; }
noscript p { color: var(--muted); }

/* ===== Hero redesign ===== */
:root { --hero-bg: #13211a; --hero-ink: #f1efe6; --hero-soft: #b9c7bb; --leaf: #9fd8b1; --turmeric: #f2c46d; }

.hero-x { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); }
.hero-x .hex-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); opacity: .09; pointer-events: none; animation: drift 40s linear infinite; }
@keyframes drift { to { transform: translate(-60px, -34px); } }
.hero-x::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242,196,109,.22), transparent 65%); pointer-events: none; }
.hero-x-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-block: 72px 88px; }
.hero-x-text { flex: 999 1 480px; min-width: 0; }
.hero-x .eyebrow { color: var(--leaf); }
.hero-x h1 { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 11vw, 148px); line-height: .88; letter-spacing: -0.02em; margin: 0 0 24px; }
.hero-x h1 .ital { font-style: italic; color: var(--turmeric); }
.rotator { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 20px; }
.rotator em { color: var(--leaf); display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.rotator em.out { opacity: 0; transform: translateY(8px); }
.hero-x .lede { color: var(--hero-soft); max-width: 560px; }
.hero-x .btn { background: var(--turmeric); color: var(--hero-bg); }
.hero-x .btn:hover { background: var(--hero-ink); }
.hero-x .btn-ghost { background: transparent; color: var(--hero-ink); border-color: var(--hero-soft); }
.hero-x .btn-ghost:hover { background: var(--hero-ink); color: var(--hero-bg); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; list-style: none; padding: 24px 0 0; margin: 32px 0 0; border-top: 1px solid rgba(241,239,230,.18); }
.hero-facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--hero-ink); }
.hero-facts span { font-size: 13px; color: var(--hero-soft); }

.collage { flex: 1 1 380px; position: relative; min-height: 560px; max-width: 480px; margin-inline: auto; }
.collage img { position: absolute; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.c-main { width: 68%; aspect-ratio: 3 / 4; right: 0; top: 0; border-radius: 200px 200px 16px 16px; }
.c-round { width: 40%; aspect-ratio: 1; left: 0; top: 34%; border-radius: 50%; border: 6px solid var(--hero-bg); }
.c-tilt { width: 42%; aspect-ratio: 4 / 5; right: 8%; bottom: 0; border-radius: 12px; transform: rotate(5deg); border: 6px solid var(--hero-ink); }
.badge { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.25); animation: bob 5s ease-in-out infinite; }
.b1 { background: var(--leaf); color: var(--hero-bg); left: 4%; top: 8%; }
.b2 { background: var(--turmeric); color: var(--hero-bg); left: -2%; bottom: 14%; animation-delay: -1.6s; }
.b3 { background: var(--hero-ink); color: var(--hero-bg); right: -2%; top: 52%; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* entrance */
.rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.collage .rise.c-tilt { animation-name: rise-tilt; }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(24px) rotate(5deg); } to { transform: rotate(5deg); } }

@media (max-width: 560px) {
  .collage { min-height: 440px; }
  .badge { font-size: 13px; }
}

/* marquee */
.marquee { background: var(--turmeric); color: var(--hero-bg); overflow: hidden; white-space: nowrap; padding-block: 14px; font-family: var(--display); font-size: clamp(24px, 3vw, 34px); }
.marquee-track { display: inline-flex; gap: 40px; animation: slide 36s linear infinite; padding-left: 40px; }
.marquee-track span::after { content: "⬡"; margin-left: 40px; font-size: .7em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* photo banners on subpages */
.banner { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); min-height: 440px; display: flex; align-items: flex-end; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 1.6s ease-out both; }
@keyframes settle { from { transform: scale(1.12); } }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,33,26,.15) 0%, rgba(19,33,26,.55) 50%, rgba(19,33,26,.92) 100%); }
.banner .wrap { position: relative; z-index: 1; width: 100%; padding-block: 120px 48px; }
.banner .eyebrow { color: var(--turmeric); }
.banner h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 8vw, 96px); line-height: .98; margin: 0 0 16px; max-width: 900px; }
.banner h1 em { color: var(--leaf); }
.banner .lede { color: var(--hero-ink); opacity: .9; margin: 0; max-width: 620px; }

/* lift photos on hover */
.figs img, .gallery img, .kitchen-photos img, .strip img { transition: transform .35s ease, box-shadow .35s ease; }
.figs figure:hover img, .kitchen-photos img:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 16px 36px rgba(0,0,0,.18); }

@media (prefers-reduced-motion: reduce) {
  .hero-x .hex-bg, .badge, .rise, .marquee-track, .banner > img { animation: none !important; }
  .rotator em { transition: none; }
}

/* ===== Full-screen photo hero (home only) ===== */
.hero-full { position: relative; min-height: calc(100svh - 64px); display: flex; align-items: center; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 70%; animation: settle 2s ease-out both; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,10,.05) 0%, rgba(8,14,10,.28) 40%, rgba(8,14,10,.55) 100%), linear-gradient(180deg, rgba(8,14,10,.15) 0%, rgba(8,14,10,0) 30%, rgba(8,14,10,.35) 100%); pointer-events: none; }
.hero-full-inner { position: relative; z-index: 1; width: 100%; display: flex; justify-content: flex-end; padding-block: 72px; }
.hero-full-text { width: min(580px, 100%); text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4); }
.hero-full .btn { text-shadow: none; }
.hero-full .eyebrow { color: var(--turmeric); }
.hero-full h1 { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 9vw, 132px); line-height: .88; letter-spacing: -0.02em; margin: 0 0 24px; }
.hero-full h1 .ital { font-style: italic; color: var(--turmeric); }
.hero-full .lede { color: var(--hero-ink); opacity: .88; }
.hero-full .btn { background: var(--turmeric); color: var(--hero-bg); }
.hero-full .btn:hover { background: var(--hero-ink); }
.hero-full .btn-ghost { background: transparent; color: var(--hero-ink); border-color: rgba(241,239,230,.7); }
.hero-full .btn-ghost:hover { background: var(--hero-ink); color: var(--hero-bg); }
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 20px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(241,239,230,.6); color: var(--hero-ink); text-decoration: none; animation: bob 2.4s ease-in-out infinite; }

.facts-band { background: var(--hero-bg); color: var(--hero-ink); }
.facts-band .hero-facts { margin: 0 auto; padding-top: 28px; padding-bottom: 28px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); border-top: 0; justify-content: space-between; }

@media (max-width: 760px) {
  .hero-full { align-items: flex-end; min-height: calc(100svh - 110px); }
  .hero-photo { object-position: 21% 50%; }
  .hero-full::after { background: linear-gradient(180deg, rgba(8,14,10,0) 30%, rgba(8,14,10,.55) 60%, rgba(8,14,10,.85) 100%); }
  .hero-full-inner { padding-block: 0 36px; }
  .hero-full .lede, .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo, .scroll-cue { animation: none !important; } }

@media (max-width: 760px) {
  .facts-band .hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
}

#rot { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
#rot.out { opacity: 0; transform: translateY(8px); }
.rotator #rot em { color: var(--leaf); }
@media (prefers-reduced-motion: reduce) { #rot { transition: none; } }
