@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  /* Void — near-black navy for cinematic dark surfaces */
  --void: #05060f;
  --void-raised: #0a0c1c;

  /* Brand navy, sampled from the Pendios mark */
  --navy-950: #0f0e3f;
  --navy-900: #1b1a6e;
  --navy-800: #262584;
  --navy-700: #34349a;

  /* Brand cyan, sampled from the mark's signal swoosh */
  --cyan-700: #0a6b85;
  --cyan-600: #0e7f9e;
  --cyan-500: #1fb2d9;
  --cyan-400: #4fd3f2;
  --cyan-100: #e3f6fb;

  /* Certification / credential accent — used only for compliance badges */
  --amber: #e0a341;
  --amber-100: rgba(184, 118, 15, 0.14);

  /* Dark-first theme: void canvas, light ink, elevated surfaces read as slightly lighter panels */
  --ink: #eef1fa;
  --ink-muted: #9aa5c4;
  --ink-faint: #6b7592;

  --canvas: var(--void);
  --surface: #0c0f20;
  --surface-soft: #10142a;
  --surface-sunk: #05060f;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.22);

  --on-void: #f3f5fb;
  --on-void-muted: #9aa5c4;
  --on-void-border: rgba(255, 255, 255, 0.12);

  --max-width: 1160px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5.5rem;
  --space-8: 8rem;

  --font-display: "Poppins", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Poppins", "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Bright mode — flips the entire site to a light theme: canvas, panels, header,
   footer, and the cinematic photo overlays all invert together. Only the photos
   themselves are swapped separately (via data-cine), everything else here. */
