/* Astrobiotica — site styles
   Darkfield: specimens glow against a dark field, the way life shows up under
   darkfield microscopy and the way everything shows up in space.
   Nucleotide colours (A, C, G, T) carry data only.
   Type: Martian Mono (display, data) + Source Serif 4 (reading).
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Martian";
  font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url("../fonts/martian-latin.woff2") format("woff2-variations"), url("../fonts/martian-latin.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: "Martian";
  font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  src: url("../fonts/martian-latin-ext.woff2") format("woff2-variations"), url("../fonts/martian-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Serif";
  font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/serif-latin.woff2") format("woff2-variations"), url("../fonts/serif-latin.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: "Serif";
  font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/serif-latin-ext.woff2") format("woff2-variations"), url("../fonts/serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Serif";
  font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/serif-latin-italic.woff2") format("woff2-variations"), url("../fonts/serif-latin-italic.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;
}

:root {
  --void: #061012;        /* the dark field */
  --void-2: #0C1B1E;      /* raised: open rows, hover */
  --bone: #ECE6D6;        /* specimen-label white: text, primary buttons */
  --bone-dim: rgba(236, 230, 214, .66);
  --bone-faint: rgba(236, 230, 214, .38);
  --rule: rgba(236, 230, 214, .15);
  --rule-strong: rgba(236, 230, 214, .42);

  --nt-a: #3BE38E;        /* adenine */
  --nt-c: #5A93FF;        /* cytosine */
  --nt-g: #FFB238;        /* guanine */
  --nt-t: #FF4B5C;        /* thymine, and stop */

  --paper: #E6E0CE;       /* the data sheet and the form */
  --paper-2: #F2EDE0;
  --ink: #0A1517;
  --ink-dim: rgba(10, 21, 23, .7);
  --ink-rule: rgba(10, 21, 23, .22);
  --error: #B0122A;

  --mono: "Martian", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --serif: "Serif", "Iowan Old Style", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --section: clamp(96px, 12vw, 184px);
  --ease: cubic-bezier(.5, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Film grain over everything, very faint. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--mono); font-weight: 650; line-height: 1; }
