@font-face {
  font-family: Inter;
  src: url('/inter-latin-var.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: #f3f8f6;
  --ink: #122f2b;
  --muted: #49615d;
  --accent: #10635c;
  --border: #cbded8;
  --paper: #fcfffe;
  color: var(--ink);
  background-color: var(--background);
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }

.shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 4rem, 72rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 6rem;
  border-bottom: 1px solid var(--border);
}

.wordmark { display: block; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 12vh, 8rem);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 650;
}

.status::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #248a78;
  content: '';
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 6.625rem);
  font-weight: 740;
  letter-spacing: -0.075em;
  line-height: 0.99;
  text-wrap: balance;
}

.summary {
  max-width: 33ch;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.illustration {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 20rem;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #d6e8e2;
  border-radius: 2.5rem;
  background-color: #e5f1ed;
  background-image:
    radial-gradient(ellipse at 75% 20%, #f7fbf9, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 23px, #d8e8e2 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, #d8e8e2 23px 24px);
}

.record-stack { position: relative; width: 40%; aspect-ratio: 0.76; }

.record {
  position: absolute;
  inset: 0;
  border: 1px solid #aaccc3;
  border-radius: 11%;
  background-color: var(--paper);
  box-shadow: 0 16px 32px #1257471a;
}

.record-back { background: #b9dbd0; transform: translate(21%, -9%) rotate(13deg); }
.record-middle { background: #d6ebe4; transform: translate(-17%, 3%) rotate(-13deg); }
.record-front { padding: 20% 15%; transform: rotate(-2deg); }

.record-heading,
.record-line { height: 4%; margin-bottom: 12%; border-radius: 1rem; }
.record-heading { width: 52%; background-color: #397163; }
.record-line { width: 91%; background-color: #cce3dc; }
.record-line-short { width: 69%; }

.seal {
  position: absolute;
  right: 11%;
  bottom: 10%;
  display: grid;
  place-items: center;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid #bad9ce;
  border-radius: 50%;
  background-color: #e8f4ef;
}

.seal img { width: 66%; height: auto; }

.site-footer {
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer strong { color: var(--ink); font-weight: 650; }

.missing { align-self: center; padding-block: 4rem; }
.missing h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); }

.home-link {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.home-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 55rem) {
  .hero { grid-template-columns: 1fr 0.7fr; gap: 1.75rem; }
  .wide-break { display: none; }
  .illustration { min-height: 14rem; border-radius: 1.75rem; }
}

@media (max-width: 40rem) {
  .shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 4.75rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
  .status { margin-bottom: 1.2rem; }
  h1 { font-size: clamp(2.6rem, 10vw, 4.25rem); }
  .summary { margin-top: 1.2rem; }
  .illustration { min-height: 0; aspect-ratio: 1.47; }
  .record-stack { width: 27%; }
}
