@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-serif-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-serif-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-600.woff2") format("woff2");
}

:root {
  --navy: #16324a;
  --navy-deep: #0e2436;
  --teal: #1c6670;
  --teal-deep: #134e56;
  --sand: #e6d5bc;
  --sand-deep: #cbb892;
  --private: #c6ae84;
  --paper: #f7f4ee;
  --paper-2: #efeae2;
  --ink: #1c2a33;
  --muted: #5c675f;
  --grass: #7d8f72;
  --grass-deep: #3f5344;
  --wet: #2c6570;
  --public: #d5e0d2;
  --line: #ddd4c6;
  --white: #fffcf8;
  --max: 74rem;
  --serif: "Source Serif 4", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; }

a {
  color: var(--teal-deep);
  text-underline-offset: 0.16em;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 20;
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.logo-link {
  display: block;
  flex: 0 1 300px;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 115;
  line-height: 0;
}

.logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36.4%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
}

.site-header a { color: var(--navy); text-decoration: none; }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.15rem 0.3rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
  color: var(--teal-deep);
}

.record-line {
  margin: 0;
  padding: 0.45rem 1rem;
  background: var(--navy-deep);
  color: #e7eee8;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.wide { max-width: var(--max); }

h1, h2, h3 { font-weight: 600; line-height: 1.2; color: var(--navy); }

h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 0.75rem; }

h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin: 0 0 0.7rem; }

h3 { font-size: 1.2rem; margin: 1.15rem 0 0.4rem; }

p { margin: 0.7rem 0; }

ul, ol { margin: 0.45rem 0 0.9rem; padding-left: 1.2rem; }

li { margin: 0.28rem 0; }

.lede {
  font-size: 1.2rem;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: var(--paper);
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-photo,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo { object-position: center 42%; }

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(14, 36, 54, 0.28) 0%, rgba(14, 36, 54, 0.12) 32%, rgba(14, 36, 54, 0.62) 68%, rgba(14, 36, 54, 0.9) 100%);
}

.page-hero::after {
  background:
    linear-gradient(100deg, rgba(10, 26, 38, 0.9) 0%, rgba(10, 26, 38, 0.74) 48%, rgba(10, 26, 38, 0.28) 100%);
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.2rem;
  width: 100%;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.hero h1 {
  max-width: 16em;
  color: #f7f4ee;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  font-weight: 600;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(8, 18, 28, 0.45);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-video {
  flex: 0 0 auto;
  width: min(11.5rem, 24vw);
  margin: 0;
}

.hero-video-frame { position: relative; }

.hero-video-poster { display: none; }

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #102430;
  border: 1px solid rgba(247, 244, 238, 0.55);
}

.hero-video.is-ready .hero-video-frame {
  aspect-ratio: 9 / 16;
  background: #102430;
  border: 1px solid rgba(247, 244, 238, 0.55);
}

.hero-video.is-ready video,
.hero-video.is-ready .hero-video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.hero-video.is-ready video { opacity: 0; }
.hero-video.is-ready.is-playing video { opacity: 1; }

.hero-video.is-ready .hero-video-poster {
  z-index: 1;
  pointer-events: none;
}

.hero-video.is-ready.is-playing .hero-video-poster { opacity: 0; }

.hero-video-control {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.45rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 36, 54, 0.9);
  color: #f7f4ee;
  box-shadow: 0 1px 4px rgba(8, 18, 28, 0.35);
  cursor: pointer;
}

.hero-video-control:hover,
.hero-video-control:focus-visible {
  background: var(--teal);
  color: #f7f4ee;
}

