/* MYER Labs site — one stylesheet for both pages
   index.html: Alethia layout (scroll film hero, then sections)
   path.html:  Cosmic Mapping / Void Atlas layout (cloud film, tunnel, rings, stage rail)
   Brand: Ink surface, Slide white, Hematoxylin accents, crimson only in the logo. */

@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --ink: #121B26;
  --ink-deep: #0C1219;
  --ink-2: #4A5767;
  --ink-3: #7D8896;
  --hema: #3A3F86;
  --hema-l: #9EA4F5;
  --white: #F3F6F6;
  --edge: #E7EDEE;
  --text: #F3F6F6;
  --muted: rgba(243, 246, 246, .76);
  --hair: rgba(243, 246, 246, .16);
  --line: rgba(243, 246, 246, .4);
  --pad: clamp(18px, 3.6vw, 60px);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--hema-l); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }

/* ---------- shared pieces ---------- */
.label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(11px, .9vw, 13px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hema-l);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 27, 38, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { background: rgba(243, 246, 246, .12); border-color: var(--text); }
.btn.solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.solid:hover { background: var(--hema-l); border-color: var(--hema-l); }
.btn .arr { width: 12px; height: 12px; flex: none; transition: transform .25s var(--ease); }
.btn .arr path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn.small { padding: 10px 16px; font-size: 11px; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: clamp(13px, 1vw, 15px); }

/* ---------- top bar ---------- */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) var(--pad) 14px;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.bar.solid {
  background: rgba(18, 27, 38, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hair);
}
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; flex: none; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(18, 27, 38, .35); color: var(--text); cursor: pointer; padding: 0; }
.burger svg { width: 18px; height: 18px; }
.burger path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mnav { position: fixed; inset: 0; z-index: 19; display: none; flex-direction: column; justify-content: center; gap: 26px; padding: 90px var(--pad) 40px; background: var(--ink); }
.mnav.open { display: flex; }
.mnav a { font-size: clamp(26px, 7vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.mnav a.small { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hema-l); }

/* ---------- film frame (both heroes) ---------- */
.track { position: relative; height: 420vh; }
.track.path { height: 600vh; }
.frame {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--ink-deep);
}
.plate {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none; user-select: none;
}
video.plate { opacity: 0; transition: opacity .8s ease; }
.frame.film-on video.plate { opacity: 1; }
.veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.frame > .hero-body, .frame > .scene, .frame > .panel { z-index: 3; }
.frame > .foot, .frame > .rail { z-index: 4; }

/* entrances move only; nothing is ever hidden or dimmed while it waits */
@keyframes lineUp { from { transform: translateY(26px); } to { transform: none; } }
@keyframes riseIn { from { transform: translateY(14px); } to { transform: none; } }
@keyframes hudIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.ln { display: block; }
.ln > span { display: block; animation: lineUp 1.1s var(--ease) both; }
.ln:nth-child(2) > span { animation-delay: .1s; }
.ln:nth-child(3) > span { animation-delay: .2s; }

