/* ==========================================================================
   ProStandard Calibration and Testing Laboratory — site styles
   Plain CSS, no build step. Sections:
   1. Tokens  2. Base  3. Layout  4. Components  5. Header & footer
   6. Home  7. Inner pages  8. Motion  9. Responsive
   Some icons are adapted from Lucide (ISC License).
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand — taken from the logo and brochure */
  --brand-950: #05073f;
  --brand-900: #07087a;
  --brand-800: #0a0aa6; /* logo "S" blue */
  --brand-700: #1f24c4;
  --brand-600: #3a42e0;
  --brand-400: #7c84f7;
  --brand-200: #c7cbff;
  --brand-100: #e5e7ff;
  --brand-50: #f3f4ff;

  --red-600: #e3000f; /* wordmark red */
  --red-400: #ff5c64;

  --ink-950: #060824;
  --ink-900: #0c1033;
  --ink-800: #1d2246;
  --ink-700: #33395c;
  --ink-600: #4b5274;
  --ink-500: #646c8d;
  --ink-400: #8d94b0;
  --ink-300: #c3c8db;
  --ink-200: #dfe3ee;
  --ink-100: #eceff6;
  --ink-50: #f6f7fb;

  --green-700: #067647;
  --green-500: #12b76a;
  --green-100: #dcf7ea;
  --amber-700: #93370d;
  --amber-100: #fef0c7;
  --wa: #15803d;
  --wa-hover: #116932;
  --wa-bright: #16a34a;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(12, 16, 51, 0.06);
  --shadow: 0 1px 2px rgba(12, 16, 51, 0.04), 0 10px 28px -12px rgba(12, 16, 51, 0.16);
  --shadow-lg: 0 2px 4px rgba(12, 16, 51, 0.04), 0 28px 60px -20px rgba(10, 10, 166, 0.28);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(72px, 9vw, 120px);

  color-scheme: light;
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
/* Smooth-scroll in-page links only; arriving from another page with #anchor jumps instantly. */
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-600);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
address { font-style: normal; }
.text-link {
  font-weight: 700;
  color: var(--brand-800);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--brand-600); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand-100); color: var(--brand-950); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -120px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand-800);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--ink-50); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--spaced { margin-top: clamp(48px, 6vw, 72px); }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: none;
}
.section-head--split > div { max-width: 680px; }

.section-title {
  margin-top: 14px;
  font-size: clamp(2rem, 1.4rem + 2.3vw, 3rem);
  letter-spacing: -0.035em;
}
.section-lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.175rem);
  color: var(--ink-600);
}
.section-head--center .section-lead { margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

/* 4. Components ------------------------------------------------------------ */

/* Eyebrow label with a small ruler-tick motif */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-800);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 6px) left bottom / 100% 6px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 1.5px 10px no-repeat;
  opacity: 0.6;
}
.eyebrow--light { color: var(--brand-200); }

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  color: var(--brand-800);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.icon-tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-tile--sm .icon { width: 20px; height: 20px; }

/* Buttons */
.btn {
  --btn-bg: var(--brand-800);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 8px 20px -8px rgba(10, 10, 166, 0.6); }
.btn-primary:hover { --btn-bg: var(--brand-700); }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: var(--ink-200); }
.btn-secondary:hover { --btn-bd: var(--brand-400); --btn-fg: var(--brand-800); }
.btn-wa { --btn-bg: var(--wa); box-shadow: 0 8px 20px -8px rgba(21, 128, 61, 0.6); }
.btn-wa:hover { --btn-bg: var(--wa-hover); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--brand-900); }
.btn-light:hover { --btn-bg: var(--brand-50); }
.btn-light .icon--wa { color: var(--wa-bright); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.38); }
.btn-outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-800);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.link-arrow:hover .icon,
.card:hover .link-arrow .icon { transform: translateX(3px); }

/* Make a whole card clickable from one link inside it */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.card p { color: var(--ink-600); }
.card .link-arrow { margin-top: auto; padding-top: 4px; }
.card--hover:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.card--hover:hover .icon-tile { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

/* Tags / chips */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--ink-200);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-700);
}

/* Check list */
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-700); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0aa6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--brand-50);
  border: 1px solid var(--brand-100);
}

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--ink-500); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-300); }
.breadcrumbs a:hover { color: var(--brand-800); }
.breadcrumbs [aria-current] { color: var(--ink-800); }