.hero-video-icon {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.hero-video-icon-play { margin-left: 0.16rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.75rem 1.35rem;
  background: var(--paper);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn:hover { background: #fff; color: var(--navy-deep); }

.btn-line {
  background: transparent;
  color: #f7f4ee;
  border-color: rgba(247, 244, 238, 0.75);
}

.btn-line:hover { background: rgba(247, 244, 238, 0.12); color: #fff; }

.btn-solid {
  background: var(--navy);
  color: #f7f4ee;
}

.btn-solid:hover { background: var(--navy-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover { background: var(--navy); color: #f7f4ee; }


.band { padding: 4rem 0; }

.band-sand { background: #f3ecdf; }

.band-white { background: var(--white); }

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.intro {
  max-width: 40rem;
  font-size: 1.15rem;
}

.diagrams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.cross {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cross svg { display: block; width: 100%; height: auto; background: #e7eef0; }

.cross figcaption { padding: 1rem 1rem 1.15rem; }

.cross h3 {
  margin: 0 0 0.55rem;
  min-height: 2.7em;
  font-size: 1.12rem;
}

.cross p { margin: 0.45rem 0 0; font-size: 1rem; }

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.86rem;
}

.swatches li { display: flex; align-items: center; gap: 0.35rem; margin: 0; }

.swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  display: inline-block;
  flex: 0 0 auto;
}

.swatch.wet { background: var(--wet); }
.swatch.zone { background: var(--grass); }
.swatch.private { background: var(--private); }
.swatch.public { background: #b7c7b4; }

.limits {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border-left: 4px solid var(--grass-deep);
  border-radius: 0 6px 6px 0;
}

.limits p { margin: 0.4rem 0; }

.yearline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0.6rem 0 0.2rem;
}

.yearline li {
  position: relative;
  padding: 1.35rem 0.75rem 0.4rem 0;
}

.yearline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
}

.yearline li::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--navy);
}

.band-sand .yearline li::after { background: #f3ecdf; }

.yearline .year {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 600;
}

.yearline p {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  padding-right: 0.6rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.faq details p { margin: 0.55rem 0 0; }

.map-figure { margin: 1.2rem 0 0.4rem; }

.map-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.page-hero {
  position: relative;
  min-height: 16.5rem;
  display: grid;
  align-items: end;
  background: var(--navy);
  overflow: hidden;
  color: #f7f4ee;
}

.page-hero img { object-position: center 55%; }

.page-hero h1 {
  color: #f7f4ee;
  max-width: 16em;
  text-shadow: 0 2px 16px rgba(8, 18, 28, 0.35);
}

.page-hero .lede { color: #f3efe6; max-width: 38rem; }

.page-hero-plain {
  background:
    linear-gradient(120deg, var(--navy-deep), var(--teal-deep));
}

.entry, .group, .prose section {
  padding: 1.4rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.prose h2 { margin-top: 0; }

.on-this-page {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
}

.on-this-page a {
  text-decoration: none;
  background: var(--paper-2);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.on-this-page a:hover { background: var(--sand); color: var(--navy); }

.tlist { margin-top: 0.5rem; }

.tcard {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.tcard-date time {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.badge {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  background: var(--navy);
  color: #f7f4ee;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.badge.vote { background: var(--grass-deep); }
.badge.law { background: var(--teal-deep); }
.badge.settle { background: #7a6240; }
.badge.appeal { background: #1a4558; }

.tcard h2 { margin: 0 0 0.35rem; font-size: 1.45rem; }

.summary { margin-top: 0.2rem; }

.tcard details { margin-top: 0.7rem; }

.tcard summary,
.tcard summary::-webkit-details-marker { cursor: pointer; }

.tcard summary {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--teal-deep);
  list-style: none;
}

.tcard summary::before {
  content: "+ ";
  font-weight: 600;
}

.tcard details[open] summary::before { content: ""; }

.tcard details[open] summary { margin-bottom: 0.4rem; }

.vote, .held, .note {
  background: var(--paper-2);
  padding: 0.8rem 0.95rem 0.9rem;
  margin: 0.8rem 0;
  border-radius: 6px;
}

.vote h3, .held h3 { margin-top: 0; }

.sources { font-size: 1rem; }

footer {
  border-top: 1px solid var(--line);
  background: var(--navy-deep);
  color: #d5ddd6;
  padding: 1.6rem 1.25rem 1.8rem;
  font-size: 0.95rem;
}

.footer-inner { max-width: var(--max); margin: 0 auto; }

footer a { color: #f3efe6; }

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 0.8rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-family: var(--sans);
}


a.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  background: var(--sand);
  color: var(--navy-deep);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 4px;
}

a.contact-button:hover,
a.contact-button[aria-current="page"] {
  background: #f7f4ee;
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 0.35rem;
  max-width: 36rem;
  margin-top: 1rem;
}

.contact-form label {
  margin-top: 0.55rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #cfc4b2;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  justify-self: start;
  margin-top: 0.85rem;
  min-height: 48px;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: #f7f4ee;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover { background: var(--navy-deep); }
.contact-form button:disabled { opacity: 0.7; cursor: wait; }
.contact-status { min-height: 1.5em; }

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 0.15rem 0.9rem 0.3rem;
    gap: 0.3rem 0.75rem;
  }

  .site-nav {
    flex: 1 0 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .site-nav a {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: #f3ecdf;
    min-height: 44px;
    padding: 0.42rem 0.75rem;
    font-size: 0.92rem;
  }

  .site-nav a[aria-current="page"] {
    background: var(--navy);
    color: #f7f4ee;
    border-bottom-color: transparent;
  }

  .site-nav a:hover { color: var(--navy); background: var(--sand); }
  .site-nav a[aria-current="page"]:hover { color: #fff; background: var(--navy-deep); }

  .yearline {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(13.5rem, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.6rem;
  }

  .yearline li { scroll-snap-align: start; padding-right: 1rem; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; align-items: stretch; }
  .hero-video { align-self: flex-end; width: min(9rem, 42vw); }
  .diagrams { grid-template-columns: 1fr; }
  .cross h3 { min-height: 0; }
  .tcard { grid-template-columns: 1fr; gap: 0.35rem; }
  .tcard-date { display: flex; align-items: baseline; gap: 0.6rem; }
  .badge { margin-top: 0; }
}

@media (max-width: 700px) {
  .hero { min-height: 86vh; }
  .hero-inner, .page-hero-inner { padding: 3.2rem 1rem 2.2rem; }
  .band { padding: 2.6rem 0; }
  .hero-actions .btn, .actions .btn { width: 100%; }
}

@media print {
  .site-header, .record-line { position: static; }
  .hero, .page-hero { min-height: 0; color: black; background: white; }
  .hero h1, .page-hero h1, .page-hero .lede { color: black; }
  .hero::after, .page-hero::after { display: none; }
  .skip, .hero-photo, .page-hero img { display: none; }
  footer { background: white; color: black; }
  a { text-decoration: underline; }
}
