/* ==========================================================================
   DESIGN SYSTEM — Signverse Infra
   Tokens → Typography → Primitives → Components
   ========================================================================== */

/* --- Font faces ---------------------------------------------------------- */
@font-face {
  font-family: "Sui Generis";
  src: url("../fonts/heading/sui-generis-rg.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR";
  src: url("../fonts/paragraph/FormaDJRUI-Regular-Testing-3.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR";
  src: url("../fonts/paragraph/FormaDJRUI-Italic-Testing-3.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR";
  src: url("../fonts/paragraph/FormaDJRMicro-Medium-Testing.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR";
  src: url("../fonts/paragraph/FormaDJRUI-Bold-Testing-3.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR";
  src: url("../fonts/paragraph/FormaDJRUI-BoldItalic-Testing-3.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- Design tokens ------------------------------------------------------- */
:root {
  /* Brand (locked) */
  --brand: #ffc44d;
  --brand-deep: #ffb21f;
  --brand-2: #5ef0ff;
  --brand-fg: #1b1200;

  /* Surfaces */
  --bg: #0b0d10;
  --bg-alt: #0e1116;
  --surface: #10161a;
  --surface-elevated: #141922;
  --card: #10161a;
  --card-border: color-mix(in oklab, var(--brand) 30%, #2a2f38);
  --card-border-hover: color-mix(in oklab, var(--brand) 55%, #2a2f38);

  /* Text */
  --text: #e6e9ef;
  --muted: #a5acb8;
  --text-secondary: var(--muted);
  --text-muted: #7a8494;

  /* Borders */
  --line: #1a202a;
  --border: var(--line);
  --border-strong: #2a3442;

  /* Status / industrial */
  --success: #22c55e;
  --success-deep: #16a34a;
  --sign-bg-from: #0e1b13;
  --sign-bg-to: #0a140e;
  --sign-border: #0f3d1e;
  --metal-border: #1a2230;
  --metal-bg: #0f141b;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography families */
  --font-display: "Sui Generis", "Segoe UI", system-ui, sans-serif;
  --font-body: "Forma DJR", "Segoe UI", system-ui, sans-serif;

  /* Type scale */
  --text-display-xl: clamp(40px, 8vw, 96px);
  --text-display-l: clamp(36px, 6.5vw, 64px);
  --text-h1: clamp(32px, 5vw, 48px);
  --text-h2: clamp(28px, 4.5vw, 44px);
  --text-h3: clamp(20px, 2.8vw, 28px);
  --text-body-lg: clamp(16px, 2vw, 20px);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-caption: 0.8125rem;
  --text-label: 0.75rem;
  --leading-tight: 1.08;
  --leading-snug: 1.2;
  --leading-body: 1.55;
  --tracking-label: 0.12em;
  --tracking-micro: 0.08em;

  /* Spacing scale: 4 8 12 16 24 32 48 64 96 128 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --elev-1: 0 4px 12px rgba(0, 0, 0, 0.2);
  --elev-2: 0 10px 30px rgba(0, 0, 0, 0.35);
  --elev-3: 0 16px 48px rgba(0, 0, 0, 0.45);
  --elev-hover: 0 14px 34px rgba(0, 0, 0, 0.28);
  --elev-float: 0 20px 50px rgba(0, 0, 0, 0.4);
  --shadow: var(--elev-2);
  --inset-highlight: inset 0 0 0 1px rgba(255, 255, 255, 0.03);

  /* Overlay / blur */
  --overlay-soft: rgba(255, 255, 255, 0.04);
  --overlay-mid: rgba(255, 255, 255, 0.06);
  --overlay-strong: rgba(255, 255, 255, 0.08);
  --blur-sm: 8px;
  --blur-md: 12px;

  /* Layout */
  --container: min(1200px, 92vw);
  /* Breakpoints (reference): sm 640 · md 900 · lg 1100 */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: ease;
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --lift-sm: translateY(-2px);
  --lift-md: translateY(-4px);
}

/* Light theme — page + cards both adapt cleanly */
.theme--light {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --card: #ffffff;
  --card-border: #e2e8f0;
  --card-border-hover: color-mix(in oklab, var(--brand) 45%, #cbd5e1);
  --text: #0f172a;
  --muted: #475569;
  --text-secondary: var(--muted);
  --text-muted: #64748b;
  --line: #e2e8f0;
  --border: var(--line);
  --border-strong: #cbd5e1;
  --sign-bg-from: #ecfdf5;
  --sign-bg-to: #d1fae5;
  --sign-border: #86efac;
  --metal-border: #e2e8f0;
  --metal-bg: #f1f5f9;
  --elev-1: 0 2px 8px rgba(15, 23, 42, 0.06);
  --elev-2: 0 4px 20px rgba(15, 23, 42, 0.08);
  --elev-3: 0 12px 32px rgba(15, 23, 42, 0.12);
  --elev-hover: 0 8px 24px rgba(15, 23, 42, 0.1);
  --elev-float: 0 16px 40px rgba(15, 23, 42, 0.14);
  --shadow: var(--elev-2);
  --inset-highlight: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
  --overlay-soft: rgba(0, 0, 0, 0.03);
  --overlay-mid: rgba(0, 0, 0, 0.05);
  --overlay-strong: rgba(0, 0, 0, 0.07);
  color-scheme: light;
}

/* --- Reset / base -------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text);
  background: var(--bg);
  line-height: var(--leading-body);
  overflow-x: clip;
  padding-top: 72px;
  /* fixed header offset */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-5));
  box-sizing: border-box;
}

/* --- Typography ---------------------------------------------------------- */
.kicker,
.text-label {
  color: var(--brand);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-label);
}

.section-head .kicker {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-micro);
}

.section-head .headline {
  font-size: var(--text-display-l);
  margin: 0 0 var(--space-2);
}

.subheadline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h3);
  line-height: var(--leading-snug);
  margin: var(--space-1) 0;
  color: var(--text);
}

.body-l,
.text-body-lg {
  font-size: var(--text-body-lg);
  color: var(--muted);
  line-height: var(--leading-body);
}

.text-body {
  font-size: var(--text-body);
  color: var(--text);
  line-height: var(--leading-body);
}

.text-body--muted {
  color: var(--muted);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-caption {
  font-size: var(--text-caption);
  color: var(--muted);
}

.text-micro {
  font-size: var(--text-label);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Section rhythm ------------------------------------------------------ */
.section-head {
  text-align: center;
  margin-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.section-head .headline {
  margin: 0 0 var(--space-2);
}

.section-head .body-l {
  max-width: 42rem;
  margin: 0;
}

.headline {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: var(--space-2) 0 var(--space-5);
}

/* --- Buttons ------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--duration-base) var(--ease-out),
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  will-change: transform;
}

.button:hover {
  transform: var(--lift-sm);
}

.button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
  color: var(--brand-fg);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    var(--elev-1);
}

.button--primary:hover {
  filter: brightness(1.05);
}

.button--secondary {
  background: transparent;
  border-color: color-mix(in oklab, var(--brand) 55%, var(--border));
  color: var(--text);
}

.button--secondary:hover {
  border-color: var(--brand);
  background: color-mix(in oklab, var(--brand) 10%, transparent);
}

.button--ghost {
  background: var(--overlay-soft);
}

.theme--light .button--ghost {
  background: var(--overlay-mid);
}

.button--text {
  background: transparent;
  border-color: transparent;
  padding-inline: var(--space-2);
  color: var(--muted);
}

.button--text:hover {
  color: var(--text);
  transform: none;
}

/* --- Panel system -------------------------------------------------------- */
/*
  Shared surface language from About:
  solid card fill, amber-tinted border, quiet hover, body typography.
  Opt-in: .sv-panel--interactive | .sv-panel--marked
*/
.sv-panel,
.stat-card,
.segment-card,
.feature-card,
.project-card,
.product-card,
.client-card,
.standard-card,
.contact-form-card,
.contact-info-card,
.process-step,
.service-stage-card,
.cred-card,
.timeline-step,
.method-step,
.contact-method,
.info-item,
.svp-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.sv-panel--interactive,
.segment-card,
.feature-card,
.project-card,
.product-card,
.client-card,
.service-stage-card,
.standard-card,
.timeline-step,
.method-step,
.contact-method {
  transition:
    transform var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.sv-panel--interactive:hover,
.segment-card:hover,
.feature-card:hover,
.project-card:hover,
.product-card:hover,
.client-card:hover,
.service-stage-card:hover,
.standard-card:hover,
.timeline-step:hover,
.method-step:hover,
.contact-method:hover {
  transform: var(--lift-sm);
  border-color: var(--card-border-hover);
  box-shadow: var(--elev-1);
}

/* Corner marks — opt-in only (do not spray across every card) */
.sv-panel--marked::before,
.sv-panel--marked::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--brand);
  border-style: solid;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

.sv-panel--marked::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.sv-panel--marked::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 1px 1px 0;
}

.sv-panel__title,
.feature-card h3,
.service-stage-card h3,
.segment-card h3,
.product-card h3,
.project-card h3,
.client-card h3,
.standard-card h3,
.why-card__body h3,
.svp-card h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.sv-panel__body,
.feature-card p,
.service-stage-card>p,
.segment-card>p,
.product-card p,
.project-card p,
.client-card p,
.standard-card p,
.why-card__body p,
.svp-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* --- Icon container ------------------------------------------------------ */
.icon-box,
.feature-card__icon,
.feature-icon,
.standard-icon,
.process-step-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  color: var(--brand);
  border: 1px solid color-mix(in oklab, var(--brand) 22%, var(--border));
}

.icon-box--sm {
  width: 40px;
  height: 40px;
}

.icon-box--md,
.feature-card__icon,
.feature-icon {
  width: 48px;
  height: 48px;
}

.icon-box--lg,
.process-step-icon {
  width: 64px;
  height: 64px;
}

.standard-icon {
  width: 56px;
  height: 56px;
}

.icon-box svg,
.feature-card__icon svg,
.feature-icon svg,
.standard-icon svg,
.process-step-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.process-step-icon svg {
  width: 28px;
  height: 28px;
}

.standard-icon svg {
  width: 28px;
  height: 28px;
}

/* --- Badge / tag / chip -------------------------------------------------- */
.spec-tag,
.tag-chip,
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 500;
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  color: var(--brand);
  border: 1px solid color-mix(in oklab, var(--brand) 25%, transparent);
}

.project-card__tag {
  color: var(--brand);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

/* --- Motion utilities ---------------------------------------------------- */
.motion-hover-lift:hover {
  transform: var(--lift-md);
}

.motion-fade-up {
  /* used with .reveal */
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 50;
}

.progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 12px rgba(94, 240, 255, 0.35);
}

/* --- Site header (industrial brand) -------------------------------------- */
.site-header {
  --hdr-bg: #0b0d10;
  --hdr-line: color-mix(in oklab, var(--brand) 22%, #2a2f38);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--hdr-line);
}

.site-header__hazard {
  position: absolute;
  left: clamp(16px, 4vw, 40px);
  top: 0;
  width: 64px;
  height: 3px;
  background: repeating-linear-gradient(-45deg,
      var(--brand) 0 5px,
      transparent 5px 10px);
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  width: min(1200px, calc(100% - 2 * clamp(16px, 4vw, 40px)));
  margin-inline: auto;
  min-height: 72px;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.site-header .brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.site-header .brand__logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: none;
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.site-header .nav__link {
  position: relative;
  color: #a5acb8;
  text-decoration: none;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  background: transparent;
  transition: color var(--duration-base) var(--ease-out);
}

.site-header .nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-out);
}

.site-header .nav__link:hover {
  color: #e6e9ef;
  background: transparent;
  transform: none;
}

.site-header .nav__link:hover::after {
  transform: scaleX(0.45);
}

.site-header .nav__link.is-active {
  color: var(--brand);
  background: transparent;
}

.site-header .nav__link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--brand);
  color: var(--brand-fg);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  transition:
    filter var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.header-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: var(--brand-fg);
}

.header-cta span {
  font-size: 0.95em;
  line-height: 1;
}

@media (max-width: 860px) {
  .site-header__inner {
    gap: 10px;
    min-height: 64px;
  }

  body {
    padding-top: 64px;
  }

  .site-header .nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 0;
    scrollbar-width: none;
  }

  .site-header .nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .nav__link {
    padding: 8px 10px;
    font-size: 0.66rem;
    white-space: nowrap;
  }

  .site-header .nav__link::after {
    left: 10px;
    right: 10px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.7rem;
  }

  .site-header .brand__logo-img {
    height: 34px;
  }
}

/* Theme toggle switch (unused — kept inert) */
.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--metal-bg);
  color: var(--muted);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.theme-switch:hover {
  color: var(--text);
  border-color: color-mix(in oklab, var(--brand) 30%, var(--line));
}

.theme-switch__track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--metal-border);
  border: 1px solid #2a3442;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.theme-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      #ffe08a,
      var(--brand-deep) 60%,
      var(--warning) 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.theme-switch.is-on .theme-switch__track {
  background: linear-gradient(180deg, #fff7e6, #ffe8b3);
  border-color: var(--warning);
}

.theme-switch.is-on .theme-switch__thumb {
  transform: translateX(20px);
}

.theme-switch__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 34px;
}

.theme--light .theme-switch {
  background: #ffffff;
  border-color: #e5e7eb;
}

.theme--light .theme-switch__track {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* Legacy icon toggle retained for compatibility */
.icon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--metal-bg);
  color: var(--muted);
  cursor: pointer;
}

.icon-toggle:hover {
  color: var(--text);
  border-color: color-mix(in oklab, var(--brand) 30%, var(--line));
}

.icon-bulb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      #ffd27a,
      var(--brand-deep) 40%,
      #6b4d13 75%);
  filter: saturate(0.4) brightness(0.8);
  box-shadow: 0 0 0px rgba(255, 178, 31, 0);
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.lights-on .icon-bulb {
  filter: saturate(1.1) brightness(1.2);
  box-shadow:
    0 0 16px rgba(255, 178, 31, 0.55),
    0 0 36px rgba(255, 178, 31, 0.25);
}

/* Theme toggle sun icon */
.icon-sun {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
      #ffe08a,
      var(--brand-deep) 60%,
      var(--warning) 100%);
  box-shadow: 0 0 0 rgba(255, 178, 31, 0);
  transition:
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.theme--light .icon-sun {
  filter: saturate(1.1) brightness(1.05);
  box-shadow: 0 0 12px rgba(255, 178, 31, 0.35);
}

