@import url("https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@500;600;700&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Oxygen+Mono&display=swap");

:root {
  --gypsum: #F4F1EC;
  --graphite: #2A2E33;
  --wax: #C47A6A;
  --contact: #3A6B8C;
  --pressure: #B84A45;
  --mint: #C9D9D3;
  --ivory: #F7F2E8;
  --steel: #8A9098;
  --violet: #7A6B8A;
  --glow-x: 50%;
  --glow-y: 42%;
  --header-h: 4.75rem;
  --ease-lab: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-hinge: cubic-bezier(0.45, 0.05, 0.2, 1);
  --shadow-plane: 0 18px 40px rgba(42, 46, 51, 0.08);
  --shadow-wax: 0 10px 28px rgba(196, 122, 106, 0.18);
  --radius-slip: 2px 14px 3px 12px;
  --radius-cast: 18px 6px 22px 8px;
  --max: 1180px;
  --font-display: "Archivo Narrow", sans-serif;
  --font-body: "Mulish", sans-serif;
  --font-mono: "Oxygen Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--gypsum);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(201, 217, 211, 0.35) 0 120px, transparent 160px),
    radial-gradient(circle at 82% 8%, rgba(196, 122, 106, 0.12) 0 90px, transparent 140px),
    radial-gradient(circle at 70% 78%, rgba(58, 107, 140, 0.08) 0 140px, transparent 200px),
    radial-gradient(rgba(42, 46, 51, 0.045) 0.7px, transparent 0.8px);
  background-size: auto, auto, auto, 7px 7px;
  background-attachment: fixed, fixed, fixed, scroll;
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-lab), opacity 0.25s var(--ease-lab);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

p {
  max-width: 42rem;
}

.mono,
.code,
.nav-codes a,
.closure-readout,
.model-anchor,
.contact-id,
.pressure-val,
.seq-code,
.meta-tag,
.field-hint,
.chip-code {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  max-width: 100%;
}

.section {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.section--graphite {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(58, 107, 140, 0.22), transparent 45%),
    radial-gradient(ellipse at 90% 100%, rgba(196, 122, 106, 0.18), transparent 40%),
    linear-gradient(160deg, #23272c 0%, var(--graphite) 55%, #1f2328 100%);
  color: var(--ivory);
}

.section--graphite h1,
.section--graphite h2,
.section--graphite h3,
.section--graphite h4 {
  color: var(--ivory);
}

.section--ivory {
  background:
    radial-gradient(circle at 8% 30%, rgba(201, 217, 211, 0.45), transparent 35%),
    radial-gradient(circle at 92% 70%, rgba(196, 122, 106, 0.14), transparent 30%),
    var(--ivory);
}

.section--mint {
  background:
    radial-gradient(circle at 70% 20%, rgba(244, 241, 236, 0.7), transparent 40%),
    linear-gradient(180deg, #d5e3dd 0%, var(--mint) 100%);
}

.panel {
  background: rgba(247, 242, 232, 0.88);
  border: 1px solid rgba(138, 144, 152, 0.28);
  box-shadow: var(--shadow-plane);
  border-radius: var(--radius-cast);
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.panel--graphite {
  background: rgba(42, 46, 51, 0.94);
  color: var(--ivory);
  border-color: rgba(138, 144, 152, 0.35);
}

.panel--wax {
  background: linear-gradient(145deg, rgba(196, 122, 106, 0.18), rgba(247, 242, 232, 0.92) 55%);
  border-color: rgba(196, 122, 106, 0.4);
  box-shadow: var(--shadow-wax);
  border-radius: var(--radius-slip);
}

.panel--gypsum {
  background: rgba(244, 241, 236, 0.95);
}

.wax-overlay {
  position: relative;
}

.wax-overlay::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto auto;
  width: min(42%, 180px);
  height: min(38%, 120px);
  background: radial-gradient(ellipse at center, rgba(196, 122, 106, 0.28), rgba(196, 122, 106, 0.05) 70%, transparent 75%);
  border-radius: 40% 55% 48% 60%;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: rotate(-8deg);
}

.contact-dot,
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--contact);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(58, 107, 140, 0.15);
}

.contact-dot--pressure {
  background: var(--pressure);
  box-shadow: 0 0 0 3px rgba(184, 74, 69, 0.16);
}

.contact-dot--wax {
  background: var(--wax);
  box-shadow: 0 0 0 3px rgba(196, 122, 106, 0.18);
}

.hinge-arc {
  position: absolute;
  width: 120px;
  height: 60px;
  border: 2px solid rgba(58, 107, 140, 0.45);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  pointer-events: none;
}

.hinge-arc--pressure {
  border-color: rgba(184, 74, 69, 0.4);
}

.hinge-arc--wax {
  border-color: rgba(196, 122, 106, 0.45);
}

