@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/archivo-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Palette. Swap --color-accent to #1B2A4A to match existing navy print. */
:root {
  --color-base: #14171a;
  --color-accent: #e8541f;
  --color-paper: #f7f5f2;
  --color-body: #3a3f45;
  --color-line: #d8d3cc;
  --color-hero-muted: color-mix(in srgb, var(--color-paper) 74%, var(--color-base));
  --font: "Archivo", "Segoe UI", sans-serif;
  --wrap: 72rem;
  --narrow: 42rem;
  --space: clamp(1.75rem, 4vw, 3.75rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-synthesis: none;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-paper);
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
.stat-num,
.wordmark {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-base);
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--color-accent);
  color: var(--color-base);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

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

.prose {
  max-width: var(--narrow);
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-base);
  color: var(--color-paper);
}

.hero-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--color-accent);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(2.25rem, 5vh, 3.5rem);
  padding-block: clamp(1.75rem, 4vh, 2.5rem) clamp(3.25rem, 8vh, 5rem);
  flex: 0 1 auto;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.axis {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--color-accent);
}

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

.hero h1 {
  color: var(--color-paper);
  font-size: clamp(2.75rem, 8.4vw, 5.85rem);
}

.subhead {
  max-width: 28rem;
  margin-top: 1.35rem;
  color: var(--color-hero-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  padding: 0.95rem 1.35rem;
  background: var(--color-accent);
  color: var(--color-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 3rem;
}

.btn:hover {
  background: color-mix(in srgb, var(--color-accent) 82%, var(--color-paper));
}

.btn:focus-visible,
.text-link:focus-visible,
.contact a:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--color-paper);
  outline-offset: 3px;
}

.text-link:focus-visible {
  outline-color: var(--color-accent);
}

.section {
  padding-block: var(--space);
  border-top: 1px solid var(--color-line);
}

.section-alt {
  background: color-mix(in srgb, var(--color-line) 28%, var(--color-paper));
}

.section-dark {
  background: var(--color-base);
  color: var(--color-hero-muted);
  border-top: 0;
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-paper);
}

.section-dark .stat-num {
  color: var(--color-accent);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-base);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.kicker-on-dark {
  color: var(--color-paper);
}

.prose p + p {
  margin-top: 1.15rem;
}

.close {
  color: var(--color-base);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.columns {
  display: grid;
  gap: 2.5rem;
}

.column h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.column h4 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.column p + p {
  margin-top: 1rem;
}

.service-list {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  margin-top: 0.45rem;
  padding-left: 1.1rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-accent);
}

.text-link {
  display: inline-block;
  margin-top: 1.35rem;
  color: var(--color-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--color-accent);
}

.section-dark .text-link {
  color: var(--color-paper);
}

#record-title {
  max-width: 22ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
}

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

.stat-num {
  margin-bottom: 0.7rem;
  color: var(--color-accent);
  font-size: clamp(1.55rem, 3.6vw, 2.65rem);
}

.who {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.portrait {
  margin: 0 0.75rem 0.75rem 0;
  background: var(--color-line);
  box-shadow: 12px 12px 0 0 var(--color-accent);
}

.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.who-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.who-copy p + p {
  margin-top: 1.15rem;
}

.who-copy .kicker {
  margin-bottom: 1rem;
}

.contact {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.contact a,
.footer a {
  width: fit-content;
  color: var(--color-paper);
  text-decoration: none;
}

.contact a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--color-accent);
}

.footer {
  background: var(--color-base);
  border-top: 1px solid color-mix(in srgb, var(--color-paper) 14%, transparent);
  color: var(--color-hero-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.35rem;
  font-size: 0.95rem;
}

.wordmark-footer {
  margin: 0;
}

.footer a:hover,
.contact a:hover,
.text-link:hover {
  color: var(--color-accent);
}

@media (min-width: 720px) {
  .columns {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .column {
    padding-right: 2.5rem;
  }

  .column + .column {
    padding-left: 2.5rem;
    padding-right: 0;
    border-left: 1px solid var(--color-line);
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem 2rem;
  }

  .stats li:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid color-mix(in srgb, var(--color-paper) 16%, transparent);
  }

  .who {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 4rem;
  }
}

@media (min-width: 1080px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .stats li + li {
    padding-left: 1.5rem;
    border-left: 1px solid color-mix(in srgb, var(--color-paper) 16%, transparent);
  }
}

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