.theme--light .icon-toggle {
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand__logo {
  display: flex;
  align-items: center;
}

.brand__logo-img {
  height: 42px;
  width: auto;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand:hover .brand__logo-img {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.brand__icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}

.brand:hover .brand__icon {
  transform: scale(1.05);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #141922;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__name {
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

.nav__link:hover {
  color: var(--text);
  background: transparent;
}

/* Active section highlight */
.nav__link.is-active {
  color: var(--brand);
  background: transparent;
}

.theme--light .nav__link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.theme--light .nav__link.is-active {
  background: rgba(0, 0, 0, 0.06);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-gradient {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(1200px 600px at 70% 30%,
      rgba(94, 240, 255, 0.08),
      transparent 60%),
    radial-gradient(1000px 500px at 20% 70%,
      rgba(255, 196, 77, 0.08),
      transparent 60%);
}

.bg-noise {
  position: absolute;
  inset: -20%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAwIiBoZWlnaHQ9IjYwMCIgdmlld0JveD0iMCAwIDEyMDAgNjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC45IiBudW1PY3RhdmVzPSIyIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjxmZUNvbXBvbmVudFRyYW5zZmVyPjxmZUZ1bmNBIHR5cGU9InRhYmxlIiB0YWJsZVZhbHVlcz0iMCAwIDAgMCAwIDAuMDI1IDAuMDQgMC4wNSAwLjA2IDAuMDcgMC4wOCAwLjA5IDAuMDkgMC4wOSAwLjA5IDAuMDkgMC4wOSAwLjA4IDAuMDYgMC4wNCAwLjAyIDAgMCAwIDAiLz48L2ZlQ29tcG9uZW50VHJhbnNmZXI+PGZlQmxlbmQgbW9kZT0ibXVsdGlwbHkiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCglMjNuKSIvPjwvc3ZnPg==");
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

.bg-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52vmax;
  height: 52vmax;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 196, 77, 0.12),
      transparent 60%);
  transform: translate(-50%, -50%);
}

/* Cinematic moving road */
.road-canvas {
  position: absolute;
  inset: 0;
  perspective: 800px;
  overflow: hidden;
}

.road {
  display: none;
}

.lane {
  position: absolute;
  left: 50%;
  width: 3px;
  height: 130%;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0 26px,
      rgba(255, 255, 255, 0.85) 26px 46px);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.28));
  transform-origin: top;
  transform: translateX(-50%) translateY(8%) rotateX(60deg);
  background-position-y: 0;
  will-change: background-position, transform;
}

.lane--left {
  transform: translateX(calc(-50% - 20vmax)) translateY(10%) rotateX(60deg);
}

.lane--right {
  transform: translateX(calc(-50% + 20vmax)) translateY(10%) rotateX(60deg);
}

.lane--center {
  width: 5px;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 196, 77, 0) 0 18px,
      rgba(255, 196, 77, 1) 18px 38px);
  filter: drop-shadow(0 0 10px rgba(255, 196, 77, 0.35));
}

/* Remove barriers for minimal lane-only hero */
.barrier {
  display: none;
}

.hero__inner {
  text-align: center;
  padding: 14vh 0 10vh;
}

.hero__badge {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

/* 3M Authorized Badge */
.badge-3m {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.06));
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 280px;
}

.badge-3m::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 196, 77, 0.08),
      rgba(255, 178, 31, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.badge-3m:hover::before {
  opacity: 1;
}

.badge-3m:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 196, 77, 0.3);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(255, 196, 77, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.badge-3m__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.badge-3m__logo {
  height: 32px;
  width: auto;
  filter: brightness(1.1);
  position: relative;
  z-index: 1;
}

.badge-3m__status {
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: relative;
  z-index: 1;
}

.badge-3m__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--success);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-3m__type {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-3m__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.badge-3m__cert {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.badge-3m__verification {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  color: var(--success);
  letter-spacing: 0.04em;
}

.badge-3m__verification svg {
  color: var(--success);
}

@media (max-width: 768px) {
  .badge-3m {
    max-width: 240px;
    padding: 12px 16px;
  }

  .badge-3m__logo {
    height: 28px;
  }

  .badge-3m__header {
    gap: 10px;
    margin-bottom: 6px;
  }

  .badge-3m__label {
    font-size: 12px;
  }

  .badge-3m__type,
  .badge-3m__cert,
  .badge-3m__verification {
    font-size: 9px;
  }
}

.gantry {
  position: relative;
  width: 100%;
  height: 96px;
  margin-bottom: 10px;
}

.gantry__beam {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  height: 6px;
  background: linear-gradient(180deg, #1f2732, #121821);
  border-radius: 5px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.gantry__pole {
  position: absolute;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #2a3441, #141a22);
}

.gantry__pole--left {
  left: 8%;
}

.gantry__pole--right {
  right: 8%;
}

.gantry-sign {
  display: grid;
  gap: 8px;
  place-items: center;
  margin: 0 auto 10px;
  padding: 16px 18px;
  width: min(860px, 92vw);
  border-radius: 14px;
  background: linear-gradient(180deg,
      rgba(12, 18, 26, 0.72),
      rgba(12, 18, 26, 0.6));
  border: 1px solid #1a2430;
  position: relative;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px) saturate(1.1);
}

.gantry-sign::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  background: linear-gradient(90deg,
      rgba(255, 196, 77, 0.14),
      rgba(94, 240, 255, 0.14));
  filter: blur(20px);
  opacity: 0.18;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.lights-on .gantry-sign::after {
  opacity: 0.45;
}

.gantry-sign__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.02) 40%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.02) 60%,
      transparent 100%);
  transform: translateX(-120%);
}

.lights-on .gantry-sign__sweep {
  animation: sheenSweep 3.6s ease-in-out infinite;
}

@keyframes headlight {
  0% {
    transform: translateX(-120%);
  }

  40% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

.hero__title {
  font-size: 3rem !important;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display-xl);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: var(--space-1) 0 var(--space-2);
}

.hero__title .accent {
  color: var(--brand);
}

.hero__title .thin {
  font-weight: 300;
  opacity: 0.92;
}

.hero__lede {
  color: var(--muted);
  font-size: var(--text-body);
  max-width: 640px;
  margin: var(--space-3) auto var(--space-5);
  line-height: var(--leading-body);
}

.hero__brand {
  margin: 8px 0 12px;
}

.hero__logo {
  display: block;
  margin: 0 auto;
  max-width: min(220px, 70vw);
  height: auto;
  object-fit: contain;
}

.hero__cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Remove sign clutter in new hero */
.hero-signs {
  display: none !important;
}

.kinetic .line {
  display: inline-block;
}

.kinetic.is-visible .line {
  animation: kineticSlide 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.kinetic.is-visible .line:nth-child(1) {
  animation-delay: 0.02s;
}

.kinetic.is-visible .line:nth-child(2) {
  animation-delay: 0.12s;
}

.kinetic.is-visible .line:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes kineticSlide {
  from {
    transform: translateY(110%) skewY(6deg);
    opacity: 0;
  }

  to {
    transform: translateY(0) skewY(0deg);
    opacity: 1;
  }
}

.scroll-cue {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

/* Smoother transition between hero and about */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  background: linear-gradient(180deg,
      rgba(11, 13, 16, 0) 0%,
      rgba(11, 13, 16, 0.6) 60%,
      rgba(11, 13, 16, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

.section--scrolly::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(180deg,
      rgba(11, 13, 16, 1) 0%,
      rgba(11, 13, 16, 0.6) 60%,
      rgba(11, 13, 16, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Reflective green tag for SAFE — refined */
.tag-reflect {
  --intensity: 0;
  /* 0..1 controlled by JS proximity */
  position: relative;
  display: inline-grid;
  place-items: center;
  padding: 10px 16px;
  margin: 0 8px;
  border-radius: 14px;
  background: linear-gradient(180deg,
      rgba(13, 35, 22, 0.45),
      rgba(15, 44, 26, 0.35));
  border: 1px solid color-mix(in oklab, #18a34a 45%, #0c1a11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 26px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  backdrop-filter: blur(8px) saturate(1.2);
}

/* subtle micro-prismatic texture */
.tag-reflect::marker {
  content: none;
}

.tag-reflect .tag-reflect__label {
  position: relative;
  z-index: 1;
}

.tag-reflect::before,
.tag-reflect::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tag-reflect::before {
  background:
    radial-gradient(240px 240px at var(--rx, 50%) var(--ry, 50%),
      rgba(206, 255, 232, calc(0.1 + 0.55 * var(--intensity))),
      rgba(34, 197, 94, 0) 66%),
    radial-gradient(200px 200px at var(--rx, 50%) var(--ry, 50%),
      rgba(34, 197, 94, calc(0.08 + 0.4 * var(--intensity))),
      rgba(34, 197, 94, 0) 58%);
  mix-blend-mode: screen;
  filter: saturate(1.1) brightness(1.06) blur(0.3px);
}

.tag-reflect::after {
  background:
    radial-gradient(60% 150% at 50% 0%,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.018) 0 1px,
      rgba(0, 0, 0, 0) 1px 8px),
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.018) 0 1px,
      rgba(0, 0, 0, 0) 1px 8px);
  opacity: 0.7;
  mix-blend-mode: overlay;
  filter: contrast(1.05) saturate(1.1);
}

.tag-reflect__label {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f0fff6;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.38);
}

.tag-reflect:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 26px rgba(0, 0, 0, 0.4);
}

.scroll-cue .wheel {
  animation: wheel 2s ease-in-out infinite;
}

@keyframes wheel {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

.section {
  padding: clamp(var(--space-8), 10vw, var(--space-10)) 0;
  background: var(--bg);
  overflow-x: clip;
}

.section--alt {
  background: var(--bg-alt);
}

/* Make section 06 transparent to reveal shared road background */
[data-section="06"] {
  background: transparent;
}

/* Mask/hard background for section 05 so road is hidden under it */
[data-section="05"] {
  background: var(--bg-alt);
  position: relative;
  z-index: 2;
}

/* Shared road background spanning sections 05 & 06 */
.multi-road {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 0;
}

.multi-road .road-canvas {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.9;
}

[data-section="05"],
[data-section="06"],
.section--cta,
.footer,
.barrier-divider {
  isolation: isolate;
}

.multi-road .road-canvas {
  z-index: -1;
}

[data-section] {
  position: relative;
  z-index: 1;
}

/* Account for sticky header when scrolling to anchors */
section[id] {
  scroll-margin-top: 80px;
}

/* Scrollytelling About */
.section--scrolly {
  position: relative;
}

/* Background image for about section */
.about-bg-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/backgrounds/slider-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6) contrast(1.1) saturate(0.9);
}

.about-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(11, 13, 16, 0.6) 0%,
      rgba(11, 13, 16, 0.5) 30%,
      rgba(11, 13, 16, 0.4) 60%,
      rgba(11, 13, 16, 0.65) 100%);
  backdrop-filter: blur(1px);
}

.section--scrolly .about-road-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.section--scrolly .about-road-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Road drawing inside the About section background */
.section--scrolly .about-road-svg .road-ribbon {
  fill: none;
  stroke: url(#aboutRoadGrad);
  stroke-width: 120;
  opacity: 0.9;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.section--scrolly .about-road-svg .road-centerline {
  fill: none;
  stroke: #ffd166;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 12 22;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.25));
  opacity: 0.78;
}

/* Standards decorative road background */
.standards-road-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  overflow: hidden;
}

.standards-road-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.standards-road-svg .road-ribbon-2 {
  fill: none;
  stroke: url(#standardsRoadGrad);
  stroke-width: 120;
  opacity: 0.9;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.standards-road-svg .road-centerline-2 {
  fill: none;
  stroke: #ffd166;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 12 22;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.25));
  opacity: 0.78;
}

.barrier-divider {
  position: relative;
  z-index: 35;
  height: 140px;
  background: var(--bg-alt);
  border: 0;
  margin: 0;
  line-height: 0;
  pointer-events: none;
}

.barrier-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Make divider sit flush with the start of section 04 */
[data-section="04"] {
  padding-top: 0;
}

.scrolly {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 960px) {
  .scrolly {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.scrolly__steps {
  display: grid;
  gap: 32px;
}

.scrolly__steps .step {
  background: rgba(15, 20, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    var(--shadow),
    0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  opacity: 0.55;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.step-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(15, 20, 26, 0.95),
      rgba(10, 15, 20, 0.9));
  border: 2px solid rgba(94, 240, 255, 0.25);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 30px rgba(94, 240, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}

.step-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%,
      rgba(94, 240, 255, 0.1),
      transparent 60%);
  pointer-events: none;
}

.step-icon svg {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.step-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.scrolly__steps .step.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: color-mix(in oklab, var(--brand) 35%, var(--line));
}

.scrolly__steps .step.is-active .step-icon {
  border-color: rgba(94, 240, 255, 0.5);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(94, 240, 255, 0.15);
  transform: scale(1.02);
}

.scrolly__steps .step:hover .step-icon {
  border-color: rgba(94, 240, 255, 0.4);
  transform: scale(1.08);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 35px rgba(94, 240, 255, 0.12);
}

.scrolly__figure {
  position: sticky;
  top: clamp(60px, 12vh, 120px);
  height: max(50vh, 460px);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 20, 26, 0.9);
  box-shadow:
    var(--shadow),
    0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 10px;
}

.scrolly__scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  padding: 18px;
}

.scene.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Scene variants */
.scene--auth .auth-badge {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}

.scene--auth .auth-badge .label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene--auth .auth-badge .value {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--brand);
}

.scene--map .india-map {
  aspect-ratio: 1 / 1.1;
  width: min(520px, 90%);
}

/* Brand road visualization */
/* Removed inner scrolly road; section-wide road is handled by .about-road-bg */

/* Highway sign style badge panel (re-usable) */
.panel-badge {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 22px 26px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border: 1px solid var(--sign-border);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.panel-badge .label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-badge .value {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--success);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.panel-badge::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(60% 60% at 50% 20%,
      rgba(34, 197, 94, 0.14),
      transparent 60%);
  filter: blur(14px);
  opacity: 0.35;
  pointer-events: none;
}

/* Icon panels for scrolly scenes */
.panel-icon {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04));
  border: 1px solid color-mix(in oklab, var(--brand) 35%, var(--line));
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  inline-size: min(420px, 88%);
  min-height: 260px;
  grid-template-rows: 140px auto;
  align-content: start;
}

.panel-icon__ico {
  display: grid;
  place-items: center;
  width: 100%;
  height: 140px;
  filter: drop-shadow(0 6px 20px rgba(94, 240, 255, 0.18)) drop-shadow(0 8px 22px rgba(255, 196, 77, 0.12));
}

