:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #f3eee4;
  background: #11100e;
  --surface: #11100e;
  --surface-raised: #191713;
  --text: #f3eee4;
  --muted: #b7b1a6;
  --line: #3b372f;
  --signal: #f4c430;
  --signal-soft: #d8aa20;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-wrap: anywhere;
  color: var(--text);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--signal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #ffe079;
}

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
  border-radius: 0.125rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 0 auto auto 0;
  padding: 0.75rem 1rem;
  color: #11100e;
  background: var(--signal);
  transform: translateY(-120%);
}

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

.site-header,
footer {
  width: min(100% - 2rem, 90rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: 0.875rem;
}

.site-header nav a:hover,
footer nav a:hover {
  color: var(--signal);
}

main {
  width: 100%;
  min-width: 0;
}

.hero {
  width: min(100% - 2rem, 90rem);
  min-height: min(52rem, calc(100vh - 6rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  max-width: 42rem;
}

h1,
h2,
h3 {
  color: var(--text);
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-copy::before,
.document-shell::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 0.2rem;
  margin-block-end: 1.5rem;
  background: var(--signal);
}

.lede {
  max-width: 62ch;
  margin-block: 1.75rem 1rem;
  color: var(--text);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.hero-copy p:not(.lede) {
  max-width: 62ch;
  color: var(--muted);
}

.portrait-frame {
  width: 100%;
  max-width: 46rem;
  margin: 0;
  justify-self: end;
  background: var(--surface-raised);
  border: 1px solid #2b271f;
}

.primary-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.home-details {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.home-details section {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem clamp(2rem, 7vw, 6rem);
  margin: 0;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.home-details section > h2 {
  margin: 0;
}

.home-details section > :not(h2) {
  grid-column: 2;
}

.document-page {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.document-shell {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

.document-shell h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.updated {
  margin-block: 1rem 2.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-content {
  color: var(--muted);
}

.page-content section {
  margin-block-start: 3.5rem;
}

.page-content h2 {
  margin-block: 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.page-content h3 {
  margin-block: 2.25rem 0.75rem;
  font-size: 1.08rem;
  line-height: 1.4;
}

.page-content p,
.page-content li {
  max-width: 72ch;
}

.page-content ul,
.page-content ol {
  padding-inline-start: 1.35rem;
}

.page-content li + li {
  margin-block-start: 0.55rem;
}

.public-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
  list-style: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

@media (max-width: 60rem) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
    gap: 2.5rem;
  }

  .home-details section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-details section > :not(h2) {
    grid-column: 1;
  }
}

@media (max-width: 44rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav ul {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 3.5rem;
  }

  .portrait-frame {
    max-width: 34rem;
    justify-self: center;
  }

  .home-details {
    padding-block: 3rem;
  }

  .home-details section {
    padding-block: 2rem;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d7d1c6;
    --line: #6a6358;
  }
}