html[data-mode="off"] {
  --void: #ffffff;
  --void-raised: #f4f5f9;
  --canvas: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #eef1f8;
  --surface-sunk: #e6e9f2;
  --ink: #12142a;
  --ink-muted: #4c5474;
  --ink-faint: #6b7290;
  --border: rgba(15, 17, 40, 0.12);
  --border-strong: rgba(15, 17, 40, 0.24);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h3,
h4 {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

.container-narrow {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1360px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin: 0 0 var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 2px;
  background: var(--cyan-500);
  flex-shrink: 0;
}

.eyebrow.on-dark {
  color: #8fe0f2;
}

/* ---------------------------------- header ---------------------------------- */

.site-header {
  background: rgba(5, 6, 15, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out-soft), border-color 0.35s var(--ease-out-soft),
    box-shadow 0.35s var(--ease-out-soft), backdrop-filter 0.35s var(--ease-out-soft);
}

.site-header.is-scrolled {
  background: rgba(5, 6, 15, 0.82);
  border-bottom-color: var(--on-void-border);
  box-shadow: 0 12px 30px rgba(2, 3, 10, 0.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

html[data-mode="off"] .site-header {
  background: rgba(255, 255, 255, 0.72);
  color: #12142a;
}

html[data-mode="off"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 30px rgba(15, 17, 40, 0.12);
}

html[data-mode="off"] .brand img {
  filter: none;
}

html[data-mode="off"] .nav-toggle {
  background: rgba(15, 17, 40, 0.06);
  border-color: rgba(15, 17, 40, 0.18);
  color: #12142a;
}

html[data-mode="off"] .nav-list > li > a,
html[data-mode="off"] .nav-dropdown-trigger {
  color: rgba(15, 17, 40, 0.62);
}

html[data-mode="off"] .nav-list a:hover,
html[data-mode="off"] .nav-list a:focus-visible,
html[data-mode="off"] .nav-list .active,
html[data-mode="off"] .nav-dropdown-trigger:hover,
html[data-mode="off"] .nav-dropdown-trigger:focus-visible,
html[data-mode="off"] .nav-dropdown.is-open .nav-dropdown-trigger {
  color: #12142a;
}

html[data-mode="off"] .light-mode-toggle {
  color: rgba(15, 17, 40, 0.55);
}

html[data-mode="off"] .light-mode-toggle-track {
  background: rgba(15, 17, 40, 0.08);
  border-color: rgba(15, 17, 40, 0.2);
}

html[data-mode="off"] .light-mode-toggle-thumb {
  background: rgba(15, 17, 40, 0.5);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-list > li > a,
.nav-dropdown-trigger {
  text-decoration: none;
  color: var(--on-void-muted);
  font-weight: 600;
  background: none;
  border: none;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  padding: 0.4rem 0.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-list > li > a::after,
.nav-dropdown-trigger::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  right: 0.05rem;
  bottom: -0.1rem;
  height: 1.5px;
  background: var(--cyan-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out-soft);
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown.is-open .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list .active::after,
.nav-dropdown:hover .nav-dropdown-trigger::before,
.nav-dropdown.is-open .nav-dropdown-trigger::before {
  transform: scaleX(1);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list .active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: #fff;
}

.nav-list .active {
  box-shadow: inset 0 -2px 0 var(--cyan-500);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  min-width: 258px;
  background: var(--void-raised);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(2, 3, 10, 0.55);
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  display: none;
  z-index: 110;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--surface-soft);
  color: var(--cyan-600);
}

html[data-mode="off"] .nav-dropdown-menu a:hover,
html[data-mode="off"] .nav-dropdown-menu a:focus-visible {
  color: var(--cyan-700);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

/* ---------------------------------- light mode toggle ---------------------------------- */

.light-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.3rem 0.4rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.light-mode-toggle-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.light-mode-toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.light-mode-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.light-mode-toggle[aria-pressed="true"] .light-mode-toggle-track {
  background: rgba(94, 234, 255, 0.16);
  border-color: var(--cyan-400);
}

.light-mode-toggle[aria-pressed="true"] .light-mode-toggle-thumb {
  transform: translateX(18px);
  background: var(--cyan-400);
  box-shadow: 0 0 10px rgba(79, 211, 242, 0.7);
}

.light-mode-toggle:hover .light-mode-toggle-track {
  border-color: var(--cyan-400);
}

/* ---------------------------------- buttons ---------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button.primary {
  background: var(--cyan-500);
  color: #05060f;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--cyan-400);
  box-shadow: 0 10px 26px rgba(31, 178, 217, 0.32);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.on-light {
  border-color: var(--border-strong);
  color: var(--ink);
}

.button.on-light:hover,
.button.on-light:focus-visible {
  border-color: var(--cyan-400);
  background: var(--surface-soft);
}

.button.ghost {
  color: var(--cyan-400);
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

.button.ghost::after {
  content: "\2192";
  transition: transform 0.2s var(--ease);
}

.button.ghost:hover::after,
.button.ghost:focus-visible::after {
  transform: translateX(3px);
}

.button.ghost.on-dark {
  color: #8fe0f2;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 3px;
}

/* ---------------------------------- hero (home, full-bleed cinematic) ---------------------------------- */

.hero-cinematic {
  position: relative;
  background: var(--void);
  color: #fff;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}

.hero-cinematic.is-compact {
  min-height: 56vh;
}

.hero-cinematic.is-compact .container-wide {
  padding-top: calc(76px + var(--space-5));
  padding-bottom: var(--space-5);
}

.hero-cinematic.is-compact h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  max-width: 22ch;
}

.hero-cinematic-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-cinematic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-cinematic-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 4, 12, 0.55) 0%, rgba(3, 4, 12, 0.15) 30%, rgba(3, 4, 12, 0.5) 78%, var(--void) 100%);
}

html[data-mode="off"] .hero-cinematic-media::after {
  background: linear-gradient(
    180deg,
    rgba(3, 4, 12, 0.55) 0%,
    rgba(3, 4, 12, 0.15) 30%,
    rgba(3, 4, 12, 0.55) 78%,
    rgba(3, 4, 12, 0.55) 92%,
    #ffffff 100%
  );
}

html[data-mode="off"] .hero-cinematic h1,
html[data-mode="off"] .hero-cinematic p,
html[data-mode="off"] .hero-readout,
html[data-mode="off"] .hero-feature span {
  text-shadow: 0 2px 16px rgba(2, 3, 10, 0.55);
}

.hero-cinematic-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 20% 30%, black, transparent 70%);
  opacity: 0.5;
}

.hero-cinematic .container-wide {
  position: relative;
  z-index: 2;
  padding-top: calc(76px + var(--space-6));
  padding-bottom: var(--space-6);
}

.hero-readout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-void-muted);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--on-void-border);
}