.plaster-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(42, 46, 51, 0.06) 0.6px, transparent 0.7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lab-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 144, 152, 0.28);
  transition: height 0.3s var(--ease-lab), background 0.3s var(--ease-lab), box-shadow 0.3s var(--ease-lab);
  overflow-x: clip;
  max-width: 100%;
}

.lab-header.is-scrolled {
  --header-h: 3.85rem;
  box-shadow: 0 8px 24px rgba(42, 46, 51, 0.08);
  background: rgba(244, 241, 236, 0.97);
}

.lab-header--graphite {
  background: rgba(42, 46, 51, 0.94);
  border-bottom-color: rgba(138, 144, 152, 0.25);
  color: var(--ivory);
}

.lab-header--graphite .nav-codes a {
  color: rgba(247, 242, 232, 0.78);
}

.lab-header--graphite .nav-codes a:hover,
.lab-header--graphite .nav-codes a[aria-current="page"] {
  color: var(--ivory);
}

.lab-header--graphite .closure-readout {
  color: var(--mint);
}

.lab-header__inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px 3px 10px 4px;
  border: 1px solid rgba(138, 144, 152, 0.35);
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav-codes {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav-codes a {
  font-size: 0.68rem;
  color: rgba(42, 46, 51, 0.72);
  position: relative;
  padding: 0.2rem 0;
}

.nav-codes a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--contact);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-lab);
}

.nav-codes a:hover::after,
.nav-codes a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-codes a:hover,
.nav-codes a[aria-current="page"] {
  color: var(--graphite);
}

.closure-readout {
  font-size: 0.58rem;
  color: var(--contact);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.closure-readout::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--contact);
  box-shadow: 0 0 0 3px rgba(58, 107, 140, 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--graphite);
  color: var(--ivory);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1002;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease-lab), opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  background: linear-gradient(160deg, #d08a79 0%, var(--wax) 48%, #b56b5c 100%);
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px 10px 4px 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(196, 122, 106, 0.28);
  overflow: hidden;
  transition: transform 0.28s var(--ease-lab), box-shadow 0.28s var(--ease-lab), background 0.28s;
  isolation: isolate;
}

.btn-primary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.95);
  box-shadow: 0 0 0 3px rgba(247, 242, 232, 0.2);
  transition: transform 0.28s var(--ease-lab), box-shadow 0.28s;
}

.btn-primary::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 6px;
  height: 10px;
  border: 1.5px solid rgba(247, 242, 232, 0.55);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.28s var(--ease-lab), transform 0.28s var(--ease-lab);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 14px 28px rgba(196, 122, 106, 0.35);
}

.btn-primary:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(247, 242, 232, 0.25);
}

.btn-primary:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn-primary--graphite {
  background: linear-gradient(160deg, #3a4048 0%, var(--graphite) 55%, #1e2227 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 22px rgba(42, 46, 51, 0.28);
}

.btn-primary--wide,
.btn-line--wide {
  width: 100%;
}

.btn-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--contact);
  padding: 0.4rem 0.1rem 0.65rem;
}

.btn-line::before,
.btn-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pressure);
  opacity: 0;
  transition: opacity 0.28s var(--ease-lab), transform 0.28s var(--ease-lab);
}

.btn-line::before {
  left: 0;
  transform: translateX(-4px);
}

.btn-line::after {
  right: 0;
  transform: translateX(4px);
  background: var(--contact);
}

.btn-line span {
  position: relative;
}

.btn-line span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--contact), var(--pressure));
  transform-origin: left;
  transition: height 0.28s var(--ease-lab), background 0.28s;
}

.btn-line:hover span::after {
  height: 4px;
  background:
    linear-gradient(90deg, transparent 0 8%, var(--contact) 8% 18%, transparent 18% 42%, var(--pressure) 42% 55%, transparent 55% 72%, var(--contact) 72% 82%, transparent 82%),
    linear-gradient(90deg, rgba(58, 107, 140, 0.35), rgba(184, 74, 69, 0.45));
}

.btn-line:hover::before,
.btn-line:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.bite-plane-hero {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  min-height: min(92vh, 920px);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(58, 107, 140, 0.18), transparent 28%),
    radial-gradient(circle at calc(var(--glow-x) + 8%) calc(var(--glow-y) + 10%), rgba(184, 74, 69, 0.12), transparent 22%),
    radial-gradient(ellipse at 12% 80%, rgba(201, 217, 211, 0.55), transparent 40%),
    linear-gradient(180deg, #efeae3 0%, var(--gypsum) 48%, #ebe6de 100%);
  --glow-x: 50%;
  --glow-y: 42%;
}

.bite-plane-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(42, 46, 51, 0.05) 0.65px, transparent 0.75px);
  background-size: 6px 6px;
  opacity: 0.7;
  pointer-events: none;
}

.bite-plane-hero__grid {
  position: relative;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  max-width: 100%;
  z-index: 1;
}

.plane-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
}