/* 5. Header & footer ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-100);
  box-shadow: 0 8px 28px -22px rgba(12, 16, 51, 0.45);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: auto; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.32rem; font-weight: 800; letter-spacing: -0.035em; color: var(--red-600); }
.brand-sub {
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--brand-800);
}

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: var(--ink-50); color: var(--ink-900); }
.nav-list a[aria-current="page"] { background: var(--brand-50); color: var(--brand-800); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-800);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--brand-800); }
.header-phone:hover { color: var(--brand-800); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-900);
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--ink-300);
  font-size: 0.95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 40px 48px;
  padding-block: clamp(56px, 7vw, 88px) 48px;
}
.footer-brand p { margin-top: 18px; max-width: 36ch; }
.brand--footer .brand-name { color: var(--red-400); }
.brand--footer .brand-sub { color: var(--brand-200); }
.brand-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
}
.brand-badge img { width: auto; height: 42px; }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-400); }
.footer-contact a { overflow-wrap: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer-badges li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--ink-400);
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-bright);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.65), 0 2px 6px rgba(12, 16, 51, 0.15);
  transition: transform 0.2s, background-color 0.2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa); }
.wa-float .icon { width: 28px; height: 28px; }

/* 6. Home ------------------------------------------------------------------ */

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px);
  background: linear-gradient(180deg, #f4f5ff 0%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 10, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 166, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 72% 35%, #000 25%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(88, 96, 245, 0.2), transparent 62%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}
.hero-badge strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-badge strong .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.hero-title {
  margin-top: 26px;
  font-size: clamp(2.9rem, 1.6rem + 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero-title span { display: block; }
.hero-title .accent {
  color: var(--brand-800);
  background: linear-gradient(90deg, var(--brand-800), var(--brand-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}
.hero-lead {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(1.075rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-200);
}
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { order: 2; margin-top: 4px; font-size: 0.875rem; font-weight: 600; color: var(--ink-500); }
.hero-facts dd {
  order: 1;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

/* Hero visual: animated calibration gauge */
.hero-visual { position: relative; }
.gauge-card {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin-inline: auto;
  padding: 20px 20px 22px;
  border: 1px solid rgba(10, 10, 166, 0.09);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.gauge-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gauge-inst { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gauge-inst-name { font-weight: 700; color: var(--ink-900); line-height: 1.25; }
.gauge-inst-meta { font-size: 0.8rem; color: var(--ink-500); line-height: 1.3; }
.gauge-inst-icons { position: relative; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-700);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-chip[data-state="measuring"] .dot { animation: pulse 1s ease-in-out infinite; }
.status-chip[data-state="verifying"] { background: var(--brand-50); color: var(--brand-800); }
.status-chip[data-state="pass"] { background: var(--green-100); color: var(--green-700); }

.gauge-dial { position: relative; margin-top: 8px; }
.gauge-svg { width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: var(--ink-100); stroke-width: 14; stroke-linecap: round; }
/* Default (no-JS / reduced-motion) state: a 0–100 bar gauge reading 60.04, certified.
   main.js animates these via inline styles. */
.g-progress {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 39.96;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.3, 1, 0.4, 1), opacity 0.3s;
}
.g-ring { fill: none; stroke: var(--ink-200); stroke-width: 1.25; stroke-dasharray: 1 5; }
.g-band {
  fill: none;
  stroke: var(--green-500);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 5 200;
  stroke-dashoffset: -57.5;
  opacity: 0;
  transition: opacity 0.4s;
}
.g-ticks { stroke: var(--ink-300); stroke-width: 1.5; stroke-linecap: round; }
.g-ticks .tk-major { stroke: var(--ink-500); stroke-width: 2; }
.g-labels text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  fill: var(--ink-500);
  text-anchor: middle;
}
.g-needle {
  fill: var(--red-600);
  transform-box: view-box;
  transform-origin: 160px 160px;
  transform: rotate(24.1deg);
  transition: transform 1.5s cubic-bezier(0.3, 1.3, 0.45, 1);
}
.g-hub { fill: var(--brand-800); }
.g-hub-dot { fill: #fff; }

.gauge-readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: -30px;
  font-family: var(--font-mono);
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.gauge-value { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.gauge-unit { font-size: 0.95rem; font-weight: 500; color: var(--ink-500); }

.gauge-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--ink-50);
}
.gauge-data dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.gauge-data dd {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.3s;
}
.gauge-data dd.is-pass { color: var(--green-700); }

.gauge-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.gauge-steps li {
  position: relative;
  padding-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-400);
  transition: color 0.3s;
}
.gauge-steps li::before,
.gauge-steps li::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  border-radius: 4px;
}
.gauge-steps li::before { right: 0; background: var(--ink-100); }
.gauge-steps li::after { width: 0; background: var(--brand-800); transition: width 1.4s linear, background-color 0.3s; }
.gauge-steps li.is-active { color: var(--ink-900); }
.gauge-steps li.is-active::after { width: 100%; }
.gauge-steps li.is-done { color: var(--ink-700); }
.gauge-steps li.is-done::after { width: 100%; transition: none; }
.gauge-card.is-certify .gauge-steps li::after { background: var(--green-500); }
.gauge-card.is-verify .g-band,
.gauge-card.is-certify .g-band { opacity: 1; }
.gauge-card.no-anim *,
.gauge-card.no-anim *::before,
.gauge-card.no-anim *::after { transition: none !important; animation: none !important; }
.gauge-card.is-fading .gauge-dial,
.gauge-card.is-fading .gauge-data,
.gauge-card.is-fading .gauge-inst { opacity: 0.25; transition: opacity 0.35s; }
.gauge-dial, .gauge-data, .gauge-inst { transition: opacity 0.35s; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  line-height: 1.3;
}
.float-card strong { display: block; font-size: 0.85rem; color: var(--ink-900); }
.float-card span { color: var(--ink-500); }
.float-card--cert {
  bottom: -46px;
  left: -24px;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}
.float-card--cert.is-shown { opacity: 1; transform: none; }
.float-card .icon-tile--sm { background: var(--green-100); border-color: transparent; color: var(--green-700); }

/* Trust strip */
.trust { border-block: 1px solid var(--ink-100); background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
  padding-block: 28px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-title { font-weight: 700; color: var(--ink-900); line-height: 1.3; }
.trust-text { font-size: 0.85rem; line-height: 1.4; color: var(--ink-500); }

/* Services bento */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card--feature {
  grid-row: span 2;
  overflow: hidden;
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 132, 247, 0.35), transparent 50%),
    linear-gradient(160deg, var(--brand-800) 0%, var(--brand-900) 55%, var(--brand-950) 100%);
  color: var(--brand-100);
}
.card--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%);
  mask-image: linear-gradient(200deg, #000, transparent 60%);
  pointer-events: none;
}
.card--feature > * { position: relative; }
.card--feature h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: #fff; }
.card--feature p { color: var(--brand-100); font-size: 1.05rem; max-width: 44ch; }
.card--feature .icon-tile { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.card--feature .tag { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.card--feature .tag-list { margin-top: 8px; }
.card--feature .link-arrow { color: #fff; }
.card--feature:hover { box-shadow: 0 30px 60px -28px rgba(10, 10, 166, 0.7); transform: translateY(-3px); }

/* Lab cards */
.lab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lab-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lab-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-600);
  white-space: nowrap;
}
.lab-card h3 a:focus-visible { outline: none; }
.lab-card:has(a:focus-visible) { outline: 3px solid var(--brand-600); outline-offset: 3px; }

/* Finder band */
.finder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 112px);
  background: radial-gradient(ellipse at 50% -20%, #2a32c9 0%, var(--brand-900) 45%, var(--brand-950) 100%);
  color: var(--brand-100);
  text-align: center;
}
.finder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
}
.finder h2 { margin-top: 14px; color: #fff; font-size: clamp(2rem, 1.4rem + 2.3vw, 3rem); letter-spacing: -0.035em; }
.finder p:not(.eyebrow) { margin: 14px auto 0; max-width: 52ch; font-size: 1.1rem; }
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 34px auto 0;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}
.search-form > .icon { margin-left: 14px; color: var(--ink-400); }
.search-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink-900);
  font-size: 1.05rem;
  font-weight: 500;
}
.search-form input:focus { outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 4px rgba(124, 132, 247, 0.55), 0 20px 50px -20px rgba(0, 0, 0, 0.5); }
.search-form input::placeholder { color: var(--ink-400); }
.quick-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.quick-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.quick-chips a:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }

/* Process steps (with a ruler line linking them) */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 12px;
  background:
    linear-gradient(var(--ink-300), var(--ink-300)) left 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-300) 0 1px, transparent 1px 12px) left 50% / 100% 12px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.step { position: relative; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--brand-100);
  background: #fff;
  box-shadow: 0 0 0 8px #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-800);
}
.step:last-child .step-num { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.step h3 { margin-top: 22px; font-size: 1.2rem; }
.step p { margin-top: 8px; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.industry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
}

/* Quality section */
.quality-points { display: grid; gap: 24px; margin-top: 36px; }
.quality-point { display: flex; gap: 16px; }
.quality-point h3 { font-size: 1.08rem; letter-spacing: -0.015em; }
.quality-point p { margin-top: 4px; }

.cert-card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--brand-50), #fff 60%);
  border: 1px solid var(--brand-100);
}
.cert-card-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.cert-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.cert-thumb:hover { transform: rotate(0deg) scale(1.02); }
.cert-meta h3 { margin-top: 10px; font-size: 1.35rem; }
.cert-meta > p:not(.eyebrow) { margin-top: 4px; font-size: 0.95rem; }
.cert-facts { display: grid; gap: 10px; margin-top: 18px; font-size: 0.9rem; }
.cert-facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--ink-200); }
.cert-facts dt { color: var(--ink-500); }
.cert-facts dd { font-family: var(--font-mono); font-weight: 600; color: var(--ink-900); text-align: right; }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* CTA band */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 10%, rgba(124, 132, 247, 0.45), transparent 45%),
    linear-gradient(135deg, var(--brand-800), var(--brand-950));
  color: var(--brand-100);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); letter-spacing: -0.035em; }
.cta h2 { margin-top: 12px; }
.cta p:not(.eyebrow) { margin-top: 12px; max-width: 50ch; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* 7. Inner pages ----------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, #f4f5ff 0%, #fff 100%);
  border-bottom: 1px solid var(--ink-100);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 10, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 166, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 0%, #000 20%, transparent 70%);
}
.page-hero h1 {
  margin-top: 18px;
  max-width: 18ch;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.page-hero .lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(1.075rem, 1rem + 0.35vw, 1.225rem);
}
.page-hero .eyebrow { margin-top: 28px; }