.hero-readout span + span {
  color: var(--cyan-400);
}

.hero-cinematic h1 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 15ch;
}

.hero-cinematic h1 span {
  display: block;
}

.hero-cinematic h1 .hero-line-accent {
  color: var(--cyan-400);
}

.hero-divider {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--cyan-400);
  margin: 0 0 var(--space-4);
  border-radius: 2px;
}

.hero-cinematic p {
  max-width: 46ch;
  color: var(--on-void-muted);
  margin: 0 0 var(--space-4);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);
  margin: var(--space-5) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--on-void-border);
  list-style: none;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-feature svg {
  width: 22px;
  height: 22px;
  color: var(--cyan-400);
  flex-shrink: 0;
}

.hero-feature span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--on-void-muted);
  line-height: 1.3;
}

p.hero-tagline {
  max-width: none;
  margin: var(--space-4) 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

/* ---------------------------------- hero (interior pages) ---------------------------------- */

.hero {
  position: relative;
  background: var(--canvas);
  background-image: radial-gradient(ellipse 60% 50% at 88% -10%, rgba(31, 178, 217, 0.16), transparent 60%),
    linear-gradient(rgba(127, 144, 179, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 144, 179, 0.08) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: var(--ink);
  padding: calc(76px + var(--space-5)) 0 var(--space-5);
}

.hero .container {
  max-width: 900px;
  margin-inline: 0;
  margin-left: max(calc((100% - var(--max-width)) / 2), 1rem);
}

.hero h1 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.hero p,
.hero .hero-sub {
  max-width: 58ch;
  color: var(--ink-muted);
  margin-top: 0;
  font-size: 1.05rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.trust-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(184, 118, 15, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  background: var(--amber-100);
}

.hero .trust-badge {
  color: #f0c988;
  border-color: rgba(240, 201, 136, 0.3);
  background: rgba(240, 201, 136, 0.06);
}

/* ---------------------------------- logo strip ---------------------------------- */

.logo-strip {
  padding: var(--space-5) 0;
  background: var(--void);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logo-strip-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.logo-strip-link:hover,
.logo-strip-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
}

.logo-marquee {
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  animation: logo-marquee 52s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

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

.logo-strip-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-shrink: 0;
  padding-right: var(--space-6);
}

.logo-strip-row .logo-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.logo-strip-row .logo-chip:hover {
  opacity: 1;
  color: #fff;
}

.logo-plate {
  flex-shrink: 0;
  height: 56px;
  min-width: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(2, 3, 10, 0.35);
  opacity: 0.82;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

html[data-mode="off"] .logo-plate {
  box-shadow: none;
  border: 1px solid var(--border);
}

.logo-plate:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.logo-plate img {
  max-height: 30px;
  max-width: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-plate.on-black {
  background: #0a0c1c;
  border: 1px solid var(--on-void-border);
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
  }
}

/* ---------------------------------- generic sections ---------------------------------- */

.section {
  padding: var(--space-6) 0;
}

.section-tight {
  padding: var(--space-5) 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.section h3 {
  margin-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.section-subhead {
  margin-top: 0;
  color: var(--ink-muted);
  max-width: 62ch;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

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

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--surface);
}

.card h3 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.card p {
  margin-top: 0;
  margin-bottom: var(--space-3);
  color: var(--ink-muted);
}

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

.service-card {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--cyan-400);
}

.text-link {
  color: var(--cyan-400);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.surface-soft {
  background: linear-gradient(
    180deg,
    var(--canvas) 0%,
    var(--surface-soft) 18%,
    var(--surface-soft) 82%,
    var(--canvas) 100%
  );
}

.section-dark {
  background: var(--void);
  color: var(--ink);
}

.section-dark .section-subhead,
.section-dark p {
  color: var(--ink-muted);
}

.section-dark h2 {
  color: var(--ink);
}

.cta-box {
  background: var(--navy-900);
  background-image: radial-gradient(ellipse at 8% 0%, rgba(31, 178, 217, 0.18), transparent 55%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.cta-box-copy {
  flex: 1 1 360px;
}

.cta-box h2 {
  margin-bottom: var(--space-2);
}

.cta-box p {
  color: #cbd5ec;
  margin: 0;
  max-width: 52ch;
}

.cta-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  flex-shrink: 0;
}

.content-prose p {
  margin-top: 0;
  margin-bottom: var(--space-3);
  max-width: 68ch;
}

.spec-list {
  margin: 0;
  padding-left: 1.1rem;
}

.spec-list li {
  margin-bottom: 0.5rem;
}

/* ---------------------------------- spicy statement (home: scroll reveal) ---------------------------------- */

.spicy-statement {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) 0;
  text-align: center;
  background: var(--void);
  color: var(--ink);
}

.spicy-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: var(--space-4);
}

.spicy-line {
  margin: 0 auto;
  font-weight: 700;
}

.spicy-line-strong {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.spicy-line-muted {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 56ch;
}

.spicy-line .word {
  opacity: 0.2;
  transition: opacity 0.15s linear;
}

.spicy-line-muted .word {
  color: var(--ink-muted);
}

.spicy-line-muted .word.word-accent {
  color: #e0483c;
}

mark.accent-red {
  background: none;
  color: #e0483c;
}

@media (prefers-reduced-motion: reduce) {
  .spicy-line .word {
    opacity: 1;
    transition: none;
  }
}

@media (max-width: 700px) {
  .spicy-statement {
    min-height: auto;
    padding: var(--space-7) 0;
  }
}

/* ---------------------------------- product showcase rows (home: what we build) ---------------------------------- */

.product-showcase-list {
  display: flex;
  flex-direction: column;
  background: var(--void);
  scroll-snap-type: y proximity;
}

.product-showcase-row {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: clip;
  background: var(--void);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
}

.product-showcase-row--lead {
  min-height: 128vh;
}

.product-showcase-lead-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: var(--space-7) var(--space-3) var(--space-8);
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.88) 0%, rgba(5, 6, 15, 0.55) 55%, transparent 100%);
}

.product-showcase-lead-head-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.product-showcase-lead-head h2,
.product-showcase-lead-head .section-subhead {
  text-shadow: 0 2px 20px rgba(2, 3, 10, 0.65);
}

.product-showcase-lead-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

.product-showcase-lead-head .section-subhead {
  color: var(--on-void-muted);
  max-width: 52ch;
  margin: 0 auto;
}

.product-showcase-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.product-showcase-row:hover .product-showcase-media img {
  transform: scale(1.03);
}

.product-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 3, 10, 0.9) 0%, rgba(2, 3, 10, 0.6) 42%, rgba(2, 3, 10, 0.18) 75%);
}

