@font-face {
  font-family: "Alata";
  src: url("../fonts/alata-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --muted: #616161;
  --line: #d8dde1;
  --blue: #55ace0;
  --blue-dark: #247eaf;
  --warning: #fff7e6;
  --warning-line: #d49a24;
  --font-display: "Alata", "Trebuchet MS", sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --content: 68rem;
  --reading: 46rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --ease: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.18em;
  transition: color var(--ease), opacity var(--ease), background-color var(--ease);
}

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

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.button,
.nav-link,
.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
p,
blockquote {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 8vw, 4.85rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

h4 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.25;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.25rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--content));
  margin-inline: auto;
}

.reading {
  width: min(100%, var(--reading));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--soft {
  background: var(--soft);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 6vw, 4.5rem);
}

.section-heading p {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  line-height: 0.9;
  text-align: center;
}

.brand-mark span:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  letter-spacing: 0.13em;
}

.brand-mark span:last-child {
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  min-width: 3.2rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.primary-nav {
  position: absolute;
  top: 100%;
  right: var(--gutter);
  left: var(--gutter);
  display: none;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.primary-nav[data-open="true"] {
  display: block;
}

.nav-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--soft);
  color: var(--blue-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 5.25rem);
  place-items: end center;
  isolation: isolate;
  overflow: hidden;
  background: #493b33 url("../images/leia-hero-mobile.jpg") center 32% / cover no-repeat;
  color: var(--paper);
  text-align: center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 22%, rgba(0, 0, 0, 0.76) 100%);
  content: "";
}

.hero-content {
  width: min(100%, 65rem);
  padding: 3.5rem var(--gutter) 2.5rem;
}

.hero h1 {
  margin-bottom: 0.6rem;
  color: var(--paper);
}

.hero-lead {
  max-width: 57rem;
  margin: 0 auto 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.7rem);
  line-height: 1.35;
}

.hero-copy {
  max-width: 53rem;
  margin-inline: auto;
  font-weight: 600;
}

.hero-follow {
  margin: 1.25rem 0;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.update-card {
  max-width: 52rem;
  margin: 1.5rem auto 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.38);
  text-align: left;
}

.update-card h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.update-card p {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.update-card a {
  color: var(--paper);
  font-weight: 700;
}

.shortcut-bar {
  background: var(--ink);
  color: var(--paper);
}

.shortcut-list {
  display: grid;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
}

.shortcut-list a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid #393939;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.shortcut-list a::after {
  color: var(--blue);
  content: "→";
  font-size: 1.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: var(--ink);
  color: var(--paper);
}

.button--light {
  color: var(--paper);
}

.button--light:hover {
  background: var(--paper);
  color: var(--ink);
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding-block: 1.5rem;
  text-align: center;
}

.social-strip p {
  flex-basis: 100%;
  margin: 0;
  font-family: var(--font-display);
}

.social-strip a {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-bottom: 2px solid var(--blue);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 2rem;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-strip img:last-child {
  grid-column: 1 / -1;
  width: 50%;
  margin-inline: auto;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.45rem;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-entry {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 0 0 clamp(4rem, 9vw, 7rem) 2rem;
}

.timeline-entry::before {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  content: "";
}

.timeline-date {
  margin-bottom: 1.2rem;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
}

.timeline-time {
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.timeline-copy {
  max-width: 44rem;
}

.timeline-entry--final {
  padding-top: 2.5rem;
}

.timeline-entry--final::before {
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.final-update-copy {
  max-width: 52rem;
  padding: clamp(1.4rem, 5vw, 4rem);
  border-top: 4px solid var(--blue);
  background: var(--paper);
  box-shadow: 0 1.25rem 3.5rem rgba(11, 11, 11, 0.08);
}

.final-update-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.45;
}

.final-update-section {
  margin-top: clamp(2.75rem, 7vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.final-update-section h3 {
  font-size: clamp(1.7rem, 4vw, 2.65rem);
}

.final-update-section h4 {
  color: var(--blue-dark);
}

.law-comparison {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.law-comparison > div {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--soft);
}

.law-comparison p {
  margin-bottom: 0;
}

.witness-quotes {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.witness-quotes blockquote {
  margin-bottom: 0;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--blue);
  background: var(--soft);
  font-style: italic;
}

.final-update-figure {
  width: min(100%, 38rem);
  margin: 2rem auto;
}

.final-update-figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.final-update-section--closing {
  text-align: left;
}

.final-update-statement {
  margin: clamp(2.5rem, 7vw, 4.5rem) 0;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1.05;
  text-align: center;
}

.timeline-media {
  align-self: start;
}

.timeline-media img {
  width: 100%;
  max-height: 43rem;
  object-fit: cover;
}

.timeline-media figcaption {
  padding-top: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--blue);
  background: var(--soft);
  font-style: italic;
  font-weight: 700;
}

.media-fallback {
  display: grid;
  min-height: 12rem;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  text-align: center;
}

.editorial-split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.editorial-split img {
  width: 100%;
  max-height: 48rem;
  object-fit: cover;
}

.hashtag {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.story-hero {
  display: grid;
  min-height: 33rem;
  align-items: end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)), url("../images/leia-square-3.jpg") center 38% / cover;
  color: var(--paper);
}

.story-hero .container {
  padding-block: 5rem;
}

.story-hero p {
  max-width: 45rem;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.closed-notice {
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-top: 4px solid var(--warning-line);
  background: var(--warning);
}

.closed-notice h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.story-grid {
  display: grid;
  gap: 1rem;
}

.story-card {
  display: grid;
  min-height: 11rem;
  align-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.story-card:hover {
  border-color: var(--blue);
  background: var(--soft);
}

.story-card h3 {
  font-size: 1.45rem;
}

.story-card span {
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding-block: 2.5rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.site-footer a {
  color: var(--paper);
}

@media (min-width: 36rem) {
  .law-comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .photo-strip img:last-child {
    grid-column: auto;
    width: 100%;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .header-inner {
    min-height: 8.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-link {
    padding-inline: 0;
  }

  .hero {
    min-height: calc(100svh - 8.5rem);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 22%, rgba(0, 0, 0, 0.76) 100%), url("../images/leia-hero.jpg");
    background-position: center 38%;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .shortcut-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shortcut-list li:not(:last-child) {
    border-right: 1px solid #393939;
  }

  .shortcut-list a {
    padding-inline: 1.5rem;
    border-bottom: 0;
  }

  .timeline::before {
    left: 50%;
  }

  .timeline-entry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 7vw, 7rem);
    padding-left: 0;
  }

  .timeline-entry::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-entry:nth-child(even) .timeline-copy {
    grid-column: 2;
  }

  .timeline-entry:nth-child(even) .timeline-media {
    grid-row: 1;
    grid-column: 1;
  }

  .timeline-copy {
    padding-inline: clamp(0.5rem, 2vw, 1.5rem);
  }

  .timeline-entry--final {
    grid-template-columns: 1fr;
  }

  .timeline-entry--final .timeline-copy,
  .timeline-entry--final:nth-child(even) .timeline-copy {
    grid-column: 1 / -1;
    width: min(100%, 52rem);
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 4rem);
  }

  .editorial-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-split--reverse .editorial-media {
    grid-column: 2;
  }

  .editorial-split--reverse .editorial-copy {
    grid-row: 1;
    grid-column: 1;
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 75rem) {
  body {
    font-size: 1.05rem;
  }

  .timeline-entry {
    gap: 8rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