.upper-plane,
.lower-plane {
  position: relative;
  border-radius: var(--radius-cast);
  border: 1px solid rgba(138, 144, 152, 0.32);
  background:
    linear-gradient(145deg, rgba(247, 242, 232, 0.96), rgba(244, 241, 236, 0.88)),
    var(--ivory);
  box-shadow: var(--shadow-plane);
  padding: clamp(1.25rem, 3vw, 2.1rem);
  overflow: hidden;
  max-width: 100%;
}

.upper-plane {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
  transform: translateY(-10px);
  animation: plane-align-upper 1.4s var(--ease-hinge) 0.2s both;
}

.lower-plane {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8% 12%);
  transform: translateY(10px);
  animation: plane-align-lower 1.4s var(--ease-hinge) 0.2s both;
  background:
    linear-gradient(165deg, rgba(201, 217, 211, 0.35), rgba(247, 242, 232, 0.95) 50%),
    var(--ivory);
}

.upper-plane::before,
.lower-plane::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 70px;
  border: 2px solid rgba(58, 107, 140, 0.35);
  border-bottom: none;
  border-radius: 140px 140px 0 0;
  right: 8%;
  bottom: 12%;
  opacity: 0;
  animation: hinge-draw 1.2s var(--ease-hinge) 1s both;
}

.lower-plane::before {
  left: 10%;
  right: auto;
  top: 14%;
  bottom: auto;
  border: 2px solid rgba(184, 74, 69, 0.3);
  border-top: none;
  border-radius: 0 0 140px 140px;
}

.upper-plane__label,
.lower-plane__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--steel);
  margin-bottom: 0.75rem;
}

.hero-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 14ch;
}

.hero-line--lower {
  margin-left: auto;
  text-align: right;
  max-width: 16ch;
  color: var(--graphite);
}

.hero-join {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  pointer-events: none;
}

.hero-join .contact-dot {
  opacity: 0;
  transform: scale(0.4);
  animation: contact-appear 0.55s var(--ease-lab) forwards;
}

.hero-join .contact-dot:nth-child(1) { animation-delay: 1.15s; }
.hero-join .contact-dot:nth-child(2) { animation-delay: 1.35s; background: var(--pressure); box-shadow: 0 0 0 3px rgba(184, 74, 69, 0.16); }
.hero-join .contact-dot:nth-child(3) { animation-delay: 1.55s; }
.hero-join .contact-dot:nth-child(4) { animation-delay: 1.75s; background: var(--wax); box-shadow: 0 0 0 3px rgba(196, 122, 106, 0.18); }
.hero-join .contact-dot:nth-child(5) { animation-delay: 1.95s; }

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.fit-note {
  position: relative;
  background: linear-gradient(160deg, rgba(247, 242, 232, 0.98), rgba(244, 241, 236, 0.92));
  border: 1px solid rgba(138, 144, 152, 0.3);
  border-radius: var(--radius-slip);
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-plane);
  overflow: hidden;
  max-width: 100%;
  animation: slip-in 0.9s var(--ease-lab) 0.45s both;
}

.fit-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--contact), var(--wax));
}

.fit-note__code {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--contact);
  margin-bottom: 0.55rem;
}

.fit-note h2,
.fit-note h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin-bottom: 0.55rem;
}

.fit-note p {
  font-size: 0.98rem;
  color: rgba(42, 46, 51, 0.86);
}

.model-anchor {
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 400;
  color: var(--graphite);
  letter-spacing: 0.08em;
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(58, 107, 140, 0.45);
  background: rgba(201, 217, 211, 0.28);
  border-radius: 4px;
  line-height: 1.35;
}

.model-anchor span {
  display: block;
  color: var(--contact);
  font-size: 0.72em;
  margin-top: 0.25rem;
}

.contact-lock {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-lock__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  background: rgba(42, 46, 51, 0.92);
  color: var(--ivory);
  border-radius: 2px 8px 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  animation: chip-seat 0.6s var(--ease-lab) both;
}

.contact-lock__chip:nth-child(1) { animation-delay: 1.4s; }
.contact-lock__chip:nth-child(2) { animation-delay: 1.55s; }
.contact-lock__chip:nth-child(3) { animation-delay: 1.7s; }

.contact-lock__chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.hero-visual {
  position: relative;
  border-radius: 14px 5px 18px 7px;
  overflow: hidden;
  border: 1px solid rgba(138, 144, 152, 0.3);
  min-height: 220px;
  box-shadow: var(--shadow-plane);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.hero-visual__caption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  background: rgba(244, 241, 236, 0.92);
  padding: 0.35rem 0.55rem;
  border-radius: 2px;
  color: var(--graphite);
}

.contact-map {
  position: absolute;
  inset: auto 8% 10% 8%;
  height: 48px;
  pointer-events: none;
}

.contact-map span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--contact);
  opacity: 0;
  animation: contact-appear 0.5s var(--ease-lab) forwards;
}