.panel-icon__ico svg {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.panel-icon__text {
  text-align: center;
  min-height: 64px;
  display: grid;
  align-content: start;
}

.panel-icon__text .label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-icon__text .value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3.2vw, 28px);
  color: var(--text);
  letter-spacing: 0.01em;
}

.panel-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.panel-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  background:
    radial-gradient(50% 60% at 50% 0%,
      rgba(94, 240, 255, 0.16),
      rgba(94, 240, 255, 0) 70%),
    radial-gradient(40% 50% at 50% 0%,
      rgba(255, 196, 77, 0.12),
      rgba(255, 196, 77, 0) 70%);
  filter: blur(18px);
  opacity: 0.35;
  pointer-events: none;
}

.panel-icon__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(255, 255, 255, 0.14) 50%,
      rgba(255, 255, 255, 0.05) 60%,
      transparent 100%);
  transform: translateX(-130%);
  animation: sheenSweep 4s ease-in-out infinite;
  border-radius: inherit;
}

@keyframes panelSweep {
  0% {
    transform: translateX(-130%);
  }

  40% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

/* About icon animations — namespaced */
.about-ico__check,
.about-ico__check-v2 {
  stroke-dasharray: 200 200;
  stroke-dashoffset: 200;
}

.scene.is-visible .about-ico__check,
.scene.is-visible .about-ico__check-v2 {
  animation: aboutDrawCheck 0.9s ease forwards 0.15s;
}

@keyframes aboutDrawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.about-ico--auth,
.about-ico--auth-v2 {
  transform-origin: 60px 48px;
}

.scene[data-scene="1"].is-visible .about-ico--auth,
.scene[data-scene="1"].is-visible .about-ico--auth-v2 {
  animation: aboutAuthPulse 1.8s ease-in-out infinite;
}

@keyframes aboutAuthPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 0, 0, 0));
  }

  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 16px rgba(255, 0, 0, 0.25));
  }
}

.about-ico--truck .about-ico__wheel,
.about-ico--truck-v2 .about-ico__wheel {
  transform-origin: center;
}

/* Truck wheel animation removed per request */

.about-ico--presence .about-ico__ring,
.about-ico--presence-v2 .about-ico__ring,
.about-ico--presence-v3 .about-ico__ring,
.about-ico--presence-v4 .about-ico__ring {
  transform-origin: center;
}

.scene.is-visible .about-ico--presence .about-ico__ring,
.scene.is-visible .about-ico--presence-v2 .about-ico__ring,
.scene.is-visible .about-ico--presence-v3 .about-ico__ring,
.scene.is-visible .about-ico--presence-v4 .about-ico__ring {
  animation: aboutPinPulse 2.1s ease-in-out infinite;
}

.scene.is-visible .about-ico--presence .about-ico__node,
.scene.is-visible .about-ico--presence-v2 .about-ico__node,
.scene.is-visible .about-ico--presence-v3 .about-ico__node,
.scene.is-visible .about-ico--presence-v4 .about-ico__node {
  animation: aboutPinGlow 2.1s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * 0.12s);
}

/* subtle wave motion around map */
.about-ico--presence-v3 .about-ico__wave,
.about-ico--presence-v4 .about-ico__wave {
  opacity: 0.3;
}

.scene.is-visible .about-ico--presence-v3 .about-ico__wave,
.scene.is-visible .about-ico--presence-v4 .about-ico__wave {
  animation: aboutWave 2.6s ease-in-out infinite;
}

@keyframes aboutWave {

  0%,
  100% {
    opacity: 0.2;
    transform: translateX(0);
  }

  50% {
    opacity: 0.5;
    transform: translateX(2px);
  }
}

@keyframes aboutPinPulse {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.18;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.42;
  }
}

@keyframes aboutPinGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.32));
  }
}

/* Make the authorization badge feel like a highway sign */
.scene--auth .auth-badge {
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border-color: var(--sign-border);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.scene--auth .auth-badge::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(60% 60% at 50% 20%,
      rgba(34, 197, 94, 0.14),
      transparent 60%);
  filter: blur(14px);
  opacity: 0.35;
  pointer-events: none;
}

.scene--auth .auth-badge .value {
  color: var(--success);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Concept A: Signboard flip-through */
.flip-sign {
  position: relative;
  width: min(640px, 92%);
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border: 1px solid var(--sign-border);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.flip-sign__face {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: #d1f7e6;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.flip-sign__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      transparent,
      rgba(255, 255, 255, 0.06) 40%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.06) 60%,
      transparent);
  transform: translateX(-120%);
  animation: sheenSweep 3.6s ease-in-out infinite;
}

@keyframes flipSweep {
  0% {
    transform: translateX(-120%);
  }

  40% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

/* Concept B: Blueprint → Built */
.blueprint {
  position: relative;
  width: min(720px, 95%);
  height: min(380px, 60vh);
  background: radial-gradient(800px 400px at 30% 30%, #0b1a2a, #07121e);
  border: 1px solid #10263a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#13314a22 1px, transparent 1px),
    linear-gradient(90deg, #13314a22 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
}

.bp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bp-lines path,
.bp-lines rect,
.bp-lines circle {
  fill: none;
  stroke: #5fb1ff;
  stroke-width: 2;
  stroke-dasharray: 4 6;
  opacity: 0.9;
}

.bp-fills .bp-mark {
  fill: #ffd166;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.25));
}

.bp-fills .bp-barrier {
  fill: var(--danger);
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.25));
}

.bp-fills .bp-sign {
  fill: #5ef0ff;
  filter: drop-shadow(0 0 10px rgba(94, 240, 255, 0.25));
}

/* Concept C: Night visibility lab */
.lab {
  background: radial-gradient(800px 400px at 70% 60%,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0) 60%);
}

.lab-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.lab .beam {
  position: absolute;
  left: -30%;
  right: -30%;
  height: 40%;
  top: 40%;
  transform: skewX(-10deg);
  background: radial-gradient(50% 120% at 50% 50%,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 70%);
  filter: blur(2px);
}

.lab .lab-item {
  position: absolute;
  width: 70%;
  height: 12px;
  border-radius: 8px;
  background: #111a24;
  border: 1px solid #1a2a38;
}

.lab .lab-item.mark {
  bottom: 28%;
  height: 8px;
}

.lab .lab-item.studs {
  bottom: 42%;
  height: 10px;
  width: 60%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 10px;
  gap: 12px;
}

.lab .lab-item.studs::before,
.lab .lab-item.studs::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0e141b;
}

.lab .lab-item.sign {
  bottom: 60%;
  height: 16px;
  width: 46%;
}