.product-showcase-row.is-reverse .product-showcase-media::after {
  background: linear-gradient(270deg, rgba(2, 3, 10, 0.9) 0%, rgba(2, 3, 10, 0.6) 42%, rgba(2, 3, 10, 0.18) 75%);
}

.product-showcase-row .container-wide {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
}

.product-showcase-row.is-reverse .container-wide {
  display: flex;
  justify-content: flex-end;
}

.product-showcase-copy {
  max-width: 34ch;
}

.product-showcase-row.is-reverse .product-showcase-copy {
  text-align: right;
}

.product-showcase-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: var(--space-2);
}

.product-showcase-copy h3 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 var(--space-3);
}

.product-showcase-copy p {
  color: var(--on-void-muted);
  font-size: 1.02rem;
  margin: 0 0 var(--space-4);
}

/* ---------------------------------- about teaser (home: why pendios), dark ---------------------------------- */

.about-teaser-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-5);
}

.about-teaser-head h2 {
  margin: var(--space-2) 0 0;
}

.about-teaser-cta {
  text-align: center;
  margin-top: var(--space-5);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--on-void-border);
}

.stat-tile {
  padding: var(--space-5) var(--space-3) var(--space-3);
  border-left: 1px solid var(--on-void-border);
}

.stat-tile:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-2);
  text-shadow: 0 0 28px rgba(79, 211, 242, 0.35);
}