.contact-map span:nth-child(1) { left: 8%; top: 40%; animation-delay: 1.2s; }
.contact-map span:nth-child(2) { left: 24%; top: 18%; animation-delay: 1.35s; background: var(--pressure); }
.contact-map span:nth-child(3) { left: 42%; top: 55%; animation-delay: 1.5s; }
.contact-map span:nth-child(4) { left: 61%; top: 22%; animation-delay: 1.65s; background: var(--wax); }
.contact-map span:nth-child(5) { left: 78%; top: 48%; animation-delay: 1.8s; }
.contact-map span:nth-child(6) { left: 90%; top: 30%; animation-delay: 1.95s; background: var(--pressure); }

.marker-strip {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding: 1.75rem 0;
  border-block: 1px solid rgba(138, 144, 152, 0.25);
  background: rgba(247, 242, 232, 0.65);
}

.marker-strip__track {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 100%;
}

.marker-item {
  position: relative;
  padding: 0.85rem 0.75rem 0.95rem 1.1rem;
  border-left: 2px solid var(--contact);
  background: transparent;
  min-width: 0;
}

.marker-item:nth-child(2) { border-left-color: var(--pressure); }
.marker-item:nth-child(3) { border-left-color: var(--wax); }
.marker-item:nth-child(4) { border-left-color: var(--violet); }
.marker-item:nth-child(5) { border-left-color: var(--contact); }

.marker-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  color: inherit;
  border-left-color: inherit;
  background: var(--contact);
}

.marker-item:nth-child(2)::before { background: var(--pressure); }
.marker-item:nth-child(3)::before { background: var(--wax); }
.marker-item:nth-child(4)::before { background: var(--violet); }

.marker-item__code {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--steel);
  margin-bottom: 0.3rem;
}

.marker-item p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  max-width: none;
}

.misfit-field {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.misfit-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.pressure-map-panel {
  position: relative;
  min-height: 420px;
  border-radius: 22px 8px 26px 10px;
  overflow: hidden;
  border: 1px solid rgba(138, 144, 152, 0.3);
  background:
    radial-gradient(circle at 30% 35%, rgba(184, 74, 69, 0.22), transparent 28%),
    radial-gradient(circle at 68% 58%, rgba(58, 107, 140, 0.2), transparent 25%),
    linear-gradient(155deg, #2f343a, var(--graphite));
  color: var(--ivory);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-plane);
}

.pressure-map-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.pressure-map-panel__content {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.pressure-map-panel h2 {
  color: var(--ivory);
  margin-bottom: 0.85rem;
}

.pressure-map-panel p {
  color: rgba(247, 242, 232, 0.86);
}

.pressure-points {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pressure-points span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pressure);
  box-shadow: 0 0 0 6px rgba(184, 74, 69, 0.2);
}

.pressure-points span:nth-child(1) { top: 22%; left: 18%; }
.pressure-points span:nth-child(2) { top: 48%; left: 62%; background: var(--contact); box-shadow: 0 0 0 6px rgba(58, 107, 140, 0.2); }
.pressure-points span:nth-child(3) { top: 68%; left: 34%; background: var(--wax); box-shadow: 0 0 0 6px rgba(196, 122, 106, 0.2); }
.pressure-points span:nth-child(4) { top: 30%; left: 78%; }

.fit-note-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fit-note-stack .fit-note:nth-child(2) {
  margin-left: 8%;
  width: 92%;
}

.fit-note-stack .fit-note:nth-child(3) {
  margin-left: 0;
  width: 88%;
  align-self: flex-end;
}

.verified-outputs {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.verified-map {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: stretch;
}

.fit-case {
  position: relative;
  background: rgba(247, 242, 232, 0.92);
  border: 1px solid rgba(138, 144, 152, 0.28);
  border-radius: var(--radius-cast);
  overflow: hidden;
  max-width: 100%;
  transition: transform 0.35s var(--ease-lab), box-shadow 0.35s var(--ease-lab);
}

.fit-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(42, 46, 51, 0.12);
}

.fit-case--featured {
  grid-row: 1 / span 2;
  min-height: 100%;
  border-radius: 24px 8px 28px 10px;
  background:
    linear-gradient(165deg, rgba(42, 46, 51, 0.92), rgba(42, 46, 51, 0.84)),
    var(--graphite);
  color: var(--ivory);
}

.fit-case--featured h3,
.fit-case--featured .fit-case__meta {
  color: var(--ivory);
}

.fit-case--offset {
  margin-top: 1.75rem;
}

.fit-case--narrow {
  width: 92%;
  justify-self: end;
}

.fit-case__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.fit-case--featured .fit-case__media {
  aspect-ratio: 4 / 5;
  min-height: 280px;
}

.fit-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-lab);
}

.fit-case:hover .fit-case__media img {
  transform: scale(1.04);
}

.fit-case__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.fit-case__meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--contact);
  margin-bottom: 0.45rem;
}

.fit-case h3 {
  margin-bottom: 0.65rem;
}

.fit-case dl {
  display: grid;
  gap: 0.45rem;
}

