@font-face {
  font-family: Figtree;
  src: url("/type/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: JetBrains;
  src: url("/type/mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #0e0e0f;
  --surface: #161617;
  --raised: #222223;
  --text: #f3f1ed;
  --secondary: #c4c1bc;
  --muted: #a6a39e;
  --rule: #353434;
  --accent: #ff9a78;
  --accent-ink: #2b1510;
  --workflow-surface: #1b1a19;
  --workflow-text: #eeeae4;
  --workflow-secondary: #bfb9b1;
  --workflow-rule: #3d3935;
  --gutter: clamp(20px, 5.3vw, 96px);
  --mono: JetBrains, ui-monospace, monospace;
  --ease: cubic-bezier(.2,.7,.25,1);
  font: 400 16px/1.5 Figtree, Arial, sans-serif;
  color: var(--text);
  background: var(--ground);
  font-synthesis: none;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure { margin: 0; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary, a { touch-action: manipulation; }
button { color: inherit; font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-weight: 530; text-wrap: balance; }
.wrap { max-width: 1840px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow, .section-mark {
  font: 550 11px/1.5 var(--mono);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.skip {
  position: absolute; z-index: 10; top: 8px; left: 8px;
  transform: translateY(-160%); padding: 10px 16px;
  background: var(--text); color: var(--ground);
}
.skip:focus { transform: none; }
.mast { background: var(--ground); }
.mast-inner {
  position: relative; z-index: 5; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mast-inner::after, .footer-row::before {
  content: ""; position: absolute; height: 1px; background: var(--rule);
  inset: auto var(--gutter) 0; pointer-events: none;
}
.lab-signature, .brand, .mast nav, .actions, .text-link, .button { display: inline-flex; align-items: center; }
.lab-signature { gap: clamp(14px, 1.8vw, 32px); }
.brand {
  gap: 10px; min-height: 44px; white-space: nowrap; color: var(--text);
  font-size: 20px; line-height: 1; font-weight: 610; letter-spacing: -.05em;
}
.lab-symbol { width: 26px; height: 31px; object-fit: contain; }
.lab-affiliation {
  padding-left: 18px; border-left: 1px solid var(--rule); color: var(--muted);
  font: 500 10px/1.6 var(--mono); letter-spacing: .075em; text-transform: uppercase;
}
.mast nav { gap: clamp(18px, 2.6vw, 52px); }
.mast nav a, .footer a:not(.brand) {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  font-size: 14px; font-weight: 570; color: var(--secondary);
}
.mast nav a:hover, .mast nav a[aria-current], .footer a:hover, .text-link:hover { color: var(--accent); }
.mast .nav-guide {
  padding-inline: 16px; min-height: 36px; color: var(--text);
  border: 1px solid var(--rule); border-radius: 3px;
}
.mast .nav-guide:hover { border-color: var(--muted); }
.nav-guide svg, .button svg, .text-link svg { width: 17px; height: 17px; flex: none; }
.mobile-nav { display: none; }
.actions { flex-wrap: wrap; gap: 10px 23px; }
.button, .text-link { min-height: 44px; font-size: 15px; line-height: 1.25; font-weight: 610; gap: 10px; }
.button {
  justify-content: space-between; gap: 23px; background: var(--text); color: var(--ground);
  padding: 13px 18px; border-radius: 3px; transition: background .18s var(--ease);
}
.button:hover { background: var(--accent); color: var(--accent-ink); }
.button svg, .text-link svg { transition: transform .2s var(--ease); }
.button:hover svg, .text-link:hover svg { transform: translateX(3px); }

.workflow { color-scheme: dark; background: var(--workflow-surface); color: var(--workflow-text); --focus: #ffab8b; }
.workflow > .wrap { padding-block: clamp(54px,6vw,96px); }
.workflow-heading .eyebrow, .closing .eyebrow { margin-bottom:18px; }
.workflow h2, .closing h2 {
  font-size: clamp(44px, 5.3vw, 96px); line-height: .99; letter-spacing: -.065em;
}
.closing-intro {
  max-width: 38ch; margin-top: 20px; color: var(--workflow-secondary);
  font-size: clamp(16px, 1.25vw, 21px); line-height: 1.5;
}

.workflow .text-link:hover { color: var(--focus); }
.workflow-record { margin-top:clamp(36px,5vw,80px); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 30px; }
.workflow-record a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: start; column-gap: 13px; padding: 15px 3px;
  border-bottom: 1px solid var(--workflow-rule);
  transition: background .2s var(--ease);
}
.workflow-record small { align-self: baseline; color: var(--workflow-secondary); font: 500 12px/1.6 var(--mono); }
.workflow-record h3 { font-size: clamp(19px,1.6vw,29px); letter-spacing: -.036em; line-height: 1.2; }
.workflow-record p { margin-top: 5px; color: var(--workflow-secondary); font-size: 15px; }
.workflow-record svg { width: 15px; margin-top: 4px; justify-self: end; }
.workflow-record a:is(:hover, :focus-visible) h3 { text-decoration: underline; text-underline-offset: 4px; }
.workflow-record a:hover { background: rgb(255 255 255 / 5%); }
.closing { background: var(--surface); border-top: 1px solid var(--rule); }
.closing-grid {
  padding-block: clamp(62px, 7.2vw, 134px);
  display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  gap: clamp(35px, 7vw, 120px); align-items: end;
}
.closing .eyebrow { color: var(--muted); }
.closing-intro { color: var(--secondary); }
.closing-action { border-top: 1px solid var(--rule); padding-top: 18px; }
.closing-action h3 { font-size: clamp(22px, 2vw, 34px); line-height: 1.15; letter-spacing: -.04em; }
.closing-action p { color: var(--secondary); margin: 10px 0 20px; max-width: 37ch; }
.footer-row {
  position: relative; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 50px);
  padding-block: 24px; min-height: 100px;
}
.footer-row::before { inset: 0 var(--gutter) auto; }
.footer-row .publisher-note { font-size: 13px; color: var(--muted); }
.footer-row .text-link { margin-left: auto; }

@media (max-width: 840px) {
  .lab-affiliation { display: none; }
  .workflow-record { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-row { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .mast-inner { min-height: 56px; }
  .mast .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    min-height: 44px; min-width: 63px; display: flex; align-items: center; justify-content: flex-end;
    gap: 9px; font-size: 14px; font-weight: 600; list-style-type: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary svg { width: 15px; height: 15px; }
  .mobile-nav[open] summary svg { transform: rotate(90deg); }
  .mast .mobile-nav nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--raised);
    padding: 8px var(--gutter) 14px; display: grid; gap: 0; border-bottom: 1px solid var(--rule);
  }
  .mast .mobile-nav nav a { border: 0; border-radius: 0; border-bottom: 1px solid var(--rule); min-height: 46px; padding: 0; }
  .mast .mobile-nav nav svg { width: 15px; }
  .brand { font-size: 18px; }
  .lab-symbol { width: 23px; height: 27px; }
  .workflow-record { grid-template-columns:minmax(0,1fr); }
  .closing-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .workflow-record a { grid-template-columns: 24px minmax(0, 1fr) 17px; column-gap: 8px; }
  .closing .eyebrow, .workflow-heading .eyebrow { margin-bottom: 14px; }
  .footer-row { column-gap: 17px; row-gap: 6px; }
  .footer-row .publisher-note { width: 100%; order: 2; }
  .footer-row a:not(.brand) { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
  .button, .button svg, .text-link svg, .workflow-record a { transition: none; }
  .button:hover svg, .text-link:hover svg { transform: none; }
}
