/* Halfwake Studio — V4 Polestar / Leica Nordic Studio White Edition (100vw Architectural Grid) */
:root {
  --bg: #ffffff;
  --surface: #f5f5f4;
  --surface-hover: #f1f1ef;
  --surface-pure: #fafafa;
  --line: #e2e2df;
  --line-strong: #c6c6c1;
  --text: #0a0a0a;
  --muted: #5c5c61;
  --dim: #8a8a90;
  --accent: #ff5500;
  --cyan: #ff5500;
  --indigo: #0a0a0a;
  --emerald: #0a0a0a;
  --gutter: clamp(20px, 3vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.display { font-family: 'Space Grotesk', 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
a { color: inherit; text-decoration: none; }

/* Top 2px Architectural Scroll Rail */
#scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--text);
  z-index: 200;
  pointer-events: none;
}
#scroll-rail::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

/* Crisp Studio White 0->100% Preloader Curtain */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter);
  border-bottom: 1px solid var(--line);
  transition: transform 0.7s var(--ease), opacity 0.5s ease;
}
.preloader.done {
  transform: translateY(-100%);
  pointer-events: none;
}
.preloader-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.preloader-num {
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--text);
}

/* Full-Bleed Sticky Polestar Architectural Topbar (100vw) */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 62px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--text);
}
.brand img {
  width: 22px;
  height: 22px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a { transition: color 0.18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.telemetry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 0.1em;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.4s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.28; } }

.lang-switch {
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--bg);
  transition: all 0.2s ease;
}
.lang-switch:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* =========================================================
   SECTION 0: 100vw ARCHITECTURAL POLESTAR / LEICA 3D HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 92vh;
  padding: 96px var(--gutter) 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-bg-img { display: none; }

#hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-wire-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  transition: opacity 0.6s ease;
}
.hero.three-ready .hero-wire-fallback {
  opacity: 0.34;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245,245,244,0.82) 0%, rgba(245,245,244,0.44) 34%, rgba(245,245,244,0.02) 64%, rgba(245,245,244,0) 100%),
    linear-gradient(180deg, rgba(245,245,244,0.22) 0%, transparent 28%, rgba(245,245,244,0.48) 100%);
}

.hero-top-meta,
.hero-center,
.hero-bottom {
  position: relative;
  z-index: 2;
}

.hero-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-top-meta .accent-bar {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 8px;
}

.hero-center {
  margin: auto 0;
  padding: 40px 0 32px;
  max-width: 780px;
}

.hero-kicker {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.85rem, 6.2vw, 5.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: var(--text);
  max-width: 100%;
}

.hero-title .row { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .row span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.85s var(--ease);
}
body.loaded .hero-title .row span { transform: translateY(0); }
body.loaded .hero-title .row:nth-child(2) span { transition-delay: 0.08s; }
body.loaded .hero-title .row:nth-child(3) span { transition-delay: 0.16s; }

.hero-title .accent {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--dim);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto auto;
  gap: 28px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-lead {
  font-size: clamp(14px, 1.08vw, 15.5px);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.72;
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: all 0.2s var(--ease);
}
.jump-pill:first-child {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}
.jump-pill:first-child:hover {
  background: #242426;
  color: #ffffff;
}
.jump-pill:hover {
  border-color: var(--text);
  background: #ffffff;
}
.jump-pill .arr { color: var(--accent); font-weight: 700; }

.hero-metrics {
  display: flex;
  gap: 28px;
  align-items: flex-end;
}
.hm-item strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hm-item span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.scroll-cue {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}

/* =========================================================
   FULL-BLEED SECTION HEADER BAR (100vw)
   ========================================================= */