p, figure, dl, dd, pre { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--nt-g); }
:focus-visible { outline: 2px solid var(--nt-g); outline-offset: 3px; }
::selection { background: var(--nt-g); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; z-index: 100; left: var(--gutter); top: -80px;
  padding: 10px 16px; background: var(--bone); color: var(--ink);
  font-family: var(--mono); font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.nt-a { color: var(--nt-a); }
.nt-c { color: var(--nt-c); }
.nt-g { color: var(--nt-g); }
.nt-t { color: var(--nt-t); }

/* Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 3px;
  font-family: var(--mono); font-size: 15px; font-weight: 600; font-stretch: 100%;
  line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-bone:hover { background: var(--nt-g); }
.btn-line { border-color: var(--rule-strong); color: var(--bone); }
.btn-line:hover { border-color: var(--bone); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #22363A; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header ----------------------------------------------------------- */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 34px; height: auto; overflow: visible; }
.mark-peak { fill: none; stroke: var(--bone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mark-bar { fill: none; stroke: var(--nt-a); stroke-width: 2; stroke-linecap: round; }
.brand-name { font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.bar-nav { margin-left: auto; display: flex; gap: 28px; }
.bar-nav a { font-family: var(--mono); font-size: 14px; color: var(--bone-dim); text-decoration: none; }
.bar-nav a:hover { color: var(--bone); }

/* Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex; flex-direction: column;
  padding-top: 77px;
  background:
    radial-gradient(ellipse 70% 55% at 62% 30%, rgba(90, 147, 255, .07), transparent 70%),
    var(--void);
}
.read { padding-top: clamp(18px, 3vh, 36px); }
.read-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--mono); font-size: 12.5px; color: var(--bone-dim); }
.legend b { font-weight: 700; margin-right: 4px; }
.read-caption { font-family: var(--mono); font-size: 12.5px; color: var(--bone-dim); }
.trace { position: relative; height: clamp(210px, 29svh, 300px); }
.trace canvas { width: 100%; height: 100%; }
.js .trace { cursor: crosshair; }

.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: clamp(10px, 1.6vh, 24px); padding-bottom: 32px; }
.hero h1 {
  font-size: clamp(50px, 8.7vw, 156px);
  font-weight: 720; font-stretch: 75%;
  line-height: .92; letter-spacing: -.035em;
}
.hero h1 .line { display: block; }
.hero h1 .word { display: inline-block; white-space: nowrap; }
.r { display: inline-block; text-decoration: none; color: var(--bone); }
.r.stop { color: var(--nt-t); }
.js .r { color: transparent; -webkit-text-stroke: 1px rgba(236, 230, 214, .2); transition: color .25s, -webkit-text-stroke-color .25s, text-shadow .5s; }
.js .r.is-called { color: var(--bone); -webkit-text-stroke-color: transparent; }
.js .r.stop.is-called { color: var(--nt-t); }
.js .r.is-calling { color: var(--nt-g); -webkit-text-stroke-color: transparent; }
.js .r.is-hit { text-shadow: 0 0 22px rgba(255, 178, 56, .7); }

.hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.hero-pitch { grid-column: 1 / span 6; }
.lede { max-width: 42ch; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.footnote { grid-column: 9 / -1; font-size: 15px; line-height: 1.5; color: var(--bone-dim); max-width: 40ch; }
.fn-mark { color: var(--nt-t); font-family: var(--mono); font-weight: 700; }

/* Section heads ---------------------------------------------------- */
.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: end; margin-bottom: clamp(36px, 5vw, 72px);
}
.sec-head h2 { grid-column: 1 / span 7; font-size: clamp(38px, 5.2vw, 84px); font-weight: 680; font-stretch: 75%; letter-spacing: -.035em; line-height: .95; }
.sec-head p { grid-column: 9 / -1; max-width: 34ch; color: var(--bone-dim); }

/* n = 1 ------------------------------------------------------------ */
.sample { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.sample-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(40px, 6vw, 88px); }
.n {
  grid-column: 1 / span 6;
  display: flex; align-items: baseline; gap: .14em;
  font-size: clamp(120px, 18vw, 300px);
  font-weight: 300; font-stretch: 75%;
  line-height: .8; letter-spacing: -.04em; white-space: nowrap;
}
.n-var { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.n-eq { font-size: .62em; color: var(--bone-faint); }
.n-one { color: var(--nt-a); text-shadow: 0 0 40px rgba(59, 227, 142, .35); }
.sample-copy { grid-column: 7 / -1; align-self: end; display: grid; gap: 1em; }
.statement { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.18; letter-spacing: -.01em; }
.sample-copy p:not(.statement) { max-width: 46ch; color: var(--bone-dim); }
.fig { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.fig-plot { grid-column: 1 / span 7; }
.fig-plot { width: 100%; height: auto; font-family: var(--mono); }
.fig-grid line { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 5; }
.fig-axis line { stroke: var(--rule-strong); stroke-width: 1.2; }
.fig-ticks text, .fig-cand text { fill: var(--bone-dim); font-size: 12px; }
.fig-label { fill: var(--bone-dim); font-size: 12px; }
.fig-cand circle { fill: none; stroke: var(--bone-faint); stroke-width: 1.5; }
.fig-earth circle { fill: var(--nt-a); }
.fig-earth .halo { fill: rgba(59, 227, 142, .16); }
.fig-earth text { fill: var(--bone); font-size: 14px; font-weight: 600; }
.fig figcaption { grid-column: 9 / -1; padding-bottom: 36px; font-size: 15.5px; line-height: 1.5; color: var(--bone-dim); max-width: 62ch; }
.fig figcaption b { color: var(--bone); font-weight: 600; }

/* Priorities ------------------------------------------------------- */
.priorities { padding: 0 0 var(--section); }
.prio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.prio > li { border-top: 1px solid var(--rule-strong); padding: 22px 0 44px; }
.prio-field { font-family: var(--mono); font-size: 13px; color: var(--nt-g); margin-bottom: 12px; }
.prio h3 { font-size: clamp(25px, 2.5vw, 38px); font-weight: 600; font-stretch: 80%; line-height: 1.08; letter-spacing: -.025em; max-width: 20ch; }
.prio h3 + p { margin-top: 14px; max-width: 44ch; color: var(--bone-dim); }
.prio .prio-open {
  grid-column: 1 / -1;
  border: 1px dashed var(--rule-strong); border-radius: 3px;
  margin-top: 8px; padding: 26px clamp(20px, 3vw, 36px) 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); align-items: start;
}
.prio-open .prio-field { grid-column: 1 / -1; color: var(--nt-a); }
.prio-open h3 + p { margin-top: 0; }

/* Registry --------------------------------------------------------- */
.registry { padding: var(--section) 0; border-top: 1px solid var(--rule); background: linear-gradient(var(--void), #050D0F); }
.key { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 22px; font-family: var(--mono); font-size: 13px; color: var(--bone-dim); }
.key span { display: inline-flex; align-items: center; gap: 9px; }
.st {
  display: inline-block; flex: none;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid var(--bone);
}
.st-full { background: var(--bone); }
.st-half { background: linear-gradient(90deg, var(--bone) 50%, transparent 50%); }
.st-none { border-color: var(--bone-faint); }
.st-life { background: var(--nt-a); border-color: var(--nt-a); box-shadow: 0 0 12px 2px rgba(59, 227, 142, .55); }

.reg { border-bottom: 1px solid var(--rule-strong); }
.reg-head, .row > summary {
  display: grid;
  grid-template-columns: minmax(150px, 2.2fr) repeat(3, 72px) minmax(0, 6fr) 28px;
  column-gap: 16px; align-items: center;
}
.reg-head {
  padding: 0 0 12px; border-bottom: 1px solid var(--rule-strong);
  font-family: var(--mono); font-size: 12.5px; color: var(--bone-dim);
}
.c-st { display: flex; justify-content: center; }
.reg-head .c-st { text-align: center; }
.c-track { position: relative; align-self: stretch; }
.reg-head .c-track { height: 44px; }
.axis-label { position: absolute; left: 0; top: 0; }
.tick { position: absolute; left: var(--x); bottom: 0; transform: translateX(-50%); white-space: nowrap; }
.tick:first-of-type { transform: none; }
.tick::after { content: ""; position: absolute; left: 50%; top: calc(100% + 4px); width: 1px; height: 8px; background: var(--rule-strong); }

.row { border-top: 1px solid var(--rule); }
.row:first-of-type { border-top: 0; }
.row > summary { list-style: none; cursor: pointer; min-height: 68px; padding: 10px 0; transition: background-color .2s; }
.row > summary::-webkit-details-marker { display: none; }
.row > summary:hover, .row[open] > summary { background: var(--void-2); }
.row > summary:focus-visible { outline-offset: -2px; }
.c-world { display: flex; flex-direction: column; gap: 2px; padding-left: 10px; }
.c-world b { font-family: var(--mono); font-size: 19px; font-weight: 600; font-stretch: 85%; letter-spacing: -.01em; }
.c-world small { font-family: var(--mono); font-size: 12.5px; color: var(--bone-dim); }
.c-world .lt { display: none; }
.row .c-track {
  /* faint gridlines at the axis ticks */
  background: linear-gradient(90deg,
    transparent 0 calc(11.26% - .5px), var(--rule) calc(11.26% - .5px) calc(11.26% + .5px),
    transparent 0 calc(30.51% - .5px), var(--rule) calc(30.51% - .5px) calc(30.51% + .5px),
    transparent 0 calc(45.45% - .5px), var(--rule) calc(45.45% - .5px) calc(45.45% + .5px),
    transparent 0 calc(61.5% - .5px), var(--rule) calc(61.5% - .5px) calc(61.5% + .5px),
    transparent 0 calc(73.19% - .5px), var(--rule) calc(73.19% - .5px) calc(73.19% + .5px),
    transparent 0 calc(84.01% - .5px), var(--rule) calc(84.01% - .5px) calc(84.01% + .5px),
    transparent 0 calc(94.84% - .5px), var(--rule) calc(94.84% - .5px) calc(94.84% + .5px),
    transparent 0);
  margin: -10px 0;
}
.row .c-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule); }
.pt {
  position: absolute; left: var(--x); top: 50%;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: var(--nt-c); box-shadow: 0 0 0 4px rgba(90, 147, 255, .18), 0 0 16px rgba(90, 147, 255, .7);
}
.row-earth .pt { margin-left: 0; background: var(--nt-a); box-shadow: 0 0 0 4px rgba(59, 227, 142, .18), 0 0 16px rgba(59, 227, 142, .8); }
.pt-label {
  position: absolute; left: var(--x); top: 50%; transform: translate(14px, -50%);
  font-family: var(--mono); font-size: 12px; color: var(--bone-dim); white-space: nowrap;
}
.row-earth .pt-label { transform: translate(20px, -50%); }
.pt-label.is-left { transform: translate(calc(-100% - 14px), -50%); }
.c-tog { position: relative; width: 28px; height: 28px; }
.c-tog::before, .c-tog::after { content: ""; position: absolute; left: 7px; top: 13px; width: 14px; height: 1.5px; background: var(--bone-dim); transition: transform .3s var(--ease); }
.c-tog::after { transform: rotate(90deg); }
.row[open] .c-tog::after { transform: rotate(0deg); }
.reg-head .c-tog::before, .reg-head .c-tog::after { display: none; }
.row-note {
  display: grid; grid-template-columns: minmax(150px, 2.2fr) minmax(0, 6fr); column-gap: 16px;
  padding: 6px 0 26px 10px; background: var(--void-2);
}
.row-note > * { grid-column: 2; max-width: 62ch; }
.row-note p { font-size: 17.5px; }
.row-note .src { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--bone-dim); }
.reg-foot { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--bone-faint); max-width: 80ch; }

/* Paper: embargo + join -------------------------------------------- */
.paper { background: var(--paper); color: var(--ink); padding: var(--section) 0; color-scheme: light; }
.paper a:hover { text-decoration-color: var(--nt-t); }
.paper :focus-visible { outline-color: var(--ink); }
.paper-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; align-items: start; }
.embargo { grid-column: 1 / span 6; }
.join { grid-column: 8 / -1; }
.paper h2 { font-size: clamp(36px, 4.2vw, 68px); font-weight: 680; font-stretch: 75%; letter-spacing: -.035em; line-height: .95; }
.paper-lede { margin-top: 18px; max-width: 36ch; font-size: 19px; color: var(--ink-dim); }

