/* Halvard — homepage concept for a food & beverage process-equipment maker. */

:root {
  --ink: #0d1012;
  --ink-2: #14181a;
  --ink-3: #1d2326;
  --ink-line: rgba(238, 236, 230, 0.1);
  --paper: #eeece6;
  --paper-2: #e4e1d9;
  --paper-line: rgba(13, 16, 18, 0.12);
  --white: #faf9f5;
  --muted-d: #8f989d;
  --muted-l: #5a6267;
  --yellow: #ffd23f;
  --yellow-2: #f4bd12;
  --aqua: #58c9dc;

  --r-sheet: clamp(24px, 3vw, 40px);
  --gutter: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

@property --flow-c { syntax: "<color>"; inherits: true; initial-value: #ffd23f; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1360px, 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-l);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
[data-theme="dark"] .eyebrow { color: var(--muted-d); }
.hero-eyebrow::before, .fl-card .eyebrow::before { display: none; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none;
  box-shadow: 0 0 0 0 rgba(255, 210, 63, 0.6);
  animation: live 2s var(--ease) infinite;
}
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255, 210, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); } }

h2, .cta-title {
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.45; color: var(--muted-l); max-width: 34ch; }
[data-theme="dark"] .lead { color: var(--muted-d); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px 64px;
  align-items: end;
}
.sec-head h2 { max-width: 13ch; }