.fit-case dt {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--steel);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fit-case--featured dt {
  color: rgba(201, 217, 211, 0.75);
}

.fit-case dd {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.balance-thesis {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.thesis-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
}

.thesis-headline {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  max-width: 14ch;
  position: relative;
}

.thesis-headline::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 50px;
  border: 2px solid rgba(58, 107, 140, 0.35);
  border-bottom: none;
  border-radius: 100px 100px 0 0;
  right: -10px;
  bottom: -8px;
}

.thesis-card {
  background: var(--ivory);
  border-radius: var(--radius-slip);
  padding: 1.5rem;
  border: 1px solid rgba(138, 144, 152, 0.28);
  position: relative;
  margin-bottom: 2rem;
}

.pressure-annotation {
  position: absolute;
  right: 4%;
  top: 12%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--pressure);
  max-width: 14ch;
  text-align: right;
  line-height: 1.4;
}

.pressure-annotation::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pressure);
  margin-right: 0.35rem;
  vertical-align: middle;
}

.service-contacts {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.occlusion-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  min-height: 480px;
}

.service-point {
  position: relative;
  background: rgba(247, 242, 232, 0.94);
  border: 1px solid rgba(138, 144, 152, 0.28);
  border-radius: var(--radius-cast);
  padding: 1.2rem 1.15rem 1.35rem;
  transition: transform 0.35s var(--ease-lab), box-shadow 0.35s;
  overflow: hidden;
  max-width: 100%;
}

.service-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(42, 46, 51, 0.1);
}

.service-point::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--contact);
  box-shadow: 0 0 0 5px rgba(58, 107, 140, 0.15);
}

.service-point:nth-child(odd)::before {
  background: var(--pressure);
  box-shadow: 0 0 0 5px rgba(184, 74, 69, 0.15);
}

.service-point:nth-child(3n)::before {
  background: var(--wax);
  box-shadow: 0 0 0 5px rgba(196, 122, 106, 0.15);
}

.service-point:nth-child(1) { grid-column: 1 / span 5; }
.service-point:nth-child(2) { grid-column: 6 / span 7; margin-top: 2rem; }
.service-point:nth-child(3) { grid-column: 2 / span 5; }
.service-point:nth-child(4) { grid-column: 7 / span 5; margin-top: -1rem; }
.service-point:nth-child(5) { grid-column: 1 / span 6; }
.service-point:nth-child(6) { grid-column: 7 / span 6; margin-top: 1.25rem; }

.service-point__code {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--steel);
  margin-bottom: 0.4rem;
}

.service-point h3 {
  margin-bottom: 0.5rem;
}

.service-point p {
  font-size: 0.95rem;
  color: rgba(42, 46, 51, 0.84);
}

.closure-proof {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.proof-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

.proof-block {
  position: relative;
  border-radius: var(--radius-cast);
  overflow: hidden;
  border: 1px solid rgba(138, 144, 152, 0.28);
  min-height: 280px;
  background: var(--ivory);
}

.proof-block--tall {
  min-height: 360px;
}

.proof-block--short {
  align-self: end;
  min-height: 240px;
  margin-top: 3rem;
  border-radius: var(--radius-slip);
  background:
    linear-gradient(145deg, rgba(196, 122, 106, 0.16), rgba(247, 242, 232, 0.95));
}

.proof-block img {
  width: 100%;
  height: 55%;
  object-fit: cover;
}

.proof-block__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.proof-block h3 {
  margin-bottom: 0.55rem;
}

.method-section {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.method-visual {
  position: relative;
  border-radius: 20px 6px 24px 8px;
  overflow: hidden;
  border: 1px solid rgba(138, 144, 152, 0.3);
  min-height: 360px;
}

.method-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.method-copy .fit-note {
  margin-top: 1rem;
}

.occlusion-sequence {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.seq-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  counter-reset: seq;
}

.seq-step {
  position: relative;
  flex: 1 1 140px;
  min-width: 120px;
  padding: 1.1rem 0.9rem 1.2rem;
  background: rgba(247, 242, 232, 0.9);
  border: 1px solid rgba(138, 144, 152, 0.28);
  border-radius: 4px 12px 5px 14px;
  counter-increment: seq;
}

.seq-step::before {
  content: counter(seq, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--contact);
  display: block;
  margin-bottom: 0.45rem;
}

.seq-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.seq-step p {
  font-size: 0.88rem;
  max-width: none;
}

.seq-step:nth-child(even) {
  margin-top: 1.25rem;
  background: linear-gradient(160deg, rgba(201, 217, 211, 0.45), rgba(247, 242, 232, 0.95));
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  width: 100%;
  padding: 1rem 0;
  background: var(--graphite);
  color: var(--ivory);
  border-block: 1px solid rgba(138, 144, 152, 0.25);
}

.marquee-wrap--light {
  background: rgba(247, 242, 232, 0.8);
  color: var(--graphite);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee-left 42s linear infinite;
  will-change: transform;
}

.marquee-track.reverse {
  animation-name: marquee-right;
  animation-duration: 48s;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wax);
  flex-shrink: 0;
}

.marquee-wrap--light .marquee-track span::before {
  background: var(--contact);
}

.closure-cta {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  text-align: left;
}

.closure-cta__panel {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 26px 8px 30px 10px;
  background:
    radial-gradient(circle at 85% 20%, rgba(196, 122, 106, 0.22), transparent 35%),
    radial-gradient(circle at 15% 80%, rgba(58, 107, 140, 0.2), transparent 40%),
    linear-gradient(145deg, #30353b, var(--graphite));
  color: var(--ivory);
  overflow: hidden;
  max-width: 100%;
}

.closure-cta__panel h2 {
  color: var(--ivory);
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.closure-cta__panel p {
  color: rgba(247, 242, 232, 0.84);
  margin-bottom: 1.5rem;
}

.contact-preview {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.preview-card {
  background: var(--ivory);
  border: 1px solid rgba(138, 144, 152, 0.28);
  border-radius: var(--radius-slip);
  padding: 1.5rem;
}

.preview-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.8;
  color: var(--graphite);
}

.preview-visual {
  border-radius: var(--radius-cast);
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(138, 144, 152, 0.28);
}

.preview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem 1rem;
  background: rgba(247, 242, 232, 0.85);
  border-left: 2px solid var(--contact);
  border-radius: 0 8px 0 10px;
}

.stat-card:nth-child(2) { border-left-color: var(--pressure); }
.stat-card:nth-child(3) { border-left-color: var(--wax); }
.stat-card:nth-child(4) { border-left-color: var(--violet); }

.stat-card .counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.stat-card span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--steel);
}

