@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("/fonts/Newsreader-Variable.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 200 800; font-style: italic; font-display: swap; src: url("/fonts/Newsreader-Italic-Variable.woff2") format("woff2"); }

:root {
  --stone: #f7f6f2;
  --mist: #e4e4df;
  --concrete: #c9c7c1;
  --graphite: #1f1f1f;
  --signal: #a13c34;
  --muted: #676661;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", Arial, Helvetica, sans-serif;
  --shell: min(1440px, calc(100vw - 72px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--stone); }
body {
  margin: 0;
  color: var(--graphite);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.95), transparent 34rem),
    var(--stone);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--graphite); color: white; padding: 12px 16px; }
.skip:focus { top: 12px; }

.site-header {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand-lockup { display: flex; align-items: center; gap: 30px; }
.wordmark {
  display: inline-block;
  min-width: 142px;
  border: 1.5px solid var(--graphite);
  padding: 14px 17px 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: .16em;
}
.brand-line,
.eyebrow,
.desktop-nav,
.specimen-meta,
.footer-label,
.mobile-nav,
.protocol-topline span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .29em;
  line-height: 1.55;
}
.brand-line { font-size: 9px; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a { transition: opacity .2s ease; }
.desktop-nav a:hover { opacity: .56; }
.button { border: 1px solid #86847e; padding: 14px 24px 13px; }
.mobile-nav { display: none; }

.hero {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  min-height: 560px;
  border-top: 1px solid rgba(31,31,31,.07);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 70px 80px 0;
}
.eyebrow { margin: 0 0 24px; color: #55544f; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 {
  max-width: 640px;
  font-size: clamp(68px, 7vw, 116px);
  line-height: .88;
  letter-spacing: -.045em;
}
h1 em { font-weight: 330; font-style: italic; }
.lede {
  max-width: 660px;
  margin: 38px 0 46px;
  color: #42413d;
  font-size: 17px;
  line-height: 1.62;
}
.text-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--graphite);
  padding-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .27em;
}
.text-link span:last-child { font-size: 18px; letter-spacing: 0; transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translateX(5px); }
.hero-media { margin: 0; position: relative; overflow: hidden; min-height: 530px; }
.hero-media img { height: 100%; object-fit: cover; object-position: center; filter: saturate(.72) contrast(.94); }
.hero-media::after {
  display: none;
  content: "WETWARE / CONTROLLED ENVIRONMENT";
  position: absolute;
  right: 22px;
  top: 22px;
  writing-mode: vertical-rl;
  font: 500 8px/1 var(--sans);
  letter-spacing: .25em;
  color: rgba(31,31,31,.55);
}
.hero-media figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  display: flex;
  gap: 16px;
  font: 500 8px/1 var(--sans);
  letter-spacing: .2em;
  background: rgba(247,246,242,.78);
  padding: 8px 10px;
  backdrop-filter: blur(7px);
}

.work-section { padding: 82px 0 104px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 50px;
  margin-bottom: 46px;
}
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2,
.method-copy h2 { font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.035em; }
.section-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  border-left: 1px solid var(--concrete);
  padding-left: 22px;
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.work-card { position: relative; padding-bottom: 30px; }
.work-card img { aspect-ratio: 1.035; object-fit: cover; filter: saturate(.68); transition: filter .3s ease, transform .3s ease; }
.work-card:hover img { filter: saturate(.9); transform: translateY(-3px); }
.specimen-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; color: #595852; font-size: 8px; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.status.live i { background: #6b9d54; }
.status.trial i { background: #657dcc; }
.status.archived i { background: #a8786d; }
.work-card h3 { margin-top: 18px; font-size: 31px; line-height: 1; }
.work-card p { color: #565550; font-size: 13px; line-height: 1.55; max-width: 260px; }
.work-card > a { position: absolute; bottom: 0; right: 3px; font-size: 20px; }

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 82px;
  padding: 92px 0;
  border-top: 1px solid rgba(31,31,31,.08);
}
.method-media { margin: 0; }
.method-media img { height: 100%; min-height: 440px; object-fit: cover; filter: saturate(.65); }
.method-copy { align-self: center; max-width: 650px; }
.method-copy p:not(.eyebrow) { color: #474640; font-size: 17px; line-height: 1.65; margin: 30px 0; }
.method-copy .text-link { margin-top: 10px; }

.protocol { background: #252525; color: #eee; padding: 100px 0; }
.protocol-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px; border: 1px solid rgba(255,255,255,.18); }
.protocol-mark { display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.18); position: relative; overflow: hidden; }
.protocol-mark::before {
  content: "AUTHORIZED PERSONNEL / HUMAN OBSERVATION UNIT";
  position: absolute;
  bottom: 22px;
  left: 24px;
  font: 500 8px/1.4 var(--sans);
  letter-spacing: .24em;
  color: rgba(255,255,255,.48);
}
.aperture-circle {
  width: min(58%, 340px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.025), inset 0 0 0 70px rgba(255,255,255,.025);
}
.aperture-circle span { width: 9%; height: 9%; background: var(--signal); border-radius: 50%; box-shadow: 0 0 60px rgba(161,60,52,.8); }
.protocol-copy { padding: 52px; display: flex; flex-direction: column; justify-content: space-between; }
.protocol-topline { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); }
.protocol-copy .eyebrow { color: rgba(255,255,255,.62); }
.protocol-copy h2 { font-family: var(--sans); text-transform: uppercase; font-size: clamp(43px, 4.6vw, 72px); font-weight: 500; line-height: .94; letter-spacing: -.035em; max-width: 780px; }
.protocol-copy > p { color: rgba(255,255,255,.68); max-width: 650px; font-size: 15px; line-height: 1.65; }
.clinical-note { width: fit-content; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); display: grid; gap: 4px; }
.clinical-note span { font: 500 7px/1 var(--sans); letter-spacing: .28em; color: rgba(255,255,255,.42); }
.clinical-note strong { font: 500 10px/1.2 var(--sans); letter-spacing: .16em; }