/* ───────── Buttons ───────── */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 8px 0 26px;
  border-radius: 999px;
  font: 500 15px/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  border: 0;
  transition: color 0.35s, background-color 0.35s, border-color 0.35s;
}
/* The fill rises like liquid in a tank. */
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--fill, rgba(255, 255, 255, 0.4));
  border-radius: 45% 45% 0 0 / 38% 38% 0 0;
  transform: translateY(102%);
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.btn-arrow {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  color: var(--yellow);
  flex: none;
}
.btn-arrow i { grid-area: 1 / 1; width: 100%; text-align: center; font-style: normal; font-size: 16px; transition: transform 0.5s var(--ease); }
.btn-arrow i:last-child { transform: translateX(-100%); }
.btn:hover .btn-arrow i:first-child { transform: translateX(100%); }
.btn:hover .btn-arrow i:last-child { transform: translateX(0); }
.btn-yellow { background: var(--yellow); color: var(--ink); --fill: #fff1b8; }
.btn-dark { background: var(--ink); color: var(--paper); --fill: #2a3135; }
.btn-dark .btn-arrow { background: var(--yellow); color: var(--ink); }
.btn-ghost { padding: 0 26px; color: var(--paper); border: 1px solid rgba(238, 236, 230, 0.24); --fill: rgba(238, 236, 230, 0.1); }
.btn-sm { --h: 44px; padding-left: 20px; font-size: 14px; }
.btn-sm .btn-arrow { width: 30px; height: 30px; }
.btn-lg { --h: 66px; padding-left: 32px; font-size: 17px; }
.btn-lg .btn-arrow { width: 50px; height: 50px; }
.magnetic { will-change: transform; }

.link-arrow { display: inline-flex; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ───────── Loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 0 0);
}
.loader-inner { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.loader-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader-ring circle { fill: none; stroke: rgba(238, 236, 230, 0.1); stroke-width: 3; }
.loader-ring .loader-ring-fill { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: 276.5; }
.loader-count { font: 500 15px var(--mono); font-variant-numeric: tabular-nums; }
.loader-word { position: absolute; bottom: 36px; font: 500 12px var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-d); }
html.still .loader, html:not(.js) .loader { display: none; }

/* ───────── Cursor bubble (fine pointers only) ───────── */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; }
.cursor-ring {
  position: fixed; left: 0; top: 0;
  width: 0; height: 0;
  display: grid; place-items: center;
}
.cursor-label {
  display: grid; place-items: center;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font: 500 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
  transform: scale(0);
  transition: transform 0.45s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(255, 210, 63, 0.55);
}
.cursor.is-label .cursor-label { transform: scale(1); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ───────── Nav ───────── */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center;
  padding: 0 12px;
  pointer-events: none;
  transition: transform 0.7s var(--ease);
}
.nav.is-hidden { transform: translateY(-170%); }
.nav-bar {
  pointer-events: auto;
  position: relative;
  width: min(1200px, 100%);
  height: 62px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 9px 0 20px;
  border-radius: 999px;
  background: rgba(20, 24, 26, 0.55);
  border: 1px solid rgba(238, 236, 230, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  color: var(--paper);
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
}
.nav[data-on="light"] .nav-bar, .nav[data-on="yellow"] .nav-bar {
  background: rgba(250, 249, 245, 0.72);
  border-color: rgba(13, 16, 18, 0.07);
  color: var(--ink);
  box-shadow: 0 10px 30px -18px rgba(13, 16, 18, 0.35);
}
.nav-progress {
  position: absolute; left: 28px; right: 28px; bottom: -1px; height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  box-shadow: 0 0 8px rgba(255, 210, 63, 0.7);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.035em; text-decoration: none; margin-right: auto; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; overflow: visible; }
.brand-mark path { stroke: var(--yellow); stroke-linecap: round; transform-origin: 16px 16px; transition: transform 0.9s var(--ease); }
.brand:hover .brand-mark path { transform: rotate(360deg); }
.brand-dot { fill: currentColor; stroke: none; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; }
.nav-links a { position: relative; z-index: 1; padding: 11px 17px; font-size: 15px; text-decoration: none; opacity: 0.78; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 1; }
.nav-hover {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.16);
  opacity: 0;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
}
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--yellow); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.5s var(--ease); }
.nav-burger span:first-child { transform: translateY(-4px); }
.nav-burger span:last-child { transform: translateY(4px); }
html.menu-open .nav-burger span:first-child { transform: rotate(45deg); }
html.menu-open .nav-burger span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px var(--gutter) 40px;
  background: var(--ink);
  clip-path: circle(0 at calc(100% - 44px) 45px);
  transition: clip-path 0.8s var(--ease-io);
  pointer-events: none;
}
html.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 45px); pointer-events: auto; }
html.menu-open .nav .nav-bar { background: rgba(20, 24, 26, 0.6); color: var(--paper); }
.menu-links a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.12; text-decoration: none; transform: translateY(30px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s; }
.menu-links small { font: 500 12px var(--mono); color: var(--yellow); }
html.menu-open .menu-links a { transform: none; opacity: 1; }
html.menu-open .menu-links a:nth-child(2) { transition-delay: 0.05s; }
html.menu-open .menu-links a:nth-child(3) { transition-delay: 0.1s; }
html.menu-open .menu-links a:nth-child(4) { transition-delay: 0.15s; }
html.menu-open .menu-links a:nth-child(5) { transition-delay: 0.2s; }
.menu-foot { margin-top: 36px; font: 500 13px var(--mono); color: var(--muted-d); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: clamp(96px, 12vh, 130px);
  padding-bottom: calc(var(--r-sheet) + 8px);
  background: var(--ink);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 50% at 74% 44%, rgba(255, 210, 63, 0.09), transparent 70%),
    linear-gradient(rgba(238, 236, 230, 0.035) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(90deg, rgba(238, 236, 230, 0.035) 1px, transparent 1px) 0 0 / 88px 88px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(80% 80% at 70% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 40px;
  align-items: center;
}
.hero-title {
  margin: 0 0 28px;
  font-size: clamp(3rem, 5.3vw, 4.85rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.hero-title .ln { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .ln > span { display: block; white-space: nowrap; }
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  letter-spacing: -0.02em;
  color: var(--yellow);
  padding-right: 0.08em;
}
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.45; color: #b9c0c3; max-width: 36ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px; font: 500 13px var(--mono); color: var(--muted-d); }
.hero-facts b { color: var(--paper); font-weight: 500; }

.hero-visual {
  --d: min(38vw, 64vh, 600px);
  position: relative;
  width: var(--d);
  justify-self: center;
}
.porthole { position: relative; width: 100%; aspect-ratio: 1; cursor: none; touch-action: pan-y; }
.porthole-glass {
  position: absolute; inset: 12.35%;
  border-radius: 50%;
  overflow: hidden;
  background: #cdbf9c;
  transform: translateZ(0);
}
.porthole-video, .porthole-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.porthole-video { transform: scale(1.1); }
.porthole-canvas { opacity: 0; transition: opacity 0.6s; }
.porthole.gl-on .porthole-canvas { opacity: 1; }
/* Depth: the tank wall darkens toward the rim, and the glass catches a soft window reflection. */
.porthole-shade {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, transparent 72%, rgba(10, 8, 4, 0.18) 86%, rgba(10, 8, 4, 0.55) 100%);
  box-shadow: inset 0 14px 28px rgba(0, 0, 0, 0.35);
}
.porthole-glare {
  position: absolute; inset: -10%; pointer-events: none;
  background:
    radial-gradient(34% 22% at 32% 22%, rgba(255, 255, 255, 0.36), transparent 70%),
    radial-gradient(60% 60% at 70% 80%, rgba(255, 255, 255, 0.06), transparent 70%);
  mix-blend-mode: screen;
  will-change: transform;
}
.porthole-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); will-change: transform; }
.ring-text {
  position: absolute; inset: -8.5%;
  width: 117%; height: 117%;
  max-width: none;
  pointer-events: none;
  overflow: visible;
}
.ring-text text { font: 500 3.7px var(--mono); letter-spacing: 1.1px; fill: rgba(238, 236, 230, 0.34); }
.porthole-hint {
  position: absolute; left: 50%; bottom: -11.5%;
  transform: translateX(-50%);
  font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-d);
  transition: opacity 0.6s;
  white-space: nowrap;
}
.porthole-hint span::before { content: "↺  "; color: var(--yellow); }
.porthole.stirred .porthole-hint { opacity: 0; }