.stat-label {
  font-family: var(--font-mono);
  color: var(--ink-muted);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  max-width: 22ch;
}


/* ---------------------------------- product gallery page ---------------------------------- */

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.gallery-tab {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: var(--surface);
  cursor: pointer;
}

.gallery-tab.active,
.gallery-tab:hover {
  color: #05060f;
  background: var(--cyan-500);
  border-color: var(--cyan-500);
}

.gallery-category {
  margin-bottom: var(--space-6);
}

.gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-category-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.gallery-category-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.gallery-category-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 14, 63, 0.1);
  border-color: var(--border-strong);
}

.gallery-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 34px 8px rgba(2, 3, 10, 0.65);
  pointer-events: none;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-3);
  filter: brightness(0.88) contrast(1.05);
}

.gallery-card-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-top: 1px solid var(--border);
}

.gallery-card-body h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.gallery-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.gallery-note {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* ---------------------------------- product detail page ---------------------------------- */

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
}

.product-media {
  position: sticky;
  top: 96px;
}

.product-media-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 10px rgba(2, 3, 10, 0.65);
  pointer-events: none;
}

.product-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  filter: brightness(0.88) contrast(1.05);
}

.product-media-caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: var(--space-2);
  padding: 0 0.2rem;
}

.product-media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* ---------------------------------- lighting catalog (aircraft lighting page) ---------------------------------- */

.lighting-catalog {
  display: grid;
  gap: 0;
}

.lighting-product {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.6s var(--ease-out-soft);
}

.lighting-product:last-child {
  border-bottom: none;
}

/* ---------------------------------- spotlight mode ---------------------------------- */

.spotlight-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(8, 10, 22, 0.85), var(--void) 78%);
  opacity: 0;
  pointer-events: none;
  z-index: 45;
  transition: opacity 0.7s var(--ease-out-soft);
}

.spotlight-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  cursor: zoom-out;
}

.spotlight-overlay::after {
  content: "Tap anywhere to switch off";
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-void-muted);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.3s;
}

.spotlight-overlay.is-active::after {
  opacity: 0.8;
}

.lighting-product.is-spotlit {
  z-index: 46;
}

.lighting-product.is-spotlit .light-toggle-frame {
  box-shadow: 0 0 120px 30px rgba(210, 235, 140, 0.22);
}

body.spotlight-mode .site-header {
  z-index: 100;
}

body.spotlight-mode .lighting-product:not(.is-spotlit) {
  transition: opacity 0.5s var(--ease);
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-overlay,
  .lighting-product.is-spotlit .light-toggle-frame {
    transition: none;
  }
}

.lighting-product:nth-child(even) .lighting-media {
  order: 2;
}

.lighting-product-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: var(--space-2);
}

.lighting-product h3 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.lighting-product-desc {
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 0 var(--space-4);
}

.lighting-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

.lighting-spec-grid div {
  min-width: 0;
}

.lighting-spec-grid dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.lighting-spec-grid dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

/* Light toggle */

.light-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  cursor: pointer;
  overflow: hidden;
  font: inherit;
}

.light-toggle-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.light-toggle-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-3);
  transition: opacity 0.7s var(--ease-out-soft);
}

.light-toggle-frame img.state-on {
  opacity: 0;
}

.light-toggle.is-on .state-on {
  opacity: 1;
}

.light-toggle.is-on .state-off {
  opacity: 0;
}

.light-toggle-hint {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(3, 4, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.light-toggle.is-on .light-toggle-hint {
  opacity: 0.85;
}

.lighting-media {
  position: sticky;
  top: 96px;
}

.lighting-media-static {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lighting-media-static img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-3);
}

.driver-product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.driver-product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--surface);
}

.driver-product-photo {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-soft);
  aspect-ratio: 4 / 3;
  margin-bottom: var(--space-3);
}

.driver-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-3);
  filter: brightness(0.88) contrast(1.05);
}

