@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-600.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-700.ttf") format("truetype");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400.ttf") format("truetype");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/newsreader-500.ttf") format("truetype");
}

:root {
  --ink: #132c2c;
  --muted: #526667;
  --deep: #0a3535;
  --deepest: #062528;
  --sea: #0a3535;
  --sea-light: #e7efea;
  --foam: #e7efea;
  --paper: #fbf8ef;
  --sand: #e7efea;
  --sun: #f2bd54;
  --ochre: #c97838;
  --coral: #b45339;
  --white: #ffffff;
  --line: rgba(19, 44, 44, 0.16);
  --line-light: rgba(255, 253, 247, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body::selection { color: var(--deepest); background: var(--sun); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--deepest);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }

.section-shell {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}
.eyebrow {
  margin-bottom: 16px;
  color: var(--sea);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--sea-light); }
.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--sea);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 10px 28px;
  background: rgba(251, 248, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--deep);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 0.59rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  padding-inline: 24px;
}
.site-header nav a,
.header-source {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a { position: relative; }
.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--sea);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.site-header nav a:hover::after { transform: scaleX(1); }
.header-source { padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  color: var(--white);
  background: var(--deepest);
}
.hero-background, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { object-fit: cover; object-position: center 44%; }
.hero-shade { background: rgba(6, 37, 40, 0.58); }
.hero-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 30px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-topline p { margin: 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 186px);
  max-width: 940px;
  padding: clamp(90px, 15vh, 170px) 42px 88px;
  flex-direction: column;
  justify-content: flex-end;
}
.hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 9.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.76;
}
.hero h1 em { color: var(--sun); font-weight: 400; }
.hero-lede { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.38; }
.round-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 142px;
  height: 52px;
  margin-top: 34px;
  padding: 0 19px;
  color: var(--deepest);
  background: var(--sun);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}
.round-link:hover { background: var(--white); transform: translateY(-2px); }
.photo-credit { font-size: 0.65rem; letter-spacing: 0.03em; }
.hero-caption { margin: 0; padding: 10px max(20px, calc((100vw - var(--max)) / 2)); color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); text-align: right; }
.hero-caption a { color: var(--sea); }

/* Essential notice */
.access-alert {
  display: grid;
  grid-template-columns: 58px 1.05fr 1.65fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px max(40px, calc((100vw - var(--max)) / 2));
  color: var(--deepest);
  background: var(--sun);
}
.access-icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 2rem; }
.access-alert .eyebrow { margin-bottom: 8px; color: var(--deepest); }
.access-alert h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.05; }
.access-alert > p { margin: 0; font-size: 0.86rem; line-height: 1.5; }
.access-links { display: grid; gap: 6px; min-width: 186px; }
.access-links a { font-size: 0.72rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(6, 37, 40, 0.45); }