.lab .lab-item.is-on {
  box-shadow:
    0 0 18px rgba(255, 196, 77, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  background: linear-gradient(180deg, #ffd166, var(--brand-deep));
}

.lab .lab-item.studs.is-on {
  background: transparent;
  box-shadow: none;
}

.lab .lab-item.studs.is-on::before,
.lab .lab-item.studs.is-on::after {
  background: #5ef0ff;
  box-shadow: 0 0 12px rgba(94, 240, 255, 0.4);
}

.lab .lab-item.sign.is-on {
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.28);
}

/* Concept D: Installation conveyor */
.conveyor .belt {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 18px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #0f151c, #0a0f15);
  border: 1px solid var(--metal-border);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.conveyor .cart {
  position: absolute;
  top: calc(50% - 38px);
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  left: calc(6% + (var(--pos) * 88%));
}

/* Concept E: Standards stamp timeline */
.stamps .stamp-tl {
  position: absolute;
  inset: 20% 10%;
  border-top: 2px dashed #2a3442;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stamps .node {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a5acb8;
  background: linear-gradient(180deg, #0d131b, #0a0f15);
  border: 1px solid var(--metal-border);
  box-shadow: var(--shadow);
}

.stamps .node::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 10px);
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.stamps .node.is-stamped {
  color: var(--sign-bg-from);
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  border-color: var(--sign-border);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.28);
}

/* Brand Marquee */
.marquee {
  background: repeating-linear-gradient(90deg,
      #121720 0 28px,
      var(--metal-bg) 28px 56px);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.theme--light .marquee {
  background: repeating-linear-gradient(90deg,
      #f1f5f9 0 28px,
      #ffffff 28px 56px);
}

.marquee__inner {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  color: var(--text);
  opacity: 0.9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 0;
  animation: marquee 20s linear infinite;
}

.marquee__inner span {
  opacity: 0.8;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.grid {
  display: grid;
  gap: 28px;
}

.grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .grid--2 {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

.stack>*+* {
  margin-top: 14px;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  padding: var(--space-5);
}

.stat-card__label {
  color: var(--muted);
  font-size: var(--text-label);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
}

.stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  margin-top: var(--space-1);
}

/* About visualizations */
.about-viz {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-viz {
    grid-template-columns: 1fr;
  }
}

.about-illustration svg .line {
  fill: none;
  stroke: #93a3b8;
  stroke-width: 3;
  stroke-linecap: round;
}

.about-illustration svg .fill.paint {
  fill: #ffd166;
  opacity: 0;
}

.about-illustration svg .fill.barrier {
  fill: var(--danger);
  opacity: 0;
}

.about-illustration svg .stripe {
  fill: repeating-linear-gradient(90deg,
      var(--danger) 0 10px,
      #11151b 10px 20px);
  rx: 4;
  ry: 4;
  opacity: 0;
}

.about-illustration .signtxt {
  font:
    700 22px var(--font-display),
    sans-serif;
  fill: #11151b;
  opacity: 0;
}

.about-illustration [data-built="true"] .fill,
.about-illustration [data-built="true"] .stripe,
.about-illustration [data-built="true"] .signtxt {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.india-map {
  aspect-ratio: 1 / 1.1;
  min-height: 260px;
}

.india-outline {
  stroke-dasharray: 5 6;
}

.project-dots .dot {
  fill: #5ef0ff;
  animation: pulse 2.4s ease-in-out infinite;
}

.project-dots .dot:nth-child(2) {
  animation-delay: 0.3s;
}

.project-dots .dot:nth-child(3) {
  animation-delay: 0.6s;
}

.project-dots .dot:nth-child(4) {
  animation-delay: 0.9s;
}

.project-dots .dot:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    r: 3;
  }

  50% {
    opacity: 1;
    r: 5;
  }
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 800px) {
  .segments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.segment-card {
  padding: var(--space-5);
}

.segment-card__icon {
  font-size: 26px;
}

/* Signboard variants */
.segment-card {
  position: relative;
}

.seg-ico {
  width: 120px;
  height: 90px;
  display: block;
  margin: -6px 0 8px;
}

.seg-ico .stroke {
  fill: none;
  stroke: #93a3b8;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.seg-ico .fill {
  fill: #ffd166;
}

.seg-ico .dash {
  fill: #dbe5f5;
}

.segment-card[data-build] .build {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.segment-card.is-visible .build {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1),
    opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Draw-in animation for strokes when card reveals */
.segment-card.is-visible .seg-ico .stroke {
  animation: drawStroke 0.9s ease forwards;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* Pop-in for fills */
.segment-card .seg-ico .fill {
  transform-origin: center;
  transform: scale(0.6);
  opacity: 0;
}

.segment-card.is-visible .seg-ico .fill {
  animation: popFill 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

@keyframes popFill {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Staggered rise for dashed lane rectangles */
.segment-card .seg-ico .dash {
  transform-origin: center;
  transform: translateY(8px);
  opacity: 0;
}

.segment-card.is-visible .seg-ico .dash {
  animation: riseDash 0.4s ease forwards;
  animation-delay: calc(0.12s * var(--i, 0) + 0.12s);
}

@keyframes riseDash {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hover micro‑interaction: gentle glow on icons */
.segment-card:hover .seg-ico .stroke {
  filter: drop-shadow(0 0 8px rgba(147, 163, 184, 0.35));
}

.segment-card:hover .seg-ico .fill {
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.35));
}

/* Text labels inside SVGs (e.g., STOP) */
.seg-ico .text {
  fill: #e6e9ef;
  font:
    800 12px var(--font-display),
    sans-serif;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(4px);
}

.segment-card.is-visible .seg-ico .text {
  animation: textIn 0.35s ease 0.25s forwards;
}

@keyframes textIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Replay state to re-run animations on hover */
.segment-card.replay .seg-ico .stroke {
  stroke-dashoffset: 100;
  animation: drawStroke 0.9s ease forwards;
}

.segment-card.replay .seg-ico .fill {
  transform-origin: center;
  transform: scale(0.6);
  opacity: 0;
  animation: popFill 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.segment-card.replay .seg-ico .dash {
  transform-origin: center;
  transform: translateY(8px);
  opacity: 0;
  animation: riseDash 0.4s ease forwards;
  animation-delay: calc(0.12s * var(--i, 0) + 0.12s);
}

.segment-card.replay .seg-ico .text {
  opacity: 0;
  transform: translateY(4px);
  animation: textIn 0.35s ease 0.25s forwards;
}

/* Hard stop class to cancel any running animations before replay */
.segment-card.replay-stop .seg-ico .stroke,
.segment-card.replay-stop .seg-ico .fill,
.segment-card.replay-stop .seg-ico .dash,
.segment-card.replay-stop .seg-ico .text {
  animation: none !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .segment-card.is-visible .seg-ico .stroke,
  .segment-card.is-visible .seg-ico .fill,
  .segment-card.is-visible .seg-ico .dash,
  .segment-card.is-visible .seg-ico .text {
    animation: none !important;
  }

  .seg-ico .stroke {
    stroke-dashoffset: 0;
  }

  .segment-card[data-build] .build {
    opacity: 1;
    transform: none;
  }
}

.sign {
  padding-top: 26px;
}

.sign::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 20px;
  right: 20px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, #10151c, #0b0f15);
  border: 1px solid #1b2430;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.04);
}

.sign--warning {
  outline: 2px solid color-mix(in oklab, var(--warning) 13%, transparent);
  box-shadow:
    0 10px 20px #000,
    0 0 0 1px #1b2430 inset;
}

.sign--markings {
  outline: 2px solid color-mix(in oklab, var(--brand-2) 13%, transparent);
}

.sign--regulatory {
  outline: 2px solid color-mix(in oklab, var(--danger) 13%, transparent);
}

.sign--barrier {
  outline: 2px solid #7c3aed22;
}

.sign--studs {
  outline: 2px solid #10b98122;
}

.sign--post {
  outline: 2px solid #a3e63522;
}

.features-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-card__icon {
  margin-bottom: 0;
}

.scroller {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.section--alt #projects .scroller,
#projects .scroller {
  position: relative;
}

#projects .scroller::before,
#projects .scroller::after {
  content: "";
  position: sticky;
  top: 0;
  width: 36px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#projects .scroller::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-alt), rgba(0, 0, 0, 0));
}

#projects .scroller::after {
  right: 0;
  margin-left: auto;
  background: linear-gradient(270deg, var(--bg-alt), rgba(0, 0, 0, 0));
}

/* Labels for before/after slider */
.before-after::before,
.before-after::after {
  position: absolute;
  top: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  font: 700 11px var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d0f12;
  background: #dbe5f5;
  opacity: 0.86;
}

.before-after::before {
  content: "Before";
  left: 10px;
}

.before-after::after {
  content: "After";
  right: 10px;
}

.project-card {
  inline-size: 100%;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.project-card__tag {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* Gantry style cards */
.gantry-card {
  position: relative;
}

.gantry-card::before,
.gantry-card::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 10px;
  height: 36px;
  background: linear-gradient(180deg, #2a3340, #151a21);
  border-radius: 4px;
  pointer-events: none;
}

.gantry-card::before {
  left: 16px;
}

.gantry-card::after {
  right: 16px;
}

/* Ensure poles don't overlap text */
.gantry-card .project-card__tag {
  padding-left: 30px;
}

/* Projects v2 — single-image cards */
.svp-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.svp-card .project-card__media {
  margin-top: auto;
}

.project-card__media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 620 / 670;
  margin-top: 0;
  background: color-mix(in oklab, var(--card) 70%, #000);
  border: 1px solid var(--card-border);
  box-shadow: none;
}

.project-card__media::before {

  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    var(--img, none),
    /* accent glow */
    radial-gradient(120% 80% at 50% -10%,
      rgba(94, 240, 255, 0.18),
      rgba(94, 240, 255, 0) 60%),
    /* modern shapes behind image */
    radial-gradient(80% 60% at 92% 6%,
      var(--svp-shape1, rgba(255, 196, 77, 0.18)),
      rgba(255, 196, 77, 0) 70%),
    radial-gradient(60% 50% at 10% -6%,
      var(--svp-shape2, rgba(94, 240, 255, 0.14)),
      rgba(94, 240, 255, 0) 70%),
    /* extended soft white base (more fading) */
    radial-gradient(200% 170% at 50% 125%,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.9) 42%,
      rgba(255, 255, 255, 0.6) 64%,
      rgba(255, 255, 255, 0.25) 82%,
      rgba(255, 255, 255, 0) 98%),
    /* gentle white lift from bottom for feathering */
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0) 70%),
    /* dark top blend */
    linear-gradient(180deg,
      var(--svp-top, #0e141b) 0%,
      var(--svp-bottom, #141a22) 100%);
  background-size:
    cover,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  background-position: center, center, center, center, center, center, center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.project-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(10, 14, 18, 0) 0%,
      rgba(10, 14, 18, 0.7) 60%,
      rgba(10, 14, 18, 0.95) 100%);
  pointer-events: none;
}

.project-card:hover .project-card__media::before {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}

.svp-card h3 {
  margin: 2px 0 0;
}

.svp-card p {
  margin: 0;
  color: var(--muted);
}

/* Grid layout for projects (no carousel) */
.sv-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  --svp-top: #0e141b;
  --svp-bottom: #141a22;
}

/* Brighter sky-friendly background (white bottom → dark top) */
.sv-projects-grid--bright {
  --svp-top: #0e141b;
  --svp-bottom: #f5f7fb;
}

@media (min-width: 720px) {
  .sv-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .sv-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-card--hidden {
  display: none !important;
}

.projects-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.projects-actions[hidden],
.projects-load-more[hidden] {
  display: none !important;
}

.projects-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  font-weight: 600;
  padding: 12px 28px;
  cursor: pointer;
}

.projects-load-more svg {
  transition: transform var(--duration-fast, 150ms) ease;
}

.projects-load-more:hover svg {
  transform: translateY(2px);
}

.process {
  list-style: decimal-leading-zero inside;
  display: grid;
  gap: 16px;
  counter-reset: step;
  padding: 0;
}

.process-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

/* Process Hub (unique to this section) */
/* Remove hub styles in favor of flow */
/* Process — 4‑Step Gantry Flow */
.section--flow .section-head {
  text-align: center;
}

.section--flow .hang-sign {
  position: relative;
  display: inline-block;
  margin: 0 auto 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border: 1px solid var(--sign-border);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  --hang: clamp(100px, 16vh, 200px);
}

.section--flow .hang-sign .kicker {
  margin: 0;
}

.section--flow .hang-sign .headline {
  margin: 6px 0 0;
}

.section--flow .hang-sign::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(60% 60% at 50% 20%,
      rgba(34, 197, 94, 0.12),
      transparent 60%);
  filter: blur(14px);
  opacity: 0.25;
  pointer-events: none;
}

.section--flow .hang-sign .hanger {
  position: absolute;
  top: -12px;
  width: 14px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, #253144, #141a22);
  border: 1px solid var(--metal-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section--flow .hang-sign .hanger--l {
  left: 22%;
}

.section--flow .hang-sign .hanger--r {
  right: 22%;
}

.section--flow .hang-sign .hanger::after {
  content: "";
  position: absolute;
  top: calc(-1 * (var(--hang) + 12px));
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(var(--hang) + 12px);
  background: var(--metal-border);
  box-shadow: 0 -6px 0 var(--metal-bg);
}

.flow-gantry {
  position: relative;
  width: min(1100px, 96%);
  margin: 0 auto 18px;
  padding: 32px 22px 48px;
  border-radius: 22px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
}

.flow-beam {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 18px;
  height: 6px;
  background: linear-gradient(180deg, #1f2732, #121821);
  border-radius: 5px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.flow-pole {
  position: absolute;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #2a3441, #141a22);
}

.flow-pole--left {
  left: 4%;
}

.flow-pole--right {
  right: 4%;
}

.flow-sign {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid var(--metal-border);
  color: #d1f7e6;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.flow-sign::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 46%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.04) 54%,
      transparent 100%);
  transform: translateX(-120%);
  animation: sheenSweep 6s ease-in-out infinite;
  opacity: 0;
}

.flow-sign .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0a160e;
  border: 1px solid var(--sign-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.flow-sign .ico svg {
  width: 32px;
  height: 32px;
}

/* Make all icon strokes yellow (brand) for clear visibility */
.flow-sign .ico svg [stroke] {
  stroke: var(--brand) !important;
}

.flow-sign .num {
  font: 800 12px var(--font-display);
  letter-spacing: 0.12em;
  color: var(--success);
}

.flow-sign .label {
  font-weight: 700;
  font-size: 18px;
}

.flow-sign .led {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #0a160e;
  border: 1px solid var(--sign-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.flow-sign.is-active .led {
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
  border-color: var(--sign-border);
}

.flow-sign .hanger {
  position: absolute;
  top: -18px;
  width: 14px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, #253144, #141a22);
  border: 1px solid var(--metal-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.flow-sign:nth-of-type(1) .hanger {
  left: 18%;
}

.flow-sign:nth-of-type(2) .hanger {
  left: 42%;
}

.flow-sign:nth-of-type(3) .hanger {
  left: 58%;
}

.flow-sign:nth-of-type(4) .hanger {
  left: 82%;
}

.flow-sign.is-active {
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  border-color: var(--sign-border);
  color: #041309;
  box-shadow:
    0 0 16px rgba(34, 197, 94, 0.26),
    var(--shadow);
}

.flow-sign.is-active::after {
  opacity: 1;
}

.flow-sign:hover {
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
}

.flow-sign:not(.is-active) .label {
  color: var(--muted);
}

.flow-sign:not(.is-active) .ico {
  background: transparent;
  border: 1px solid var(--metal-border);
}

.flow-detail {
  position: relative;
  width: min(1100px, 96%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

/* default progress position to avoid inline style */
.flow-detail {
  --p: 0;
}

.flow-rail {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f151c, #0a0f15);
  border: 1px solid var(--metal-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.flow-dot {
  position: absolute;
  top: -8px;
  left: calc(2% + var(--p, 0) * 96%);
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--brand-2), rgba(94, 240, 255, 0.6));
  box-shadow: 0 0 18px rgba(94, 240, 255, 0.35);
  transform: translateX(-50%);
}

.flow-dot {
  transition: left 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.flow-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 45%,
      transparent 60%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.flow-rail.is-sheening::after {
  animation: sheenSweep 1.2s ease-in-out both;
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  20% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.flow-node {
  height: 12px;
  margin: 0 6px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
}

.flow-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 5px;
  background: var(--metal-border);
  border: 1px solid #263244;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.flow-node.is-active::before {
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  border-color: var(--sign-border);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.22);
}

.flow-node:hover::before {
  border-color: color-mix(in oklab, var(--brand) 40%, #263244);
}

.flow-pane {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.flow-pane.is-active {
  display: block;
  animation: flowIn 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.flow-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 600;
}

/* Inline step viz blocks */
.flow-viz {
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flow-viz svg {
  display: block;
  width: 100%;
  height: 82px;
}

.flow-viz path {
  stroke-width: 2;
}

/* Two-column pane layout with large illustrations */
.flow-pane__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 900px) {
  .flow-pane__grid {
    grid-template-columns: 1fr;
  }
}

.flow-illust {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.illust-svg {
  display: block;
  width: 100%;
  height: min(340px, 46vw);
}

.dash-paint {
  animation: dashRun 2.8s linear infinite;
  stroke-dashoffset: 80;
  animation-play-state: paused;
}

/* Namespaced survey */
.svproc-dash {
  animation: dashRun 2.8s linear infinite;
  stroke-dashoffset: 80;
  animation-play-state: paused;
}

.svproc-illust-survey .svproc-glass {
  animation: glassMove 4s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.svproc-illust-survey .svproc-pins circle {
  animation: pinPulse 2s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes dashRun {
  to {
    stroke-dashoffset: 0;
  }
}

.gear {
  animation: gearSpin 6s linear infinite;
  transform-origin: center;
  animation-play-state: paused;
}

@keyframes gearSpin {
  to {
    transform: translate(120px, 120px) rotate(360deg);
  }
}

.loader {
  stroke-dasharray: 60 240;
  animation: loaderMove 2s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes loaderMove {
  50% {
    stroke-dasharray: 180 120;
  }

  100% {
    stroke-dasharray: 60 240;
  }
}

.paint-progress {
  stroke-dasharray: 80 240;
  animation: paintGrow 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) infinite alternate;
  animation-play-state: paused;
}

@keyframes paintGrow {
  to {
    stroke-dasharray: 220 100;
  }
}

.illust--survey .glass {
  animation: glassMove 4s ease-in-out infinite alternate;
  animation-play-state: paused;
}

@keyframes glassMove {
  0% {
    transform: translate(80px, -10px) rotate(-6deg);
  }

  100% {
    transform: translate(-40px, 10px) rotate(6deg);
  }
}

/* legacy scan effect retained for subtle pulse if needed */
.illust--survey .scan {
  animation: scanPulse 2.4s ease-in-out infinite;
  animation-play-state: paused;
  transform-origin: 160px 110px;
}

@keyframes scanPulse {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.06);
    filter: brightness(1.12);
  }
}

.illust--survey .pins circle {
  animation: pinPulse 2s ease-in-out infinite;
  animation-play-state: paused;
}

@keyframes pinPulse {

  0%,
  100% {
    opacity: 0.8;
    r: 4;
  }

  50% {
    opacity: 1;
    r: 5.2;
  }
}

.illust--survey .scan-sweep {
  animation: sweep 3s linear infinite;
  animation-play-state: paused;
}

@keyframes sweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateX(260px);
    opacity: 0;
  }
}

.illust--approvals .stamp {
  opacity: 0;
  transform: translateY(-6px) scale(0.96) rotate(-4deg);
  transform-origin: 280px 166px;
}

.flow-pane.is-active .illust--approvals .stamp {
  animation: stampIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

@keyframes stampIn {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(1.05) rotate(-6deg);
    filter: blur(2px);
  }

  60% {
    opacity: 1;
    transform: translateY(2px) scale(0.98) rotate(2deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.illust--approvals .big-check {
  stroke-dasharray: 600 600;
  stroke-dashoffset: 600;
  animation: drawBigCheck 0.9s ease forwards;
  animation-play-state: paused;
}

.svproc-illust-approvals .svproc-check {
  stroke-dasharray: 600 600;
  stroke-dashoffset: 600;
  animation: drawBigCheck 0.9s ease forwards;
  animation-play-state: paused;
}

.flow-pane.is-active .svproc-illust-approvals .svproc-stamp {
  animation: stampIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

@keyframes drawBigCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.press .sheet {
  transform-origin: 110px 130px;
  animation: pressFeed 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-play-state: paused;
}

.svproc-illust-production .svproc-sheet {
  transform-origin: 110px 130px;
  animation: pressFeed 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-play-state: paused;
}

@keyframes pressFeed {
  0% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(18px);
  }

  50% {
    transform: translateY(18px);
  }

  85% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

.press .roller {
  animation: rollSpin 1.8s linear infinite;
  animation-play-state: paused;
  transform-origin: center;
}

.svproc-illust-production .svproc-roller {
  animation: rollSpin 1.8s linear infinite;
  animation-play-state: paused;
  transform-origin: center;
}

@keyframes rollSpin {
  to {
    transform: rotate(360deg);
  }
}

.hammer {
  animation: hammerHit 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-play-state: paused;
  transform-origin: 300px 70px;
}

.svproc-illust-production .svproc-hammer {
  animation: hammerHit 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  animation-play-state: paused;
  transform-origin: 300px 70px;
}

@keyframes hammerHit {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(16deg);
  }

  40% {
    transform: rotate(-6deg);
  }

  60% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.sign-install .sign-drop {
  animation: dropSign 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-play-state: paused;
}

.svproc-illust-exec .svproc-sign {
  animation: dropSign 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-play-state: paused;
}

@keyframes dropSign {
  0% {
    transform: translateY(-24px);
  }

  70% {
    transform: translateY(4px);
  }

  85% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0);
  }
}

.sign-install .bolt {
  opacity: 0;
  animation: boltPop 0.9s ease forwards;
  animation-play-state: paused;
}

@keyframes boltPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.sign-install .bolt:nth-of-type(1) {
  animation-delay: 0.5s;
}

.sign-install .bolt:nth-of-type(2) {
  animation-delay: 0.7s;
}

.flow-pane.is-active .dash-paint,
.flow-pane.is-active .gear,
.flow-pane.is-active .loader,
.flow-pane.is-active .paint-progress,
.flow-pane.is-active .illust--survey .glass,
.flow-pane.is-active .svproc-illust-survey .svproc-glass,
.flow-pane.is-active .illust--survey .pins circle,
.flow-pane.is-active .svproc-illust-survey .svproc-pins circle,
.flow-pane.is-active .illust--approvals .big-check,
.flow-pane.is-active .svproc-illust-approvals .svproc-check,
.flow-pane.is-active .illust--approvals .stamp,
.flow-pane.is-active .svproc-illust-approvals .svproc-stamp,
.flow-pane.is-active .press .sheet,
.flow-pane.is-active .svproc-illust-production .svproc-sheet,
.flow-pane.is-active .press .roller,
.flow-pane.is-active .svproc-illust-production .svproc-roller,
.flow-pane.is-active .hammer,
.flow-pane.is-active .svproc-illust-production .svproc-hammer,
.flow-pane.is-active .sign-install .sign-drop,
.flow-pane.is-active .svproc-illust-exec .svproc-sign {
  animation-play-state: running;
}

@keyframes flowIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .flow-gantry {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sliding indicator under active tab */
.flow-tab-indicator {
  position: absolute;
  bottom: 10px;
  left: calc(4% + var(--p, 0) * 92%);
  transform: translateX(-50%);
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 10px rgba(94, 240, 255, 0.25);
  transition: left 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

/* Process hint (unique to Process section) */
.svproc-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px auto 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: var(--shadow);
  font-weight: 600;
  opacity: 0.95;
}

.svproc-hint__hand {
  display: inline-block;
  animation: svprocHand 1.8s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes svprocHand {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-2px) rotate(-6deg);
  }
}

.svproc-hint.is-hidden {
  display: none;
}

/* Clearer focus ring for process tabs */
.flow-sign:focus-visible,
.flow-node:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--brand) 45%, #ffffff);
  outline-offset: 2px;
}

/* Process Theater scenes (still available for reuse elsewhere) */
/* duplicate flip-sign (consolidated earlier in file) removed */

.scene--bp-px .bp-fills .bp-mark {
  animation: popFill 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
  opacity: 0;
}

.scene--bp-px.is-visible .bp-fills .bp-mark {
  opacity: 1;
}

.scene--lab .lab .lab-item {
  opacity: 0.3;
  transition:
    opacity 0.25s ease,
    box-shadow 0.25s ease;
}

.scene--lab.is-visible .lab .lab-item.is-on {
  opacity: 1;
}

.scene--conveyor .belt {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 18px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #0f151c, #0a0f15);
  border: 1px solid var(--metal-border);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.scene--conveyor .cart {
  position: absolute;
  top: calc(50% - 38px);
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  left: calc(6% + (var(--pos, 0.46) * 88%));
  font-weight: 700;
  font-family: var(--font-display);
}

.scene--stamps .stamp-tl .node {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.scene--stamps.is-visible .stamp-tl .node {
  box-shadow: 0 0 16px rgba(255, 196, 77, 0.2);
  transform: translateY(-2px);
}

.section--cta {
  background: linear-gradient(180deg, #0b0d10 0%, #0e1116 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--cta {
  position: relative;
  z-index: 2;
}

.theme--light .section--cta {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

.cta-copy {
  display: grid;
  gap: 12px;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 8px;
}

.cta-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
}

.cta-card {
  box-shadow: var(--shadow);
}

.exit-theme {
  background-image: linear-gradient(180deg, #07100b, #0d160f);
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
}

.exit-sign {
  background: linear-gradient(180deg, #0b2012, #10361c);
  border-color: var(--sign-border);
}

.exit-sign .button--primary {
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  color: #041309;
}

.exit-sign .button--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

.exit-sign .exit-arrow {
  display: inline-block;
  transform: scaleX(-1);
  margin-right: 6px;
}

.exit-sign .field input,
.exit-sign .field textarea {
  background: #0a160e;
  border-color: var(--sign-border);
}

.exit-sign .field input:focus,
.exit-sign .field textarea:focus {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.exit-sign .cta__note {
  color: #9ef7c9;
}

.exit-sign .exit-sign__bracket {
  position: absolute;
  left: -10px;
  top: -10px;
  bottom: -10px;
  width: 6px;
  background: linear-gradient(180deg, #14b86e, #0c8a4b);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.cta-road {
  position: absolute;
  left: 0;
  right: 0;
  height: 160px;
  transform: translateY(-60px);
  background: radial-gradient(60% 60% at 50% 20%,
      rgba(34, 197, 94, 0.15),
      transparent 60%);
  pointer-events: none;
}

.field {
  display: grid;
  gap: 6px;
}

.field--full {
  grid-column: 1/-1;
}

label {
  font-size: 12px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  background: var(--metal-bg);
  color: var(--text);
  border: 1px solid var(--metal-border);
  border-radius: 12px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: color-mix(in oklab, var(--brand) 40%, var(--metal-border));
  box-shadow: 0 0 0 3px rgba(255, 196, 77, 0.12);
}

.theme--light input,
.theme--light textarea {
  background: #ffffff;
  border-color: #e5e7eb;
  color: var(--text);
}

.theme--light input:focus,
.theme--light textarea:focus {
  border-color: color-mix(in oklab, var(--brand) 40%, #e5e7eb);
  box-shadow: 0 0 0 3px rgba(255, 196, 77, 0.18);
}

.contact-wrap {
  display: grid;
  gap: 16px;
}

.contact-hero {
  text-align: center;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.contact-method {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 30%, var(--line));
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03));
}

.contact-method:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 196, 77, 0.16);
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
}

.contact-method__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method__value {
  font-weight: 700;
  font-family: var(--font-display);
}

.contact-main {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Form Card (Left) */
.contact-form-card {
  padding: var(--space-6);
  overflow: hidden;
}

.contact-form {
  position: relative;
  z-index: 1;
}

/* Info Card (Right) */
.contact-info-card {
  padding: var(--space-6);
  overflow: hidden;
  height: fit-content;
  top: 0;
  position: sticky;
}

.contact-info-card::before {
  content: none;
  display: none;
}

.contact-form-card::before {
  content: none;
  display: none;
}

.info-card-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  text-align: center;
  position: relative;
  z-index: 1;
}

.info-card-content {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 25%, var(--line));
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03));
}

.info-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--border));
  border-radius: var(--radius-md);
  color: var(--brand);
  flex-shrink: 0;
}

.info-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}

.info-card-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.info-card-cta .button {
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
}

@media (max-width: 900px) {

  .contact-form-card,
  .contact-info-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .contact-info-card {
    position: static;
  }

  .info-card-cta {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Underline accent for section headlines — About-style brand rule */
.section-head {
  text-align: center;
  margin-bottom: var(--space-7);
}

.section-head .kicker {
  color: var(--brand);
  letter-spacing: 0.14em;
}

.section-head .headline {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-3);
  margin: 0;
  color: var(--text);
}

.section-head .headline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 48px;
  height: 2px;
  border-radius: 0;
  background: var(--brand);
  box-shadow: none;
}

.section-head .body-l {
  margin: var(--space-3) auto 0;
  max-width: 40rem;
  color: var(--muted);
}

/* Remove any residual green theme surfaces */
.exit-theme {
  background: none !important;
}

.cta__note {
  margin: 10px 0 0;
  color: #7ee787;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.25s ease;
}

.cta__note.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer (industrial reference) --------------------------------------- */
.footer {
  --ft-bg: #0b0d10;
  --ft-panel: #10161a;
  --ft-line: color-mix(in oklab, var(--brand) 22%, #2a2f38);
  --ft-text: #e6e9ef;
  --ft-muted: #9aa3b2;
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 72px) 0 0;
  background: var(--ft-bg);
  color: var(--ft-muted);
  border-top: 1px solid var(--ft-line);
  overflow: hidden;
}

.theme--light .footer {
  background: var(--ft-bg);
  color: var(--ft-muted);
  border-top-color: var(--ft-line);
}

.footer__inner {
  position: relative;
  display: grid;
  gap: 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 1.15fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  padding-bottom: clamp(36px, 4vw, 52px);
}

@media (max-width: 1100px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer__main {
    grid-template-columns: 1fr;
  }
}

.footer__col {
  min-width: 0;
}

.footer__brand {
  position: relative;
  padding-right: 8px;
}

.footer__skyline {
  position: absolute;
  inset: -8px 0 auto auto;
  width: min(100%, 280px);
  opacity: 0.08;
  color: #fff;
  pointer-events: none;
  z-index: 0;
}

.footer__skyline svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer__logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 10px;
}

.footer__logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer__tagline {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  line-height: 1.4;
}

.footer__desc {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  max-width: 36ch;
  color: var(--ft-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer__certs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--ft-panel);
  border: 1px solid color-mix(in oklab, var(--brand) 35%, #2a2f38);
  border-radius: 4px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer__cert-ico {
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.footer__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ft-text);
  position: relative;
  padding-bottom: 10px;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand);
}

.footer__title--sub {
  margin-top: 22px;
}

.footer__nav {
  display: grid;
  gap: 2px;
}

.footer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: var(--ft-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-size: 0.92rem;
  transition: color var(--duration-base) var(--ease-out);
}

.footer__nav a:hover {
  color: var(--ft-text);
}

.footer__chev {
  color: var(--brand);
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer__services {
  display: grid;
  gap: 10px;
}

.footer__services a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ft-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: color var(--duration-base) var(--ease-out);
}

.footer__services a:hover {
  color: var(--ft-text);
}

.footer__svc-ico {
  display: inline-grid;
  place-items: center;
  margin-top: 1px;
  color: var(--brand);
  flex-shrink: 0;
}

.footer__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer__meta li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.footer__meta-ico {
  color: var(--brand);
  margin-top: 2px;
}

.footer__meta address {
  font-style: normal;
  color: var(--ft-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer__meta a {
  display: block;
  color: var(--ft-muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer__meta a:hover {
  color: var(--brand);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in oklab, var(--brand) 45%, #2a2f38);
  border-radius: 3px;
  color: var(--brand);
  background: transparent;
  transition:
    background var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out);
}

.footer__social a:hover {
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  border-color: var(--brand);
}

.footer__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.footer__field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  background: #0a0e12;
  border: 1px solid var(--ft-line);
  border-radius: 3px;
}

.footer__field-ico {
  color: var(--brand);
  flex-shrink: 0;
}

.footer__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ft-text);
  font: inherit;
  font-size: 0.88rem;
  padding: 11px 0;
}

.footer__field input::placeholder {
  color: #6b7382;
}

.footer__field:focus-within {
  border-color: color-mix(in oklab, var(--brand) 55%, var(--ft-line));
}

.footer__btn {
  appearance: none;
  border: 0;
  border-radius: 3px;
  padding: 0 16px;
  background: var(--brand);
  color: var(--brand-fg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: filter var(--duration-base) var(--ease-out);
}

.footer__btn:hover {
  filter: brightness(1.06);
}

.footer__note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--brand);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.25s ease;
}

.footer__note.show {
  opacity: 1;
  transform: translateY(0);
}

/* Values strip */
.footer__values {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(22px, 3vw, 30px) 0;
  border-top: 1px solid var(--ft-line);
}

.footer__hazard {
  position: absolute;
  left: 0;
  top: -1px;
  width: 72px;
  height: 3px;
  background: repeating-linear-gradient(-45deg,
      var(--brand) 0 5px,
      transparent 5px 10px);
}

.footer__value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.footer__value-ico {
  color: var(--brand);
  margin-top: 2px;
}

.footer__value strong {
  display: block;
  margin: 0 0 4px;
  color: var(--ft-text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

.footer__value p {
  margin: 0;
  color: var(--ft-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .footer__values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer__values {
    grid-template-columns: 1fr;
  }
}

/* Bottom bar */
.footer__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--ft-line);
}

.footer__copy {
  margin: 0;
  color: #7a8494;
  font-size: 0.78rem;
  white-space: nowrap;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.footer__legal a {
  color: #8b94a3;
  text-decoration: none;
  font-size: 0.78rem;
  padding: 0 10px;
  border-right: 1px solid #3a4250;
}

.footer__legal a:first-child {
  padding-left: 0;
}

.footer__legal a:last-child {
  border-right: 0;
  padding-right: 0;
}

.footer__legal a:hover {
  color: var(--brand);
}

.footer__legal a[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.footer__slashes {
  width: 56px;
  height: 10px;
  background: repeating-linear-gradient(-45deg,
      #3a4250 0 3px,
      transparent 3px 7px);
  opacity: 0.7;
}

@media (max-width: 800px) {
  .footer__bar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .footer__legal {
    justify-content: flex-start;
  }

  .footer__copy {
    white-space: normal;
  }

  .footer__slashes {
    display: none;
  }
}

.mt-12 {
  margin-top: 12px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Split text animations */
.split-lines {
  --delay: 0.02s;
  --stagger: 0.035s;
  display: inline-block;
  overflow: hidden;
}

.split-lines .line {
  display: block;
  transform: translateY(100%);
  opacity: 0;
}

.split-lines.is-visible .line {
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1),
    opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.split-lines.is-visible .line:nth-child(1) {
  transition-delay: calc(var(--delay) + var(--stagger) * 0);
}

.split-lines.is-visible .line:nth-child(2) {
  transition-delay: calc(var(--delay) + var(--stagger) * 1);
}

.split-lines.is-visible .line:nth-child(3) {
  transition-delay: calc(var(--delay) + var(--stagger) * 2);
}

.split-lines.is-visible .line:nth-child(4) {
  transition-delay: calc(var(--delay) + var(--stagger) * 3);
}

.split-lines.is-visible .line:nth-child(5) {
  transition-delay: calc(var(--delay) + var(--stagger) * 4);
}

/* Utilities */
[data-section] {
  position: relative;
}

.img--placeholder {
  object-fit: contain;
  background: var(--surface);
  padding: 12px;
}

/* Global hover reflection for interactive surfaces */
:is(.button,
  .segment-card,
  .feature-card,
  .project-card,
  .stat-card,
  .process-step,
  .brand,
  .nav__link,
  .icon-toggle) {
  position: relative;
  --hover-i: 0;
  /* 0..1 controlled via JS on hover */
}

:is(.button,
  .segment-card,
  .feature-card,
  .project-card,
  .stat-card,
  .process-step,
  .brand,
  .nav__link,
  .icon-toggle)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at var(--hx, 50%) var(--hy, 50%),
      rgba(255, 255, 255, calc(0.02 + 0.18 * var(--hover-i))),
      rgba(255, 255, 255, 0) 60%),
    radial-gradient(340px 240px at var(--hx, 50%) var(--hy, 50%),
      rgba(255, 196, 77, calc(0 + 0.1 * var(--hover-i))),
      rgba(255, 196, 77, 0) 66%);
  mix-blend-mode: screen;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.site-header .nav__link::after {
  content: "";
  inset: auto;
  left: 14px;
  right: 14px;
  bottom: 4px;
  top: auto;
  width: auto;
  height: 2px;
  border-radius: 0;
  background: var(--brand);
  mix-blend-mode: normal;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-out);
}

.site-header .nav__link:hover::after {
  transform: scaleX(0.45);
}

.site-header .nav__link.is-active::after {
  transform: scaleX(1);
}

:is(.button,
  .segment-card,
  .feature-card,
  .project-card,
  .stat-card,
  .process-step,
  .brand,
  .nav__link,
  .icon-toggle).is-hovering {
  --hover-i: 1;
}

/* Gentle movement for text links/brand */
.nav__link:hover {
  transform: translateY(-1px);
}

.site-header .nav__link:hover {
  transform: none;
}

.brand:hover {
  transform: translateY(-1px);
}

.site-header .brand:hover {
  transform: none;
}

.icon-toggle:hover {
  transform: translateY(-1px);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {

  .button,
  .segment-card,
  .feature-card,
  .project-card {
    transition: none !important;
  }

  .reveal,
  .split-lines .line {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Section road divider */
/* Soft micro‑prismatic sheen for Segments (subtle, non-literal) */
.soft-sheen {
  position: relative;
  overflow: hidden;
}

.soft-sheen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.012) 0 1px,
      rgba(0, 0, 0, 0) 1px 10px),
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.012) 0 1px,
      rgba(0, 0, 0, 0) 1px 10px);
  opacity: 0.6;
  pointer-events: none;
}

.soft-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 46%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.04) 54%,
      transparent 100%);
  transform: translateX(-120%);
  animation: sheenSweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sheenSweep {
  0% {
    transform: translateX(-120%);
  }

  45% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

/* Standards section enhancements */
.standards {
  display: grid;
  gap: 20px;
}

.standards--v2 .section-head {
  margin-bottom: 6px;
}

.standards-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

@media (min-width: 980px) {
  .standards-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* Credibility card */
.cred-card {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0c1219, #0a0f15);
  border: 1px solid var(--metal-border);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.cred-card__brand {
  display: inline-block;
  font: 800 13px var(--font-display);
  letter-spacing: 0.16em;
  color: var(--success);
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border: 1px solid var(--sign-border);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow:
    0 0 18px rgba(34, 197, 94, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.cred-card__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cred-card__sheen {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 60% at 20% 0%,
      rgba(255, 196, 77, 0.1),
      rgba(255, 196, 77, 0) 70%),
    radial-gradient(60% 50% at 80% 0%,
      rgba(94, 240, 255, 0.1),
      rgba(94, 240, 255, 0) 70%);
  filter: blur(18px);
  opacity: 0.6;
  pointer-events: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.stat-pill {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-pill__value {
  display: block;
  font: 700 20px var(--font-display);
}

.stat-pill__label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

/* Compliance rail */
.rail {
  position: relative;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 16px 22px;
  box-shadow: var(--shadow);
}

.rail-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.rail-step {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 8px;
  border-radius: 12px;
}

.rail-step.is-done {
  background: linear-gradient(180deg,
      rgba(34, 197, 94, 0.06),
      rgba(34, 197, 94, 0.03));
  border: 1px solid var(--sign-border);
}

.rail-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--metal-bg);
  border: 2px solid var(--metal-border);
  margin-top: 6px;
  box-shadow: 0 0 0 3px rgba(94, 240, 255, 0.08);
}

.rail-step.is-done .rail-dot {
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  border-color: var(--sign-border);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.22);
}

.rail-copy h3 {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 18px);
  font-family: var(--font-display);
}

.rail-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.rail-progress {
  position: absolute;
  left: 22px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: #223042;
  border-radius: 2px;
  overflow: hidden;
}

.rail-progress>span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 46%;
  background: linear-gradient(180deg, var(--brand-2), rgba(94, 240, 255, 0.3));
  filter: drop-shadow(0 0 10px rgba(94, 240, 255, 0.35));
}

/* Timeline polish for Standards */
.timeline {
  margin-top: 8px;
}

.timeline svg {
  display: block;
}

.tl-road {
  stroke: #223042;
  stroke-width: 2;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.tl-progress {
  stroke: var(--brand-2);
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(94, 240, 255, 0.35));
}

.tl-nodes text {
  font:
    600 12px Inter,
    system-ui;
  fill: var(--muted);
}

.tl-nodes circle {
  fill: var(--metal-bg);
  stroke: var(--metal-border);
}

/* Compliance Passport */
.standards-passport {
  display: grid;
  gap: 16px;
}

.passport {
  position: relative;
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, #0c1219, #0a0f15);
  border: 1px solid var(--metal-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.passport::after {
  content: "";
  position: absolute;
  inset: -12px;
  background:
    radial-gradient(60% 40% at 80% -10%,
      rgba(255, 196, 77, 0.1),
      rgba(255, 196, 77, 0) 70%),
    radial-gradient(50% 40% at 0% -10%,
      rgba(94, 240, 255, 0.12),
      rgba(94, 240, 255, 0) 70%);
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
}

.passport__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.passport__band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
}

@media (min-width: 820px) {
  .passport__band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.band-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
}

.band-item__ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0e141b, #0a1016);
  border: 1px solid var(--metal-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.band-item__text {
  display: grid;
  gap: 2px;
}

.band-item__label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band-item__value {
  font-weight: 700;
  font-family: var(--font-display);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dbe5f5;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tag-chip--green {
  color: #d1f7e6;
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border-color: var(--sign-border);
  box-shadow:
    0 0 16px rgba(34, 197, 94, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.passport__meter {
  position: relative;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pm-road {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 30px;
  height: 6px;
  background: linear-gradient(180deg, #0f151c, #0a0f15);
  border: 1px solid var(--metal-border);
  border-radius: 999px;
}

.pm-progress {
  position: absolute;
  left: 6%;
  top: 30px;
  height: 6px;
  width: 46%;
  background: linear-gradient(90deg, var(--brand-2), rgba(94, 240, 255, 0.4));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(94, 240, 255, 0.35);
}

.pm-nodes {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-node {
  font: 700 11px var(--font-display);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.pm-node.is-done {
  color: #041309;
  background: linear-gradient(180deg, var(--success), var(--success-deep));
  border-color: var(--sign-border);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.22);
}

.passport__seal {
  position: absolute;
  right: -24px;
  top: 36px;
  transform: rotate(12deg);
  font: 800 clamp(34px, 10vw, 72px) var(--font-display);
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--success) 55%, var(--sign-bg-to));
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  opacity: 0.12;
  pointer-events: none;
}

.passport__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

@media (min-width: 960px) {
  .passport__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.passport__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.passport__checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.tick {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border: 1px solid var(--sign-border);
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 14px rgba(34, 197, 94, 0.18);
}

.tick::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: 3px 4px;
  border-bottom: 2px solid var(--success);
  border-right: 2px solid var(--success);
  transform: rotate(45deg) translate(-1px, -1px);
  border-radius: 1px;
}

.passport__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spec {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 8px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.spec__ico {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: var(--metal-bg);
  border: 1px solid var(--metal-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.spec dt {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec dd {
  margin: 0;
  font-weight: 600;
  font-family: var(--font-display);
}

.passport__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doc-chip__ico {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--sign-bg-from), var(--sign-bg-to));
  border: 1px solid var(--sign-border);
  color: var(--success);
}

.doc-chip__label {
  font-weight: 600;
}

/* Micro-interactions */
.band-item:hover {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03));
}

.band-item__ico {
  transition: transform 0.25s ease;
}

.band-item:hover .band-item__ico {
  transform: translateY(-2px);
}

.spec {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.spec:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 35%, var(--line));
}

/* Stamp-in animation for passport seal */
.passport {
  --seal-scale: 0.92;
  --seal-opacity: 0;
}

.passport.is-visible .passport__seal {
  animation: stampIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

@keyframes stampIn {
  0% {
    transform: rotate(12deg) scale(1.18);
    opacity: 0;
    filter: blur(3px);
  }

  60% {
    transform: rotate(12deg) scale(0.96);
    opacity: 0.22;
    filter: blur(0);
  }

  100% {
    transform: rotate(12deg) scale(1);
    opacity: 0.12;
  }
}

/* Mini reflective sign chips (unique) */
.sv-signchip {
  display: none;
}

/* Decorative side plates */
/* Decorative side plates retained for potential reuse, hidden by default */
.sv-decor-sign {
  display: none;
}

/* Decorative traffic signboards removed per request */
.sv-signboard {
  display: none !important;
}

/* ========== About Us — reference layout ========== */
.section--about {
  position: relative;
  padding: clamp(var(--space-8), 10vw, var(--space-10)) 0;
  overflow: visible;
  background-image: url("../images/backgrounds/slider-1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 12, 16, 0.92) 0%,
      rgba(10, 12, 16, 0.85) 30%,
      rgba(10, 12, 16, 0.8) 70%,
      rgba(10, 12, 16, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.section--about>* {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section--about {
    background-attachment: scroll;
  }

  .section--about::before {
    background: linear-gradient(135deg,
        rgba(10, 12, 16, 0.95) 0%,
        rgba(10, 12, 16, 0.88) 30%,
        rgba(10, 12, 16, 0.85) 70%,
        rgba(10, 12, 16, 0.95) 100%);
  }
}

.signboards-bg,
.signboard {
  display: none !important;
}

.about-v2 {
  display: grid;
  gap: var(--space-7);
}

.about-v2__top {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 960px) {
  .about-v2__top {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--space-7);
  }
}

.about-v2__kicker {
  color: var(--brand);
  margin-bottom: var(--space-2);
}

.about-v2__headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}

.about-v2__headline::after {
  display: none !important;
}

.about-v2__intro {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.about-v2__marker {
  width: 10px;
  height: 10px;
  margin-top: 0.45em;
  background: var(--brand);
  flex-shrink: 0;
}

.about-v2__intro-copy {
  display: grid;
  gap: var(--space-3);
}

.about-v2__intro-copy p {
  margin: 0;
  color: var(--text);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.about-v2__intro-copy strong {
  color: var(--text);
  font-weight: 700;
}

.about-v2__grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 960px) {
  .about-v2__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-6);
  }
}

.about-v2__aside {
  display: grid;
  gap: var(--space-4);
  position: relative;
}

@media (min-width: 960px) {
  .about-v2__aside {
    position: sticky;
    top: clamp(88px, 14vh, 120px);
    align-self: start;
  }
}

.about-v2__logo-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-3);
  justify-items: center;
  align-content: center;
  min-height: 220px;
  overflow: hidden;
}

.about-v2__logo {
  display: block;
  width: min(360px, 100%);
  max-width: 100%;
  height: auto;
}

.about-v2__hatch {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 48px;
  background: repeating-linear-gradient(-45deg,
      transparent 0 4px,
      color-mix(in oklab, var(--brand) 55%, transparent) 4px 5px);
  opacity: 0.55;
  pointer-events: none;
  mask-image: linear-gradient(135deg, transparent 20%, #000 70%);
}

.about-v2__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  position: relative;
  padding-bottom: 0;
}

.about-card {
  position: sticky;
  top: clamp(88px, 14vh, 120px);
  z-index: calc(10 + var(--stack-i, 0));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 38%);
  gap: var(--space-4);
  align-items: start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  overflow: hidden;
  min-width: 0;
  min-height: 300px;
  margin-bottom: 40vh;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.about-card.is-active {
  border-color: color-mix(in oklab, var(--brand) 55%, #2a2f38);
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px color-mix(in oklab, var(--brand) 18%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .about-v2__cards {
    padding-bottom: 0;
  }

  .about-card {
    position: relative;
    top: auto;
    margin-bottom: var(--space-4);
    min-height: 0;
  }
}

.about-card::before,
.about-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--brand);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}

.about-card::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.about-card::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 1px 1px 0;
}

.about-card__content {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
  position: relative;
  z-index: 1;
  padding-top: var(--space-1);
}

.about-card__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 140px;
  align-self: center;
}

.about-card__art img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.about-card--qa .about-card__content {
  align-content: start;
}

.about-card--qa .about-card__brands {
  margin-top: var(--space-3);
}

.about-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-card__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.about-card__head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #fff;
}

.about-card__content>p {
  margin: 0;
  color: #c8ced8;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.about-card__rule {
  border: 0;
  border-top: 1px dashed color-mix(in oklab, var(--brand) 35%, #3a4250);
  margin: var(--space-1) 0;
}

.about-card__accent {
  color: var(--brand) !important;
  font-weight: 600;
  font-size: var(--text-sm) !important;
  line-height: 1.45 !important;
}

.about-card__content strong {
  color: var(--brand);
  font-weight: 600;
}

.about-card__brands {
  margin-top: var(--space-2);
  max-width: 280px;
}

.about-card__brands img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .about-v2__cards {
    padding-bottom: 0;
    gap: 16px;
  }

  .about-card {
    position: relative;
    top: auto;
    margin-bottom: 0;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .about-card__art {
    order: -1;
    max-width: 220px;
    margin-inline: auto;
  }
}

.theme--light .section--about {
  background-image: url("../images/backgrounds/slider-1.jpg");
}

.theme--light .about-card,
.theme--light .about-v2__logo-card {
  background: #10161a;
  border-color: color-mix(in oklab, var(--brand) 32%, #333);
}

.theme--light .about-card__head h3,
.theme--light .about-v2__headline {
  color: #fff;
}

.theme--light #about > p {
  color: #0f172a;
}

.theme--light .about-card__content>p,
.theme--light .about-v2__intro-copy p {
  color: #c8ced8;
}

/* Legacy about hooks superseded by about-v2 */

.signboard {
  position: absolute;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.signboard--warning {
  background: linear-gradient(135deg, var(--warning), #d97706);
  color: #ffffff;
  animation-delay: -1s;
}

.signboard--info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  animation-delay: -2s;
}

.signboard--regulatory {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: #ffffff;
  animation-delay: -3s;
}

.signboard--guide {
  background: linear-gradient(135deg, var(--success), var(--success-deep));
  color: #ffffff;
  animation-delay: -4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }

  50% {
    transform: translateY(-10px) rotate(var(--rotation, 0deg));
  }
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 960px) {
  .about-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}

.about-main {
  text-align: center;
}

@media (min-width: 960px) {
  .about-main {
    text-align: left;
  }
}

.about-logo-display {
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 960px) {
  .about-logo-display {
    justify-content: flex-start;
  }
}

.about-logo {
  max-width: 280px;
  height: auto;
  filter: brightness(1.1) contrast(1.05);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.1);
}

.about-details {
  display: grid;
  gap: 32px;
}

.about-intro {
  display: grid;
  gap: 16px;
}

.about-feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.about-feature:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 30%, var(--line));
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(255, 196, 77, 0.1),
      rgba(94, 240, 255, 0.1));
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-shrink: 0;
}

.delivery-process {
  margin-top: 16px;
}

.process-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .process-flow {
    justify-content: flex-start;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
}

.step-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--brand-fg);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

.process-step span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

.process-arrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  margin: 0 4px;
}

/* Expandable Segments */
.expandable-segment {
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.segment-expand {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  border-top: 1px solid transparent;
}

.expandable-segment.expanded .segment-expand {
  max-height: 800px;
  padding-top: 20px;
  border-top-color: var(--line);
}

.segment-photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.segment-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.expandable-segment:hover .segment-photo img {
  transform: scale(1.02);
}

.segment-details h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

.segment-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.segment-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
}

.segment-details li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--success), var(--success-deep));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* Clients Section */
.section--clients {
  background: var(--bg-alt);
}

.clients-showcase {
  display: grid;
  gap: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.client-card {
  padding: var(--space-5) var(--space-4);
  text-align: center;
  overflow: hidden;
}

.client-card::before {
  content: none;
  display: none;
}

.client-logo {
  margin-bottom: 20px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 196, 77, 0.08),
      transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.client-card:hover .client-logo::before {
  opacity: 1;
}

.client-logo img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

.client-card:hover .client-logo {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 196, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.client-card:hover .client-logo img {
  transform: scale(1.08);
  filter: brightness(1.15) contrast(1.08);
}

/* Special styling for different logo formats */
.client-logo img[src$=".png"] {
  /* PNG logos often have transparent backgrounds */
  filter: brightness(1.15) contrast(1.1) saturate(1.05);
}

.client-logo img[src$=".avif"] {
  /* AVIF logos */
  filter: brightness(1.1) contrast(1.05) saturate(0.95);
}

.client-logo img[src$=".jpeg"],
.client-logo img[src$=".jpg"] {
  /* JPEG logos might need slight adjustments */
  filter: brightness(1.1) contrast(1.08) saturate(1.02);
}

/* Light theme adjustments for logos */
.theme--light .client-logo {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.9),
      rgba(248, 250, 252, 0.8));
  border-color: #e5e7eb;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme--light .client-logo::before {
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 196, 77, 0.12),
      transparent 70%);
}

.theme--light .client-logo img {
  filter: brightness(0.95) contrast(1.1) saturate(1.1);
}

.theme--light .client-card:hover .client-logo {
  border-color: color-mix(in oklab, var(--brand) 50%, #e5e7eb);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(255, 196, 77, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.theme--light .client-card:hover .client-logo img {
  filter: brightness(0.9) contrast(1.15) saturate(1.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-logo {
    height: 80px;
    padding: 12px;
  }

  .client-logo img {
    max-width: 120px;
    max-height: 60px;
  }

  .client-card {
    padding: 20px 16px;
  }
}

/* Loading state for logos */
.client-logo img {
  opacity: 0;
  animation: fadeInLogo 0.6s ease forwards;
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}

/* Error state for broken images */
.client-logo img[src=""],
.client-logo img:not([src]) {
  opacity: 0.3;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 196, 77, 0.1) 10px,
      rgba(255, 196, 77, 0.1) 20px);
}

.client-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.client-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stat-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--brand);
  margin-bottom: 8px;
  line-height: 1.1;
}

