:root {
  --ink: #132d35;
  --muted: #5b6f73;
  --paper: #f5f0e5;
  --paper-deep: #e8dfcc;
  --foam: #fdfbf6;
  --sea: #0c6570;
  --sea-deep: #083f4a;
  --sky: #87c4c7;
  --signal: #d96d45;
  --line: rgba(19, 45, 53, 0.16);
  --shadow: 0 18px 50px rgba(8, 63, 74, 0.12);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(135, 196, 199, 0.22), transparent 30rem),
    var(--paper);
  line-height: 1.65;
}

a {
  color: var(--sea);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--signal);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sea-deep);
  color: var(--foam);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(130deg, rgba(8, 63, 74, 0.98), rgba(12, 101, 112, 0.9)),
    var(--sea-deep);
  color: var(--foam);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -12rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(255, 255, 255, 0.035),
    0 0 0 10rem rgba(255, 255, 255, 0.025);
  content: "";
}

.hero-inner {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 4rem;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  min-height: 620px;
  margin: 0 auto;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(253, 251, 246, 0.84);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.voyage-feature {
  overflow: hidden;
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  background: #062f38;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.voyage-feature > img {
  display: block;
  width: 100%;
  height: auto;
}

.voyage-feature figcaption {
  display: flex;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 4.5rem 1.35rem 1.25rem;
  background: linear-gradient(to bottom, transparent, rgba(4, 34, 41, 0.92) 72%);
}

.voyage-feature-copy p {
  margin: 0;
}

.voyage-feature-kicker {
  color: var(--sky);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.voyage-feature-route {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.25rem !important;
  color: var(--foam);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.track-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--foam);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.track-button {
  flex: 0 0 auto;
  border-color: #f0c66f;
  background: #f0c66f;
  color: var(--sea-deep);
}

.track-button:hover {
  border-color: var(--foam);
  color: var(--foam);
  background: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 2rem));
  margin: -2.2rem auto 0;
  border-radius: 1rem;
  background: var(--foam);
  box-shadow: var(--shadow);
}

.stat {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.stat:last-child strong {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.stats + .section {
  padding-top: 5rem;
}

main > .section:last-of-type {
  padding-bottom: 5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.intro-section .section-heading {
  align-items: start;
}

.intro-copy p + p {
  margin-top: 1.15rem;
}

.intro-copy strong {
  color: var(--ink);
}

.month-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 3rem 0 1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.month-heading::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.chapter-card {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  gap: 1.2rem;
  min-height: 11rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(253, 251, 246, 0.64);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.chapter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12, 101, 112, 0.45);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.chapter-date {
  color: var(--sea);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-card h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.55rem;
}

.chapter-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.media-count {
  align-self: end;
  margin-top: 1rem;
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 700;
}

.purpose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 1.4rem;
  background: var(--paper-deep);
}

.purpose h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.purpose p {
  margin: 0;
  color: var(--muted);
}

.purpose-link {
  display: inline-flex;
  margin-top: 1.25rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.context-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.context-card,
.resource-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(253, 251, 246, 0.64);
}

.context-card > span,
.resource-label {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.context-card h3,
.resource-card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.55rem;
}

.context-card p,
.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.mission-quote {
  margin: 2rem 0 0;
  padding: 2.2rem;
  border-radius: 1rem;
  background: var(--sea-deep);
  color: var(--foam);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.15;
}

.mission-quote cite {
  display: block;
  margin-top: 1.2rem;
  color: rgba(253, 251, 246, 0.68);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.resource-card {
  position: relative;
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  overflow: hidden;
  padding: 1.8rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12, 101, 112, 0.45);
  box-shadow: var(--shadow);
  color: inherit;
}

.resource-card strong {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.8rem;
  color: var(--sea);
}

.resource-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--signal);
  color: var(--sea-deep);
  font-size: 1.35rem;
  font-weight: 800;
}

.resource-song {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 90% 5%, rgba(240, 198, 111, 0.2), transparent 12rem),
    var(--sea-deep);
  color: var(--foam);
}

.resource-song-gold {
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.15), transparent 12rem),
    #17616a;
}

.resource-song .resource-label,
.resource-song strong {
  color: var(--signal);
}

.resource-song p {
  color: rgba(253, 251, 246, 0.7);
}

.resource-media {
  background:
    radial-gradient(circle at 90% 5%, rgba(218, 103, 71, 0.16), transparent 12rem),
    var(--paper-deep);
}

.resource-media .resource-mark {
  background: var(--sea);
  color: var(--foam);
}

.student-outreach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 8% 92%, rgba(240, 198, 111, 0.18), transparent 18rem),
    var(--sea-deep);
  color: var(--foam);
}

.student-outreach .eyebrow {
  color: var(--sky);
}

.student-outreach h2 {
  max-width: 28rem;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
}

.student-outreach-copy p {
  margin: 0;
  color: rgba(253, 251, 246, 0.74);
  font-size: 1.02rem;
  line-height: 1.7;
}

.student-outreach-copy p + p {
  margin-top: 1rem;
}

.student-outreach-copy strong {
  color: var(--foam);
}

.contact-email {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.6rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--foam);
}

