@font-face {
  font-family: 'DM Sans'; src: url('assets/fonts/dmsans.woff2') format('woff2');
  font-weight: 100 1000; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque'; src: url('assets/fonts/bricolagegrotesque.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
}
:root { --ink: #101c24; --night: #0b121a; --paper: #f5f6f2; --gold: #f6bd77; --muted: #4c5c61; --line: #cbd2cf; --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif; font: 100%/1.5 'DM Sans','Segoe UI',sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body,h1,h2,h3,p,figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible,input:focus-visible { outline: 3px solid #3395bc; outline-offset: 5px; }
h1,h2,h3,.brand { font-family: var(--display); }
h1,h2,h3 { line-height: 1; font-weight: 560; letter-spacing: -.055em; }
.frame { width: min(90%, 1420px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 0; left: 1rem; padding: .75rem; background: white; color: #101820; transform: translateY(-120%); }
.skip:focus { transform: none; }
.top,footer { color: #f3f5f3; background: var(--night); }
.top { border-bottom: 1px solid #ffffff24; }
.bar,.foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.bar { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: -.055em; font-size: 1.5rem; white-space: nowrap; }
.brand-lab { font-weight: 420; }
.bar nav { display: flex; align-items: center; gap: clamp(1.2rem,3.3vw,3.9rem); font-size: .96rem; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; }
.contact { border-left: 1px solid #ffffff36; padding-left: clamp(1.2rem,3vw,3.5rem); color: var(--gold); }
.bar a:hover,.foot a:hover,.text-action:hover { color: var(--gold); }
.hero,.detail-hero { position: relative; isolation: isolate; overflow: hidden; background: #050910; color: #fff; }
.hero-photo,.detail-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { object-position: center 47%; }
.hero::before,.detail-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#040810ed,#040810ab 28%,#04081015 62%,transparent 82%); }
.hero-inner { min-height: clamp(500px,40vw,690px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: clamp(3.1rem,6vw,6.8rem); }
.hero h1 { font-size: clamp(4.1rem,7.6vw,8.8rem); line-height: .9; letter-spacing: -.072em; }
.hero em { color: #ffce94; font: italic 400 1.06em/.88 Georgia,serif; letter-spacing: -.065em; }
.hero-inner > p { max-width: 36ch; margin-top: 1.45rem; color: #e4eaed; font-size: clamp(1rem,1.32vw,1.27rem); }
.actions,.research-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.45rem; margin-top: 1.65rem; }
.btn,.text-action { min-height: 46px; display: inline-flex; align-items: center; font-weight: 650; }
.btn { padding: .72rem 1.18rem; border-radius: 4px; }
.warm { background: var(--gold); color: #192028; }
.warm:hover { background: #ffcf94; }
.text-action,.related a,.crumb { text-decoration: underline; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.product-section,.lab,.product-story,.research { padding-block: clamp(3rem,5.25vw,6.1rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.55rem; }
.section-head h2,.story-head h2,.research h2 { font-size: clamp(2.3rem,3.8vw,4.35rem); }
.section-head p,.card-body p,.steps p,.related span { color: var(--muted); }
.section-head p { font-size: .95rem; }
.product-grid,.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,1.9vw,2rem); }
.product-card { display: block; }
.card-image,.steps li > img,.assembly { overflow: hidden; border-radius: 5px; }
.card-image { aspect-ratio: 1.65; background: #334851; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.04); }
.card-body { padding-top: 1rem; }
.type { color: #52666b; font: 650 .81rem/1.35 'DM Sans',sans-serif; letter-spacing: .065em; text-transform: uppercase; }
.card-body h3 { margin-block: .38rem .35rem; font-size: clamp(1.8rem,2.5vw,3rem); }
.product-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.lab,.research { background: #10212c; color: #f3f6f4; }
.lab-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem,7vw,7rem); align-items: center; }
.lab .type,.research .type,.detail-head .type { color: var(--gold); }
.lab h2 { margin-block: .6rem 1rem; font-size: clamp(2.65rem,4.3vw,5rem); }
.lab-intro > p:not(.type) { max-width: 36ch; color: #dbe5e9; }
.lab-intro .model-note { font-size: .89rem; margin-top: 1rem; }
.experiment { min-width: 0; border: 1px solid #526574; border-radius: 7px; background: #0a1720; padding: clamp(.8rem,2.2vw,2rem); }
.experiment svg { display: block; width: 100%; height: auto; }
.experiment svg text { fill: #cfdee2; font: 17px 'DM Sans',sans-serif; }
.earth-rim,.orbit-path { fill: none; stroke-width: 1.5; }
.earth-rim { stroke: #88bdce; }
.orbit-path { stroke: #67889a; stroke-dasharray: 4 5; }
#radio-path { stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 5 4; }
.instrument-readings { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid #344853; padding-top: .95rem; }
.instrument-readings span,.pass-control label,.ends { color: #becfd7; font-size: .9rem; }
.instrument-readings output { display: block; font-size: clamp(1.35rem,2.4vw,2.25rem); font-variant-numeric: tabular-nums; }
.pass-control { margin-top: 1rem; }
.pass-control label { display: block; }
.pass-control input { display: block; width: 100%; accent-color: var(--gold); margin: 0; height: 30px; cursor: pointer; }
.ends { display: flex; justify-content: space-between; }
.foot { min-height: 95px; }
.foot > a:not(.brand) { font-size: .92rem; }
.detail-hero > img { width: 78%; left: auto; object-position: center 43%; }
.detail-hero::before { background: linear-gradient(90deg,#050910 12%,#050910e8 27%,#05091085 50%,transparent 82%); }
.detail-head { padding-block: 1.5rem clamp(2.5rem,4.5vw,5rem); min-height: clamp(350px,32vw,500px); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.crumb { padding-block: .4rem; }
.detail-head h1 { font-size: clamp(3.1rem,6.4vw,7.2rem); margin-block: .45rem .95rem; }
.deck { color: #e5ecee; font-size: 1.12rem; max-width: 38ch; }
.story-head { margin-bottom: 1.5rem; }
.story-head h2 { margin-top: .35rem; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li > img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.steps h3 { font-size: 1.6rem; margin-block: 1rem .4rem; }
.steps p { max-width: 39ch; }
.assembly { position: relative; background: #111923; }
.assembly img { display: block; width: 100%; height: auto; max-height: 580px; object-fit: contain; }
.assembly figcaption { position: absolute; left: 1.2rem; bottom: 1rem; color: #e3e9ec; background: #0a101bdc; padding: .15rem .4rem; font-size: .84rem; }
.parts { margin-top: 1.5rem; }
.parts li { border-top: 1px solid var(--line); }
.research-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.research h2 { margin-block: .55rem .8rem; }
.research-inner p:not(.type) { max-width: 52ch; color: #d5e1e5; }
.research-links { margin: 0; justify-content: flex-start; }
.related { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; padding-block: 1.3rem; }
.related a { padding-block: .4rem; font-weight: 600; }
@media(max-width:850px) {
  .lab-layout { grid-template-columns: .85fr 1.15fr; gap: 1.5rem; }
  .product-grid,.steps { gap: .9rem; }
  .research-inner { align-items: flex-start; flex-direction: column; }
}
@media(max-width:650px) {
  .bar { min-height: 98px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .bar nav { width: 100%; justify-content: space-between; gap: .6rem; }
  .brand img { width: 31px; height: 31px; }
  .contact { border-left: 0; padding-left: 0; }
  .hero-inner { min-height: 520px; justify-content: flex-end; padding-block: 2rem; }
  .hero-photo { height: 77%; object-position: 78% 22%; }
  .hero::before { background: linear-gradient(0deg,#050910 13%,#050910f2 30%,#0509107d 59%,transparent 84%); }
  .hero h1 { font-size: clamp(3.8rem,15vw,5.45rem); }
  .hero-inner > p { margin-top: 1.1rem; max-width: 33ch; }
  .actions { margin-top: 1rem; gap: .6rem 1.05rem; }
  .section-head { display: block; }
  .section-head p { margin-top: .4rem; }
  .product-grid,.steps,.lab-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .card-image { aspect-ratio: 1.8; }
  .card-body { padding-top: .7rem; }
  .lab h2 br { display: none; }
  .lab h2 br::after { content:' '; }
  .experiment svg text { font-size: 23px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: 1.6rem; }
  .detail-head { min-height: 410px; }
  .detail-hero > img { width: 100%; height: 88%; }
  .detail-hero::before { background: linear-gradient(0deg,#050910 7%,#050910db 35%,#05091015 75%),linear-gradient(165deg,#050910bd,transparent 48%); }
  .deck { max-width: 35ch; }
  .parts { gap: .8rem; }
  .related { gap: .5rem 1.2rem; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition: none !important; } }
