:root {
  color-scheme: dark;
  --ink: #101621;
  --navy: #161f2e;
  --surface: #1c293c;
  --line: #37475c;
  --text: #f3f6fa;
  --muted: #bac5d5;
  --accent: #cafa46;
  --body-font: "Helvetica Neue", Arial, sans-serif;
  --display-font: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, dt {
  font-family: var(--display-font);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.055em;
}
h1 { font-size: clamp(3rem, 7vw, 7rem); }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 2.1rem); }
h1 em, h2 em { color: var(--accent); font-style: normal; }
p { color: var(--muted); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }

.shell { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.label {
  color: var(--accent);
  font-family: var(--mono-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .065em;
  line-height: 1.4;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--ink);
}
.skip-link:focus { transform: none; color: var(--ink); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header-inner { min-height: 5rem; }
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .7rem;
  font-size: 1.125rem;
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.12;
  text-decoration: none;
}
.brand img { border-radius: 4px; }
.brand-suffix { color: var(--accent); }
.primary-nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.5rem;
}
.primary-nav a, .site-footer nav a {
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a { padding: .6rem .15rem; }
.primary-nav a:hover, .site-footer nav a:hover,
.primary-nav [aria-current="page"], .site-footer [aria-current="page"] {
  color: var(--accent);
}
.primary-nav [aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover {
  border-color: #e3ff96;
  background: #e3ff96;
  color: var(--ink);
}
.button-outline, .header-button { background: transparent; color: var(--accent); }
.quiet-link { font-weight: 750; }
.small { font-size: .875rem; }

.site-footer { border-top: 1px solid var(--line); background: #0c111a; }
.footer-inner { min-height: 8rem; padding-block: 1.75rem; }
.footer-copyright { color: var(--muted); font-size: .875rem; }

.page-hero-copy { min-width: 0; }
.page-hero-copy .label, .legal-hero .label { margin-bottom: 1rem; }
.page-hero-copy > p:not(.label) {
  max-width: 38ch;
  margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}
.page-hero-copy .button { margin-top: 1.65rem; }

.about-hero, .contact-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 8vw, 7.5rem);
}
.about-art {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: .6rem;
  min-width: 0;
  padding: .6rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: var(--surface);
}
.about-art img { width: 100%; height: auto; aspect-ratio: .73; object-fit: cover; }
.about-art img:first-child { object-position: 53% center; }
.about-art img:last-child { object-position: 57% center; }
.about-details {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem 5rem;
  padding-block: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.about-details h2 { max-width: 10ch; margin-bottom: 1rem; }
.detail-list div {
  display: grid;
  grid-template-columns: minmax(9rem, .8fr) 1fr;
  gap: 1rem 2rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.detail-list div:first-child { border-top: 1px solid var(--line); }
.detail-list dt { font-size: 1.3rem; }
.detail-list dd { color: var(--muted); }

.contact-panel {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--navy);
}
.contact-panel h2 {
  margin-block: .6rem 1rem;
  font-size: clamp(1.4rem, 3vw, 2.65rem);
  overflow-wrap: anywhere;
}
.contact-panel h2 a { text-decoration-thickness: 1px; }
.contact-panel .button { margin-top: 1.4rem; }
.contact-resources {
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: 1.65rem;
  border-top: 1px solid var(--line);
}
.contact-resources h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.resource-links { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: .75rem; }

.legal-hero { padding-block: clamp(2.75rem, 7vw, 6rem) clamp(2rem, 4vw, 4rem); }
.legal-hero h1 { font-size: clamp(2.7rem, 6vw, 6rem); }
.legal-hero h1 + p { margin-top: 1rem; }
.legal-hero a { overflow-wrap: anywhere; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 8vw, 7rem);
}
.legal-nav {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--navy);
}
.legal-nav summary { color: var(--text); cursor: pointer; font-weight: 800; }
.legal-nav ol { margin: .7rem 0 0; padding-inline-start: 1.45rem; }
.legal-nav li { margin-block: .4rem; color: var(--muted); font-size: .9375rem; }
.legal-copy {
  min-width: 0;
  padding: clamp(1.1rem, 4vw, 3.4rem);
  border: 1px solid var(--line);
  background: var(--navy);
}
.legal-copy > ul { margin: 0; padding: 0; max-width: 74ch; list-style: none; }
.legal-copy > ul > li + li { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-copy h2 {
  margin-bottom: .7rem;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  line-height: 1.15;
}
.legal-copy h3 { margin-bottom: .35rem; font-size: 1.05rem; letter-spacing: -.015em; }
.legal-copy p + p, .legal-copy ul ul { margin-top: .65rem; }
.legal-copy ul ul { padding-inline-start: 1.2rem; }
.legal-copy ul ul > li + li { margin-top: .55rem; }
.legal-copy a { overflow-wrap: anywhere; }

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 3rem;
  margin-block: clamp(3rem, 7vw, 6rem);
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--navy);
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta p { margin-top: .5rem; }
.cta .button { flex: none; }

@media (max-width: 57rem) {
  .footer-inner { flex-wrap: wrap; gap: 1.25rem 2rem; }
  .about-hero, .contact-hero { gap: 2rem; }
  .about-details { gap: 2rem; }
}

@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .4rem 1rem; padding-block: .75rem; }
  .header-button { display: none; }
  .primary-nav { gap: .15rem 1rem; }
  .about-hero, .contact-hero, .about-details, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-list div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .cta { align-items: flex-start; flex-direction: column; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
