:root {
  --ink: #172f37;
  --teal: #1c4552;
  --teal-bright: #187575;
  --purple: #8e2288;
  --moss: #6a712d;
  --lime: #e0e320;
  --orange: #f15922;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: rgba(28, 69, 82, 0.18);
  --shadow: 0 24px 70px rgba(23, 47, 55, 0.13);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.treaty-bar {
  padding: 0.45rem 5vw;
  color: var(--white);
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 47, 55, 0.12);
  backdrop-filter: blur(16px);
}
.brand img { width: 210px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.primary-nav a {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:not(.nav-button) { border-bottom: 2px solid transparent; }
.primary-nav a:not(.nav-button):hover,
.primary-nav a:not(.nav-button):focus-visible { border-bottom-color: var(--purple); }
.nav-button {
  padding: 0.62rem 1.1rem;
  color: var(--white);
  background: var(--purple);
  border-radius: 999px;
}
.nav-button:hover, .nav-button:focus-visible { background: #6f176a; }
.menu-toggle { display: none; border: 0; background: none; }

.site-map-nav {
  position: sticky;
  z-index: 45;
  top: 88px;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.7rem max(1rem, calc((100vw - var(--max)) / 2));
  overflow-x: auto;
  color: var(--ink);
  background: rgba(247, 247, 242, 0.96);
  border-bottom: 1px solid rgba(23, 47, 55, 0.15);
  box-shadow: 0 8px 24px rgba(23, 47, 55, 0.06);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}
.site-map-nav a {
  flex: 0 0 auto;
  padding: 0.46rem 0.76rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-map-nav a:hover,
.site-map-nav a:focus-visible { color: var(--white); background: var(--teal-bright); }
.site-map-nav a[aria-current="page"] { color: var(--white); background: var(--purple); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  min-height: 680px;
  overflow: hidden;
  background: var(--teal);
}
.hero .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem);
  color: var(--white);
}
.hero .hero-copy::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 270px;
  height: 270px;
  content: "";
  border: 2px solid rgba(224, 227, 32, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(224, 227, 32, 0.06), 0 0 0 58px rgba(224, 227, 32, 0.045);
}
.eyebrow {
  margin: 0 0 1.25rem;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.memory-cta h2 {
  margin: 0;
  font-family: "Barlow Semi Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(4.8rem, 8.4vw, 8.8rem); }
.hero h1 span { color: var(--lime); }
.hero-intro {
  max-width: 34rem;
  margin: 2.2rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}
.text-link {
  width: max-content;
  padding-bottom: 0.25rem;
  color: var(--white);
  border-bottom: 2px solid var(--lime);
  font-weight: 700;
  text-decoration: none;
}
.text-link span { padding-left: 0.4rem; color: var(--lime); }
.hero-gallery {
  position: relative;
  min-height: 680px;
  background: #dce4df;
}
.hero-image { position: absolute; margin: 0; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.hero-image:hover img { transform: scale(1.025); }
.hero-image-main { inset: 0 31% 0 0; }
.hero-image-main img { object-position: 52% center; }
.hero-image-top { inset: 0 0 50% 69%; border-left: 8px solid var(--paper); border-bottom: 4px solid var(--paper); }
.hero-image-bottom { inset: 50% 0 0 69%; border-left: 8px solid var(--paper); border-top: 4px solid var(--paper); }
.year-stamp {
  position: absolute;
  left: calc(69% - 62px);
  top: 50%;
  display: flex;
  width: 124px;
  height: 124px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 12px 38px rgba(23, 47, 55, 0.22);
}
.year-stamp strong { font: 800 3rem/0.82 "Barlow Semi Condensed", sans-serif; }
.year-stamp span { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }

.stories { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) 3rem; }
.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  column-gap: 4rem;
  max-width: 980px;
  margin: 0 0 clamp(4.5rem, 8vw, 8rem);
}
.section-heading .eyebrow { grid-column: 1 / -1; color: var(--purple); }
.section-heading h2 { font-size: clamp(3.5rem, 6vw, 6rem); color: var(--teal); }
.section-heading > p:last-child { align-self: end; margin: 0 0 0.5rem; font-size: 1.08rem; }

.story {
  --accent: var(--purple);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  margin-bottom: clamp(7rem, 12vw, 12rem);
}
.story:last-child { margin-bottom: 1rem; }
.story-moss { --accent: var(--moss); }
.story-teal { --accent: var(--teal-bright); }
.story-reverse .story-visual { order: 2; }
.story-visual {
  position: relative;
  padding: 1rem 0 0 1rem;
}
.story-visual::before {
  position: absolute;
  inset: 0 1rem 3.4rem 0;
  z-index: -1;
  content: "";
  background: var(--accent);
  border-radius: 50% 50% 2.5rem 2.5rem;
  transform: rotate(-2deg);
}
.story-reverse .story-visual::before { transform: rotate(2deg); }
.story-visual > img:not(.partner-mark) {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50% 50% 2rem 2rem;
  box-shadow: var(--shadow);
}
.story-visual .partner-mark {
  position: absolute;
  z-index: 2;
  top: -1.2rem;
  right: -1rem;
  width: min(58%, 250px);
  padding: 1rem;
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(23, 47, 55, 0.18);
}
.caption { margin: 1rem 0 0 1rem; color: #566b71; font-size: 0.8rem; line-height: 1.45; }
.story-meta { display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem; margin-bottom: 1.2rem; }
.story-meta span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.impact-line { margin: 0 0 0.45rem; color: #5b6b6f; font-size: 1rem; font-weight: 700; }
.story h3 {
  margin: 0 0 1.7rem;
  color: var(--ink);
  font: 800 clamp(2.6rem, 4.5vw, 4.5rem)/0.98 "Barlow Semi Condensed", sans-serif;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
blockquote { position: relative; margin: 0; padding: 1.7rem 0 0; border-top: 3px solid var(--accent); }
blockquote::before {
  position: absolute;
  top: -0.34em;
  right: 0;
  content: "“";
  color: var(--accent);
  background: var(--paper);
  padding-left: 0.5rem;
  font: 800 4.5rem/1 Georgia, serif;
}
blockquote p { margin: 0 0 1rem; }
details { margin-top: 0.9rem; }
summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  content: "+";
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  line-height: 1;
}
details[open] summary::after { content: "−"; }
.story-more { padding-top: 1.2rem; }
.attribution { margin: 1.6rem 0 0; font-weight: 800; }
.attribution span { display: block; color: #66787d; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.memory-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
  padding: clamp(4.5rem, 8vw, 8rem) max(5vw, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--purple);
}
.memory-cta .eyebrow { color: var(--lime); }
.memory-cta h2 { max-width: 700px; font-size: clamp(3.5rem, 6.5vw, 6.8rem); }
.memory-cta > div:last-child { max-width: 390px; }
.memory-cta > div:last-child p { margin: 0 0 1.8rem; font-size: 1.08rem; }
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.25rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.cta-button:hover, .cta-button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23, 47, 55, 0.28); }

.site-footer {
  display: grid;
  grid-template-columns: 0.65fr 1.8fr;
  gap: 4rem;
  padding: 4.5rem max(5vw, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #102d35;
  font-size: 0.88rem;
}
.footer-brand img { width: 190px; padding: 0.6rem; background: var(--white); }
.footer-brand p { max-width: 330px; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a { color: var(--white); font-weight: 700; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--lime); }
.footer-meta { grid-column: 1 / -1; display: flex; gap: 2rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; }
.footer-meta p { max-width: 48rem; margin: 0; }

.site-directory {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 54px;
  padding: .45rem 1rem;
  background: rgba(247,247,242,.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(23,47,55,.06);
}
.site-directory > a,
.site-directory summary { padding: .55rem .85rem; border-radius: 999px; cursor: pointer; font-size: .78rem; font-weight: 800; letter-spacing: .035em; list-style: none; text-decoration: none; text-transform: uppercase; }
.site-directory summary::-webkit-details-marker { display: none; }
.site-directory details[open] summary,
.site-directory > a[aria-current="page"] { color: var(--white); background: var(--purple); }
.site-directory details.has-current:not([open]) summary { color: var(--purple); }
.directory-menu { position: absolute; top: calc(100% - .2rem); left: 50%; display: grid; grid-template-columns: repeat(3,minmax(12rem,1fr)); gap: .45rem; width: min(760px,calc(100vw - 2rem)); padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); transform: translateX(-50%); }
.directory-menu a { padding: .7rem .8rem; border-radius: .5rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
.directory-menu a:hover,.directory-menu a:focus-visible,.directory-menu a[aria-current="page"] { color: var(--white); background: var(--teal-bright); }
.footer-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; width: 100%; }
.footer-groups strong { display: block; margin-bottom: .7rem; color: var(--lime); font-family: "Barlow Semi Condensed",sans-serif; text-transform: uppercase; }
.footer-groups a { display: block; width: max-content; max-width: 100%; margin: .35rem 0; color: rgba(255,255,255,.82); text-decoration: none; }

@media (max-width: 1000px) {
  .site-header { min-height: 78px; }
  .site-map-nav { top: 78px; padding-right: 1rem; padding-left: 1rem; }
  .brand img { width: 175px; }
  .menu-toggle { display: grid; width: 46px; height: 46px; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--teal); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 1.3rem 5vw 1.8rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(23, 47, 55, 0.12);
    flex-direction: column;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.35rem 0; font-size: 1rem; }
  .primary-nav .nav-button { width: max-content; padding: 0.65rem 1.1rem; }
  .hero { grid-template-columns: 1fr; }
  .hero .hero-copy { min-height: 570px; padding-right: 10vw; }
  .hero-gallery { min-height: 600px; }
  .stories { padding-right: 2rem; padding-left: 2rem; }
  .story { gap: 3.5rem; }
  .memory-cta { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-meta { grid-column: 1 / -1; }
  .site-directory { justify-content: flex-start; }
  .directory-menu { position: fixed; top: 9rem; grid-template-columns: repeat(2,1fr); max-height: calc(100vh - 10rem); overflow-y: auto; }
}

@media (max-width: 740px) {
  .treaty-bar { font-size: 0.68rem; }
  .site-map-nav { gap: 0.25rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .site-map-nav a { padding: 0.42rem 0.68rem; font-size: 0.7rem; }
  .site-directory { flex-wrap: wrap; justify-content: center; }
  .site-directory > a,.site-directory summary { padding: .45rem .55rem; font-size: .68rem; }
  .directory-menu { top: 8rem; grid-template-columns: 1fr; }
  .footer-groups { grid-template-columns: repeat(2,1fr); }
  .footer-meta { display: block; }
  .footer-meta p + p { margin-top: .7rem; }
  .hero .hero-copy { min-height: 510px; padding: 4.5rem 1.5rem; }
  .hero h1 { font-size: clamp(4.3rem, 23vw, 7rem); }
  .hero-gallery { min-height: 520px; }
  .hero-image-main { inset: 0 0 35% 0; }
  .hero-image-top { inset: 65% 50% 0 0; border: 6px solid var(--paper); border-bottom: 0; border-left: 0; }
  .hero-image-bottom { inset: 65% 0 0 50%; border: 6px solid var(--paper); border-right: 0; border-bottom: 0; }
  .year-stamp { left: 50%; top: 65%; width: 96px; height: 96px; transform: translate(-50%, -50%); }
  .year-stamp strong { font-size: 2.35rem; }
  .section-heading { display: block; margin-bottom: 5.5rem; }
  .section-heading h2 { margin-bottom: 1.6rem; }
  .story { display: flex; gap: 2.6rem; margin-bottom: 7.5rem; flex-direction: column; }
  .story-reverse .story-visual { order: initial; }
  .story-visual { width: calc(100% - 1rem); }
  .story-copy { width: 100%; }
  .story h3 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .memory-cta { padding-right: 1.5rem; padding-left: 1.5rem; }
  .site-footer { grid-template-columns: 1fr; gap: 2.5rem; padding-right: 1.5rem; padding-left: 1.5rem; }
  .footer-meta { grid-column: auto; }
}

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

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