.footer { padding: 70px 0 28px; }
.footer-primary { display: flex; align-items: center; gap: 44px; border-bottom: 1px solid var(--concrete); padding-bottom: 42px; }
.footer-wordmark { min-width: 145px; }
.footer-tag { font: 500 10px/1.4 var(--sans); letter-spacing: .32em; }
.footer-grid { display: grid; grid-template-columns: 1fr 220px 220px; gap: 30px; padding: 36px 0 70px; }
.footer-grid nav { display: flex; gap: 28px; font: 500 9px/1.5 var(--sans); letter-spacing: .22em; }
.footer-grid p { font: 500 9px/1.5 var(--sans); letter-spacing: .2em; }
.footer-label { color: #77756f; font-size: 8px; }
.footer-base { display: flex; justify-content: space-between; color: #77756f; font-size: 10px; }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 40px, 900px); }
  .brand-line { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .hero-media { min-height: 440px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 52px 24px; }
  .method { grid-template-columns: 1fr; gap: 50px; }
  .protocol-grid { grid-template-columns: 1fr; }
  .protocol-mark { min-height: 410px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 30px); }
  .site-header { min-height: 105px; }
  .wordmark { min-width: 112px; font-size: 14px; padding: 12px 13px 10px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { list-style: none; border: 1px solid #908e88; padding: 12px 14px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] nav { position: absolute; right: 0; top: 47px; width: 180px; background: var(--stone); border: 1px solid var(--concrete); z-index: 20; display: grid; }
  .mobile-nav nav a { padding: 15px; border-bottom: 1px solid var(--concrete); }
  .hero { min-height: 0; }
  .hero-copy { padding: 70px 0 55px; }
  h1 { font-size: clamp(58px, 20vw, 88px); }
  .lede { margin: 30px 0 38px; }
  .hero-media { min-height: 340px; margin-inline: -15px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 25px; }
  .section-heading h2, .method-copy h2 { font-size: 52px; }
  .cards { grid-template-columns: 1fr; }
  .work-card h3 { font-size: 34px; }
  .method { padding: 70px 0; }
  .method-media img { min-height: 340px; }
  .protocol { padding: 0; }
  .protocol-grid { width: 100%; border-left: 0; border-right: 0; }
  .protocol-copy { padding: 34px 24px 40px; min-height: 540px; }
  .protocol-copy h2 { font-size: 48px; }
  .footer-primary { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid nav { grid-column: 1 / -1; flex-wrap: wrap; }
}

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

/* Typographic panels — stand in for photography until real experiments exist. */
.panel { background: #E4E4DF; border: 1px solid #C9C7C1; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.panel-hero { min-height: 530px; height: 100%; flex-direction: column; justify-content: space-between; padding: 44px; background: #EDECE7; }
.panel-hero .label-box { border: 1.5px solid #1F1F1F; padding: 18px 22px; align-self: flex-start; margin-top: 60px; }
.panel-hero .label-box .wordmark { font-size: 15px; letter-spacing: .18em; line-height: 1.35; }
.panel-hero .label-row { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; font: 500 8px/1.7 var(--sans); letter-spacing: .22em; color: #4a4944; }
.panel-hero .label-row span:last-child { text-align: right; }
.panel-card { aspect-ratio: 1.035; padding: 28px; transition: transform .3s ease; }
.panel-card p { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: #1F1F1F; margin: 0; text-align: center; max-width: 12ch; }
.work-card:hover .panel-card { transform: translateY(-3px); }
.panel-method { min-height: 440px; height: 100%; padding: 40px; }
.panel-method p { font: 500 clamp(22px, 2.6vw, 34px)/1.5 var(--sans); letter-spacing: .28em; color: #1F1F1F; margin: 0; }
.footer-grid p a { color: inherit; text-decoration: none; }
@media (max-width: 720px) { .panel-hero { min-height: 340px; padding: 28px; } .panel-hero .label-box { margin-top: 30px; } .panel-method { min-height: 300px; } }