.page-hero {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 78% 20%, rgba(196, 122, 106, 0.14), transparent 30%),
    radial-gradient(circle at 12% 70%, rgba(201, 217, 211, 0.4), transparent 35%),
    var(--gypsum);
}

.page-hero__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--contact);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 38rem;
}

.balance-map-header {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.balance-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  min-height: 220px;
}

.balance-node {
  background: rgba(247, 242, 232, 0.9);
  border: 1px solid rgba(138, 144, 152, 0.28);
  border-radius: 10px 3px 12px 4px;
  padding: 1rem;
  position: relative;
}

.balance-node::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--contact);
  top: 0.85rem;
  right: 0.85rem;
}

.balance-node:nth-child(1) { grid-column: 1 / span 2; }
.balance-node:nth-child(2) { grid-column: 3 / span 2; margin-top: 1.5rem; }
.balance-node:nth-child(3) { grid-column: 5 / span 2; }
.balance-node:nth-child(4) { grid-column: 2 / span 2; }
.balance-node:nth-child(5) { grid-column: 4 / span 3; margin-top: -0.5rem; }

.balance-node h3 {
  font-size: 1.05rem;
  padding-right: 1rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 760px;
}

.acc-item {
  background: rgba(247, 242, 232, 0.92);
  border: 1px solid rgba(138, 144, 152, 0.28);
  border-radius: 4px 14px 5px 12px;
  overflow: hidden;
  max-width: 100%;
}

.acc-trigger {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--graphite);
  background: transparent;
  position: relative;
}

.acc-trigger::after {
  content: "";
  width: 18px;
  height: 10px;
  flex-shrink: 0;
  border: 2px solid var(--contact);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  transition: transform 0.35s var(--ease-hinge);
  transform-origin: center bottom;
}

.acc-item.is-open .acc-trigger::after {
  transform: rotateX(180deg) translateY(2px);
  border-color: var(--wax);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-hinge);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel__inner {
  overflow: hidden;
  min-height: 0;
}

.acc-panel p {
  padding: 0 1.2rem 1.2rem;
  color: rgba(42, 46, 51, 0.86);
}

.portfolio-map {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.portfolio-cluster {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.portfolio-cluster:nth-child(even) {
  grid-template-columns: 0.75fr 1.25fr;
}

.portfolio-cluster:nth-child(even) .fit-case:first-child {
  margin-top: 2rem;
}

.fit-check-form {
  position: relative;
  background:
    linear-gradient(165deg, rgba(247, 242, 232, 0.98), rgba(244, 241, 236, 0.94));
  border: 1px solid rgba(138, 144, 152, 0.32);
  border-radius: var(--radius-slip);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-plane);
  max-width: 640px;
  overflow: hidden;
}

.fit-check-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--contact), var(--wax), var(--pressure));
}

.fit-check-form__header {
  margin-bottom: 1.35rem;
}

.fit-check-form__header .fit-note__code {
  margin-bottom: 0.4rem;
}

.field {
  margin-bottom: 1.1rem;
  position: relative;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(138, 144, 152, 0.4);
  border-radius: 3px 8px 3px 8px;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--contact);
  box-shadow: 0 0 0 3px rgba(58, 107, 140, 0.15);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--pressure);
  box-shadow: 0 0 0 3px rgba(184, 74, 69, 0.12);
}

