:root {
  color-scheme: dark;
  --ink: #0a1219;
  --off-white: #eef3f3;
  --muted: #acbec6;
  --accent: #a4d4d3;
  --rule: #2a3b44;
  --side: clamp(1.25rem, 5vw, 5.25rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--ink);
  color: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.3rem;
}

.shell {
  width: min(calc(100% - 2 * var(--side)), 90rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 1rem auto auto 1rem;
  padding: 0.6rem 1rem;
  background: var(--off-white);
  color: var(--ink);
  transform: translateY(-200%);
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 5.3rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.wordmark-icon {
  position: relative;
  display: block;
  width: 1.8rem;
  height: 1.05rem;
  color: var(--accent);
}

.wordmark-icon::before,
.wordmark-icon::after {
  position: absolute;
  inset-inline: 0;
  height: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.wordmark-icon::before {
  top: 0.12rem;
}

.wordmark-icon::after {
  top: 0.38rem;
  opacity: 0.6;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.quiet-link:hover {
  color: var(--off-white);
  text-decoration: underline;
}

.hero {
  padding-top: clamp(3.5rem, 7vw, 7.25rem);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 25%);
  align-items: end;
  gap: clamp(1rem, 3vw, 3.5rem);
  margin-bottom: clamp(1.65rem, 3.2vw, 3rem);
}

.hero h1,
.about h2,
.hero-summary,
.hero-figure {
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.25rem, 7.4vw, 9rem);
  font-weight: 550;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-summary {
  padding: 0 0 0.2rem 1.15rem;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.23rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-figure picture {
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #162c36;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 24 / 11;
  object-fit: cover;
}

.hero-figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 6rem);
  margin-top: clamp(3.75rem, 7vw, 7.5rem);
  padding-block: clamp(2rem, 4vw, 4.5rem) clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1.25rem;
}

.section-label {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1.5;
}

.about h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.8rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.062em;
  text-wrap: balance;
}

.about-copy {
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.23rem);
  line-height: 1.65;
}

.about-copy p {
  margin: 0;
  text-wrap: pretty;
}

.about-copy p + p {
  margin-top: 0.75rem;
}

.site-footer {
  min-height: 5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero-copy,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-summary {
    max-width: 29rem;
    padding: 0;
    border: 0;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 10vw, 6.1rem);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 4.25rem;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .hero-figure img {
    aspect-ratio: 128 / 115;
  }
}

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