.driver-product-card h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.driver-product-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.product-media-strip img {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--surface-soft);
  padding: 0.35rem;
  filter: brightness(0.88) contrast(1.05);
}

.product-list {
  display: grid;
  gap: var(--space-4);
}

.product-list-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--surface);
}

.product-list-item h3 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.project-index {
  border-top: 1px solid var(--border);
}

.project-entry {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}

.project-entry-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
}

.project-entry-body h3 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.project-entry-body p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 62ch;
}

.project-entry-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em 0.6em;
  margin: var(--space-3) 0 0;
  font-size: 0.85rem;
}

.project-entry-client {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--amber);
}

.project-entry-client.is-confidential {
  color: var(--ink-faint);
}

.project-entry-tools {
  color: var(--ink-faint);
}

.project-entry-tools::before {
  content: "— ";
}

.partner-list {
  display: grid;
  gap: var(--space-4);
}

.partner-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: var(--space-4);
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: var(--surface);
}

.partner-logo {
  width: 128px;
  height: 76px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0f7;
  color: var(--ink-muted);
  font-size: 0.7rem;
  text-align: center;
  padding: 0.6rem;
  flex-shrink: 0;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-item h3 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.client-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.client-logo-slot {
  width: 100%;
  min-height: 148px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4) var(--space-2);
  gap: 0.6rem;
  transition: background 0.25s var(--ease);
}

.client-logo-slot:hover {
  background: var(--surface-soft);
}

.client-logo-slot img {
  max-width: 84%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(2.2) contrast(0.85) opacity(0.75);
  transition: filter 0.3s var(--ease);
}

html[data-mode="off"] .client-logo-slot img {
  filter: grayscale(1) brightness(0.45) contrast(1.3) opacity(0.75);
}

.client-logo-slot:hover img {
  filter: grayscale(0) brightness(1) contrast(1) opacity(1);
}

.client-logo-slot .client-name {
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  font-family: var(--font-display);
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.client-logo-slot:hover .client-name {
  color: var(--ink);
}

.client-logo-slot .client-full {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
  line-height: 1.35;
}

.org-columns {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--border);
  columns: 3 200px;
  column-gap: var(--space-5);
}

.org-columns li {
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.why-us-block {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
}

.why-us-block p {
  margin: 0;
  color: #cbd5ec;
}

.note-muted {
  font-size: 0.875rem;
  color: var(--ink-muted);
  max-width: 72ch;
}

.note-muted.spaced {
  margin-top: var(--space-4);
}

/* ---------------------------------- about tabs ---------------------------------- */

.about-tabs-wrap {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: transparent;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-4);
}

.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0;
}

.about-tabs a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.about-tabs a:hover,
.about-tabs a:focus-visible,
.about-tabs a.active {
  color: var(--ink);
  border-color: var(--border);
  background: var(--surface-soft);
}

.about-section {
  scroll-margin-top: 140px;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
}

.about-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.about-figure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-4);
}

.about-figure img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ---------------------------------- contact ---------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

form {
  display: grid;
  gap: var(--space-3);
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%),
    linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) center, calc(100% - 0.85rem) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-faint);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(31, 178, 217, 0.22);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.form-optional {
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

.form-footer .note-muted {
  margin: 0;
}

.form-status {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-success {
  background: rgba(31, 178, 217, 0.12);
  color: var(--cyan-500);
  border: 1px solid rgba(31, 178, 217, 0.3);
}

.form-status.is-error {
  background: var(--amber-100);
  color: var(--amber);
  border: 1px solid rgba(224, 163, 65, 0.35);
}

.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;
}

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

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact-info-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.contact-info-list li {
  display: flex;
  gap: var(--space-2);
  color: var(--ink-muted);
}

.contact-info-list strong {
  color: var(--ink);
  min-width: 8ch;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-4);
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  display: block;
  filter: invert(92%) hue-rotate(180deg) contrast(88%) brightness(96%);
}

/* ---------------------------------- footer ---------------------------------- */

.site-footer {
  background: linear-gradient(180deg, #05060f 0%, var(--navy-950) 120px);
  color: #fff;
  padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-4);
}