.sheet { position: relative; margin-top: 36px; border: 1.5px solid var(--ink); background: var(--paper-2); }
.sheet-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 18px; border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.sheet dl { padding: 4px 18px 22px; }
.sheet dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ink-rule); }
.sheet dl > div:last-child { border-bottom: 0; }
.sheet dt { font-family: var(--mono); font-size: 13px; font-weight: 600; padding-top: 3px; }
.sheet dd { font-size: 18px; line-height: 1.4; }
.redact {
  display: inline-block; vertical-align: -.2em;
  width: var(--w); max-width: 100%; height: 1.15em;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 13px; line-height: 1.15em; letter-spacing: .05em;
  overflow: hidden; white-space: nowrap; padding: 0 4px; cursor: help;
}
.stamp {
  position: absolute; right: clamp(12px, 3vw, 36px); bottom: 24px;
  display: grid; justify-items: center; gap: 2px;
  padding: 8px 16px 10px;
  border: 3px solid var(--nt-t); border-radius: 4px;
  color: var(--nt-t); transform: rotate(-7deg);
  font-family: var(--mono); text-transform: uppercase; line-height: 1;
  mix-blend-mode: multiply; opacity: .9; pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stamp-big { font-size: 22px; font-weight: 800; font-stretch: 100%; letter-spacing: .04em; }
.stamp-small { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; }

.join-form { display: grid; gap: 22px; margin-top: 36px; }
.field label, .roles legend { display: block; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-dim); }
.field input {
  width: 100%; margin-top: 8px; padding: 13px 16px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  background: var(--paper-2); color: var(--ink);
  font: inherit; font-size: 19px;
}
.field input::placeholder { color: rgba(10, 21, 23, .4); }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.roles { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.roles legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; }
.role { position: relative; }
.role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 14px 8px 12px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color .15s, color .15s;
}
.role span::before { content: ""; width: 11px; height: 11px; border: 1.5px solid currentColor; flex: none; }
.role span:hover { background: var(--paper-2); }
.role input:checked + span { background: var(--ink); color: var(--paper); }
.role input:checked + span::before { background: var(--nt-a); border-color: var(--nt-a); }
.role input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-family: var(--mono); font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.is-error { color: var(--error); }
.join-form.is-done .field, .join-form.is-done .roles, .join-form.is-done .consent { display: none; }
.join-form.is-done .btn[disabled] { opacity: 1; cursor: default; background: var(--nt-a); color: var(--ink); }
.join-form.is-done .form-status { flex-basis: 100%; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.3; max-width: 26ch; }