.field.is-valid input,
.field.is-valid textarea {
  border-color: #6a9a88;
  box-shadow: 0 0 0 3px rgba(106, 154, 136, 0.12);
}

.field-error {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--pressure);
  margin-top: 0.35rem;
}

.field.is-invalid .field-error {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.contact-aside .preview-meta {
  margin-top: 1rem;
}

.map-frame {
  margin-top: 1.25rem;
  border-radius: var(--radius-cast);
  overflow: hidden;
  border: 1px solid rgba(138, 144, 152, 0.3);
  min-height: 260px;
  background: var(--mint);
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.legal-shell {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-shell .container {
  max-width: 820px;
}

.legal-shell h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.legal-shell .legal-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--steel);
  margin-bottom: 2rem;
}

.legal-shell h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 2.25rem 0 0.85rem;
}

.legal-shell h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
}

.legal-shell p,
.legal-shell li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(42, 46, 51, 0.9);
  max-width: none;
  margin-bottom: 0.9rem;
}

.legal-shell ul,
.legal-shell ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-shell ul {
  list-style: disc;
}

.legal-shell ol {
  list-style: decimal;
}

.legal-shell a {
  color: var(--contact);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(138, 144, 152, 0.3);
}

.legal-nav a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-decoration: none;
}

.thanks-shell {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.thanks-panel {
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
  background: rgba(247, 242, 232, 0.95);
  border: 1px solid rgba(138, 144, 152, 0.3);
  border-radius: var(--radius-slip);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: var(--shadow-plane);
}

.thanks-panel::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--contact);
  box-shadow: 0 0 0 6px rgba(58, 107, 140, 0.15);
}

.thanks-panel h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.thanks-panel p {
  margin-bottom: 1.5rem;
}

