:root {
  --ink: #1a1a1a;
  --charcoal: #2a2a2a;
  --depth: #1a1a1a;
  --depth-soft: #222222;
  --surface: #f4f3ee;
  --surface-soft: #faf9f5;
  --muted: #7a7a7a;
  --white: #ffffff;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
p {
  margin: 0;
}

/* ---------- Curved nav shelf ---------- */

.nav-shelf {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(34rem, 76vw);
  padding: 1.05rem 2.25rem 2.85rem;
  background: var(--surface);
  border-radius: 0 0 50% 50% / 0 0 115% 115%;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 14%, transparent);
  animation: nav-shelf-drop 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
}

.nav a,
.nav-dropdown__toggle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
}

.nav a::after,
.nav-dropdown__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav-dropdown__toggle:hover::after,
.nav-dropdown__toggle:focus-visible::after,
.nav-dropdown.is-open .nav-dropdown__toggle::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  margin: 0;
  padding: 0.55rem 0;
  min-width: 11.5rem;
  list-style: none;
  background: var(--surface-soft);
  border-radius: 0.85rem;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--ink) 18%, transparent);
}

.nav-dropdown__menu[hidden] {
  display: none;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-dropdown__menu a::after {
  display: none;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero:not(.hero--compact) .hero__media img {
  object-position: center 32%;
  transform: scale(1.12);
  animation: hero-kenburns 42s ease-in-out infinite;
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 78% 52% at 50% 44%,
      color-mix(in srgb, #000 48%, transparent) 0%,
      color-mix(in srgb, #000 30%, transparent) 45%,
      color-mix(in srgb, #000 14%, transparent) 70%,
      transparent 88%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, #000 32%, transparent) 0%,
      color-mix(in srgb, #000 38%, transparent) 36%,
      color-mix(in srgb, #000 46%, transparent) 58%,
      color-mix(in srgb, var(--charcoal) 62%, transparent) 82%,
      var(--charcoal) 100%
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(4rem, 8vw, 6rem);
  margin-top: clamp(2rem, 6vh, 4rem);
  padding-inline: var(--gutter);
  padding-bottom: 0;
  width: min(100%, 62rem);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 11vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-align: center;
  color: #fff;
  text-shadow:
    0 0 1px color-mix(in srgb, #000 80%, transparent),
    0 2px 0 color-mix(in srgb, #000 55%, transparent),
    0 6px 20px color-mix(in srgb, #000 70%, transparent),
    0 18px 50px color-mix(in srgb, #000 65%, transparent),
    0 28px 80px color-mix(in srgb, #000 45%, transparent);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__title a {
  color: inherit;
}

.hero__title a:hover,
.hero__title a:focus-visible {
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(0.5rem, 2vh, 1.25rem);
  animation: rise 950ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.95rem 2.1rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 32px color-mix(in srgb, #000 28%, transparent);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.hero__btn:hover,
.hero__btn:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-soft);
  box-shadow: 0 16px 36px color-mix(in srgb, #000 34%, transparent);
}

/* ---------- Definition band ---------- */

.define {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  display: grid;
  justify-items: center;
  background: var(--charcoal);
}

.define__card {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4.5vw, 3.25rem);
  background: var(--surface-soft);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 18px 50px color-mix(in srgb, #000 22%, transparent);
  animation: rise 950ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.define__term {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.7rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
}

.define__term strong {
  font-weight: 700;
  color: var(--ink);
}

.define__sep {
  color: var(--ink);
  font-weight: 400;
}

.define__pos {
  color: var(--muted);
  font-weight: 400;
}

.define__sense {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
}

.define__letter {
  font-weight: 700;
  color: var(--ink);
}

.define__colon {
  font-weight: 700;
  margin-right: 0.15rem;
}

/* ---------- Later chapters ---------- */

.chapter__head {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: clamp(2rem, 4.5vw, 3rem) var(--gutter) clamp(1.25rem, 3vw, 1.75rem);
}

.chapter__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

.chapter__body {
  background: var(--charcoal);
  padding: clamp(1.75rem, 4.5vw, 3.25rem) var(--gutter) clamp(2.75rem, 6vw, 4.5rem);
}

/* Photo-backed chapters — Figma: image behind cream text card */

.chapter--photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(88vh, 52rem);
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--gutter);
  overflow: hidden;
  background: var(--charcoal);
}

.chapter__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.chapter__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.chapter--photo-right .chapter__backdrop img {
  object-position: 78% center;
}

.chapter--photo-left .chapter__backdrop img {
  object-position: 40% center;
}

.chapter__backdrop-img--literature {
  object-position: 35% 42% !important;
}

.chapter__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.chapter--photo-right .chapter__scrim {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--charcoal) 28%, transparent) 0%,
    color-mix(in srgb, var(--charcoal) 12%, transparent) 42%,
    transparent 72%
  );
}

.chapter--photo-left .chapter__scrim {
  background: linear-gradient(
    270deg,
    color-mix(in srgb, var(--charcoal) 28%, transparent) 0%,
    color-mix(in srgb, var(--charcoal) 12%, transparent) 42%,
    transparent 72%
  );
}

.chapter__panel {
  position: relative;
  z-index: 2;
  width: min(100%, calc(50% - 0.5rem));
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: clamp(1.35rem, 2.8vw, 2.15rem);
  background: color-mix(in srgb, var(--surface-soft) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px color-mix(in srgb, #000 20%, transparent);
}

.chapter--photo-right .chapter__panel {
  justify-self: start;
}

.chapter--photo-left .chapter__panel {
  justify-self: end;
}

.chapter__panel h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: none;
}

.chapter__panel .prose {
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: color-mix(in srgb, var(--ink) 90%, transparent);
  font-weight: 300;
  font-size: clamp(0.98rem, 1.45vw, 1.1rem);
  line-height: 1.7;
  text-shadow: none;
}

.prose {
  width: min(100%, 46rem);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--surface-soft);
  border-radius: clamp(1.25rem, 2.5vw, 2rem);
  color: color-mix(in srgb, var(--ink) 90%, transparent);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose__cite-link {
  color: #0b5f4a;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, #0b5f4a 55%, transparent);
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.prose__cite-link:hover,
.prose__cite-link:focus-visible {
  color: #084536;
  text-decoration-color: currentColor;
  outline: none;
}

.chapter__panel .prose__cite-link {
  color: #0d6b54;
  text-decoration-color: color-mix(in srgb, #0d6b54 65%, transparent);
}

.chapter__panel .prose__cite-link:hover,
.chapter__panel .prose__cite-link:focus-visible {
  color: #065040;
}

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.25rem) var(--gutter);
  border-top: 1px solid color-mix(in srgb, #fff 8%, transparent);
}

.site-footer--scrollable {
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.site-footer__brand {
  text-align: left;
}

.site-footer a {
  color: inherit;
  transition: opacity 200ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  opacity: 0.75;
}

.site-footer__top {
  display: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: right;
}

.site-footer--scrollable .site-footer__top {
  display: block;
}

/* ---------- Compact hero (timeline / about) ---------- */

.hero--compact {
  min-height: min(52vh, 30rem);
}

.hero--compact .hero__content {
  margin-top: 0;
  gap: 0;
  place-self: center;
}

.hero--compact .hero__veil {
  background:
    radial-gradient(
      ellipse 78% 52% at 50% 44%,
      color-mix(in srgb, #000 44%, transparent) 0%,
      color-mix(in srgb, #000 28%, transparent) 48%,
      color-mix(in srgb, #000 12%, transparent) 74%,
      transparent 90%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, #000 30%, transparent) 0%,
      color-mix(in srgb, #000 38%, transparent) 45%,
      color-mix(in srgb, #000 46%, transparent) 78%,
      color-mix(in srgb, #000 50%, transparent) 100%
    );
}

.hero--compact .hero__title {
  font-size: clamp(2.9rem, 8.5vw, 6rem);
}

/* ---------- Shared content pages (timeline / about) ---------- */

.page-timeline,
.page-about,
.page-narrative,
.page-data {
  background: var(--charcoal);
}

.page-timeline .nav a[aria-current="page"],
.page-data .nav a[aria-current="page"],
.page-narrative .nav-dropdown__toggle[aria-current="page"] {
  font-weight: 700;
  color: #111;
}

.timeline-page,
.content-page {
  background: #fff;
  color: var(--ink);
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--gutter) clamp(3.5rem, 8vw, 5.5rem);
}

.timeline-page__intro,
.content-page__intro {
  width: min(100%, 46rem);
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5.5vw, 3.75rem);
}

.timeline-page__intro h2,
.content-page__intro h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  letter-spacing: -0.02em;
  color: #111;
}

.content-page__intro h2:only-child {
  margin-bottom: 0;
}

.timeline-page__copy {
  display: grid;
  gap: 1.25rem;
}

.timeline-page__copy p {
  margin: 0;
  font-weight: 400;
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.72;
  color: #3a3a3a;
}

.timeline-page__graphic {
  width: min(100%, 64rem);
  margin-inline: auto;
  background: #d9d9d9;
  overflow: hidden;
}

.timeline-page__embed {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
  background: #fff;
}

.content-page__stack {
  width: min(100%, 46rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.content-block h3 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
  text-align: center;
  color: #111;
}

.content-block__copy p {
  margin: 0;
  font-weight: 400;
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.72;
  color: #3a3a3a;
}

.content-block__copy p + p {
  margin-top: 1.15rem;
}

.content-block__copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.content-block__copy a:hover,
.content-block__copy a:focus-visible {
  color: #111;
}

.content-page--biblio {
  border-top: 1px solid color-mix(in srgb, #000 8%, transparent);
  padding-top: clamp(2.75rem, 6vw, 4rem);
}

.about-biblio__list {
  width: min(100%, 46rem);
  margin: 0 auto;
  padding-left: 1.35rem;
  display: grid;
  gap: 1.35rem;
}

.about-biblio__list li {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.7;
  color: #3a3a3a;
}

.about-biblio__entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem 0.85rem;
  align-items: start;
}

.about-biblio__cite {
  margin: 0;
}

.about-biblio__cite a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  word-break: break-word;
}

.about-biblio__cite a:hover,
.about-biblio__cite a:focus-visible {
  color: #111;
}

.about-biblio__more {
  margin: 0;
  padding: 0.15rem 0.35rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #111;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}

.about-biblio__more:hover,
.about-biblio__more:focus-visible {
  background: color-mix(in srgb, #000 6%, transparent);
  outline: none;
}

.about-biblio__more[aria-expanded="true"] {
  background: color-mix(in srgb, #000 8%, transparent);
}

.about-biblio__note {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, #000 4%, #fff);
  border: 1px solid color-mix(in srgb, #000 8%, transparent);
}

.about-biblio__note[hidden] {
  display: none;
}

.about-biblio__note p {
  margin: 0;
  font-size: clamp(0.92rem, 1.25vw, 1rem);
  line-height: 1.7;
  color: #3a3a3a;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  width: min(100%, 42rem);
  margin: 0.5rem auto 0;
}

.about-team__card h4 {
  margin: 0.85rem 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #111;
}

.about-team__role {
  margin: 0;
  font-size: 0.92rem;
  color: #3a3a3a;
}

.about-team__bio {
  margin: 0.65rem 0 0;
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  line-height: 1.55;
  color: #3a3a3a;
}

.about-team__photo {
  aspect-ratio: 1;
  width: 100%;
  background: #d9d9d9;
  border-radius: 0.25rem;
  overflow: hidden;
}

.about-team__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.about-team__photo--cameron img {
  object-position: 50% 50%;
}

.page-timeline .site-footer,
.page-about .site-footer,
.page-narrative .site-footer,
.page-data .site-footer {
  background: #fff;
  border-top: 1px solid color-mix(in srgb, #000 8%, transparent);
  color: var(--ink);
}

.data-page .narrative-accordions {
  margin-top: 0.25rem;
}

/* ---------- Narrative accordions ---------- */

.narrative-page {
  background: #fff;
  color: var(--ink);
  padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter) clamp(3.5rem, 8vw, 5.5rem);
}

.narrative-page .content-page__intro {
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
}

.narrative-accordions {
  width: min(100%, 48rem);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.narrative-item {
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  overflow: visible;
}

.narrative-item[open] {
  border-radius: 0;
}

.narrative-item__trigger {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.6rem 1.05rem 1.45rem;
  border-radius: 999px;
  background: #3a3a3a;
  box-shadow: 0 10px 24px color-mix(in srgb, #000 14%, transparent);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  color: #fff;
}

.narrative-item__trigger::-webkit-details-marker {
  display: none;
}

.narrative-item__trigger::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-inline: 0.1rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  transition: transform 220ms ease;
}

.narrative-item[open] > .narrative-item__trigger::before {
  transform: rotate(45deg);
}

.narrative-item__body {
  padding: 1.5rem 0.35rem 0.5rem;
}

.narrative-item__body p {
  margin: 0;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: #3a3a3a;
}

.narrative-item__body p + p,
.narrative-item__body p + .narrative-figure,
.narrative-item__body .narrative-figure + p,
.narrative-item__body .narrative-figure + .narrative-figure {
  margin-top: 1.25rem;
}

.narrative-figure {
  margin: 0;
}

.narrative-figure__embed {
  width: 100%;
  min-height: clamp(18rem, 48vw, 28rem);
  background: #d9d9d9;
  overflow: hidden;
}

.narrative-figure__embed iframe {
  display: block;
  width: 100%;
  height: clamp(18rem, 48vw, 28rem);
  border: 0;
}

.narrative-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #555;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-shelf-drop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-130%);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes hero-kenburns {
  0% {
    transform: scale(1.12) translate(1.5%, 0.5%);
  }
  40% {
    transform: scale(1.22) translate(-3.5%, -1.5%);
  }
  70% {
    transform: scale(1.18) translate(2.5%, -0.5%);
  }
  100% {
    transform: scale(1.12) translate(1.5%, 0.5%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero:not(.hero--compact) .hero__media img {
    transform: none;
    animation: none;
  }
}

@media (max-width: 720px) {
  .nav-shelf {
    width: min(100%, 22rem);
    padding: 0.95rem 1.25rem 2rem;
    border-radius: 0 0 45% 45% / 0 0 90% 90%;
  }

  .nav {
    gap: 0.9rem;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__content {
    margin-top: clamp(1rem, 4vh, 2rem);
    gap: clamp(3rem, 8vw, 4.5rem);
    padding-bottom: 0;
  }

  .hero__actions {
    gap: 1rem 1.5rem;
  }

  .hero__btn {
    min-width: 8rem;
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
  }

  .chapter--photo {
    min-height: auto;
    padding-block: clamp(2rem, 8vw, 3rem);
  }

  .chapter--photo-right .chapter__scrim,
  .chapter--photo-left .chapter__scrim {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--charcoal) 18%, transparent) 0%,
      color-mix(in srgb, var(--charcoal) 28%, transparent) 100%
    );
  }

  .chapter--photo-right .chapter__panel,
  .chapter--photo-left .chapter__panel {
    justify-self: stretch;
    width: min(100%, 40rem);
  }

  .chapter--photo-right .chapter__backdrop img,
  .chapter--photo-left .chapter__backdrop img {
    object-position: center;
  }

  .page-timeline .hero--compact,
  .hero--compact {
    min-height: min(48vh, 22rem);
  }

  .timeline-page__embed {
    height: 520px;
  }

  .about-team {
    grid-template-columns: 1fr;
    width: min(100%, 16rem);
  }

  .nav-dropdown__menu {
    min-width: 13.5rem;
  }

  .narrative-item {
    border-radius: 0;
  }

  .narrative-item__trigger {
    border-radius: 1.35rem;
    padding: 1rem 1.15rem 1rem 1.1rem;
    font-size: 0.92rem;
  }

  .narrative-item__body {
    padding: 1.25rem 0.15rem 0.35rem;
  }
}