.footer-brand img {
  height: 24px;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-3);
}

.footer-brand p {
  color: #9fb0d1;
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0 0 var(--space-4);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-5);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c9d3ea;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  border-color: var(--cyan-400);
  background: rgba(94, 234, 255, 0.08);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7f90b3;
  margin: 0 0 var(--space-3);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: #c9d3ea;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
}

.site-footer p {
  margin: 0;
  color: #8b98b7;
  font-size: 0.86rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--cyan-500);
  color: #05060f;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

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

/* ---------------------------------- reveal on scroll ---------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.8s var(--ease-out-soft), transform 0.8s var(--ease-out-soft);
  will-change: opacity, transform;
}

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

[data-reveal].reveal-rise {
  opacity: 0;
  transform: translateY(52px);
  filter: blur(6px);
  transition: opacity 1.1s var(--ease-out-soft), transform 1.1s var(--ease-out-soft),
    filter 1.1s var(--ease-out-soft);
}

[data-reveal].reveal-rise.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-rise {
    filter: none;
  }
}

.hero-cinematic-media img,
.product-showcase-media img {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------- responsive ---------------------------------- */

@media (max-width: 980px) {
  .hero-split .container-wide {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    order: -1;
    max-width: 480px;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: none;
  }

  .bento-tile.featured {
    grid-column: span 3;
  }

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

  .stat-tile:nth-child(3) {
    border-left: none;
  }

  .stat-tile:nth-child(3),
  .stat-tile:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .section-head {
    flex-wrap: wrap;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-media {
    position: static;
  }

  .lighting-product {
    grid-template-columns: 1fr;
  }

  .lighting-product:nth-child(even) .lighting-media {
    order: 0;
  }

  .lighting-media {
    position: static;
  }

  .driver-product-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .trust-grid,
  .client-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bento-tile.featured {
    grid-column: span 2;
  }

  .about-figure {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-wrap {
    position: relative;
    padding: 0.6rem 0;
  }

  .light-mode-toggle-label {
    display: none;
  }

  .light-mode-toggle {
    padding: 0.3rem;
    order: 1;
  }

  .site-nav {
    order: 2;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    padding: var(--space-2) var(--space-2) var(--space-3);
    margin-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--void);
    box-shadow: 0 20px 40px rgba(2, 3, 10, 0.5);
    font-size: 0.85rem;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li > a,
  .nav-dropdown-trigger {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  .nav-list > li > a::after {
    display: none;
  }

  .nav-list .active {
    box-shadow: none;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    padding: 0 0 0 var(--space-3);
    margin-top: 0.25rem;
    display: none;
  }

  .nav-dropdown-menu a {
    color: var(--on-void-muted);
    padding: 0.4rem 0;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    background: transparent;
    color: var(--on-void);
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .about-tabs-wrap {
    top: 0;
  }

  .partner-item {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 700px) {
  .trust-grid,
  .client-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-tile {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--on-void-border);
  }

  .stat-tile:first-child {
    border-top: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-readout {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .product-showcase-row {
    min-height: 50vh;
  }

  .product-showcase-row--lead {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 76px;
  }

  .product-showcase-lead-head {
    position: static;
    padding: var(--space-5) 0 var(--space-4);
    background: none;
  }

  .product-showcase-lead-head-inner {
    text-align: left;
    max-width: none;
    margin: 0;
  }

  .product-showcase-lead-head .section-subhead {
    margin: 0;
  }

  .product-showcase-row .container-wide,
  .product-showcase-row.is-reverse .container-wide {
    justify-content: flex-start;
  }

  .product-showcase-row.is-reverse .product-showcase-copy {
    text-align: left;
  }

  .product-showcase-row.is-reverse .product-showcase-media::after {
    background: linear-gradient(90deg, rgba(2, 3, 10, 0.9) 0%, rgba(2, 3, 10, 0.6) 42%, rgba(2, 3, 10, 0.18) 75%);
  }
}

/* ---------------------------------- page transition (clip wipe) ---------------------------------- */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: none;
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2;
  animation: page-clip-wipe 0.6s cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes page-clip-wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