/* ---------- index hero: Alethia ---------- */
.alethia .plate { object-position: 50% 32%; }
.alethia .veil {
  background:
    linear-gradient(180deg, rgba(12, 18, 25, .45) 0%, rgba(12, 18, 25, 0) 20%, rgba(12, 18, 25, 0) 42%, rgba(12, 18, 25, .8) 100%);
}
.alethia .veil::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 25, .7) 0%, rgba(12, 18, 25, 0) 72%);
  opacity: var(--sv, 0);
}
.hud {
  position: absolute; z-index: 2;
  left: 70%; top: 40%;
  width: clamp(150px, 24vmin, 300px); height: clamp(150px, 24vmin, 300px);
  margin: calc(clamp(150px, 24vmin, 300px) / -2) 0 0 calc(clamp(150px, 24vmin, 300px) / -2);
  overflow: visible;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: scale(var(--hs, 1));
  opacity: var(--ho, .9);
  animation: hudIn 1.2s ease .6s backwards;
}
.hud * { fill: none; stroke: var(--hema-l); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hud .dash { stroke-dasharray: 2 5; transform-origin: 200px 200px; animation: spin 60s linear infinite; }
.hud .arc { stroke: var(--white); stroke-width: 1.6; stroke-dasharray: 220 1100; transform-origin: 200px 200px; animation: spin 14s linear infinite; }
.hud .core { fill: var(--white); stroke: none; }

.alethia .hero-body {
  position: absolute;
  left: var(--pad); right: var(--pad);
  bottom: clamp(74px, 11vh, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(24px, 5vw, 90px);
  align-items: end;
}
.alethia .hero-body .label { grid-column: 1 / -1; margin-bottom: clamp(14px, 2.2vh, 24px); animation: riseIn .9s var(--ease) .1s both; }
.alethia h1 {
  font-weight: 700;
  font-size: clamp(42px, min(7.6vw, 13vh), 124px);
  line-height: .95;
  letter-spacing: -.035em;
  text-shadow: 0 2px 40px rgba(12, 18, 25, .55);
}
.alethia h1 .ln:nth-child(2) { color: var(--hema-l); }
.alethia .aside { animation: riseIn .9s var(--ease) .55s both; padding-bottom: .5em; }
.alethia .lede { max-width: 44ch; font-size: clamp(15px, 1.3vw, 20px); line-height: 1.5; color: var(--text); text-shadow: 0 1px 20px rgba(12, 18, 25, .7); }
.alethia .aside .btn { margin-top: clamp(18px, 2.6vh, 30px); }

.scene {
  position: absolute;
  left: var(--pad);
  bottom: clamp(74px, 12vh, 130px);
  width: min(700px, calc(100% - 2 * var(--pad)));
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.scene h2 { margin: 14px 0 18px; font-weight: 700; font-size: clamp(32px, 4.8vw, 76px); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.scene p:not(.label) { max-width: 50ch; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.5; }

.foot {
  position: absolute;
  left: var(--pad); right: var(--pad);
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.foot .meter { flex: 1; height: 1px; background: var(--hair); position: relative; }
.foot .meter i { position: absolute; left: 0; top: 0; height: 1px; width: var(--rp, 0%); background: var(--white); }

/* ---------- path hero: Cosmic Mapping / Void Atlas ---------- */
.cosmic .veil {
  background:
    radial-gradient(70% 55% at 50% 50%, rgba(12, 18, 25, .38) 0%, rgba(12, 18, 25, 0) 100%),
    linear-gradient(180deg, rgba(12, 18, 25, .4) 0%, rgba(12, 18, 25, 0) 22%, rgba(12, 18, 25, 0) 62%, rgba(12, 18, 25, .78) 100%);
}
#tunnel { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.rings { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rings g { transform-origin: 800px 520px; transform: scale(var(--rs, 1)); }
.rings circle { fill: none; stroke: rgba(243, 246, 246, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings .spin { transform-origin: 800px 520px; animation: spin 90s linear infinite; }
.rings .spin circle { stroke: rgba(158, 164, 245, .5); stroke-dasharray: 3 9; }
.equations { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--eo, 1); }
.equations span {
  position: absolute;
  font-family: var(--mono); font-style: italic; font-size: clamp(11px, 1vw, 15px);
  color: rgba(243, 246, 246, .42);
  white-space: nowrap;
  transform: rotate(var(--r, 0deg));
  animation: drift 11s ease-in-out infinite alternate;
}
@keyframes drift { from { translate: 0 0; } to { translate: 0 -14px; } }

.cosmic .hero-body {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  padding: 96px var(--pad) clamp(130px, 20vh, 180px);
  text-shadow: 0 2px 36px rgba(12, 18, 25, .7);
  will-change: opacity;
}
.cosmic .hero-body .label { align-self: end; justify-self: center; margin-bottom: clamp(18px, 4vh, 44px); color: var(--white); animation: riseIn .9s var(--ease) .1s both; }
.cosmic h1 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(16px, 3vw, 60px);
  font-weight: 700;
  font-size: clamp(34px, min(6.4vw, 12vh), 108px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.cosmic h1 .l { transform: translateX(calc(var(--hx, 0px) * -1)); }
.cosmic h1 .m { color: var(--hema-l); }
.cosmic h1 .r { text-align: right; transform: translateX(var(--hx, 0px)); }
.cosmic .hero-body .lede { align-self: start; justify-self: center; margin-top: clamp(18px, 4vh, 44px); max-width: 44ch; text-align: center; font-size: clamp(15px, 1.3vw, 20px); animation: riseIn .9s var(--ease) .6s both; }

.panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vh, 28px);
  padding: 96px var(--pad) clamp(130px, 20vh, 180px);
  text-align: center;
  text-shadow: 0 2px 36px rgba(12, 18, 25, .75);
  opacity: 0;
  transform: translateY(26px) scale(.97);
  pointer-events: none;
  transition: opacity .55s ease, transform .7s var(--ease);
}
.panel.on { opacity: 1; transform: none; pointer-events: auto; }
/* soft shade behind the words only, so the clouds stay visible around them */
.panel::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 22%; bottom: 22%; background: radial-gradient(closest-side, rgba(12, 18, 25, .62) 0%, rgba(12, 18, 25, .4) 55%, rgba(12, 18, 25, 0) 100%); }
.panel .label { color: var(--white); }
.panel h2 { font-weight: 700; font-size: clamp(42px, min(9vw, 17vh), 150px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.panel p:not(.label) { max-width: 46ch; font-size: clamp(17px, 1.6vw, 25px); line-height: 1.4; }
.panel .chips { justify-content: center; text-shadow: none; }
.panel .chips li { padding: 12px 22px; font-size: clamp(14px, 1.3vw, 19px); font-weight: 500; background: rgba(12, 18, 25, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.rail {
  position: absolute;
  left: var(--pad); right: var(--pad);
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair);
}
.rail::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: var(--rp, 0%); background: var(--white); }
.rail button {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
  padding: 16px 8px 0 0;
  border: 0; background: none;
  font-family: var(--mono); font-weight: 500; text-align: left; text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease;
}
.rail button::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); transition: background .3s ease, transform .3s ease; }
.rail .name { font-size: clamp(9.5px, .85vw, 12px); letter-spacing: .12em; }
.rail .num { font-size: clamp(14px, 1.3vw, 19px); letter-spacing: .04em; }
.rail li.on button, .rail li.done button, .rail button:hover { color: var(--text); }
.rail li.done button::before { background: var(--white); }
.rail li.on button::before { background: var(--hema-l); transform: scale(1.8); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 11vh, 150px) var(--pad); border-top: 1px solid var(--hair); background: var(--ink); }
.section.deep { background: var(--ink-deep); }
.section.light { background: var(--white); color: var(--ink); border-top: 0; }
.section.light .label { color: var(--hema); }
.section h2 { margin-top: clamp(14px, 1.6vw, 24px); max-width: 18ch; font-weight: 700; font-size: clamp(32px, 4.6vw, 80px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vw, 96px); }
.intro p, .body-copy p { max-width: 54ch; font-size: clamp(16px, 1.25vw, 20px); color: var(--muted); }
.section.light .intro p, .section.light .body-copy p { color: var(--ink-2); }
.intro p + p, .body-copy p + p { margin-top: 1em; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 96px); }
.values li { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(16px, 2vw, 32px); padding: clamp(28px, 3.4vw, 56px) 0; border-top: 1px solid var(--line); }
.values .num { grid-row: 1 / span 3; font-family: var(--mono); font-weight: 500; font-size: clamp(14px, 1.2vw, 18px); color: var(--hema-l); padding-top: .35em; }
.values .label { color: var(--muted); }
.values h3 { margin: 10px 0 14px; font-weight: 700; font-size: clamp(30px, 3.5vw, 58px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.values p:not(.label) { max-width: 46ch; font-size: clamp(16px, 1.2vw, 19px); color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 64px) clamp(22px, 3vw, 56px); }
.facts li { padding-top: clamp(22px, 2.2vw, 36px); border-top: 1px solid var(--line); }
.facts .label { color: var(--muted); }
.facts h3 { margin: 12px 0 12px; font-weight: 700; font-size: clamp(24px, 2.3vw, 40px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.facts p:not(.label) { font-size: clamp(15px, 1.1vw, 18px); color: var(--muted); }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.split .chips { margin-top: clamp(26px, 3vw, 48px); }
.gets { margin: clamp(24px, 2.6vw, 40px) 0; border-top: 1px solid var(--hair); }
.gets li { padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: clamp(16px, 1.2vw, 20px); line-height: 1.35; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(22px, 3vw, 56px); counter-reset: area; }
.areas li { counter-increment: area; display: flex; align-items: baseline; gap: 18px; padding: clamp(14px, 1.5vw, 24px) 0; border-top: 1px solid rgba(18, 27, 38, .16); font-weight: 600; font-size: clamp(22px, 2.3vw, 42px); line-height: 1.05; letter-spacing: -.02em; transition: padding-left .35s var(--ease), color .35s var(--ease); }
.areas li::before { content: counter(area, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: clamp(11px, .85vw, 14px); letter-spacing: .08em; color: var(--ink-3); }
.areas li:hover { padding-left: 10px; color: var(--hema); }
.range-note { margin-top: clamp(28px, 3vw, 48px); font-size: clamp(15px, 1.15vw, 19px); color: var(--ink-2); }

.case { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 56px); counter-reset: step; }
.case li { counter-increment: step; padding-top: clamp(22px, 2.2vw, 36px); border-top: 1px solid var(--line); }
.case li::before { content: "Step " counter(step, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--hema-l); }
.case h3 { margin: 14px 0 14px; font-weight: 700; font-size: clamp(24px, 2.5vw, 42px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.case p { font-size: clamp(15px, 1.1vw, 18px); color: var(--muted); }
.case ul { margin-top: 18px; border-top: 1px solid var(--hair); }
.case ul li { counter-increment: none; padding: 11px 0; border-top: 0; border-bottom: 1px solid var(--hair); font-size: clamp(14px, 1.05vw, 17px); }
.case ul li::before { content: none; }

.quality { border-bottom: 1px solid var(--hair); }
.quality > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px clamp(24px, 5vw, 96px); padding: clamp(18px, 2vw, 30px) 0; border-top: 1px solid var(--hair); }
.quality h3 { font-weight: 600; font-size: clamp(19px, 1.7vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.quality .kind { margin: 0 0 4px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--hema-l); }
.quality ul + .kind { margin-top: 14px; }
.quality ul li { padding: 3px 0; font-size: clamp(15px, 1.1vw, 18px); color: var(--muted); }
.where { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4vw, 72px); margin-top: clamp(44px, 6vw, 96px); }
.where h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-weight: 500; font-size: clamp(11px, .9vw, 14px); letter-spacing: .2em; text-transform: uppercase; color: var(--hema-l); }
.where li { padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: clamp(15px, 1.1vw, 18px); }
.where li small { display: block; margin-top: 3px; font-size: .86em; color: var(--muted); }

.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 64px) clamp(22px, 3vw, 56px); }
.tech h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-weight: 500; font-size: clamp(11px, .9vw, 14px); letter-spacing: .2em; text-transform: uppercase; color: var(--hema-l); }
.tech li { padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: clamp(16px, 1.2vw, 20px); line-height: 1.35; }
.tech li small { display: block; margin-top: 4px; font-size: .78em; color: var(--muted); }
.note { margin-top: clamp(28px, 3vw, 48px); font-size: clamp(13px, 1vw, 16px); color: var(--muted); max-width: 80ch; }
.note a { border-bottom: 1px solid var(--line); }
.note a:hover { color: var(--hema-l); border-color: var(--hema-l); }

.cta-band { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.email { display: inline-block; margin-top: clamp(22px, 2.6vw, 40px); font-size: clamp(18px, 1.5vw, 26px); font-weight: 500; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.email:hover { color: var(--hema-l); border-color: var(--hema-l); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .full { grid-column: 1 / -1; }
form label { display: block; margin-bottom: 7px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
form input, form select, form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 246, 246, .04);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s ease, background .2s ease;
}
form select option { background: var(--ink); color: var(--text); }
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--hema-l); background: rgba(158, 164, 245, .08); }
form .form-note { align-self: center; font-size: 13px; color: var(--muted); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 24px var(--pad) max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: var(--ink-deep); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
footer img { height: 22px; width: auto; }

/* scroll reveal: only hides content when the script is running */
.js .reveal { transform: translateY(28px); transition: transform .9s var(--ease); }
.js .reveal.in { transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .nav, .bar > .btn { display: none; }
  .burger { display: grid; }
  .alethia .plate { object-position: 58% 30%; }
  .hud { left: 68%; top: 34%; }
  .alethia .hero-body { grid-template-columns: 1fr; row-gap: 18px; bottom: 64px; }
  .alethia h1 { font-size: clamp(40px, 12.5vw, 84px); }
  .alethia .aside { padding-bottom: 0; }
  .alethia .veil { background: linear-gradient(180deg, rgba(12, 18, 25, .45) 0%, rgba(12, 18, 25, 0) 18%, rgba(12, 18, 25, 0) 34%, rgba(12, 18, 25, .86) 78%); }
  .scene { bottom: 64px; }
  .cosmic h1 { grid-template-columns: 1fr; row-gap: .12em; text-align: center; font-size: clamp(38px, 12vw, 84px); }
  .cosmic h1 .l, .cosmic h1 .r { text-align: center; transform: none; }
  .equations span:nth-child(even) { display: none; }
  .rail .name { display: none; }
  .rail li.on .name { display: block; position: absolute; left: 0; bottom: calc(100% + 26px); white-space: nowrap; font-size: 11px; }
  .rail li:nth-child(n+4).on .name { left: auto; right: 0; }
  .intro, .split, .contact-grid, .values, .case, .quality > li, .where { grid-template-columns: 1fr; }
  .intro { align-items: start; }
  .areas, .tech, .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .areas, .tech, .facts, form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { transform: none; }
}

/* ---------- request form (multi-step) ---------- */
.contact-lede { margin-top: clamp(18px, 2vw, 28px); max-width: 44ch; font-size: clamp(16px, 1.25vw, 20px); color: var(--muted); }
.contact-steps { margin-top: clamp(26px, 3vw, 44px); display: grid; gap: 12px; }
.contact-steps li { display: flex; gap: 16px; align-items: baseline; font-size: 16px; }
.contact-steps span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--hema-l); }
.contact-alt { margin-top: clamp(26px, 3vw, 40px); font-size: 15px; color: var(--muted); }
.contact-alt .email { margin-top: 6px; display: inline-block; }
.contact-fine { margin-top: 18px; max-width: 46ch; font-size: 13px; color: var(--muted); }

form.rq { display: block; position: relative; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--hair); border-radius: 14px; background: rgba(243, 246, 246, .025); }
.rq-progress { height: 3px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.rq-progress i { display: block; height: 100%; width: 33.3%; background: var(--hema-l); transition: width .5s var(--ease); }
.rq-count { margin: 12px 0 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rq-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.rq-step.is-on { display: grid; gap: 20px; animation: rqIn .45s var(--ease); }
@keyframes rqIn { from { transform: translateY(10px); } to { transform: none; } }
.rq-step legend { padding: 0; margin-bottom: 4px; font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.rq-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rq-card { position: relative; display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.rq-card input { position: absolute; opacity: 0; pointer-events: none; }
.rq-card b { font-size: 16px; }
.rq-card span { font-size: 14px; color: var(--muted); }
.rq-card:hover { border-color: var(--text); }
.rq-card:has(input:checked) { border-color: var(--hema-l); background: rgba(158, 164, 245, .12); }
.rq-card:has(input:focus-visible) { outline: 2px solid var(--hema-l); outline-offset: 2px; }
.rq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.rq label, .rq-lab { display: block; margin-bottom: 7px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
form.rq label em, .rq-lab em { font-style: normal; letter-spacing: .06em; text-transform: none; color: var(--hema-l); margin-left: 6px; }
form.rq .rq-card, form.rq .rq-chips label, form.rq .rq-check, form.rq .rq-drop { font-family: var(--sans); font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0; }
form.rq .rq-card, form.rq .rq-drop { display: grid; }
form.rq .rq-check { display: flex; }
form.rq .rq-chips label { display: inline-block; }
.rq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-chips label { position: relative; cursor: pointer; }
.rq-chips input { position: absolute; opacity: 0; pointer-events: none; }
.rq-chips span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: all .2s ease; }
.rq-chips label.is-suggested span { border-color: var(--hema-l); box-shadow: inset 0 0 0 1px rgba(158, 164, 245, .35); }
.rq-chips input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.rq-chips input:focus-visible + span { outline: 2px solid var(--hema-l); outline-offset: 2px; }
.rq-drop { position: relative; display: grid; gap: 4px; padding: 18px; border: 1px dashed var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.rq-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rq-drop span { font-size: 14px; color: var(--muted); }
.rq-drop.is-over, .rq-drop:hover { border-color: var(--hema-l); background: rgba(158, 164, 245, .08); }
.rq-rfp { display: grid; gap: 16px; }
.rq-rfp[hidden] { display: none; }
.rq-meter { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.rq-meter i { flex: none; width: 90px; height: 4px; border-radius: 4px; background: var(--hair); position: relative; overflow: hidden; }
.rq-meter i::after { content: ""; position: absolute; inset: 0; width: var(--q, 0%); background: var(--hema-l); transition: width .3s ease; }
.rq-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.45; }
.rq-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #9EA4F5; }
.rq-hint { margin-top: 6px; font-size: 13px; color: var(--hema-l); }
.rq-hint:empty { display: none; }
.rq-err { display: none; margin-top: 6px; font-size: 13px; color: #FF5D7E; }
.rq-err.is-on { display: block; }
.rq-step [aria-invalid="true"] { border-color: #FF5D7E; }
.rq-summary:empty { display: none; }
.rq-summary { padding: 14px 16px; border-radius: 10px; background: rgba(243, 246, 246, .05); font-size: 14px; color: var(--muted); line-height: 1.6; }
.rq-summary b { color: var(--text); font-weight: 600; }
.rq-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-status { font-size: 14px; color: var(--muted); }
.rq-status:empty { display: none; }
.rq-status.is-error { color: #FF5D7E; }
.rq .btn[disabled] { opacity: .6; cursor: progress; }
.rq-done { display: grid; gap: 12px; padding: 12px 0; animation: rqIn .5s var(--ease); }
.rq-done[hidden] { display: none; }
.rq-done h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.rq-done p { color: var(--muted); font-size: 16px; }
.rq-done b { color: var(--text); }
@media (max-width: 640px) { .rq-cards, .rq-row { grid-template-columns: 1fr; } .rq-nav { flex-wrap: wrap; } }