.stat-item .stat-number {
  font-size: clamp(22px, 3.6vw, 40px);
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

/* Products Section */
.section--products {
  background: var(--bg);
}

.products-catalog {
  margin-top: 32px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding: 4px;
}

.category-tab {
  padding: 12px 20px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-weight: 600;
}

.category-tab:hover,
.category-tab.active {
  background: var(--brand);
  color: var(--brand-fg);
  border-color: var(--brand);
}

.category-content {
  display: none;
}

.category-content.active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.product-image {
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background: color-mix(in oklab, var(--card) 78%, #000);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-details {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.product-details h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: linear-gradient(135deg,
      rgba(255, 196, 77, 0.1),
      rgba(94, 240, 255, 0.1));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Multi-Step Form */
.multistep-form {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Form Progress Indicator */
.form-progress {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line);
  color: var(--muted);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s ease;
  text-align: center;
  min-width: 80px;
}

.progress-step.active .step-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-color: var(--brand);
  color: var(--brand-fg);
  box-shadow:
    0 6px 20px rgba(255, 196, 77, 0.3),
    0 0 0 4px rgba(255, 196, 77, 0.1);
  transform: scale(1.05);
}

.progress-step.active .step-label {
  color: var(--brand);
}

.progress-step.completed .step-icon {
  background: linear-gradient(135deg, var(--success), var(--success-deep));
  border-color: var(--success);
  color: white;
  box-shadow:
    0 6px 20px rgba(34, 197, 94, 0.3),
    0 0 0 4px rgba(34, 197, 94, 0.1);
}

.progress-step.completed .step-label {
  color: var(--success);
}

.progress-connector {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 16px;
  position: relative;
  overflow: hidden;
}

.progress-connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--success));
  transition: width 0.5s ease;
}