/* Sub-navigation chips (services, labs) */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 16px;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-700);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--brand-400); color: var(--brand-800); }
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.chip .chip-count { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; opacity: 0.6; }

/* Services page */
.service { padding-block: clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--ink-100); }
.service:nth-of-type(even) { background: var(--ink-50); }
.service .split { align-items: start; }
.service-body h2 { margin-top: 14px; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); letter-spacing: -0.035em; }
.service-body > p { margin-top: 16px; font-size: 1.1rem; }
.service-body .check-list { margin-top: 28px; }
.service-body .btn,
.service-body .link-arrow { margin-top: 32px; }
.service--flip .service-visual { order: -1; }

.panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.discipline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.discipline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  background: var(--ink-50);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-900);
  font-size: 0.95rem;
}
.discipline .mono { font-size: 0.72rem; font-weight: 600; color: var(--brand-800); }

.inspect-list { display: grid; gap: 10px; }
.inspect-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  background: var(--ink-50);
  font-weight: 600;
  color: var(--ink-800);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill--ok { background: var(--green-100); color: var(--green-700); }
.pill--warn { background: var(--amber-100); color: var(--amber-700); }

.heatmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.heatmap div {
  display: grid;
  place-items: center;
  aspect-ratio: 1.5;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-900);
}
.heat-1 { background: #dbe4ff; }
.heat-2 { background: #c3d2ff; }
.heat-3 { background: #ffe1c2; }
.heat-4 { background: #ffd0a8; }
.heat-5 { background: #ffbf8f; }
.heat-legend { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-500); }
.heat-legend span:nth-child(2) { flex: 1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #dbe4ff, #c3d2ff, #ffe1c2, #ffbf8f); }
.panel-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--ink-200); font-size: 0.85rem; }
.panel-foot strong { color: var(--ink-900); }

.repair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.repair-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  background: var(--ink-50);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
}

.mini-steps { display: grid; gap: 12px; counter-reset: ms; }
.mini-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  background: var(--ink-50);
  font-weight: 600;
  color: var(--ink-800);
}
.mini-steps li::before {
  counter-increment: ms;
  content: "0" counter(ms);
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--brand-100);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-800);
}

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.25s; color: var(--brand-800); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 22px; }

/* Labs page */
.finder-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding-block: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.finder-row { display: flex; align-items: center; gap: 16px; }
.finder-input {
  position: relative;
  flex: 0 1 380px;
  min-width: 0;
}
.finder-input .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-400); pointer-events: none; }
.finder-input input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.finder-input input:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-100); }
.finder-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  padding-right: 32px;
}
.finder-chips::-webkit-scrollbar { display: none; }
.finder-summary { margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--ink-500); }

.lab-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--ink-100);
  scroll-margin-top: calc(var(--header-h) + 110px);
}
.lab-section:last-of-type { border-bottom: 0; }
.lab-intro { align-self: start; position: sticky; top: calc(var(--header-h) + 136px); }
.lab-intro h2 { margin-top: 18px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); letter-spacing: -0.03em; }
.lab-intro p { margin-top: 10px; }
.lab-intro .lab-count { display: inline-block; margin-top: 16px; }
.instrument-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.instrument-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  background: #fff;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-800);
}
.instrument-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.instrument-list mark { padding: 0 2px; border-radius: 4px; background: #fff1a8; color: inherit; }
.finder-empty {
  max-width: 560px;
  margin: 56px auto;
  padding: 40px 28px;
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-lg);
  text-align: center;
}
.finder-empty h2 { font-size: 1.5rem; }
.finder-empty p { margin-top: 10px; }
.finder-empty .btn { margin-top: 22px; }

/* About page */
.facts-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  background: var(--ink-200);
}
.facts-card div { padding: clamp(20px, 3vw, 32px); background: #fff; }
.facts-card dd {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-800);
}
.facts-card dt { margin-top: 8px; font-weight: 600; color: var(--ink-600); }
.prose p + p { margin-top: 16px; }
.prose .section-title + p { margin-top: 22px; }
.scope-quote + .reg-list { margin-top: 24px; }
.prose { font-size: 1.075rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.mv-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--ink-900); color: var(--ink-300); }
.mv-card:first-child { background: linear-gradient(150deg, var(--brand-800), var(--brand-950)); color: var(--brand-100); }
.mv-card h3 { margin-top: 14px; color: #fff; font-size: 1.45rem; line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; }
.mv-card .eyebrow { color: var(--brand-200); }
.reg-list { display: grid; gap: 0; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.reg-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--ink-100); }
.reg-list div:last-child { border-bottom: 0; }
.reg-list dt { font-weight: 700; color: var(--ink-900); }
.reg-list dt span { display: block; font-size: 0.85rem; font-weight: 500; color: var(--ink-500); }
.reg-list dd { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--ink-800); text-align: right; word-break: break-all; }
.scope-quote {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--brand-100);
  font-size: 0.98rem;
  color: var(--ink-700);
}
.scope-quote cite { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-style: normal; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-800); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  background: #fff;
}
.contact-card h2 { font-size: 1.05rem; letter-spacing: -0.01em; }
.contact-card p, .contact-card li { font-size: 0.95rem; }
.contact-card a { font-weight: 700; color: var(--ink-900); }
.contact-card a:hover { color: var(--brand-800); }
.contact-card .muted { color: var(--ink-500); font-size: 0.85rem; }
.contact-card ul { display: grid; gap: 6px; margin-top: 6px; }
.contact-card .link-arrow { margin-top: 8px; font-size: 0.9rem; color: var(--brand-800); }

