/* Tenucor — site styles (brand guidelines v0.9). No external requests. */
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-VF.ttf") format("truetype");
  font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-VF.ttf") format("truetype");
  font-weight: 100 800; font-display: swap;
}

:root {
  --ink: #0E1B26;
  --paper: #F4F2ED;
  --sheet: #FBFAF7;
  --graphite: #5A6570;
  --rule: #D9D5CC;
  --mist: #AEB6BD;
  --amber: #E8892B;
  --amber-text: #A85A12;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--sheet); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-text); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.site-header:not(.on-dark) { position: static; border-bottom: 1px solid var(--rule); background: var(--sheet); }
.bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; }
.nav a { text-decoration: none; }
.on-dark .nav a, .on-dark .lang { color: var(--paper); }
.on-dark .nav a:hover, .on-dark .lang:hover { color: var(--amber); }
.lang { font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-decoration: none;
        border: 1px solid currentColor; padding: 6px 8px; border-radius: 3px; opacity: .85; }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } .brand img { width: 140px; } }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper);
        min-height: min(92vh, 760px); display: flex; align-items: center; padding: 120px 0 72px; }
.hero .field { position: absolute; right: max(16px, calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); width: min(40vw, 580px); height: auto; aspect-ratio: 1; max-height: 96%; opacity: .95; }
.hero-inner { position: relative; width: 100%; }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.06; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .45em; max-width: 16ch; }
.hero-sub { font: 500 .85rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 0 0 1.4rem; }
.hero-body { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 36rem; color: #DCE1E5; margin: 0 0 2rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 3px; font-weight: 600; text-decoration: none; font-size: .98rem; }
.btn.primary { background: var(--amber); color: var(--ink); }
.btn.primary:hover { background: #F09A43; color: var(--ink); }
.btn.ghost { border: 1px solid rgba(244,242,237,.45); color: var(--paper); }
.btn.ghost:hover { border-color: var(--paper); color: var(--paper); }
@media (max-width: 700px) { .hero .field { top: calc(124px - 60vw); transform: none; right: -50vw; height: auto; width: 120vw; max-height: none; opacity: .5; } }

/* sections */
.band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.band.alt { background: var(--paper); }
.label { font: 500 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin: 0 0 .9rem; }
.label.spaced { margin-top: 2rem; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; margin: 0 0 1.25rem; max-width: 22ch; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; margin: 0 0 .5rem; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 1.1rem; font-size: 1.08rem; max-width: 62ch; }
blockquote { margin: 1.8rem 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--amber); }
blockquote p { font-size: 1.3rem !important; line-height: 1.4; font-weight: 500; margin: 0 !important; }

/* system stack */
.stack { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: stretch; }
.layer { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 22px 20px 20px; }
.band:not(.alt) .layer { background: #fff; }
.layer .step { display: block; font-size: .75rem; letter-spacing: .12em; color: var(--graphite); margin-bottom: 14px; }
.layer p { margin: 0; font-size: .95rem; color: #2B3843; }
.layer .bolto { width: 150px; margin: 2px 0 12px; }
.layer:not(:last-of-type)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px;
  border-top: 1.5px solid var(--graphite); border-right: 1.5px solid var(--graphite); transform: translateY(-50%) rotate(45deg); }
.out { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 4px; min-width: 116px; }
.out .polar { display: block; width: 100px; height: 100px; }
.out .mono { font-size: .85rem; letter-spacing: .08em; }
@media (max-width: 980px) {
  .stack { grid-template-columns: 1fr 1fr; }
  .out { grid-column: 1 / -1; flex-direction: row; padding: 10px 0; }
  .layer::after { display: none; }
}
@media (max-width: 560px) { .stack { grid-template-columns: 1fr; } }
.note { margin: 1.6rem 0 0; color: var(--graphite); max-width: 60ch; }
.pull { margin: 2.6rem 0 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.01em; }
.pull .sub { display: block; font-size: 1rem; font-weight: 400; color: var(--graphite); margin-top: .3rem; }

/* publications */
.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.pubs .au { color: var(--graphite); }
.pubs .mono { display: block; font-size: .78rem; color: var(--graphite); margin-top: 2px; }

/* status */
.status { list-style: none; margin: 0; padding: 0; }
.status li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.status .k { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); padding-top: 3px; }
.status .k::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: 10px; vertical-align: 1px; }
@media (max-width: 560px) { .status li { grid-template-columns: 1fr; gap: 4px; } }