.progress-connector.completed::after {
  width: 100%;
}

.progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 2px;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(255, 196, 77, 0.3);
}

/* Form Steps */
.form-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  padding: 20px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-height: 450px;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.form-step.prev {
  transform: translateX(-20px);
}

.step-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.step-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--text);
}

.step-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.step-content {
  margin-bottom: 32px;
}

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .field-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .progress-steps {
    justify-content: center;
    gap: 20px;
  }

  .progress-connector {
    display: none;
  }

  .step-label {
    font-size: 12px;
    min-width: 60px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-actions .button {
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-actions .prev-step {
  margin-right: auto;
}

.step-actions .next-step,
.step-actions .form-submit {
  margin-left: auto;
}

/* Field styling updates for multi-step */
.multistep-form .field {
  margin-bottom: 20px;
}

.multistep-form .field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.multistep-form .field input,
.multistep-form .field select,
.multistep-form .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
  font-size: 16px;
}

.multistep-form .field input:focus,
.multistep-form .field select:focus,
.multistep-form .field textarea:focus {
  border-color: var(--brand);
  box-shadow:
    0 0 0 3px rgba(255, 196, 77, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Form validation styling */
.multistep-form .field.error input,
.multistep-form .field.error select,
.multistep-form .field.error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.multistep-form .field.error label {
  color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.field.error .field-error {
  display: block;
}

/* Light theme adjustments */
.theme--light .multistep-form .field input,
.theme--light .multistep-form .field select,
.theme--light .multistep-form .field textarea {
  background: #ffffff;
  border-color: #e5e7eb;
  color: var(--text);
}

.theme--light .multistep-form .field input:focus,
.theme--light .multistep-form .field select:focus,
.theme--light .multistep-form .field textarea:focus {
  border-color: var(--brand);
  box-shadow:
    0 0 0 3px rgba(255, 196, 77, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.file-upload-area {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--brand);
  background: rgba(255, 196, 77, 0.05);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-help {
  display: grid;
  gap: 8px;
  place-items: center;
  color: var(--muted);
}

.file-upload-help svg {
  opacity: 0.6;
}

.file-upload-help span {
  font-weight: 600;
}

.file-upload-help small {
  font-size: 12px;
  opacity: 0.8;
}

.form-submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 200px;
}

/* --- Comprehensive Visual Fixes --- */

/* 1. About section weirdness: svg borders, alignment */
.about-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.about-feature .feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.about-feature .feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--card) 90%, white 10%);
  border-radius: 12px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }

  .about-main {
    position: sticky;
    top: 120px;
  }
}

.about-logo-display {
  margin-top: 32px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  justify-content: center;
}

/* 2. Process Section overlaps and gaps */
.process-timeline {
  display: grid;
  gap: 24px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
}

@media (min-width: 768px) {
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* 3. Business Segments Hover Expandable behaviour */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.segment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.segment-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.segment-card>p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
}

.segment-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.4s ease,
    margin-top 0.4s ease;
}