.form-card {
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }
.form-card > p { margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--ink-800); }
.field label .opt { font-weight: 500; color: var(--ink-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--ink-300);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646c8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-100); }
.field [aria-invalid="true"] { border-color: #d92d20; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px #fee4e2; }
.field-error { font-size: 0.85rem; font-weight: 600; color: #b42318; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-500); }
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.is-error { background: #fee4e2; color: #b42318; }
.form-status:empty { margin: 0; padding: 0; background: none; }

.tips { margin-top: 24px; padding: 22px; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100); }
.tips h2 { font-size: 1.05rem; }
.tips .check-list { margin-top: 14px; gap: 10px; font-size: 0.95rem; }

.map-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  background: var(--ink-50);
  aspect-ratio: 21 / 9;
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 404 */
.error-page { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.error-code { font-family: var(--font-mono); font-size: clamp(4rem, 2rem + 10vw, 9rem); font-weight: 600; line-height: 1; letter-spacing: -0.06em; color: var(--brand-800); }
.error-page h1 { margin-top: 16px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.error-page p { margin: 14px auto 0; max-width: 46ch; font-size: 1.1rem; }
.error-page .hero-actions { justify-content: center; }

/* 8. Motion ---------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { 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; }
}

/* 9. Responsive ------------------------------------------------------------ */
@media (max-width: 1140px) {
  .header-phone { display: none; }
  .float-card--cert { left: -8px; }
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature { grid-column: 1 / -1; grid-row: auto; }
  .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .service--flip .service-visual { order: 0; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .lab-section { grid-template-columns: minmax(0, 1fr); scroll-margin-top: calc(var(--header-h) + 8px); }
  .lab-intro { position: static; }
  .finder-bar { position: static; }
  .finder-row { flex-direction: column; align-items: stretch; }
  .finder-input { flex: none; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand-mark { height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 20px var(--gutter) 32px;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
  .nav-open, .nav-open body { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { height: 54px; padding: 0 16px; border-radius: 14px; font-size: 1.15rem; }
  .nav-extra { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--ink-100); }
  .nav-extra .header-phone { display: inline-flex; justify-content: center; min-height: 48px; }
}

@media (max-width: 719px) {
  .header-actions .btn { display: none; }
  .lab-grid,
  .bento,
  .industry-grid,
  .values-grid,
  .mv-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cert-card-inner { grid-template-columns: minmax(0, 1fr); }
  .cert-thumb { max-width: 260px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-wrap { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .float-card { display: none; }
  .search-form .btn { padding: 0 18px; }
  .search-form > .icon { display: none; }
  .search-form input { padding-left: 14px; }
  .reg-list div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .reg-list dd { text-align: left; }
}

@media (max-width: 420px) {
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.06em; }
  .hero-actions .btn { width: 100%; }
  .gauge-card { padding: 16px; border-radius: 22px; }
  .gauge-value { font-size: 1.9rem; }
  .gauge-data { padding: 10px; }
  .gauge-data dd { font-size: 0.8rem; }
  .cta-actions .btn { width: 100%; }
}

/* 10. Additions: sprite, dark header, 3D journey, DotTut credit ------------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* "3D" badge on the Journey nav link */
.nav-badge {
  display: inline-grid;
  place-items: center;
  height: 18px;
  margin-right: 6px;
  padding: 0 5px;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--brand-800), var(--brand-600) 55%, var(--red-600));
  background-size: 220% 100%;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  animation: badge-shift 6s ease-in-out infinite;
}
@keyframes badge-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero link to the journey */
.hero-tour {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  transition: background-color 0.2s, border-color 0.2s;
}
.hero-tour strong {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-tour .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.hero-tour:hover { border-color: var(--brand-200); background: var(--brand-50); }
.hero-tour:hover .icon { transform: translateX(3px); }
.hero-tour__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.hero-tour__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--green-500);
  border-radius: 50%;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

/* Home: 3D journey teaser band */
.teaser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 112px);
  background:
    radial-gradient(800px 520px at 78% 50%, rgba(58, 66, 224, 0.5), transparent 62%),
    linear-gradient(160deg, var(--brand-950), #03051c);
  color: var(--brand-100);
}
.teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.teaser h2 { margin-top: 14px; color: #fff; font-size: clamp(2rem, 1.4rem + 2.3vw, 3rem); letter-spacing: -0.035em; }
.teaser p:not(.eyebrow) { margin-top: 14px; max-width: 48ch; font-size: 1.1rem; }
.teaser .btn { margin-top: 30px; }
.teaser-visual { display: grid; place-items: center; min-height: 320px; perspective: 900px; }
.teaser-scene { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; animation: teaser-tilt 14s ease-in-out infinite; }
.teaser-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(124, 132, 247, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(124, 132, 247, 0.35), inset 0 0 26px rgba(124, 132, 247, 0.2);
}
.teaser-ring::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #7c84f7;
}
.teaser-ring--1 { animation: ring-a 13s linear infinite; }
.teaser-ring--2 { inset: 32px; border-color: rgba(255, 92, 100, 0.55); box-shadow: 0 0 26px rgba(255, 92, 100, 0.3); animation: ring-b 9s linear infinite; }
.teaser-ring--2::after { background: #ff8a91; box-shadow: 0 0 14px #ff5c64; }
.teaser-ring--3 { inset: 64px; animation: ring-c 7s linear infinite; }
.teaser-core {
  position: absolute;
  inset: 102px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 70px rgba(124, 132, 247, 0.65);
}
.teaser-core img { width: auto; height: 64px; }
@keyframes ring-a { from { transform: rotateX(72deg) rotateZ(0deg); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes ring-b { from { transform: rotateY(66deg) rotateX(0deg); } to { transform: rotateY(66deg) rotateX(360deg); } }
@keyframes ring-c { from { transform: rotateX(28deg) rotateY(0deg); } to { transform: rotateX(28deg) rotateY(360deg); } }
@keyframes teaser-tilt {
  0%, 100% { transform: rotateX(8deg) rotateY(-12deg); }
  50% { transform: rotateX(-6deg) rotateY(12deg); }
}

/* Dark header variant (3D journey) */
.site-header--dark { background: rgba(3, 5, 28, 0.62); border-bottom-color: rgba(199, 203, 255, 0.08); }
.site-header--dark.is-scrolled { border-bottom-color: rgba(199, 203, 255, 0.12); box-shadow: none; }
.site-header--dark .brand-mark { height: 44px; padding: 3px 4px; border-radius: 12px; background: #fff; }
.site-header--dark .brand-name { color: var(--red-400); }
.site-header--dark .brand-sub { color: var(--brand-200); }
.site-header--dark .nav-list a { color: rgba(229, 231, 255, 0.82); }
.site-header--dark .nav-list a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.site-header--dark .nav-list a[aria-current="page"] { background: rgba(124, 132, 247, 0.2); color: #fff; }
.site-header--dark .header-phone { color: #fff; }
.site-header--dark .header-phone .icon { color: var(--brand-200); }
.site-header--dark .nav-toggle { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff; }

/* Footer bottom row with the partner credit */
.footer-bottom { align-items: center; }
.footer-legal { display: grid; gap: 4px; }

/* Animations that wait until the element scrolls into view (site.js adds .anim and .is-in). */
.anim [data-animate]:not(.is-in) .dt-mark__d { stroke-dashoffset: 1; }
.anim [data-animate]:not(.is-in) .dt-mark__dot { opacity: 0; }
.anim [data-animate].is-in .dt-mark__d { stroke-dasharray: 1; animation: dt-draw 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both; }
.anim [data-animate].is-in .dt-mark__dot { animation: dt-drop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both, dt-pulse 2.8s ease-in-out 2.4s infinite; }

/* DotTut mark */
.dt-mark { display: block; width: 100%; height: 100%; }
.dt-mark__d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.dt-mark__dot { transform-box: fill-box; transform-origin: center; }
@keyframes dt-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dt-drop { from { transform: translateY(-260px) scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dt-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
@keyframes dt-hop {
  0% { transform: none; }
  35% { transform: translate(70px, -120px) scale(0.92); }
  65% { transform: translate(130px, -40px); }
  100% { transform: none; }
}

/* "Built by DotTut Innovora Labs" credit */
@property --bb-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.built-by {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.built-by::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--bb-angle), transparent 0deg 210deg, rgba(126, 217, 87, 0.9) 300deg, #d4f7bf 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: bb-spin 4.5s linear infinite;
  pointer-events: none;
}
@keyframes bb-spin { to { --bb-angle: 360deg; } }
.built-by:hover {
  transform: translateY(-2px);
  background: rgba(126, 217, 87, 0.08);
  box-shadow: inset 0 0 0 1px rgba(126, 217, 87, 0.35), 0 12px 32px -12px rgba(126, 217, 87, 0.55);
}
.built-by:hover .dt-mark__dot,
.anim .built-by.is-in:hover .dt-mark__dot { animation: dt-hop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1); }
.built-by__mark {
  position: relative;
  display: block;
  flex: none;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: 0 6px 16px -6px rgba(64, 182, 5, 0.8);
}
.built-by__mark::after,
.partner-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: bb-shine 5s ease-in-out 1.5s infinite;
  pointer-events: none;
}
@keyframes bb-shine {
  0%, 62% { transform: translateX(-120%); }
  86%, 100% { transform: translateX(120%); }
}
.built-by__text { display: flex; flex-direction: column; line-height: 1.15; }
.built-by__label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); }
.built-by__name { margin-top: 3px; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.built-by__tut { color: #7ed957; }
.built-by__labs { margin-left: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-300); }
.built-by__arrow { width: 16px; height: 16px; color: #7ed957; opacity: 0.6; transition: transform 0.25s, opacity 0.25s; }
.built-by:hover .built-by__arrow { opacity: 1; transform: translateX(3px); }

/* About: technical partner */
.partner-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(640px 420px at 18% 30%, rgba(64, 182, 5, 0.3), transparent 62%),
    linear-gradient(150deg, #0d1f07, #040a01 70%);
  color: #c7e9b4;
}
.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(126, 217, 87, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 217, 87, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 25% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 25% 40%, #000, transparent 75%);
}
.partner-visual { position: relative; display: grid; place-items: center; width: 100%; max-width: 300px; aspect-ratio: 1; margin-inline: auto; }
.partner-logo {
  position: relative;
  z-index: 1;
  width: 40%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24%;
  box-shadow: 0 24px 60px -12px rgba(64, 182, 5, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.partner-orbit { position: absolute; inset: 0; border: 1px dashed rgba(126, 217, 87, 0.35); border-radius: 50%; animation: spin 20s linear infinite; }
.partner-orbit--2 { inset: 13%; border-style: solid; border-color: rgba(126, 217, 87, 0.18); animation-duration: 13s; animation-direction: reverse; }
.partner-orbit--3 { inset: 26%; border-color: rgba(126, 217, 87, 0.28); animation-duration: 8s; }
.partner-orbit span {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #7ed957;
  box-shadow: 0 0 16px #7ed957;
}
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow--lime { color: #7ed957; }
.partner-body h2 { margin-top: 14px; color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); letter-spacing: -0.03em; }
.partner-name span { color: #7ed957; }
.partner-body > p { margin-top: 14px; max-width: 56ch; font-size: 1.05rem; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.partner-tags li { padding: 5px 12px; border: 1px solid rgba(126, 217, 87, 0.3); border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #e7f9dc; }
.partner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.btn-lime { --btn-bg: #7ed957; --btn-fg: #0d1f05; box-shadow: 0 10px 26px -10px rgba(126, 217, 87, 0.8); }
.btn-lime:hover { --btn-bg: #95e673; }
.partner-tagline { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(199, 233, 180, 0.7); }

/* 3D journey page */
.journey-page { background: #03051c; }
.journey {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 760px at 72% 38%, rgba(58, 66, 224, 0.32), transparent 62%),
    radial-gradient(800px 600px at 8% 92%, rgba(227, 0, 15, 0.12), transparent 60%),
    #03051c;
  color: var(--brand-100);
}
.journey-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.journey.is-loading .journey-canvas { opacity: 0; }
.journey.is-picking { cursor: pointer; }
.journey-labels { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.jl-label {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(124, 132, 247, 0.4);
  border-radius: 12px;
  background: rgba(5, 7, 40, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
  transition: border-color 0.2s, background-color 0.2s;
}
.jl-label small { font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500; color: var(--brand-200); }
.jl-label.is-on { pointer-events: auto; }
.jl-label.is-active,
.jl-label:hover { border-color: #fff; background: rgba(58, 66, 224, 0.88); }

.journey-loader {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-200);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0s linear 0.5s;
}
.journey.is-loading .journey-loader { opacity: 1; visibility: visible; transition: none; animation: loader-timeout 0.4s ease 10s forwards; }
@keyframes loader-timeout { to { opacity: 0; visibility: hidden; } }
.journey-loader__dial { position: relative; width: 58px; height: 58px; border: 2px solid rgba(124, 132, 247, 0.4); border-bottom-color: transparent; border-radius: 50%; }
.journey-loader__dial span {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  height: 22px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--red-400);
  transform-origin: bottom center;
  animation: loader-needle 1.3s ease-in-out infinite alternate;
}
@keyframes loader-needle { from { transform: rotate(-125deg); } to { transform: rotate(125deg); } }

.journey-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px max(var(--gutter), calc((100vw - var(--container)) / 2)) 64px;
  pointer-events: none;
}
.journey-step--intro { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.journey-card {
  width: 100%;
  max-width: 440px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(199, 203, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(14, 19, 74, 0.74), rgba(5, 7, 40, 0.74));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}
.journey-card h2 { margin-top: 14px; color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; }
.journey-card > p:not(.eyebrow):not(.journey-kicker) { margin-top: 12px; color: rgba(229, 231, 255, 0.86); }
.journey-card--intro { max-width: 580px; padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.journey-card--intro h1 { margin-top: 18px; color: #fff; font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem); line-height: 1; letter-spacing: -0.05em; }
.journey-card--intro .hero-actions { margin-top: 32px; }
.journey-card > p.journey-lead { margin-top: 20px; max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); }
.journey-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-200);
}
.journey-kicker span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(199, 203, 255, 0.35);
  border-radius: 50%;
  background: rgba(124, 132, 247, 0.14);
  color: #fff;
  letter-spacing: 0;
}
.journey-facts { display: flex; gap: 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(199, 203, 255, 0.14); font-size: 0.88rem; color: var(--brand-200); }
.journey-facts strong { display: block; font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: #fff; }
.journey-checks { display: grid; gap: 8px; margin-top: 16px; }
.journey-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.journey-checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat, var(--green-500);
}
.journey-points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.journey-points li { padding: 4px 10px; border: 1px solid rgba(124, 231, 255, 0.35); border-radius: 999px; font-family: var(--font-mono); font-size: 0.78rem; color: #7ce7ff; }
.journey-labs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.journey-labs a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(199, 203, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.journey-labs a:hover { border-color: rgba(199, 203, 255, 0.4); background: rgba(124, 132, 247, 0.18); }
.journey-labs .icon { width: 18px; height: 18px; color: var(--brand-200); }
.journey-labs small { margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem; color: var(--brand-200); }
.journey-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-200);
}
.journey-scroll__mouse { position: relative; width: 22px; height: 34px; border: 2px solid rgba(199, 203, 255, 0.5); border-radius: 12px; }
.journey-scroll__mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(10px); opacity: 0; }
}
.journey-end { position: relative; z-index: 2; display: flex; justify-content: center; padding: 120px var(--gutter) 140px; }
.journey-card--end { max-width: 660px; text-align: center; }
.journey-card--end .hero-actions { justify-content: center; margin-top: 28px; }
.journey-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(199, 203, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-200);
}

.journey-rail { position: fixed; top: 50%; right: clamp(12px, 2vw, 28px); z-index: 3; transform: translateY(-50%); }
.journey-rail ol { display: grid; gap: 4px; }
.journey-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 5px 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(229, 231, 255, 0.6);
}
.journey-rail__label { opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.2s; }
.journey-rail a:hover .journey-rail__label,
.journey-rail a:focus-visible .journey-rail__label,
.journey-rail a[aria-current] .journey-rail__label { opacity: 1; transform: none; }
.journey-rail__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(199, 203, 255, 0.35); transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.journey-rail a[aria-current] { color: #fff; }
.journey-rail a[aria-current] .journey-rail__dot { background: #fff; box-shadow: 0 0 0 4px rgba(124, 132, 247, 0.35); transform: scale(1.2); }

.journey-hud {
  position: fixed;
  top: calc(var(--header-h) + 18px);
  right: clamp(48px, 5vw, 84px);
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid rgba(199, 203, 255, 0.16);
  border-radius: 14px;
  background: rgba(5, 7, 40, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: right;
  color: var(--brand-200);
  pointer-events: none;
}
.journey-hud__stage { letter-spacing: 0.1em; text-transform: uppercase; }
.journey-hud__sep { margin-inline: 4px; opacity: 0.5; }
.journey-hud__reading { margin-top: 4px; color: rgba(229, 231, 255, 0.82); }
.journey-hud__reading strong { font-size: 1.05rem; font-weight: 600; color: #7ce7ff; }
.journey-page .wa-float { bottom: 16px; }

/* Static fallback (no WebGL, reduced motion): a readable stacked timeline. */
.journey.is-static .journey-canvas,
.journey.is-static .journey-labels,
.journey.is-static .journey-loader,
.journey.is-static .journey-hud,
.journey.is-static .journey-rail,
.journey.is-static .journey-scroll { display: none; }
.journey.is-static .journey-step { min-height: 0; justify-content: center; padding-block: 24px; }
.journey.is-static .journey-step--intro { padding-block: 96px 48px; }
.journey.is-static .journey-card { max-width: 720px; }

@media (max-width: 899px) {
  .journey-step { align-items: flex-end; padding: 88px var(--gutter) 96px; }
  .journey-card { max-width: none; background: linear-gradient(160deg, rgba(14, 19, 74, 0.88), rgba(5, 7, 40, 0.92)); }
  .journey-card--intro { padding: 22px; background: linear-gradient(180deg, rgba(3, 5, 28, 0), rgba(3, 5, 28, 0.85) 26%); }
  .journey-card--intro h1 { font-size: clamp(2.1rem, 1.6rem + 3vw, 2.8rem); }
  .journey-card > p.journey-lead { font-size: 1rem; }
  .journey-card--intro .hero-actions .btn { width: auto; min-height: 46px; padding-inline: 18px; font-size: 0.9rem; }
  .journey-scroll,
  .journey-labels,
  .journey-hud,
  .journey-rail { display: none; }
  .journey-labs a { padding: 7px 9px; font-size: 0.8rem; }
  .journey.is-static .journey-step { padding-block: 16px; }
}

@media (max-width: 719px) {
  .teaser-grid { grid-template-columns: minmax(0, 1fr); }
  .teaser-visual { min-height: 260px; }
  .teaser-scene { width: 240px; height: 240px; }
  .teaser-core { inset: 78px; }
  .partner-card { grid-template-columns: minmax(0, 1fr); }
  .partner-visual { max-width: 220px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .built-by::before,
  .built-by__mark::after,
  .partner-logo::after,
  .partner-orbit,
  .teaser-scene,
  .teaser-ring,
  .nav-badge { animation: none !important; }
}
