@font-face {
  font-family: Geist;
  src: url("./geist.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #181b15;
  --muted: #565a4f;
  --line: #d7d9cd;
  --dark: #101211;
  --white: #f7f8f0;
  --lime: #d9ff70;
  --accent: #5b711e;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Geist, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-height: 78px;
  --gutter: clamp(22px, 5.55vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid #759327; outline-offset: 5px; }
.wrap { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-160%); padding: .7rem 1rem; color: var(--ink); background: var(--lime); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  z-index: 5;
  top: 0;
  margin-bottom: calc(-1 * var(--header-height));
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.header.is-scrolled { background: #101211ee; border-color: #ffffff20; backdrop-filter: blur(14px); }
.header.is-light { background: #f8f7f2f5; color: var(--ink); border-color: var(--line); }
.header-inner {
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 11px; white-space: nowrap; }
.brand span { font: 36px/.9 var(--serif); letter-spacing: -.02em; }
.nav-links { display: flex; gap: clamp(23px, 3vw, 48px); align-items: center; font-size: 14px; }
.nav-links a { padding-block: 10px; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { border-color: currentColor; }
.header-contact {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #ffffff67;
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 14px;
  transition: background-color .2s, color .2s;
}
.header.is-light .header-contact { border-color: #777c6d; }
.header-contact:hover { background: var(--lime); border-color: var(--lime); color: var(--dark); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(730px, 94svh, 1100px);
  overflow: hidden;
  padding: calc(var(--header-height) + 68px) 0 125px;
  color: var(--white);
  background: var(--dark);
}
.hero-image, .hero-image::after { position: absolute; inset: 0; z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image::after {
  content: "";
  z-index: 0;
  background:
    linear-gradient(0deg, #101211 0%, #10121135 19%, transparent 48%, #1012115c 100%),
    linear-gradient(90deg, #101211 0%, #101211f0 20%, #101211a8 43%, #10121122 69%, #10121112 100%);
}
.hero-inner { position: relative; }
.eyebrow {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .eyebrow, .footer .eyebrow { color: #d4dcc8; }
.signal { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: var(--lime); vertical-align: 1px; }
.hero h1 {
  margin: 22px 0 24px;
  max-width: 910px;
  font: 400 clamp(71px, 7.1vw, 120px)/.88 var(--serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero h1 em, .footer h2 em { color: var(--lime); }
.hero h1 em { display: block; white-space: nowrap; }
.hero-intro { max-width: 485px; color: #dde2d4; font-size: clamp(16px, 1.47vw, 19px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); flex-wrap: wrap; margin-top: 35px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.button-lime { background: var(--lime); color: var(--dark); }
.button-lime:hover { background: #edffc3; }
.button span { font-size: 17px; }
.hero-link { font-size: 15px; border-bottom: 1px solid #ffffff6a; padding: 6px 0; white-space: nowrap; }
.hero-link span, .inline-link span { margin-left: 7px; }
.hero-link:hover { color: var(--lime); border-color: var(--lime); }
.hero-foot {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #c7cdc0;
  font: 11px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-foot a:hover { color: var(--lime); }
.hero-foot span span, .hero-foot a span { color: var(--lime); }

.section { padding-block: clamp(70px, 8.1vw, 128px); }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { margin-top: 13px; font: 400 clamp(59px, 6.2vw, 104px)/.95 var(--serif); letter-spacing: -.023em; }
.section-heading > p:last-of-type { max-width: 510px; margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.56; }
.accent { color: var(--accent); }
.dataset { border-top: 1px solid var(--ink); }
.dataset-switch { display: grid; grid-template-columns: 1fr 1fr; }
.dataset-switch button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 57px;
  padding: 11px 21px;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
.dataset-switch button + button { border-left: 1px solid var(--line); }
.dataset-switch button[aria-selected="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.dataset-switch button[aria-selected="false"]:hover { background: #eeefe5; color: var(--ink); }
.dataset-switch button:focus-visible { outline-offset: -5px; }
.dataset-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .85fr);
  align-items: center;
  gap: clamp(26px, 5.5vw, 98px);
  padding: clamp(28px, 4.4vw, 65px) clamp(23px, 4.3vw, 64px);
  border: 1px solid var(--line);
  border-top: 0;
  background: #fdfcf8;
}
.dataset-panel h3 { font: 400 clamp(52px, 5.4vw, 86px)/.92 var(--serif); letter-spacing: -.016em; }
.dataset-copy > p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 17px; }
.feature-list { padding: 0; margin: 24px 0 0; list-style: none; font-size: 15px; line-height: 1.5; }
.feature-list li { position: relative; padding: 7px 0 7px 20px; }
.feature-list li::before { content: ""; position: absolute; background: #729024; width: 5px; height: 5px; top: 15px; left: 0; border-radius: 50%; }
.specimen {
  color: var(--white);
  background: #1b2019;
  border: 1px solid #353d2a;
  border-radius: 4px;
  padding: clamp(21px, 2.8vw, 36px);
}
.specimen-label { color: #cee997; font: 11px/1.45 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; }
.steps li { display: flex; align-items: baseline; gap: 15px; padding: 14px 0; border-top: 1px solid #414b36; }
.steps li:last-child { padding-bottom: 0; }
.steps li > span { color: var(--lime); font: 11px/1.4 var(--mono); }
.steps b, .steps small { display: block; }
.steps b { font-size: 15px; font-weight: 600; }
.steps small { margin-top: 5px; font-size: 13px; line-height: 1.5; color: #c5cbbf; }
.modalities { margin-top: 34px; display: flex; align-items: baseline; gap: 20px; }
.modalities h3 { flex: 0 0 auto; }
.modalities ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.modalities li { padding: 6px 10px; border: 1px solid #c9cdbd; border-radius: 40px; color: #404439; font-size: 12px; line-height: 1.1; }

.verification { background: #eeefe5; border-block: 1px solid #e1e3d7; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #9ca18b; }
.principles article { padding: 28px 24px 30px; }
.principles article:first-child { padding-left: 0; }
.principles article + article { border-left: 1px solid #c7cbb9; }
.principles h3 { font: 400 clamp(27px, 2.7vw, 42px)/1 var(--serif); letter-spacing: -.013em; }
.principles p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.delivery { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 86px); }
.delivery .section-heading { margin-bottom: 0; }
.delivery h2 { font-size: clamp(58px, 5.6vw, 92px); }
.inline-link { display: inline-block; margin-top: 25px; padding-bottom: 5px; border-bottom: 1px solid; font-size: 15px; font-weight: 600; }
.inline-link:hover { color: var(--accent); }
.delivery-details { margin: 0; border-top: 1px solid var(--ink); }
.delivery-details div { display: grid; grid-template-columns: minmax(103px, 1fr) 2.4fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.delivery-details dt { color: var(--muted); font: 500 11px/1.65 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.delivery-details dd { margin: 0; font-size: 15px; line-height: 1.55; }

.footer { background: var(--dark); color: var(--white); }
.contact { padding-block: clamp(72px, 8.1vw, 130px); }
.contact h2 { margin-top: 12px; font: 400 clamp(74px, 10vw, 152px)/.9 var(--serif); letter-spacing: -.026em; }
.contact > p:last-of-type { margin-top: 19px; color: #d3d9cd; font-size: 17px; line-height: 1.5; }
.contact .button { margin-top: 25px; }
.footer-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid #454c3f; min-height: 91px; padding-block: 14px; }
.footer-bar > span, .footer-bar > a:last-child { font-size: 13px; color: #d0d7c9; }
.footer-bar > a:last-child:hover { color: var(--lime); }

[data-reveal] { transition: opacity .55s ease, transform .55s ease; }
.will-reveal { opacity: 0; transform: translateY(16px); }
.will-reveal:focus-within, :target .will-reveal { opacity: 1; transform: none; }

@media (max-width: 950px) {
  :root { --header-height: 69px; }
  .hero h1 { font-size: clamp(65px, 9.6vw, 90px); }
  .dataset-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles article:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles article:nth-child(n + 3) { border-top: 1px solid #c7cbb9; }
  .delivery { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-height: 62px; }
  html { scroll-padding-top: calc(var(--header-height) + 49px); }
  .header { margin-bottom: calc(-1 * (var(--header-height) + 43px)); }
  .header-inner { grid-template-columns: 1fr auto; height: auto; min-height: calc(var(--header-height) + 43px); gap: 0; grid-template-rows: var(--header-height) 43px; }
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .brand span { font-size: 31px; }
  .header-contact { grid-column: 2; grid-row: 1; gap: 9px; padding: 8px 10px; font-size: 12px; }
  .nav-links { grid-area: 2 / 1 / 3 / 3; min-height: 43px; justify-content: space-between; gap: 10px; border-top: 1px solid #ffffff2b; font-size: 12px; }
  .header.is-light .nav-links { border-color: var(--line); }
  .hero { min-height: max(705px, 100svh); justify-content: flex-end; padding-top: calc(var(--header-height) + 138px); padding-bottom: 106px; }
  .hero-image img { object-position: 64% 0; }
  .hero-image::after {
    background: linear-gradient(0deg, #101211 0%, #101211 13%, #101211ea 39%, #1012117e 68%, #10121128 89%, #101211a8 100%);
  }
  .hero h1 { margin-block: 15px 18px; font-size: clamp(54px, 11.1vw, 72px); text-wrap: wrap; }
  .hero-break { display: none; }
  .hero-actions { gap: 14px; margin-top: 25px; }
  .hero-actions .button { gap: 10px; }
  .hero-actions .hero-link { font-size: 14px; }
  .hero-foot > span { display: none; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .delivery h2 { font-size: clamp(50px, 12vw, 70px); }
  .dataset-switch button { min-height: 58px; padding: 9px 10px; font-size: 12px; }
  .dataset-panel { grid-template-columns: 1fr; padding-inline: 17px; }
  .dataset-panel h3 { font-size: clamp(46px, 10vw, 64px); }
  .modalities { display: block; }
  .modalities h3 { margin-bottom: 10px; }
  .principles article { padding: 19px 13px 22px; }
  .principles h3 { font-size: clamp(26px, 6.5vw, 34px); }
  .principles p { font-size: 14px; }
  .delivery-details div { gap: 10px; }
  .footer-bar > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}