.gauge {
  position: absolute;
  display: flex; align-items: baseline; gap: 6px;
  padding: 11px 15px 10px;
  border-radius: 14px;
  background: rgba(20, 24, 26, 0.62);
  border: 1px solid rgba(238, 236, 230, 0.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  font: 500 11px var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted-d);
  white-space: nowrap;
  z-index: 2;
}
.gauge b { font: 600 22px/1 var(--font); letter-spacing: -0.03em; color: var(--paper); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.gauge b.flash { color: var(--yellow); }
.g-tank { align-items: center; gap: 10px; top: 1%; left: -8%; font-size: 12px; color: var(--paper); }
.g-temp { top: 22%; right: -7%; }
.g-flow { bottom: 16%; left: -14%; }
.g-rpm { bottom: 2%; right: -2%; }

.marquee {
  position: relative;
  margin-top: clamp(28px, 5vh, 56px);
  padding: 22px 0 26px;
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px);
  width: max-content;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
}
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.2px rgba(238, 236, 230, 0.5); }
.marquee-track i { font-style: normal; font-size: 0.42em; color: var(--yellow); }

/* ───────── Sheets ───────── */
.sheet {
  position: relative;
  margin-top: calc(var(--r-sheet) * -1);
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
}

/* ───────── Machines ───────── */
.machines {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(90px, 10vw, 150px) 0 0;
}
.picker { display: flex; align-items: center; gap: 18px; margin-top: 52px; }
.picker-label { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); flex: none; }
.picker-chips {
  position: relative;
  display: flex; gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(13, 16, 18, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.picker-chips::-webkit-scrollbar { display: none; }
.picker-pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 8px 18px -8px rgba(13, 16, 18, 0.5);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.chip {
  position: relative; z-index: 1;
  padding: 11px 18px;
  border: 0; border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: 15px; font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.4s;
}
.chip.is-on { color: var(--paper); }
.chip:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.track-wrap { padding: 0 var(--gutter); margin-top: 64px; }
.track {
  --media-h: clamp(170px, 16.5vw, 260px);
  --pipe-y: calc(var(--media-h) * 0.7);
  position: relative;
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
}
.track-pipe {
  position: absolute; left: 0; right: 0; top: var(--pipe-y);
  height: 14px; margin-top: -7px;
  border-radius: 7px;
  background: linear-gradient(180deg, #aeb6ba 0%, #f7f8f8 30%, #d3d8da 55%, #8a949a 100%);
  box-shadow: 0 8px 14px -8px rgba(13, 16, 18, 0.35);
  z-index: 1;
  transform-origin: 0 50%;
}
/* Sight channel the product runs through. */
.track-pipe::before { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; height: 6px; border-radius: 3px; background: rgba(13, 16, 18, 0.34); }
.track-flow {
  position: absolute; top: 4px; height: 6px;
  left: var(--fl, 0px); width: calc(var(--fw, 0px) * var(--fp, 1));
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--flow-c) 0 24px, color-mix(in srgb, var(--flow-c) 40%, transparent) 24px 38px);
  box-shadow: 0 0 10px color-mix(in srgb, var(--flow-c) 75%, transparent);
  animation: flow-x 0.9s linear infinite;
  transition: left 0.6s var(--ease), width 0.6s var(--ease), --flow-c 0.8s;
}
.track.is-tracking .track-flow { transition: --flow-c 0.8s; }
@keyframes flow-x { to { background-position: 38px 0; } }
.track-cip { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; z-index: 0; transition: opacity 0.5s; }
.track-cip.is-off { opacity: 0; }
.cip-back { fill: none; stroke: rgba(88, 201, 220, 0.2); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.cip-path { fill: none; stroke: var(--aqua); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 9; animation: cip 0.9s linear infinite; }
@keyframes cip { to { stroke-dashoffset: -20; } }
.track-floor { position: absolute; left: 0; right: 0; top: var(--media-h); height: 1px; background: var(--paper-line); }

.station {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
  cursor: pointer;
  outline: none;
  transition: flex-grow 0.75s var(--ease);
}
.station + .station::before {
  /* Tri-clamp fitting between machines. */
  content: "";
  position: absolute; left: -4px; top: var(--pipe-y);
  width: 8px; height: 22px; margin-top: -11px;
  border-radius: 3px;
  background: linear-gradient(90deg, #8a949a, #eef0f1 45%, #9aa3a8);
  z-index: 1;
}
.station.is-open { flex-grow: 2.35; }
.st-media {
  position: relative; z-index: 2;
  height: var(--media-h);
  display: flex; align-items: flex-end; justify-content: center;
}
.st-media img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 16px 14px rgba(13, 16, 18, 0.2));
  transition: transform 0.8s var(--ease), translate 0.8s var(--ease), scale 0.8s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.station.is-open .st-media img { transform: translateY(-6px) scale(1.03); }
.st-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; padding: 0 2px; }
.st-num { font: 500 12px var(--mono); color: var(--muted-l); }
.st-led { width: 9px; height: 9px; border-radius: 50%; background: rgba(13, 16, 18, 0.14); transition: background-color 0.4s, box-shadow 0.4s; }
.station.is-lit .st-led { background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.28), 0 0 12px rgba(255, 210, 63, 0.9); }
.station-clean.is-lit .st-led { background: var(--aqua); box-shadow: 0 0 0 4px rgba(88, 201, 220, 0.25), 0 0 12px rgba(88, 201, 220, 0.8); }
.st-info { position: relative; height: 186px; overflow: hidden; padding: 12px 2px 0; border-top: 1px solid var(--paper-line); margin-top: 12px; }
.st-info > * { transition: opacity 0.6s var(--ease); }
.st-info h3 { font-size: clamp(1.35rem, 1.9vw, 1.95rem); letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.st-line { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted-l); max-width: 26ch; }
.st-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.st-list li {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px; font-weight: 500;
  box-shadow: 0 1px 0 rgba(13, 16, 18, 0.06);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.station.is-open .st-list li { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.05s); }