.model-directory {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  background:
    radial-gradient(circle at 10% 0%, rgba(58, 107, 140, 0.18), transparent 35%),
    linear-gradient(180deg, #262a2f, var(--graphite));
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.model-directory a {
  color: rgba(247, 242, 232, 0.82);
}

.model-directory a:hover {
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 1.5rem 1.25rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand__name {
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.92rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col li,
.footer-col p {
  font-size: 0.9rem;
  color: rgba(247, 242, 232, 0.75);
  max-width: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(138, 144, 152, 0.25);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(247, 242, 232, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-lab), transform 0.7s var(--ease-lab);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { --d: 80ms; }
.reveal-delay-2 { --d: 160ms; }
.reveal-delay-3 { --d: 240ms; }
.reveal-delay-4 { --d: 320ms; }
.reveal-delay-5 { --d: 400ms; }

.parallax-layer {
  will-change: transform;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head p {
  max-width: 32rem;
  color: rgba(42, 46, 51, 0.78);
}

.section--graphite .section-head p {
  color: rgba(247, 242, 232, 0.75);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--contact);
  margin-bottom: 0.55rem;
}

.section--graphite .eyebrow {
  color: var(--mint);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-cast);
  border: 1px solid rgba(138, 144, 152, 0.28);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  background: rgba(244, 241, 236, 0.92);
  color: var(--graphite);
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
}

.text-block {
  max-width: 42rem;
}

.text-block + .text-block {
  margin-top: 1rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-grid .media-frame {
  min-height: 280px;
}

.about-grid .media-frame:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.list-marks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.list-marks li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.98rem;
}

.list-marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--contact);
}

.list-marks li:nth-child(even)::before {
  background: var(--pressure);
}

.mobile-nav {
  display: none;
}

@keyframes plane-align-upper {
  from { transform: translateY(-18px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes plane-align-lower {
  from { transform: translateY(18px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes hinge-draw {
  from { opacity: 0; transform: scaleX(0.35); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes contact-appear {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slip-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes chip-seat {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(58, 107, 140, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(58, 107, 140, 0.08); }
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (hover: hover) and (min-width: 1025px) {
  .bite-plane-hero {
    background:
      radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(58, 107, 140, 0.28), transparent 26%),
      radial-gradient(circle at calc(var(--glow-x) + 6%) calc(var(--glow-y) + 8%), rgba(184, 74, 69, 0.16), transparent 20%),
      radial-gradient(ellipse at 12% 80%, rgba(201, 217, 211, 0.55), transparent 40%),
      linear-gradient(180deg, #efeae3 0%, var(--gypsum) 48%, #ebe6de 100%);
  }

  .parallax-layer {
    transition: transform 0.15s linear;
  }
}

@media (max-width: 1024px) {
  .bite-plane-hero__grid,
  .misfit-layout,
  .thesis-layout,
  .method-layout,
  .proof-split,
  .preview-grid,
  .contact-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .verified-map {
    grid-template-columns: 1fr 1fr;
  }

  .fit-case--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .fit-case--featured .fit-case__media {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .occlusion-map {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .service-point:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pressure-annotation {
    position: static;
    text-align: left;
    margin-bottom: 1rem;
    max-width: none;
  }

  .thesis-headline::after {
    display: none;
  }

  .portfolio-cluster,
  .portfolio-cluster:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .portfolio-cluster:nth-child(even) .fit-case:first-child {
    margin-top: 0;
  }

  .balance-map {
    grid-template-columns: 1fr 1fr;
  }

  .balance-node:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .fit-case--offset,
  .fit-case--narrow,
  .proof-block--short {
    margin-top: 0;
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
  }

  .fit-note-stack .fit-note:nth-child(n) {
    margin-left: 0;
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 860px) {
  .lab-nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .lab-header__inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: var(--graphite);
    color: var(--ivory);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-hinge);
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
  }

  body.menu-open .mobile-nav {
    transform: translateX(0);
  }

  .mobile-nav .nav-codes {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .mobile-nav .nav-codes a {
    font-size: 1rem;
    color: rgba(247, 242, 232, 0.88);
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-nav .closure-readout {
    margin: 1.5rem 0;
    color: var(--mint);
  }

  .mobile-nav .btn-primary {
    width: 100%;
  }

  .marker-strip__track {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .plane-stage {
    min-height: 0;
  }

  .upper-plane,
  .lower-plane {
    clip-path: none;
  }

  .upper-plane::before,
  .lower-plane::before {
    display: none;
  }

  .hero-line,
  .hero-line--lower {
    max-width: none;
    text-align: left;
    margin-left: 0;
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hero-join {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0.35rem 0;
    justify-content: flex-start;
  }

  .cta-row .btn-primary,
  .cta-row .btn-line,
  .closure-cta .btn-primary {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .occlusion-map {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .verified-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .balance-map {
    grid-template-columns: 1fr;
  }

  .seq-step:nth-child(even) {
    margin-top: 0;
  }

  .brand__sub {
    display: none;
  }

  body {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track,
  .marquee-track.reverse {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 0.75rem;
  }

  .upper-plane,
  .lower-plane {
    transform: none;
  }
}


.plane-card {
  position: relative;
  background: linear-gradient(155deg, rgba(247, 242, 232, 0.96), rgba(244, 241, 236, 0.9));
  border: 1px solid rgba(138, 144, 152, 0.3);
  border-radius: var(--radius-cast);
  padding: 1.25rem 1.2rem 1.4rem;
  overflow: hidden;
  max-width: 100%;
  transition: transform 0.35s var(--ease-lab), box-shadow 0.35s var(--ease-lab);
}

.plane-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(42, 46, 51, 0.1);
}

.plane-card--upper {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 100%, 0 100%);
}

.plane-card--lower {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6% 8%);
  background: linear-gradient(165deg, rgba(201, 217, 211, 0.4), rgba(247, 242, 232, 0.95));
}

.plane-card__code {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--steel);
  margin-bottom: 0.45rem;
}

.wax-patch {
  position: absolute;
  width: min(46%, 200px);
  height: min(40%, 130px);
  background: radial-gradient(ellipse at center, rgba(196, 122, 106, 0.32), rgba(196, 122, 106, 0.06) 68%, transparent 72%);
  border-radius: 42% 58% 50% 62%;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: rotate(-7deg);
}

.caliper-mark {
  position: absolute;
  width: 1px;
  height: 28px;
  background: rgba(58, 107, 140, 0.45);
  pointer-events: none;
}

.caliper-mark::before,
.caliper-mark::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 9px;
  height: 1px;
  background: rgba(58, 107, 140, 0.45);
}

.caliper-mark::before { top: 0; }
.caliper-mark::after { bottom: 0; }

.lab-slip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: rgba(201, 217, 211, 0.45);
  border: 1px dashed rgba(58, 107, 140, 0.4);
  border-radius: 2px;
  color: var(--graphite);
}

.split-planes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: 100%;
}

.site-main {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--graphite);
  color: var(--ivory);
  padding: 0.75rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--steel);
  margin-top: 0.75rem;
}

.cluster-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--contact);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.two-col-uneven {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 100%;
}

.three-col-uneven {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.8fr;
  gap: 1rem;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .two-col-uneven,
  .three-col-uneven,
  .split-planes {
    grid-template-columns: 1fr;
  }

  .plane-card--upper,
  .plane-card--lower {
    clip-path: none;
  }
}

.lab-header .btn-primary {
  min-height: 2.45rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
}

.bite-plane-hero .cta-row {
  margin-top: 0.35rem;
}

.services-detail {
  display: grid;
  gap: 1.25rem;
  max-width: 100%;
}

.services-detail .service-point {
  grid-column: auto;
  margin-top: 0;
}

.verified-fit-map {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.page-cta-band {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.cookie-note,
.hours-block {
  font-size: 0.92rem;
  color: rgba(42, 46, 51, 0.82);
}

.hours-block strong {
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