.band-head {
  width: 100%;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.band-head .num { color: var(--text); font-weight: 600; }
.band-head a { color: var(--text) !important; transition: color 0.18s; }
.band-head a:hover { color: var(--accent) !important; }

/* =========================================================
   TIER 1: 50vw / 50vw EDGE-TO-EDGE POLESTAR FLAGSHIP SPLIT
   ========================================================= */
.flagship-split {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.flagship-col {
  position: relative;
  padding: clamp(32px, 3.6vw, 56px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg);
  transition: background 0.3s ease;
}

.flagship-col:first-child {
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.flagship-col::before { display: none; }

.col-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}

.badge {
  padding: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border: none;
  color: var(--accent);
  background: transparent;
  text-transform: uppercase;
}
.badge.indigo {
  border: none;
  color: var(--accent);
  background: transparent;
}

.flagship-col h2 {
  font-size: clamp(1.75rem, 2.75vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.036em;
  line-height: 1.08;
  margin-top: 14px;
  color: var(--text);
}

.flagship-col .desc {
  margin-top: 12px;
  font-size: clamp(13.5px, 1.02vw, 15px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.72;
}

/* Interactive Cinema Monitor — Pure Black Frame Against Gallery White */
.stage-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--text);
  background: #050505;
}

.stage-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.hud {
  position: absolute;
  inset: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 28%, transparent 68%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
}

.hud-tag {
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
}

/* Interactive AI Reception Specification Log (Architectural Swiss Log — Zero Neon Bubbles) */
.sim-box {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.sim-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sim-top .live-indicator {
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sim-top .live-indicator::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.sim-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 4px 4px 4px 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.sim-feed::-webkit-scrollbar { width: 3px; }
.sim-feed::-webkit-scrollbar-thumb { background: var(--line-strong); }

.msg {
  max-width: 100%;
  padding: 9px 0;
  border-radius: 0;
  border-bottom: 1px solid #f0f0ed;
  font-size: 12.5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.msg:last-child { border-bottom: none; }
.msg.show { opacity: 1; transform: translateY(0); }

.msg.event {
  align-self: stretch;
  padding: 8px 10px;
  margin-bottom: 4px;
  background: var(--surface);
  border: none;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.msg.ai {
  align-self: stretch;
  background: transparent;
  color: var(--muted);
  padding-left: 10px;
  border-left: 2px solid var(--line-strong);
}
.msg.user {
  align-self: stretch;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  padding-left: 10px;
  border-left: 2px solid var(--text);
}
.msg.ticket {
  align-self: stretch;
  margin-top: 6px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 2.5px solid var(--text);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

/* Switcher Controls — Crisp Hairline Architectural Tabs */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill-btn {
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.pill-btn:hover { color: var(--text); border-color: var(--text); }
.pill-btn.active,
.flagship-col.indigo .pill-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.2s var(--ease);
}
.btn-solid { background: var(--text); color: #ffffff; border: 1px solid var(--text); }
.btn-solid:hover { background: #262628; border-color: #262628; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: var(--text); color: #ffffff; }

/* =========================================================
   TIER 2: FULL-BLEED ARCHITECTURAL SPEC INDEX TABLE
   ========================================================= */
.labs-table {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.lab-row {
  display: grid;
  grid-template-columns: 120px 1.15fr 0.9fr 2fr 160px;
  align-items: center;
  gap: 24px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid var(--line);
  transition: background 0.22s var(--ease);
}
.lab-row:last-child { border-bottom: none; }

.lab-row.header {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--surface);
}

.lab-row.item:hover {
  background: var(--surface);
}
.lab-row.item:hover .row-cta {
  color: var(--accent);
  transform: translateX(4px);
}

.row-code { font-size: 11.5px; color: var(--dim); letter-spacing: 0.1em; }
.row-name { font-size: clamp(1.1rem, 1.45vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.row-cat { font-size: 11px; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.row-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.row-cta {
  justify-self: end;
  font-size: 11.5px;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s var(--ease);
}

/* Full-Bleed Architectural Spec Strip */
.spec-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.spec-cell {
  padding: 28px var(--gutter);
  border-right: 1px solid var(--line);
}
.spec-cell:last-child { border-right: none; }
.spec-cell .k { font-size: 10px; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; }
.spec-cell strong { display: block; margin-top: 8px; font-size: 16.5px; font-weight: 500; color: var(--text); letter-spacing: -0.015em; }
.spec-cell p { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.spec-cell a { color: var(--text) !important; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.spec-cell a:hover { color: var(--accent) !important; border-color: var(--accent); }

/* Full-Bleed Footer */
footer {
  width: 100%;
  padding: 28px var(--gutter) 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--dim);
  background: var(--bg);
}
.f-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.f-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 18px; }
  .flagship-split { grid-template-columns: 1fr; }
  .flagship-col { min-width: 0; }
  .flagship-col:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .lab-row.header { display: none; }
  .lab-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px var(--gutter);
  }
  .row-cta { justify-self: start; margin-top: 6px; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec-cell:nth-child(2) { border-right: none; }
  .spec-cell:nth-child(1), .spec-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }

  .topbar {
    height: 56px;
    padding: 0 16px;
  }
  .brand { font-size: 11.5px; letter-spacing: 0.14em; gap: 8px; }
  .brand img { width: 20px; height: 20px; }
  .nav-links, .telemetry { display: none; }

  .preloader-top {
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
  }

  .hero {
    min-height: 86svh;
    padding: 76px var(--gutter) 24px;
    gap: 18px;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(245,245,244,0.70) 0%, rgba(245,245,244,0.42) 48%, rgba(245,245,244,0.82) 100%);
  }
  .hero-top-meta {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    gap: 4px;
  }
  .hero-top-meta span:nth-child(2),
  .hero-top-meta span:nth-child(3) {
    display: none;
  }
  .hero-center {
    margin: auto 0;
    padding: 12px 0 8px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 10.5vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.036em;
    word-break: break-word;
  }
  .hero-bottom {
    padding-top: 18px;
    gap: 14px;
  }
  .hero-lead {
    font-size: 13.5px;
    line-height: 1.62;
  }
  .hero-jump {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .jump-pill {
    justify-content: center;
    padding: 10px 10px;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
  }
  .jump-pill:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .scroll-cue { display: none; }

  .band-head {
    padding: 14px var(--gutter);
    font-size: 10px;
    letter-spacing: 0.1em;
    gap: 6px;
  }

  .flagship-col {
    padding: 24px var(--gutter) 28px;
    gap: 18px;
  }
  .col-top {
    font-size: 9.5px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .flagship-col h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.12;
    margin-top: 10px;
  }
  .flagship-col .desc {
    font-size: 13.5px;
    margin-top: 8px;
    line-height: 1.62;
  }

  .stage-box {
    aspect-ratio: 16 / 10;
  }
  .hud { padding: 10px; }
  .hud-row { font-size: 9.5px; gap: 6px; }
  .hud-tag {
    padding: 3px 7px;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hud-row:last-child .hud-tag:last-child { display: none; }

  .sim-box {
    aspect-ratio: auto;
    height: 360px;
    padding: 14px;
  }
  .sim-top {
    font-size: 9.5px;
    gap: 8px;
    padding-bottom: 8px;
  }
  .sim-top span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .msg {
    font-size: 12px;
    padding: 8px 0 8px 8px;
    line-height: 1.48;
  }
  .msg.event { font-size: 10px; padding: 7px 9px; }
  .msg.ticket { font-size: 10.5px; padding: 8px 10px; }

  .pills {
    gap: 6px;
    margin-top: 12px;
  }
  .pill-btn {
    padding: 6px 10px;
    font-size: 10.5px;
  }

  .cta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 12.5px;
  }

  .lab-row {
    padding: 20px var(--gutter);
    gap: 6px;
  }
  .row-name { font-size: 1.15rem; }
  .row-cat { font-size: 10.5px; }
  .row-desc { font-size: 13px; }

  .spec-strip { grid-template-columns: 1fr; }
  .spec-cell {
    padding: 20px var(--gutter);
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .spec-cell:last-child { border-bottom: none; }
  footer {
    padding: 24px var(--gutter) 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 11.5px;
  }
  .f-links { gap: 14px 18px; }
}