.segment-expand>div {
  overflow: hidden;
}

.segment-card.expanded .segment-expand {
  grid-template-rows: 1fr;
  margin-top: 16px;
}

.segment-photo {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.segment-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Light theme tokens live in :root block above */

/* Base Light Theme Adjustments */
.theme--light .hero__bg {
  background: var(--bg);
}

.theme--light .bg-noise {
  opacity: 0.03;
  mix-blend-mode: multiply;
}

.theme--light .bg-gradient {
  opacity: 0.4;
}

/* Lanes */
.theme--light .lane {
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
  background: repeating-linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0 26px,
      rgba(0, 0, 0, 0.12) 26px 46px);
}

.theme--light .lane--center {
  background: repeating-linear-gradient(to bottom,
      rgba(245, 158, 11, 0) 0 18px,
      rgba(245, 158, 11, 0.8) 18px 38px);
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.2));
}

/* Components Backgrounds & Borders */
.theme--light .about-feature,
.theme--light .standard-card,
.theme--light .timeline-step,
.theme--light .segment-card,
.theme--light .project-card,
.theme--light .product-card,
.theme--light .contact-form-card,
.theme--light .contact-info-card,
.theme--light .about-logo-display,
.theme--light .client-card,
.theme--light .feature-card,
.theme--light .service-stage-card {
  background: var(--card);
  border-color: var(--card-border);
  box-shadow: var(--elev-1);
}

/* Icon backgrounds */
.theme--light .about-feature .feature-icon {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

/* Text Colors */
.theme--light h1,
.theme--light h2,
.theme--light h3,
.theme--light .headline,
.theme--light .subheadline,
.theme--light .contact-method__value {
  color: var(--text);
}

.theme--light p,
.theme--light .body-l,
.theme--light .step-description {
  color: var(--muted);
}

/* Tags and Chips */
.theme--light .project-card__tag,
.theme--light .spec-tag {
  background: color-mix(in oklab, var(--muted) 8%, var(--card));
  color: var(--muted);
  border: 1px solid var(--card-border);
}

.theme--light .step-content .spec-tag {
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  color: #b45309;
  border: 0;
}

/* Images and Media */
.theme--light .product-image {
  background: color-mix(in oklab, var(--card) 92%, #cbd5e1);
}

.theme--light .project-card__media {
  background: color-mix(in oklab, var(--card) 88%, #cbd5e1);
}

/* Process Numbers */
.theme--light .timeline-step .step-number {
  color: var(--brand);
}

/* Contact Section & Footer — footer stays industrial dark in both themes */
.theme--light .footer {
  background: #0b0d10;
  border-top-color: color-mix(in oklab, var(--brand) 22%, #2a2f38);
  color: #9aa3b2;
}

.theme--light .nav {
  background: transparent;
}

/* Miscellaneous visual polish */
.product-description {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 15px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.standard-card {
  transition: transform 0.3s ease;
}

.standard-card:hover {
  transform: translateY(-4px);
}

/* --- Responsive & Bug Fixes --- */

/* Fix standard-card responsive grid */
@media (max-width: 768px) {
  .standards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Fix product-card responsive grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Fix client-grid responsive */
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* Ensure the Contact split layout breaks gracefully on mobile */
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }
}

/* Ensure about layout stacks on mobile */
@media (max-width: 900px) {
  .about-layout {
    display: flex;
    flex-direction: column;
  }

  .about-main {
    position: relative;
    top: 0;
  }
}

/* Adjust timeline step on mobile */
@media (max-width: 768px) {
  .timeline-step {
    padding: 24px !important;
    gap: 16px !important;
  }

  .timeline-step .step-number {
    font-size: 1.5rem !important;
  }
}

/* Fix any lingering weird spacing in the reordered sections */
#products {
  padding-top: 80px;
  padding-bottom: 80px;
}

#process {
  padding-top: 80px;
  padding-bottom: 80px;
}

#standards {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Ensure the contact methods don't overlap on weird screen sizes */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.contact-method {
  padding: var(--space-4);
  text-decoration: none;
}

.contact-method__label {
  display: block;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-micro);
  color: var(--brand);
  margin-bottom: 4px;
}

.contact-method__value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Standards Section Enhancements --- */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  margin-top: 48px;
}

.standard-card {
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.standard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.standard-card:hover::before {
  opacity: 1;
}

.standard-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg,
      rgba(255, 196, 77, 0.1),
      rgba(255, 178, 31, 0.05));
  color: var(--brand);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 196, 77, 0.2);
}

.standard-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.standard-desc {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

/* Ensure Light Theme displays these properly */
.theme--light .standard-card {
  background: var(--card);
  border-color: var(--card-border);
  box-shadow: none;
}

.theme--light .standard-card:hover {
  border-color: var(--card-border-hover);
}

.theme--light .standard-icon {
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  border-color: color-mix(in oklab, var(--brand) 28%, var(--border));
  color: #b45309;
}

/* Contact Step Icon Center Fix */
.step-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  display: block;
  margin: 0 auto;
}

/* Process section — light mode fixes */
.theme--light [data-section="06"],
.theme--light #process {
  background: var(--bg-alt);
}

.theme--light .section--flow .hang-sign {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}

.theme--light .section--flow .hang-sign::after {
  background: radial-gradient(60% 60% at 50% 20%,
      rgba(255, 196, 77, 0.18),
      transparent 60%);
  opacity: 0.5;
}

.theme--light .section--flow .hang-sign .headline {
  color: var(--text);
}

.theme--light .section--flow .section-head .body-l {
  color: var(--muted);
}

.theme--light .multi-road .road-canvas {
  opacity: 0.2;
}

/* Additional Light Theme Fixes for Icons and SVGs */
.theme--light .process-step-icon {
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  color: #b45309;
  border-color: color-mix(in oklab, var(--brand) 28%, var(--border));
}

/* Ensure step icons inside the progress bar are clear in light mode */
.theme--light .progress-step .step-icon {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #64748b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.theme--light .progress-step.active .step-icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-color: var(--brand);
  color: var(--brand-fg);
}

.theme--light .progress-step.completed .step-icon {
  background: linear-gradient(135deg, var(--success), var(--success-deep));
  border-color: var(--success);
  color: #ffffff;
}

/* Ensure all random SVG icons inside the step indicator have the correct display inline */
.theme--light .step-icon svg,
.theme--light .process-step-icon svg {
  stroke-width: 2.5;
  /* slightly thicker for readability */
}