/* Shared heading */
.section-kicker { display: flex; align-items: center; min-width: 172px; }
.section-kicker p { margin: 0; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.territory-copy .eyebrow,
.section-heading .eyebrow,
.editor-note .eyebrow,
.recognition-intro .eyebrow,
.navigation-warning .eyebrow,
.media-heading .eyebrow,
.responsible-title .eyebrow,
.sources-heading .eyebrow { display: none; }
.section-heading { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; margin-bottom: 70px; }
.section-heading > div:last-child { max-width: 870px; }
.section-heading h2, .territory-copy h2, .sources-heading h2, .responsible-title h2, .media-heading h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.3vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.section-heading > div:last-child > p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.section-heading.inverse > div:last-child > p:last-child { color: rgba(255,255,255,0.7); }
.inverse { color: var(--white); }

/* Territory */
.territory { padding-block: 128px 110px; }
.territory > .section-kicker { margin-bottom: 64px; }
.territory-copy { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(50px, 8vw, 120px); }
.prose-columns { columns: 2 260px; column-gap: 40px; }
.prose-columns p { break-inside: avoid; margin: 0 0 24px; color: var(--muted); }
.fact-rail { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 92px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-rail article { display: grid; align-content: start; min-height: 205px; padding: 30px 32px; border-right: 1px solid var(--line); }
.fact-rail article:last-child { border-right: 0; }
.fact-rail strong { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; line-height: 1; }
.fact-rail span { max-width: 260px; margin-top: 14px; color: var(--muted); font-size: 0.78rem; }
.fact-rail a { align-self: end; margin-top: 18px; color: var(--sea); font-size: 0.68rem; font-weight: 700; text-decoration: none; }

/* Index */
.chapter-index { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--deepest); border-top: 1px solid var(--line-light); }
.chapter-index a { display: grid; min-height: 210px; padding: 24px; color: var(--white); text-decoration: none; border-right: 1px solid var(--line-light); transition: color 180ms ease, background 180ms ease; }
.chapter-index a:hover { color: var(--deepest); background: var(--sun); }
.chapter-index span { font-size: 0.62rem; font-weight: 700; }
.chapter-index strong { align-self: end; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.05; }
.chapter-index small { margin-top: 8px; color: currentColor; font-size: 0.64rem; opacity: 0.66; }

/* Beaches */
.dark-section { color: var(--white); background: var(--deep); }
.beaches { padding-block: 130px; }
.feature-photo { margin: 0 0 72px; }
.feature-photo img { width: 100%; height: min(68vw, 760px); object-fit: cover; object-position: center 62%; }
.feature-photo figcaption, .archive-image figcaption, .navy-visual figcaption { margin-top: 10px; color: rgba(255,255,255,0.62); font-size: 0.68rem; }
.feature-photo figcaption a, .archive-image figcaption a, .navy-visual figcaption a { color: inherit; }
.beach-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.beach-card { display: flex; min-height: 340px; padding: 25px; flex-direction: column; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.beach-card > div { display: flex; justify-content: space-between; color: var(--sea-light); font-size: 0.61rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.beach-card h3 { margin: auto 0 18px; font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 2.55rem); font-weight: 400; line-height: 0.95; }
.beach-card p { margin-bottom: 24px; color: rgba(255,255,255,0.67); font-size: 0.78rem; }
.beach-card a { align-self: flex-start; color: var(--sun); font-size: 0.68rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(242,189,84,0.5); }
.beach-card.accent-card { color: var(--deepest); background: var(--sun); }
.beach-card.accent-card > div, .beach-card.accent-card p, .beach-card.accent-card a { color: var(--deepest); }
.beach-card.history-card { background: var(--ochre); }
.editor-note { display: grid; grid-template-columns: 210px 1fr auto; align-items: start; gap: 38px; margin-top: 58px; padding: 35px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.editor-note p { margin: 0; }
.editor-note > p:nth-child(2) { max-width: 700px; color: rgba(255,255,255,0.72); }
.editor-note a { color: var(--sun); font-size: 0.7rem; font-weight: 700; text-decoration: none; }

/* Photo archive */
.photo-archive { padding-block: 135px; }
.archive-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.archive-image { margin: 0; }
.historic-image { grid-column: span 7; }
.present-image { grid-column: span 5; }
.archive-image img { width: 100%; height: 520px; object-fit: cover; filter: saturate(0.82); }
.historic-image img { filter: grayscale(1) contrast(1.03); }
.archive-image figcaption { color: var(--muted); }
.archive-record { display: flex; grid-column: span 5; min-height: 520px; padding: 34px; flex-direction: column; justify-content: space-between; }
.archive-record h3 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.7rem); font-weight: 400; line-height: 0.95; }
.archive-record p { font-size: 0.86rem; }
.archive-record a { align-self: flex-start; font-size: 0.71rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.record-date { margin: 0; font-size: 0.62rem !important; font-weight: 700; letter-spacing: 0.14em; }
.ochre-record { color: var(--white); background: var(--ochre); }
.ochre-record .eyebrow { color: var(--white); opacity: 0.72; }
.paper-record { grid-column: span 7; color: var(--ink); background: var(--sand); }
.paper-record > div { max-width: 590px; }
.rights-note { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 26px; margin-top: 58px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rights-note > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; }
.rights-note p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.rights-note a { color: var(--sea); font-size: 0.68rem; font-weight: 700; text-decoration: none; }

/* Voices */
.sand-section { background: var(--sand); }
.voices { padding-block: 135px; }
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.voice-card { display: grid; grid-template-columns: 80px 1fr; gap: 24px; min-height: 270px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.voice-initials { display: grid; place-items: center; width: 68px; height: 68px; color: var(--sea); border: 1px solid var(--sea); border-radius: 50%; font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.voice-card h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1; }
.voice-role { color: var(--sea); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.045em; line-height: 1.35; text-transform: uppercase; }
.voice-card > div:last-child > p:last-child { margin: 28px 0 0; color: var(--muted); font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; }
.featured-voice { color: var(--white); background: var(--sea); }
.featured-voice .voice-initials { color: var(--white); border-color: rgba(255,255,255,0.65); }
.featured-voice .voice-role, .featured-voice > div:last-child > p:last-child { color: rgba(255,255,255,0.75); }

/* Culture & recognition */
.quilombo { padding-block: 135px; background: var(--paper); }
.event-layout { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 24px; }
.event-feature { display: grid; min-height: 580px; padding: 38px; color: var(--white); background: var(--coral); }
.event-number { margin: 0; font-family: var(--serif); font-size: clamp(6rem, 12vw, 10rem); font-weight: 500; letter-spacing: -0.08em; line-height: 0.7; }
.event-feature > div { align-self: end; max-width: 600px; }
.event-feature h3 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 400; line-height: 0.94; }
.event-feature > div > p:last-of-type { color: rgba(255,255,255,0.78); }
.event-feature a { color: var(--sun); font-size: 0.7rem; font-weight: 700; text-decoration: none; }
.culture-cards { display: grid; grid-template-rows: repeat(3, 1fr); border-top: 1px solid var(--line); }
.culture-cards article { display: grid; grid-template-columns: 112px 1fr; column-gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.culture-cards span { grid-row: span 3; color: var(--sea); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.culture-cards h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.culture-cards p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.culture-cards a { align-self: end; margin-top: 12px; color: var(--sea); font-size: 0.66rem; font-weight: 700; text-decoration: none; }
.recognition-block { display: grid; grid-template-columns: 260px 1fr; gap: 48px; margin-top: 120px; padding-top: 45px; border-top: 2px solid var(--ink); }
.recognition-intro h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.recognition-intro > p:last-child { color: var(--muted); font-size: 0.78rem; }
.recognition-timeline { display: grid; grid-column: 2; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.recognition-timeline li { display: grid; min-height: 175px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recognition-timeline time { font-family: var(--serif); font-size: 1.8rem; }
.recognition-timeline p { align-self: end; margin: 0; color: var(--muted); font-size: 0.72rem; }
.recognition-timeline .timeline-highlight { color: var(--deepest); background: var(--sun); }
.recognition-timeline .timeline-highlight p { color: var(--deepest); }
.timeline-sources { display: flex; grid-column: 2; flex-wrap: wrap; gap: 10px 24px; }
.timeline-sources a { color: var(--sea); font-size: 0.66rem; font-weight: 700; text-decoration: none; }

/* School */
.school { padding-block: 135px; }
.school-profile { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
.levy-card { position: sticky; top: 110px; align-self: start; min-height: 470px; padding: 38px; color: var(--deepest); background: var(--sun); }
.levy-card h3 { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(2.5rem, 4.2vw, 4.4rem); font-weight: 400; line-height: 0.92; }
.levy-card p:not(.eyebrow) { color: rgba(6,37,40,0.75); }
.levy-card a { display: inline-block; margin-top: 24px; color: var(--deepest); font-size: 0.7rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.school-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.school-timeline li { display: grid; grid-template-columns: 145px 1fr; gap: 28px; padding: 27px 0; border-bottom: 1px solid var(--line-light); }
.school-timeline time { color: var(--sun); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.school-timeline h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.school-timeline p { margin: 0; color: rgba(255,255,255,0.62); font-size: 0.82rem; }
.school-timeline .school-now { padding-inline: 20px; color: var(--deepest); background: var(--foam); }
.school-timeline .school-now time, .school-timeline .school-now p { color: var(--deepest); }
.school-media { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 85px; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.school-media a { display: grid; grid-template-columns: 84px 1fr; gap: 25px; min-height: 190px; padding: 30px; color: var(--white); text-decoration: none; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background 180ms ease; }
.school-media a:hover { background: rgba(255,255,255,0.06); }
.play-icon, .read-icon { display: grid; place-items: center; width: 72px; height: 72px; color: var(--sun); border: 1px solid var(--sun); border-radius: 50%; font-family: var(--serif); }
.school-media a > span:last-child { display: grid; }
.school-media small { color: var(--sea-light); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.school-media strong { align-self: end; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.school-media em { color: rgba(255,255,255,0.57); font-size: 0.72rem; }

/* Navy */
.navy { padding-block: 135px; }
.navy-visual { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 54px; align-items: start; }
.navy-visual figure { margin: 0; }
.navy-visual img { width: 100%; height: 580px; object-fit: cover; }
.navy-visual figcaption { color: var(--muted); }
.navy-summary { padding-top: 30px; border-top: 1px solid var(--line); }
.large-quote { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.8rem); letter-spacing: -0.03em; line-height: 0.98; }
.navy-summary > p:nth-child(2) { color: var(--muted); font-size: 0.86rem; }
.navy-timeline { display: grid; grid-template-columns: repeat(6, 1fr); margin: 90px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.navy-timeline li { display: grid; min-height: 230px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.navy-timeline time { color: var(--sea); font-family: var(--serif); font-size: 1.8rem; }
.navy-timeline p { align-self: end; margin: 0; color: var(--muted); font-size: 0.72rem; }
.navigation-warning { display: grid; grid-template-columns: 240px 1fr auto; gap: 42px; align-items: center; margin-top: 58px; padding: 32px; color: var(--white); background: var(--deep); }
.navigation-warning .eyebrow { margin-bottom: 6px; color: var(--sea-light); }
.navigation-warning h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.navigation-warning > p { margin: 0; color: rgba(255,255,255,0.67); font-size: 0.8rem; }
.navigation-warning > div:last-child { display: grid; gap: 7px; }
.navigation-warning a { color: var(--sun); font-size: 0.68rem; font-weight: 700; text-decoration: none; }

/* Media library */
.media-library { padding-block: 115px; color: var(--white); background: var(--ochre); }
.media-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; }
.media-heading h2 { max-width: 740px; margin: 0; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.28); border-left: 1px solid rgba(255,255,255,0.28); }
.media-grid > a { display: flex; min-height: 355px; padding: 26px; color: var(--white); flex-direction: column; text-decoration: none; border-right: 1px solid rgba(255,255,255,0.28); border-bottom: 1px solid rgba(255,255,255,0.28); transition: color 180ms ease, background 180ms ease; }
.media-grid > a:hover { color: var(--deepest); background: var(--sun); }
.media-type { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.media-grid h3 { margin: auto 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.media-grid p { font-size: 0.78rem; opacity: 0.75; }
.media-arrow { margin-top: 18px; font-size: 0.68rem; font-weight: 700; }

/* Responsible visit */
.responsible-visit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; padding-block: 135px; }
.responsible-title { position: sticky; top: 110px; align-self: start; }
.responsible-visit ol { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.responsible-visit li { display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.responsible-visit li span { color: var(--sea); font-size: 0.7rem; font-weight: 700; }
.responsible-visit li p { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }

/* Closing photo */
.closing-image { color: var(--white); background: var(--deepest); }
.closing-image > img { width: 100%; height: min(72vh, 780px); object-fit: cover; }
.closing-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: clamp(32px, 6vw, 72px) max(20px, calc((100vw - var(--max)) / 2)); }
.closing-caption > p:first-child { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 7.2rem); letter-spacing: -0.05em; line-height: 0.9; }
.closing-caption .photo-credit { max-width: 280px; margin: 0; color: var(--sea-light); text-align: right; }

.content-page { min-height: 60vh; padding-block: clamp(72px, 10vw, 140px); }
.content-page article > h1,
.error-page h1 { max-width: 920px; margin-bottom: 32px; font-family: var(--serif); font-size: clamp(3rem, 8vw, 7rem); font-weight: 500; letter-spacing: -0.045em; line-height: 0.95; }
.content-page article > *:not(h1) { max-width: 72ch; }
.error-page .round-link { color: var(--deepest); }

/* Sources */
.sources { padding-block: 135px; }
.sources-heading { display: grid; grid-template-columns: 1fr 0.8fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.sources-heading h2 { margin: 0; }
.sources-heading > p { margin: 0; color: var(--muted); }
.source-groups { border-top: 2px solid var(--ink); }
.source-groups details { border-bottom: 1px solid var(--line); }
.source-groups summary { display: flex; justify-content: space-between; padding: 25px 4px; cursor: pointer; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; list-style: none; }
.source-groups summary::-webkit-details-marker { display: none; }
.source-groups summary::before { width: 25px; margin-right: 14px; color: var(--sea); content: "+"; }
.source-groups details[open] summary::before { content: "−"; }
.source-groups summary span { margin-left: auto; color: var(--muted); font-family: var(--sans); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.source-groups details > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; padding: 0 42px 30px; }
.source-groups details a { color: var(--sea); font-size: 0.78rem; text-decoration: none; }
.source-groups details a:hover { text-decoration: underline; }
.method-note { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; margin-top: 60px; padding: 32px; background: var(--foam); }
.method-note p { margin: 0; color: var(--muted); font-size: 0.77rem; }

/* Footer */
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 38px max(40px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--deepest); border-top: 1px solid var(--line-light); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > div { display: grid; line-height: 1; }
.footer-brand strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.footer-brand small { margin-top: 3px; color: var(--sea-light); font-size: 0.59rem; letter-spacing: 0.12em; text-transform: uppercase; }
footer > p { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.68rem; }
.footer-meta { display: flex; justify-content: flex-end; gap: 20px; font-size: 0.65rem; }
.footer-meta a { color: var(--sun); font-weight: 700; text-decoration: none; }
.footer-meta span { color: rgba(255,255,255,0.5); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { justify-content: flex-end; overflow-x: auto; }
  .header-source { display: none; }
  .access-alert { grid-template-columns: 58px 1fr 1.5fr; }
  .access-links { grid-column: 2 / -1; display: flex; }
  .chapter-index { grid-template-columns: repeat(3, 1fr); }
  .beach-grid { grid-template-columns: repeat(3, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .navy-timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 840px) {
  .section-shell { width: min(100% - 40px, var(--max)); }
  .site-header { display: flex; min-height: 66px; padding: 8px 18px; gap: 22px; }
  .site-header nav { justify-content: flex-start; padding: 8px 2px; gap: 19px; }
  .site-header nav a { white-space: nowrap; }
  .brand-copy { display: none; }
  .hero { min-height: calc(100svh - 66px); }
  .hero-topline { padding: 22px; }
  .hero-topline p:last-child { display: none; }
  .hero-copy { min-height: calc(100svh - 132px); padding: 80px 22px 70px; }
  .hero h1 { font-size: clamp(4.1rem, 17vw, 7rem); }
  .access-alert { grid-template-columns: 50px 1fr; padding: 28px 20px; }
  .access-alert > p, .access-links { grid-column: 1 / -1; }
  .territory, .photo-archive, .voices, .quilombo, .school, .navy, .sources { padding-block: 90px; }
  .territory-copy, .section-heading, .sources-heading, .responsible-visit { grid-template-columns: 1fr; gap: 34px; }
  .territory > .section-kicker, .section-heading { margin-bottom: 44px; }
  .fact-rail { grid-template-columns: 1fr; margin-top: 55px; }
  .fact-rail article { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-rail article:last-child { border-bottom: 0; }
  .chapter-index { grid-template-columns: repeat(2, 1fr); }
  .beach-grid { grid-template-columns: repeat(2, 1fr); }
  .editor-note, .rights-note, .navigation-warning { grid-template-columns: 1fr; }
  .archive-grid { display: block; }
  .archive-grid > * { margin-bottom: 22px; }
  .archive-record { min-height: 420px; }
  .archive-image img { height: 430px; }
  .voice-grid { grid-template-columns: 1fr; }
  .event-layout, .school-profile, .navy-visual { grid-template-columns: 1fr; }
  .culture-cards { margin-top: 30px; }
  .recognition-block { grid-template-columns: 1fr; gap: 25px; margin-top: 80px; }
  .recognition-timeline, .timeline-sources { grid-column: 1; }
  .recognition-timeline { grid-template-columns: repeat(2, 1fr); }
  .levy-card, .responsible-title { position: static; }
  .school-media { grid-template-columns: 1fr; }
  .navy-visual img { height: 440px; }
  .navigation-warning > div:last-child { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .responsible-visit { padding-block: 90px; }
  .closing-caption { grid-template-columns: 1fr; }
  .closing-caption .photo-credit { text-align: left; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .section-shell { width: calc(100% - 28px); }
  .site-header { overflow: hidden; }
  .site-header nav { padding-right: 22px; }
  .brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
  .hero-background { object-position: 62% center; }
  .hero-shade { background: rgba(6, 37, 40, 0.66); }
  .hero h1 { font-size: clamp(3.8rem, 19vw, 5.4rem); line-height: 0.8; }
  .hero-lede { font-size: 1.05rem; }
  .access-alert { gap: 18px; }
  .access-links { display: grid; }
  .prose-columns { columns: 1; }
  .chapter-index { grid-template-columns: 1fr; }
  .chapter-index a { min-height: 150px; }
  .beach-grid { grid-template-columns: 1fr; }
  .beach-card { min-height: 300px; }
  .feature-photo img { height: 58vh; }
  .voice-card { grid-template-columns: 56px 1fr; padding: 24px 18px; }
  .voice-initials { width: 50px; height: 50px; font-size: 1rem; }
  .culture-cards article { grid-template-columns: 1fr; }
  .culture-cards span { grid-row: auto; margin-bottom: 8px; }
  .recognition-timeline { grid-template-columns: 1fr; }
  .recognition-timeline li { min-height: 130px; }
  .school-timeline li { grid-template-columns: 1fr; gap: 8px; }
  .school-media a { grid-template-columns: 60px 1fr; padding: 24px 18px; }
  .play-icon, .read-icon { width: 52px; height: 52px; }
  .navy-visual img { height: 360px; }
  .navy-timeline { grid-template-columns: 1fr; }
  .navy-timeline li { min-height: 150px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-grid > a { min-height: 280px; }
  .responsible-visit { gap: 30px; }
  .responsible-visit li { grid-template-columns: 45px 1fr; }
  .source-groups details > div { grid-template-columns: 1fr; padding-inline: 30px 4px; }
  .source-groups summary { font-size: 1.2rem; }
  .source-groups summary span { display: none; }
  .method-note { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  footer { grid-template-columns: 1fr; padding: 30px 20px; }
  .footer-meta { justify-content: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