.share { margin-top: 56px; padding-top: 18px; border-top: 1.5px solid var(--ink); display: grid; gap: 10px; }
.share p { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.share-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.share-links a, .copy-link { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.copy-link { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; cursor: pointer; }

/* Footer ----------------------------------------------------------- */
.foot { padding: clamp(80px, 10vw, 140px) 0 28px; }
.fasta pre {
  font-family: var(--mono); font-size: clamp(15px, 2.05vw, 29px); font-weight: 500; font-stretch: 75%;
  line-height: 1.5; white-space: pre-wrap; word-break: break-all;
}
.fasta-id { color: var(--bone-faint); font-weight: 400; }
.fasta-seq { display: block; letter-spacing: .02em; }
.fasta-seq b { font-weight: 500; }
.fasta-seq b.a { color: var(--nt-a); }
.fasta-seq b.c { color: var(--nt-c); }
.fasta-seq b.g { color: var(--nt-g); }
.fasta-seq b.t { color: var(--nt-t); }
.fasta figcaption { margin-top: 14px; font-size: 15.5px; color: var(--bone-dim); max-width: 60ch; }
.foot-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px;
  margin-top: clamp(64px, 8vw, 120px); padding-top: 20px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 13px; color: var(--bone-dim);
}
.foot-row .brand { color: var(--bone); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Responsive ------------------------------------------------------- */
@media (max-width: 1080px) {
  .bar-nav { display: none; }
  .bar .btn { margin-left: auto; }
  .hero-pitch { grid-column: 1 / span 8; }
  .footnote { grid-column: 1 / span 8; margin-top: 28px; }
  .sec-head h2 { grid-column: 1 / -1; }
  .sec-head p { grid-column: 1 / -1; margin-top: 16px; }
  .n { grid-column: 1 / -1; }
  .sample-copy { grid-column: 1 / -1; max-width: 720px; }
  .fig { display: block; max-width: 720px; }
  .fig figcaption { margin-top: 14px; padding-bottom: 0; }
  .reg-head, .row > summary { grid-template-columns: minmax(130px, 2fr) repeat(3, 60px) minmax(0, 4fr) 28px; }
  .embargo, .join { grid-column: 1 / -1; max-width: 720px; }
}

@media (max-width: 720px) {
  body { font-size: 18px; }
  .bar { padding-top: 14px; padding-bottom: 14px; }
  .brand-name { font-size: 16px; }
  .hero { padding-top: 69px; min-height: auto; }
  .read-caption { display: none; }
  .legend { gap: 4px 10px; font-size: 11px; }
  .trace { height: 210px; }
  .hero h1 { font-size: clamp(46px, 16.4vw, 96px); }
  .hero h1 .line { display: inline; }
  .hero-main { gap: 28px; }
  .hero-pitch, .footnote { grid-column: 1 / -1; }
  .footnote { font-size: 14.5px; }

  .prio { grid-template-columns: minmax(0, 1fr); }
  .prio .prio-open { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }

  .reg-head, .row > summary { grid-template-columns: minmax(0, 1fr) repeat(3, 50px) 24px; column-gap: 6px; }
  .c-track { display: none; }
  .reg-head .c-world { visibility: hidden; }
  .reg-head .c-st { font-size: 11px; }
  .c-world { padding-left: 4px; }
  .c-world .lt { display: block; color: var(--nt-c); }
  .row-earth .c-world .lt { color: var(--nt-a); }
  .row-note { grid-template-columns: minmax(0, 1fr); padding: 4px 4px 22px; }
  .row-note > * { grid-column: 1; }
  .row-note p { font-size: 17px; }

  .sheet dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .stamp { position: relative; right: auto; bottom: auto; width: max-content; margin: -6px 18px 22px auto; transform: rotate(-6deg); }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Sub-pages: privacy, 404 ------------------------------------------ */
.page-bar { position: static; }
.doc { padding: clamp(56px, 8vw, 112px) 0 var(--section); }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 680; font-stretch: 75%; letter-spacing: -.035em; line-height: .95; margin-bottom: 24px; }
.doc h2 { font-size: 22px; font-weight: 600; font-stretch: 85%; margin: 48px 0 12px; line-height: 1.2; letter-spacing: -.01em; }
.doc p, .doc li { max-width: 66ch; color: rgba(236, 230, 214, .86); }
.doc p + p { margin-top: 1em; }
.doc ul { padding-left: 1.2em; margin: 12px 0; }
.doc li + li { margin-top: 6px; }
.doc .updated { font-family: var(--mono); font-size: 13px; color: var(--bone-dim); }
mark.todo { background: var(--nt-g); color: var(--ink); padding: 0 .3em; font-family: var(--mono); font-size: .8em; }
.lost { min-height: 100svh; display: grid; align-content: center; padding: 120px var(--gutter); }
.lost h1 { font-size: clamp(44px, 8vw, 132px); font-weight: 700; font-stretch: 75%; letter-spacing: -.035em; line-height: .92; max-width: 14ch; }
.lost p { margin-top: 24px; max-width: 40ch; font-size: 20px; color: var(--bone-dim); }
.lost .btn { margin-top: 32px; justify-self: start; }
.lost .lost-query { margin: 0 0 22px; font-family: var(--mono); font-size: 13px; color: var(--bone-dim); }