.station-clean .st-list li { background: rgba(88, 201, 220, 0.16); }
.station.is-off .st-media img { opacity: 0.22; filter: grayscale(1); translate: 0 10px; scale: 0.95; }
.station.is-off .st-info > * { opacity: 0.35; }

.yourline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px 32px;
  align-items: center;
  margin-top: 36px;
  padding: 16px 16px 16px 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 16, 18, 0.05), 0 24px 50px -30px rgba(13, 16, 18, 0.3);
}
.yl-label { display: block; margin-bottom: 8px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-l); }
.yl-tokens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; }
.yl-token { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-weight: 500; font-size: 15px; line-height: 1; }
.yl-token.is-clean { background: rgba(88, 201, 220, 0.2); }
.yl-arrow { color: var(--muted-l); font-size: 14px; }
.yl-count { font-size: 15px; color: var(--muted-l); max-width: 30ch; line-height: 1.35; }
.yl-count b { font-size: 30px; color: var(--ink); font-weight: 600; letter-spacing: -0.04em; margin-right: 2px; font-variant-numeric: tabular-nums; }
.yl-unit { color: var(--ink); font-weight: 500; }

/* Full line */
.fullline { padding: clamp(90px, 10vw, 150px) 0 calc(clamp(100px, 12vw, 180px) + var(--r-sheet)); }
.fl-media {
  position: relative;
  width: 100%;
  min-height: 540px;
  aspect-ratio: 16 / 8;
  border-radius: 28px;
  overflow: hidden;
  background: #d8dcdd;
  transform-origin: 50% 30%;
  isolation: isolate;
}
.fl-poster, .fl-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl-video { opacity: 0; transition: opacity 0.4s; }
.fl-video.is-ready { opacity: 1; }
.fl-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 16, 18, 0.78) 0%, rgba(13, 16, 18, 0.45) 34%, rgba(13, 16, 18, 0) 62%), linear-gradient(0deg, rgba(13, 16, 18, 0.35), transparent 40%); }
.fl-card { position: absolute; left: clamp(20px, 4vw, 60px); bottom: clamp(20px, 4vw, 60px); max-width: 450px; color: var(--paper); }
.fl-card .eyebrow { color: var(--yellow); margin-bottom: 16px; }
.fl-card h3 { font-size: clamp(1.9rem, 3.4vw, 3.3rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.fl-card p:not(.eyebrow) { margin: 16px 0 28px; color: #c9cfd1; font-size: 17px; line-height: 1.45; max-width: 36ch; }
.fl-steps { position: absolute; top: 20px; right: 20px; display: flex; gap: 6px; }
.fl-steps li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: rgba(250, 249, 245, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background-color 0.45s, transform 0.45s var(--ease);
}
.fl-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(13, 16, 18, 0.08); font: 500 11px var(--mono); transition: background-color 0.45s, color 0.45s; }
.fl-steps li.is-on { background: rgba(250, 249, 245, 0.95); }
.fl-steps li.is-on span { background: var(--ink); color: var(--yellow); }

/* ───────── Services ───────── */
.services { background: var(--ink); color: var(--paper); padding: clamp(90px, 10vw, 150px) 0 calc(clamp(100px, 12vw, 170px) + var(--r-sheet)); }
.svc-rail { position: relative; height: 2px; margin-top: 64px; background: var(--ink-line); border-radius: 2px; }
.svc-rail-fill { position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; border-radius: 2px; }
.svc-rail-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 210, 63, 0.16), 0 0 22px rgba(255, 210, 63, 0.7); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.svc {
  position: relative;
  display: flex; flex-direction: column;
  padding: 14px 14px 28px;
  border-radius: 26px;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  transition: border-color 0.6s, background-color 0.6s, translate 0.6s var(--ease);
}
.svc > :not(.svc-anim) { margin-left: 14px; margin-right: 14px; }
.svc.is-live { border-color: rgba(255, 210, 63, 0.3); background: #171c1f; }
.svc:hover { translate: 0 -6px; }
.svc-anim {
  height: 170px;
  margin-bottom: 26px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: radial-gradient(70% 90% at 50% 100%, rgba(255, 210, 63, 0.1), transparent 70%), var(--ink-3);
  overflow: hidden;
}
.svc-when { display: flex; gap: 10px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.svc-when span { color: var(--yellow); }
.svc h3 { margin-top: 12px; font-size: clamp(1.5rem, 2vw, 1.9rem); letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.svc p:not(.svc-when) { margin-top: 10px; color: var(--muted-d); line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.tags li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ink-line); font-size: 13px; color: #c3c9cc; }

/* Icon animations */
.ic { width: 82%; height: auto; overflow: visible; color: var(--paper); }
.ic-line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic-dim { stroke: rgba(238, 236, 230, 0.25); }
.ic-fill { fill: var(--yellow); }
.ic-hole { fill: var(--ink-3); }
.ic-wave { fill: var(--yellow); animation: wave 2.2s linear infinite, level 4.4s ease-in-out infinite; }
@keyframes wave { to { transform: translateX(-40px); } }
@keyframes level { 50% { translate: 0 -8px; } }
.ic-bub { fill: var(--ink); opacity: 0; animation: bub 2.4s ease-in infinite; }
.ic-bub.b2 { animation-delay: 0.8s; } .ic-bub.b3 { animation-delay: 1.5s; }
@keyframes bub { 15% { opacity: 0.7; } 100% { transform: translateY(-36px); opacity: 0; } }
.ic-spark { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: spark 2.2s ease-in-out infinite; }
@keyframes spark { 50% { transform: scale(0.4) rotate(45deg); opacity: 0.3; } }
.ic-zone { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; }
.ic-ticks path { fill: none; stroke: rgba(238, 236, 230, 0.4); stroke-width: 2; stroke-linecap: round; }
.ic-needle { transform-box: view-box; transform-origin: 80px 78px; animation: needle 3.2s ease-in-out infinite; }
.ic-needle path { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; }
.ic-needle circle { fill: var(--paper); }
@keyframes needle { 0%, 100% { rotate: 36deg; } 22% { rotate: 52deg; } 38% { rotate: 44deg; } 62% { rotate: 57deg; } 80% { rotate: 40deg; } }
.ic-pulse { fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34 66; animation: pulse 1.8s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.ic-bar { fill: rgba(238, 236, 230, 0.16); transform-box: fill-box; transform-origin: 50% 100%; animation: bar 3.6s var(--ease) infinite; }
.ic-bar.k1 { --h: 0.35; } .ic-bar.k2 { --h: 0.55; animation-delay: 0.12s; } .ic-bar.k3 { --h: 0.72; animation-delay: 0.24s; }
.ic-bar.k4 { --h: 1; fill: var(--yellow); animation-delay: 0.36s; }
@keyframes bar { 0% { transform: scaleY(0.12); } 30%, 80% { transform: scaleY(var(--h)); } 100% { transform: scaleY(0.12); } }
.ic-trend { fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: trend 3.6s var(--ease) infinite; }
.ic-head { stroke-dasharray: none; animation: head 3.6s var(--ease) infinite; }
@keyframes trend { 0% { stroke-dashoffset: 100; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes head { 0%, 30% { opacity: 0; } 40%, 80% { opacity: 1; } 95%, 100% { opacity: 0; } }
.services:not(.in-view) .ic *, .services:not(.in-view) .ic { animation-play-state: paused !important; }

/* ───────── Test center + proof ───────── */
.proofsheet { background: var(--paper); color: var(--ink); padding: clamp(90px, 10vw, 150px) 0 calc(clamp(100px, 12vw, 170px) + var(--r-sheet)); }
.tc-side { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.tc-frame {
  position: relative;
  width: 100%;
  margin-top: 56px;
  aspect-ratio: 16 / 8.4;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #d6d2c8;
}
.tc-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.tc-poster, .tc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-video { opacity: 0; transition: opacity 0.5s; }
.tc-video.is-ready { opacity: 1; }
.tc-facts {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.tc-facts li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(250, 249, 245, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.tc-facts b { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.035em; font-weight: 600; line-height: 1.05; }
.tc-facts span { font-size: 14px; color: var(--muted-l); }

.proof { margin-top: clamp(120px, 14vw, 200px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 60px; border-top: 1px solid var(--paper-line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--paper-line); }
.stat p { margin-top: 10px; color: var(--muted-l); font-size: 15px; max-width: 18ch; }
.odo { display: flex; height: 1em; overflow: hidden; font-size: clamp(3rem, 6.2vw, 6.2rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.odo .d { display: block; height: 1em; overflow: hidden; }
.odo .d > span { display: block; }
.odo .d i { display: block; height: 1em; font-style: normal; }
.odo .s { display: block; }
.odo .s.sx { color: var(--yellow-2); }

.case {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin-top: 72px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(13, 16, 18, 0.35);
}
.case-img { position: relative; min-height: 440px; overflow: hidden; }
.case-img img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.case-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.case h3 { font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.case-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 34px 0 36px; }
.case-nums li { padding: 16px; border-radius: 16px; background: var(--paper); }
.case-nums b { display: block; font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -0.04em; font-weight: 600; line-height: 1.05; }
.case-nums span { font-size: 13px; color: var(--muted-l); }
.case .link-arrow { align-self: flex-start; }
.standards { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; font: 500 13px var(--mono); color: var(--muted-l); }
.standards b { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--paper-line); color: var(--ink); font-weight: 500; }
.standards span { margin-right: 6px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }

/* ───────── CTA ───────── */
.cta { background: var(--yellow); color: var(--ink); padding: clamp(90px, 10vw, 150px) 0 calc(clamp(100px, 12vw, 170px) + var(--r-sheet)); }
.cta .eyebrow { color: rgba(13, 16, 18, 0.6); }
.cta .eyebrow::before { background: var(--ink); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr); gap: 48px 72px; align-items: end; }
.cta-title { font-size: clamp(3rem, 8.2vw, 8.8rem); line-height: 0.9; letter-spacing: -0.058em; max-width: 9ch; }
.madlib-line { margin: 44px 0 38px; font-size: clamp(1.35rem, 2.5vw, 2.35rem); line-height: 1.6; letter-spacing: -0.025em; max-width: 30ch; }
.ml-row { display: block; }
.ml-field { display: inline-block; position: relative; }
.ml-field input, .ml-field select {
  font: inherit; font-weight: 600; letter-spacing: inherit; color: inherit;
  background: transparent;
  border: 0; border-bottom: 2.5px solid var(--ink);
  border-radius: 0;
  padding: 0 4px;
  outline: none;
  min-width: 2.5ch;
  field-sizing: content;
  transition: border-color 0.3s, background-color 0.3s;
}
.ml-field input::placeholder { color: rgba(13, 16, 18, 0.32); }
.ml-field input:focus, .ml-field select:focus { background: rgba(255, 255, 255, 0.35); }
.ml-select select { -webkit-appearance: none; appearance: none; padding-right: 1.1em; cursor: pointer; }
.ml-select::after { content: "▾"; position: absolute; right: 3px; top: 52%; transform: translateY(-50%); font-size: 0.62em; pointer-events: none; }
.madlib-done { margin-top: 22px; font-size: 18px; line-height: 1.5; max-width: 44ch; min-height: 1.5em; }
.madlib-done b { font-weight: 600; }
.madlib.is-sent .madlib-go { background: #1c2327; }

.cta-person { display: flex; flex-direction: column; gap: 20px; padding: 14px 14px 26px; border-radius: 28px; background: var(--white); box-shadow: 0 30px 60px -36px rgba(13, 16, 18, 0.45); }
.cta-person img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 18px; }
.cta-person > div { padding: 0 12px; }
.cp-name { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.cp-role { font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-l); margin-top: 4px; }
.cp-note { margin-top: 14px; color: var(--muted-l); line-height: 1.45; }
.cp-direct { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; font-weight: 500; }
.cp-direct a { text-decoration: none; }
.cp-direct a:hover { text-decoration: underline; }

/* ───────── Footer ───────── */
.foot { background: var(--ink); color: var(--paper); padding: clamp(80px, 9vw, 130px) 0 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-h { margin-bottom: 16px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.foot-col a { display: block; width: fit-content; padding: 5px 0; color: #cdd2d4; text-decoration: none; transition: color 0.3s, transform 0.4s var(--ease); }
.foot-col a:hover { color: var(--yellow); transform: translateX(4px); }
.foot-visit p { color: #cdd2d4; line-height: 1.6; }
.foot-visit p + p { margin-top: 12px; }
.foot-word {
  display: flex; justify-content: center;
  margin-top: clamp(50px, 7vw, 100px);
  font-size: clamp(5rem, 24.5vw, 26rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.76;
  overflow: hidden;
  padding-bottom: 0.03em;
  user-select: none;
}
.foot-word span { display: block; transition: translate 0.6s var(--ease), color 0.4s; }
.foot-word span:hover { translate: 0 -6%; color: var(--yellow); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ink-line); font: 500 12px var(--mono); color: var(--muted-d); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--yellow); }

/* ───────── Responsive ───────── */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-rail { display: none; }
  .fl-steps { display: none; }
}

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-bar { height: 58px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-content: start; }
  .hero-visual { --d: min(80vw, 480px); margin-top: 8px; }
  .g-tank { left: -4%; top: -2%; }
  .g-temp { right: -4%; top: 18%; }
  .g-flow { left: -4%; bottom: 14%; }
  .g-rpm { right: 0; }
  .porthole { cursor: auto; }

  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .picker { flex-direction: column; align-items: stretch; gap: 12px; }
  .picker-chips { margin-inline: calc(var(--gutter) * -1); border-radius: 0; background: none; padding-inline: var(--gutter); }
  .picker-pill { top: 5px; bottom: 5px; }
  .chip { background: rgba(13, 16, 18, 0.06); }
  .chip.is-on { background: transparent; }

  /* The line runs top to bottom on narrow screens. */
  .track-wrap { margin-top: 36px; }
  .track { flex-direction: column; --media-h: 132px; }
  .track-pipe {
    left: calc(var(--rail-x, 70px) - 7px); right: auto; top: 0; bottom: 0;
    width: 14px; height: auto; margin-top: 0;
    background: linear-gradient(90deg, #aeb6ba 0%, #f7f8f8 30%, #d3d8da 55%, #8a949a 100%);
    transform-origin: 50% 0;
  }
  .track-flow {
    top: var(--fl, 0px); left: 4px; width: 6px;
    height: calc(var(--fw, 0px) * var(--fp, 1));
    background: repeating-linear-gradient(180deg, var(--flow-c) 0 24px, color-mix(in srgb, var(--flow-c) 40%, transparent) 24px 38px);
    animation-name: flow-y;
    transition: top 0.6s var(--ease), height 0.6s var(--ease), --flow-c 0.8s;
  }
  .track-pipe::before { left: 4px; right: auto; top: 3px; bottom: 3px; width: 6px; height: auto; }
  @keyframes flow-y { to { background-position: 0 38px; } }
  .track-cip, .track-floor, .station + .station::before { display: none; }
  .station {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    column-gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--paper-line);
    transition: none;
  }
  .station:first-child { border-top: 1px solid var(--paper-line); }
  .st-media { grid-row: 1 / span 2; height: var(--media-h); align-items: center; }
  .st-media img { max-width: 124px; }
  .st-meta { grid-column: 2; margin: 0; justify-content: flex-start; gap: 10px; }
  .st-info { grid-column: 2; height: auto; border: 0; margin: 0; padding-top: 6px; }
  .st-list { margin-top: 12px; }
  .st-list li { opacity: 1; transform: none; }
  .station.is-off .st-media img { translate: 0 0; scale: 0.92; }

  .yourline { grid-template-columns: 1fr; padding: 22px; }
  .yourline .btn { justify-self: start; }

  .fl-media { aspect-ratio: 4 / 5; min-height: 0; }
  .fl-scrim { background: linear-gradient(0deg, rgba(13, 16, 18, 0.9) 0%, rgba(13, 16, 18, 0.72) 48%, rgba(13, 16, 18, 0.15) 78%, transparent 90%); }
  .fl-card { right: 20px; }

  .tc-frame { aspect-ratio: auto; min-height: 0; overflow: visible; background: none; border-radius: 0; }
  .tc-media { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; background: #d6d2c8; }
  .tc-facts { position: static; grid-template-columns: 1fr; margin-top: 12px; }
  .tc-facts li { flex-direction: row; align-items: baseline; gap: 10px; padding: 14px 16px; background: var(--white); }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--paper-line); margin-top: 28px; }
  .case { grid-template-columns: 1fr; }
  .case-img { min-height: 260px; }

  .cta-grid { grid-template-columns: 1fr; }
  .cta-person { flex-direction: row; align-items: center; padding: 12px; }
  .cta-person img { width: 112px; aspect-ratio: 1; border-radius: 16px; flex: none; }
  .cta-person > div { padding: 0 6px 0 0; }

  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 4rem); }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero-ctas .btn-ghost { justify-content: center; }
  .hero-facts { gap: 6px 18px; font-size: 12px; }
  .gauge { padding: 8px 11px 7px; }
  .gauge b { font-size: 17px; }
  .g-rpm { display: none; }
  .g-temp { right: -3%; top: 12%; }
  .g-flow { left: -3%; bottom: 8%; }
  .svc-grid { grid-template-columns: 1fr; }
  .station { grid-template-columns: 112px minmax(0, 1fr); }
  .st-media img { max-width: 104px; }
  .track { --media-h: 112px; --rail-x: 56px; }
  .case-nums { grid-template-columns: 1fr; }
  .case-nums li { display: flex; align-items: baseline; gap: 10px; }
  .cta-person { flex-direction: column; align-items: stretch; }
  .cta-person img { width: 100%; aspect-ratio: 16 / 10; }
  .foot-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}