.theme--light .info-icon {
  color: var(--brand);
  background: rgba(245, 158, 11, 0.1) !important;
}

/* Fix text colors inside form labels, select options, and dropdown backgrounds in light mode */

.theme--light .field label {
  color: #334155 !important;
  /* slate-700 */
}

.theme--light select {
  color: var(--text) !important;
  background-color: #ffffff !important;
}

.theme--light select option,
.theme--light select optgroup {
  background-color: #ffffff !important;
  color: var(--text) !important;
}

.theme--light ::placeholder {
  color: #94a3b8 !important;
  /* slate-400 */
}

.theme--light .contact-hero p {
  color: var(--muted) !important;
}

/* Ensure the contact methods container text colors don't wash out */
.theme--light .contact-method__label {
  color: #64748b !important;
  /* slate-500 */
}

.theme--light .contact-method__value {
  color: #0f172a !important;
  /* slate-900 */
}

.theme--light .step-label {
  color: #64748b !important;
}

.theme--light .progress-step.active .step-label {
  color: #d97706 !important;
  /* amber-600 */
}

.theme--light .progress-step.completed .step-label {
  color: #15803d !important;
  /* green-700 */
}

/* --- Light Mode Kicker & Text Contrast Fixes --- */
/* The default brand yellow (#ffc44d) is invisible on white backgrounds as text */
.theme--light .kicker {
  color: #d97706 !important;
  /* amber-600 */
}

/* Fix timeline step numbers that were using the invisible yellow */
.theme--light .timeline-step .step-number {
  color: #d97706 !important;
}

/* Fix About Us SVG icons hardcoded strokes lacking contrast */
.theme--light .about-feature:nth-of-type(1) .feature-icon svg circle,
.theme--light .about-feature:nth-of-type(1) .feature-icon svg path {
  stroke: #0284c7 !important;
  /* light blue instead of cyan */
}

.theme--light .about-feature:nth-of-type(2) .feature-icon svg circle,
.theme--light .about-feature:nth-of-type(2) .feature-icon svg path {
  stroke: #d97706 !important;
  /* amber instead of yellow */
}

.theme--light .about-feature:nth-of-type(3) .feature-icon svg circle,
.theme--light .about-feature:nth-of-type(3) .feature-icon svg path {
  stroke: var(--success-deep) !important;
  /* darker green */
}

/* Tone down the background signboards in light mode */
.theme--light .signboards-bg {
  opacity: 0.05 !important;
}

/* Make sure strong tags inside body-l look right in light mode */
.theme--light .body-l strong {
  color: #1e293b !important;
  /* slate-800 */
}

/* Ensure the about main title is very prominent */
.theme--light .about-main .headline {
  color: #0f172a !important;
}

/* Fix SVG brand icon color in light mode if it relies on text color */
.theme--light .brand__mark {
  color: #d97706 !important;
}

/* Fix Standards SVG icons hardcoded strokes lacking contrast */
.theme--light .standard-card:nth-child(1) .standard-icon svg path {
  stroke: var(--success-deep) !important;
  /* darker green instead of light green */
}

.theme--light .standard-card:nth-child(2) .standard-icon svg path,
.theme--light .standard-card:nth-child(2) .standard-icon svg circle,
.theme--light .standard-card:nth-child(2) .standard-icon svg line {
  stroke: #d97706 !important;
  /* amber instead of yellow */
}

.theme--light .standard-card:nth-child(3) .standard-icon svg path,
.theme--light .standard-card:nth-child(3) .standard-icon svg circle,
.theme--light .standard-card:nth-child(3) .standard-icon svg polyline,
.theme--light .standard-card:nth-child(3) .standard-icon svg rect {
  stroke: #0284c7 !important;
  /* light blue instead of cyan */
}

/* Ensure process steps SVGs are dark enough */
.theme--light .process-step-icon svg {
  stroke: #0f172a !important;
  /* dark slate */
}

/* Fix background image overlay in About section for light mode */
.theme--light .section--about::before {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.85) 30%,
      rgba(255, 255, 255, 0.8) 70%,
      rgba(255, 255, 255, 0.92) 100%) !important;
}

/* ========== Gallery Carousel ========== */
.section--gallery {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--gallery[hidden],
.gallery-empty[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gallery-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.gallery-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  outline: none;
  touch-action: pan-y;
}

.gallery-carousel__viewport:focus-visible {
  box-shadow:
    var(--shadow),
    0 0 0 2px color-mix(in oklab, var(--brand-2) 55%, transparent);
}

.gallery-carousel__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-carousel__track.is-dragging {
  transition: none;
}

.gallery-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #0e141b, #0a1016);
}

.gallery-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 16, 0.82));
  color: #e6e9ef;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.theme--light .gallery-carousel__caption {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72));
}

.gallery-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.gallery-carousel__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  flex-shrink: 0;
}

.gallery-carousel__btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 45%, var(--line));
  color: var(--brand);
}

.gallery-carousel__btn:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

.gallery-carousel__btn:active {
  transform: translateY(0);
}

.gallery-carousel__nav-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 120px;
  user-select: none;
}

.gallery-carousel__counter {
  font-family: var(--font-display, "Sui Generis", sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.gallery-carousel__counter-current {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.gallery-carousel__counter-divider {
  color: var(--text-muted);
  opacity: 0.6;
  font-weight: 400;
}

.gallery-carousel__counter-total {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gallery-carousel__progress-track {
  width: 120px;
  height: 4px;
  background: color-mix(in oklab, var(--line) 70%, var(--muted));
  border-radius: var(--radius-pill, 999px);
  overflow: hidden;
  position: relative;
}

.gallery-carousel__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: var(--radius-pill, 999px);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(255, 196, 77, 0.35);
}

.theme--light .gallery-carousel__progress-track {
  background: rgba(0, 0, 0, 0.1);
}

.gallery-empty {
  text-align: center;
  margin: 8px auto 0;
  max-width: 36ch;
}

@media (max-width: 640px) {
  .gallery-carousel__slide {
    aspect-ratio: 4 / 3;
  }

  .gallery-carousel__btn {
    width: 40px;
    height: 40px;
  }

  .gallery-carousel__controls {
    gap: 14px;
  }

  .gallery-carousel__progress-track {
    width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel__track,
  .gallery-carousel__progress-bar {
    transition: none;
  }

  .gallery-carousel__btn {
    transition: none;
  }
}

/* ========== Why Signverse — reference layout ========== */
.section--why {
  background: var(--bg);
}

.why-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand);
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.why-head__kicker span {
  opacity: 0.85;
  letter-spacing: 0;
}

.why-head__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: var(--space-2) 0 var(--space-3);
}

.why-head__brand {
  color: var(--brand);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.why-head .headline::after,
.why-head__title::after {
  display: none;
}

.why-head__brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  box-shadow: 0 0 12px color-mix(in oklab, var(--brand) 45%, transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card--featured {
    grid-column: 1 / -1;
    max-width: 540px;
    justify-self: center;
    width: 100%;
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-card--featured {
    grid-column: 2;
    max-width: none;
  }
}

.why-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: #06080c;
  border: 1px solid color-mix(in oklab, var(--brand) 42%, #1a1a1a);
  border-radius: var(--radius-md);
  box-shadow: none;
  overflow: visible;
  min-width: 0;
  transition:
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.why-card:hover {
  transform: var(--lift-sm);
  border-color: color-mix(in oklab, var(--brand) 70%, var(--border));
  box-shadow: var(--elev-1);
}

.why-card::before,
.why-card::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brand) 55%, transparent);
  pointer-events: none;
}

.why-card::before {
  top: 10px;
  right: 10px;
}

.why-card::after {
  bottom: 10px;
  left: 10px;
}

.why-card__num {
  position: absolute;
  top: -11px;
  left: 14px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  background: #06080c;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.why-card__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
}

.why-card__visual::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle,
      color-mix(in oklab, var(--brand) 22%, transparent),
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.why-card__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.why-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 0;
}

.why-card__body h3 {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}

.why-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px color-mix(in oklab, var(--brand) 50%, transparent);
  flex-shrink: 0;
}

.why-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.why-card--featured {
  width: 100%;
}

@media (max-width: 520px) {
  .why-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: var(--space-6);
  }

  .why-card__visual {
    max-width: 160px;
    margin-inline: auto;
  }
}

.theme--light .section--why {
  background: var(--bg);
}

.theme--light .why-card {
  background: #06080c;
  border-color: color-mix(in oklab, var(--brand) 45%, #333);
}

.theme--light .why-card__num {
  background: #06080c;
  color: var(--brand);
}

.theme--light .why-card__body h3 {
  color: #fff;
}

.theme--light .why-card__body p {
  color: #a5acb8;
}

.theme--light .why-card__visual {
  background: transparent;
}

.theme--light .section--why .section-head .headline,
.theme--light .section--why .why-head__title {
  color: var(--text);
}

.theme--light .section--why .section-head .body-l {
  color: var(--muted);
}

.expertise-grid,
.fabrication-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {

  .expertise-grid,
  .fabrication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .expertise-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fabrication-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.expertise-card p,
.fabrication-grid .feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-stage-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--text);
}

.service-stage-card .feature-card__icon {
  color: var(--brand);
}

.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--text);
}

.services-stages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px) {
  .services-stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-stage-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.service-stage-card>p {
  color: var(--muted);
  margin: 0;
}

.service-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.service-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.auth-3m-panel {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg,
      rgba(255, 196, 77, 0.08),
      rgba(94, 240, 255, 0.06));
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .auth-3m-panel {
    grid-template-columns: auto 1fr;
    gap: 28px;
  }
}

.auth-3m-badge {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-3m-badge img {
  max-width: 64px;
  height: auto;
  filter: brightness(1.05);
}

.theme--light .auth-3m-badge img {
  filter: none;
}

.auth-3m-copy .body-l {
  margin: 0 0 14px;
}

.auth-3m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-3m-tags .spec-tag {
  background: rgba(255, 196, 77, 0.12);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 720px) {
  .industries-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.industry-chip {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 72px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.industry-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
}

.method-flow {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: none;
}

@media (min-width: 640px) {
  .method-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .method-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  #workflow .method-flow {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.method-step {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.method-step__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 700;
}

.method-step strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

.method-step span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-map {
  margin: 18px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
  aspect-ratio: 21 / 9;
  min-height: 220px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.theme--light .contact-map iframe {
  filter: none;
}

.contact-profile-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.theme--light .auth-3m-panel {
  background: linear-gradient(135deg,
      rgba(255, 196, 77, 0.12),
      rgba(14, 165, 233, 0.06));
}

.theme--light .industry-chip,
.theme--light .method-step,
.theme--light .auth-3m-badge {
  background: var(--card);
}

/* ==========================================================================
   Design system refinements — primitives applied across sections
   ========================================================================== */

.body-l.text-body,
.about-intro .body-l,
.about-feature .body-l {
  color: var(--text);
}

/* about-v2 owns About typography; legacy about-main/feature rules disabled */

.tag-row {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.process-timeline--spaced {
  margin-top: var(--space-7);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 80px;
  padding-top: var(--space-1);
}

.process-step-icon {
  border-radius: var(--radius-pill);
  width: 64px;
  height: 64px;
}

.process-step-icon--sm {
  width: 48px;
  height: 48px;
  margin: var(--space-1) 0;
}

.process-step-icon--sm svg {
  width: 22px;
  height: 22px;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.step-content p {
  color: var(--muted);
  line-height: var(--leading-body);
  margin: 0;
}

.timeline-step {
  padding: var(--space-5);
  gap: var(--space-5);
}

.product-image {
  background: color-mix(in oklab, var(--card) 78%, #000);
  border-radius: 0;
  overflow: hidden;
}

.product-img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3,
.project-card h3,
.svp-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-2);
}

.project-card p,
.svp-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-body);
}

.project-card__media {
  border-radius: var(--radius-md);
}

.projects-grid-auto,
.sv-projects-grid.projects-grid-auto {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {

  .projects-grid-auto,
  .sv-projects-grid.projects-grid-auto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {

  .projects-grid-auto,
  .sv-projects-grid.projects-grid-auto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.method-step .process-step-icon {
  margin-inline: auto;
}

/* Mid-section background restraint */
#segments .standards-road-bg,
#work-stages .standards-road-bg {
  opacity: 0.14;
}

/* Alias legacy sheen keyframes to shared motion */
@keyframes headlight {
  0% {
    transform: translateX(-120%);
  }

  40% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes panelSweep {
  0% {
    transform: translateX(-130%);
  }

  40% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes flipSweep {
  0% {
    transform: translateX(-120%);
  }

  40% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  20% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Form fields from tokens */
.field label {
  font-size: var(--text-label);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  padding: var(--space-3) var(--space-4);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--brand) 50%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 18%, transparent);
}

.theme--light .field input,
.theme--light .field select,
.theme--light .field textarea {
  background: var(--bg);
}

/* ==========================================================================
   Component skins — structured from About panel language
   ========================================================================== */

.segment-card {
  padding: var(--space-5);
  gap: var(--space-3);
}

.segment-photo {
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.method-step {
  padding: var(--space-4);
  text-align: center;
  display: grid;
  gap: var(--space-2);
  justify-items: center;
}

.method-step strong {
  color: var(--text);
  font-size: var(--text-sm);
}

.method-step span {
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: 1.45;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
}

.step-content p {
  color: var(--muted);
  margin: 0;
}

.product-card h3,
.project-card h3,
.svp-card h3,
.product-details h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.category-tab {
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  transition:
    border-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    background var(--duration-base) var(--ease-out);
}

.category-tab:hover,
.category-tab.is-active {
  border-color: color-mix(in oklab, var(--brand) 45%, var(--card-border));
  color: var(--brand);
  background: color-mix(in oklab, var(--brand) 10%, transparent);
}

/* About stays industrial in light mode */
.theme--light .section--about {
  --card: #10161a;
  --card-border: color-mix(in oklab, var(--brand) 30%, #2a2f38);
  --card-border-hover: color-mix(in oklab, var(--brand) 55%, #2a2f38);
  --text: #0f172a;
  --muted: #0f172aa0;
}

/* --- Theme Toggle Switch --- */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  margin-right: 1rem;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
  margin: 0;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card-border-hover);
  transition: .4s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.slider.round {
  border-radius: 28px;
}

.slider .icon-sun,
.slider .icon-moon {
  font-size: 14px;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.slider-thumb {
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: var(--brand);
  transition: .4s;
  border-radius: 50%;
  z-index: 2;
}

input:checked+.slider .slider-thumb {
  transform: translateX(28px);
}