/* partners, people */
.cards3, .people { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 20px; }
.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards3, .people { grid-template-columns: 1fr; } }
.cards3 li { border-top: 2px solid var(--ink); padding-top: 18px; }
.cards3 p, .person p { margin: 0 0 .6rem; color: #2B3843; }
.person { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 24px; }
.person .who { display: flex; align-items: center; gap: 16px; margin-bottom: 1rem; }
.person .who h3 { margin: 0 0 .15rem; }
.person .role { font-size: .78rem; letter-spacing: .06em; color: var(--graphite); margin: 0; }
.person .mail { margin: .4rem 0 0; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--paper);
          filter: grayscale(1) contrast(1.05); }
span.avatar { display: grid; place-items: center; font-size: 1rem; letter-spacing: .08em; color: var(--graphite);
              border: 1px solid var(--rule); filter: none; }
.draft { position: absolute; top: 12px; right: 12px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
         color: var(--amber-text); border: 1px solid currentColor; border-radius: 3px; padding: 2px 6px; }
.adv-title { margin-top: 3.2rem; }
.adv-note { font-size: .78rem; color: var(--graphite); margin: 0 0 .4rem; }
.people.advisors { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
.people.advisors .person > p { font-size: .95rem; }
.person.has-draft .who { padding-right: 56px; }
@media (max-width: 980px) { .people.advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people.advisors { grid-template-columns: 1fr; } }

/* contact */
.contact { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.contact .label { color: var(--mist); }
.contact .lead { max-width: 44rem; font-size: 1.15rem; color: #DCE1E5; }
.big-mail { font: 500 clamp(1.5rem, 4vw, 2.6rem)/1.2 var(--mono); color: var(--amber); text-decoration: none; word-break: break-all; }
.big-mail:hover { color: #F3A961; text-decoration: underline; }

/* footer */
.site-footer { background: #0A141C; color: var(--mist); padding: 40px 0 48px; border-top: 1px solid #1E3040; }
.foot { display: grid; gap: 10px; }
.foot img { width: 140px; margin-bottom: 8px; }
.foot p { margin: 0; font-size: .85rem; }
.foot .fine { color: #8C969E; max-width: 70ch; }
.foot a { color: var(--paper); }
.foot a:hover { color: var(--amber); }
.links { margin-top: 6px !important; }

/* legal */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 2.2rem; margin: 0 0 2rem; }
.legal dl { display: grid; grid-template-columns: 14rem 1fr; gap: 14px 24px; max-width: 60rem; }
.legal dt { font: 500 .8rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.legal dd { margin: 0; }
.small { font-size: .8rem; color: var(--graphite); }
@media (max-width: 700px) { .legal dl { grid-template-columns: 1fr; gap: 4px; } .legal dd { margin-bottom: 14px; } }
.lead-in { font-size: 1.15rem; font-weight: 500; max-width: 46rem; margin: -.4rem 0 0; color: var(--ink); }

/* v0.3 (2026-11-06): layered page. Scan-count bars, three steps with the vial photo */
.bars { margin: 2rem 0 0; padding: 0; max-width: 34rem; }
.bars .label { margin-bottom: .8rem; }
.bars .brow { display: grid; grid-template-columns: 3.4rem 1fr; align-items: center; gap: 12px; margin: 8px 0; }
.bars .k { font-size: .78rem; letter-spacing: .1em; color: var(--ink); }
.bars .track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bars .fill { display: block; height: 14px; background: var(--ink); flex: none; min-width: 4px; }
.bars .fill.spect { width: 72.0%; }
.bars .fill.pet { background: var(--mist); width: 11.4%; }
.bars .v { font-weight: 600; white-space: nowrap; }
.bars .note-s { font-size: .82rem; color: var(--graphite); margin: .7rem 0 0; }
.steps { list-style: none; margin: 2.4rem 0 2.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.steps li { position: relative; text-align: center; }
.steps li:not(:last-child)::after { content: "\203A"; position: absolute; right: calc(-1 * clamp(16px, 3vw, 40px) / 2 - .3rem); top: 120px; transform: translateY(-50%); font-size: 2rem; color: var(--graphite); }
.steps .pic { height: 240px; display: flex; align-items: center; justify-content: center; }
.steps .pic.photo img { height: 100%; width: auto; max-width: 100%; object-fit: cover; border-radius: 6px; }
.steps .t { font-weight: 600; margin: 1rem 0 .3rem; }
.steps .tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 0; color: var(--amber-text); }
.steps li.site .tag { color: var(--graphite); }
.prose.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.prose.cols p { max-width: none; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li:not(:last-child)::after { content: "\203A"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%) rotate(90deg); }
  .steps .pic { height: 200px; }
  .prose.cols { grid-template-columns: 1fr; gap: 0; }
}
.nav a { white-space: nowrap; }