.contact-email > span:first-child {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voices-hero {
  padding: 6rem 1rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(240, 198, 111, 0.22), transparent 24rem),
    var(--sea-deep);
  color: var(--foam);
}

.voices-hero-inner,
.voices-list,
.letter-hero,
.letter-language {
  width: min(980px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.voices-hero h1,
.letter-hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.voices-hero-inner > p:last-of-type {
  max-width: 46rem;
  color: rgba(253, 251, 246, 0.76);
  font-size: 1.08rem;
}

.language-key,
.language-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.language-key span,
.language-jump a {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--foam);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.voices-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 5rem 1rem 7rem;
}

.voice-card {
  display: flex;
  min-height: 18rem;
  padding: 1.6rem;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(253, 251, 246, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.voice-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.voice-number,
.voice-read,
.letter-language-label {
  color: var(--sea);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.voice-card h2 {
  margin: 1rem 0;
  font-size: 1.7rem;
}

.voice-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.voice-read {
  margin-top: auto;
}

.letter-page {
  padding-bottom: 7rem;
}

.letter-hero {
  padding: 6rem 1rem 4rem;
}

.letter-hero > p:not(.eyebrow) {
  max-width: 46rem;
  color: var(--muted);
}

.language-jump a {
  border-color: var(--sea);
  color: var(--sea);
}

.letter-language {
  padding: 4rem clamp(1rem, 6vw, 5rem);
  border-top: 4px solid var(--signal);
  background: rgba(253, 251, 246, 0.72);
  box-shadow: var(--shadow);
}

.letter-language + .letter-language {
  margin-top: 3rem;
}

.letter-language h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.letter-language > p:not(.letter-language-label) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.85;
}

.chinese-letter > p:not(.letter-language-label) {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.letter-pagination {
  margin-top: 2rem;
}

.chapter-hero {
  padding: 5rem 0 4rem;
  border-top: 1px solid var(--line);
}

.chapter-hero-inner,
.chapter-layout,
.chapter-pagination {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.chapter-kicker {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--sea);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-kicker span + span::before {
  margin-right: 0.7rem;
  color: var(--signal);
  content: "•";
}

.chapter-hero h1 {
  max-width: 930px;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.chapter-layout {
  display: block;
  padding-bottom: 6rem;
}

.journal-body {
  max-width: 44rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.85;
}

.journal-body p {
  margin: 0 0 1.55rem;
}

.media-section {
  padding: 5rem 0;
  background: var(--sea-deep);
  color: var(--foam);
}

.media-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.media-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.media-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.media-heading p {
  max-width: 34rem;
  margin: 0;
  color: rgba(253, 251, 246, 0.68);
  font-size: 0.85rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
}

.video-shell {
  display: grid;
  min-height: 18rem;
  place-items: center;
  background: #031c21;
}

.local-video {
  display: block;
  width: 100%;
  max-height: 38rem;
  background: #031c21;
  object-fit: contain;
}

.image-shell {
  display: grid;
  min-height: 18rem;
  place-items: center;
  background: #031c21;
}

.local-image {
  display: block;
  width: 100%;
  max-height: 46rem;
  background: #031c21;
  object-fit: contain;
}

.media-placeholder {
  display: grid;
  min-height: 18rem;
  padding: 2rem;
  place-items: center;
  text-align: center;
}

.media-placeholder strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.media-placeholder p {
  max-width: 24rem;
  margin: 0 auto 1.2rem;
  color: rgba(253, 251, 246, 0.64);
  font-size: 0.82rem;
}

.embed-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--foam);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.embed-button {
  border-color: var(--sky);
  background: var(--sky);
  color: var(--sea-deep);
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.embed-frame {
  display: block;
  width: 100%;
  min-height: 30rem;
  border: 0;
  background: white;
}

.media-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(253, 251, 246, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 4rem 0;
}

.page-link {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.page-link:last-child {
  text-align: right;
}

.page-link span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 780px) {
  .section {
    padding: 1.75rem 0;
  }

  .stats + .section {
    padding-top: 3.5rem;
  }

  main > .section:last-of-type {
    padding-bottom: 3.5rem;
  }

  .site-nav a:nth-child(n + 3) {
    display: none;
  }

  .hero-inner,
  .section-heading,
  .purpose,
  .student-outreach,
  .chapter-layout {
    grid-template-columns: 1fr;
  }

  .contact-email {
    grid-template-columns: 1fr auto;
  }

  .contact-email > span:first-child {
    grid-column: 1 / -1;
  }

  .hero-inner {
    gap: 2rem;
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .timeline,
  .media-grid,
  .voices-list,
  .context-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .chapter-card {
    grid-template-columns: 5.6rem minmax(0, 1fr);
  }

  .chapter-layout {
    gap: 2rem;
  }

  .voyage-feature figcaption {
    display: block;
    padding-top: 4rem;
  }

  .voyage-feature .track-button {
    width: 100%;
    margin-top: 1rem;
  }

  .media-heading {
    display: block;
  }

  .media-heading p {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .chapter-card {
    grid-template-columns: 1fr;
  }

  .chapter-pagination {
    grid-template-columns: 1fr;
  }

  .page-link:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .chapter-card {
    transition: none;
  }
}
