/* ============================================================
   Striformix — Digital Power Solution Provider
   Plain HTML/CSS/JS version (no build step required)
   ============================================================ */

:root {
  --navy-950: #060f1d;
  --navy-900: #0a1b2e;
  --navy-800: #10263f;
  --volt: #38bdf8;
  --cyan: #22d3ee;
  --primary: #0284c7;
  --bg: #f7fafc;
  --fg: #12243a;
  --muted: #5b6b80;
  --border: #dfe6ee;
  --white: #ffffff;
  --radius: 14px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display { font-family: var(--font-display); }

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

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

/* ---------- Utility backdrops ---------- */
.circuit-grid {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}
.circuit-grid-light {
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.glow-cyan { background: radial-gradient(closest-side, rgba(56, 189, 248, 0.22), transparent); }
.text-gradient-volt {
  background: linear-gradient(92deg, #7dd3fc 0%, #38bdf8 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(90deg, #0ea5e9, var(--cyan));
  color: var(--navy-950);
  box-shadow: 0 10px 25px -5px rgba(34, 211, 238, 0.35);
}
.btn-primary:hover { transform: scale(1.03); }
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-outline-dark {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
}
.btn-outline-dark:hover { border-color: #7dd3fc; background: #f0f9ff; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.solid {
  background: rgba(6, 15, 29, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; transition: transform 0.2s; }
.brand:hover img { transform: scale(1.05); }
.brand span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-cta {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, var(--cyan));
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-950);
  transition: transform 0.2s;
}
.nav-cta:hover { transform: scale(1.03); }
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-btn svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  padding: 8px 20px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #cbd5e1;
}
.mobile-menu a.active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mobile-menu .nav-cta {
  margin: 12px 0 0;
  justify-content: center;
  padding: 13px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-950);
}
.hero-glow-1 {
  position: absolute;
  top: -130px; right: -10%;
  width: 560px; height: 560px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -20%; left: -10%;
  width: 420px; height: 420px;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 64px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 176px; padding-bottom: 96px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-sub {
  margin-top: 24px;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.7;
  color: #cbd5e1;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-card-wrap { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.hero-card-glow { position: absolute; inset: 0; transform: scale(1.1); border-radius: 50%; }
.hero-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  padding: 28px;
}
.hero-card img {
  width: 100%;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.hero-card-meta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-card-meta .name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; }
.hero-card-meta .cat { font-size: 12px; color: #94a3b8; }
.chip-cyan {
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
  white-space: nowrap;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stats-grid > div {
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stats-grid > div:first-child, .stats-grid > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
.stats-grid > div:nth-child(odd) { border-left: none; }
.stats-grid .value { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: #fff; }
.stats-grid .label { margin-top: 4px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #94a3b8; }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid > div { border-bottom: none !important; padding: 32px 24px; }
  .stats-grid .value { font-size: 38px; }
}

/* ---------- Heritage strip ---------- */
.heritage {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.heritage p {
  padding: 30px 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.heritage strong { color: var(--fg); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section-dark { background-color: var(--navy-950); }
.section-white { background: #fff; }
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.light { color: var(--volt); }
.section-title {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-title.light { color: #fff; }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 17px; }
.section-lead.light { color: #cbd5e1; }
.section-head { max-width: 640px; }
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .section-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-5 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .grid-products { grid-template-columns: repeat(4, 1fr); }
}

.card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc;
  box-shadow: 0 20px 40px -12px rgba(2, 132, 199, 0.18);
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #f0f9ff;
  color: var(--primary);
  transition: background 0.25s, color 0.25s;
}
.card:hover .card-icon {
  background: linear-gradient(135deg, #0ea5e9, var(--cyan));
  color: #fff;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { margin-top: 16px; font-size: 16px; font-weight: 700; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Dark cards */
.card-dark {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  color: inherit;
}
.card-dark:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }
.card-dark .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
}
.card-dark .thumb img {
  max-height: 100%;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  object-fit: contain;
  transition: transform 0.5s;
}
.card-dark:hover .thumb img { transform: scale(1.05); }
.card-dark .body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.card-dark .body h3 { margin-top: 14px; font-size: 18px; font-weight: 700; color: #fff; }
.card-dark .body p { margin-top: 8px; flex: 1; font-size: 14px; color: #94a3b8; line-height: 1.65; }
.card-dark .icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.15);
  color: #67e8f9;
}
.card-dark .icon-box svg { width: 20px; height: 20px; }
.card-dark .explore {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #67e8f9;
}
.card-dark .explore svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card-dark:hover .explore svg { transform: translateX(4px); }

/* Presence cards (dark, padded) */
.presence-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 32px;
}
.presence-card svg { width: 32px; height: 32px; color: #67e8f9; }
.presence-card h3 { margin-top: 16px; font-size: 20px; font-weight: 700; color: #fff; }
.presence-card .tag {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #67e8f9;
}
.presence-card p { margin-top: 12px; font-size: 14px; color: #94a3b8; line-height: 1.7; }

/* ---------- Markets ---------- */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.market-cards { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .market-cards { grid-template-columns: 1fr 1fr; } }
.market-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 24px;
}
.market-card svg { width: 28px; height: 28px; color: var(--primary); }
.market-card h3 { margin-top: 12px; font-size: 16px; font-weight: 700; }
.market-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mosaic img {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.mosaic img:nth-child(even) { margin-top: 32px; }

/* ---------- CTA ---------- */
.cta-block { margin-top: 64px; text-align: center; }
.cta-block h2 {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-block p { margin: 16px auto 0; max-width: 520px; color: #cbd5e1; }
.cta-block .btn { margin-top: 32px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-950);
  padding: 130px 0 64px;
}
@media (min-width: 768px) { .page-hero { padding: 176px 0 96px; } }
.page-hero .glow {
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 {
  margin-top: 16px;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}
.page-hero .lead { margin-top: 20px; max-width: 640px; font-size: 17px; color: #cbd5e1; }

/* ---------- Products page ---------- */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.search-box { position: relative; width: 100%; max-width: 420px; }
.search-box svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px 16px 12px 44px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus { border-color: #38bdf8; box-shadow: 0 0 0 4px #e0f2fe; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.pill:hover { border-color: #7dd3fc; color: var(--fg); }
.pill.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc;
  box-shadow: 0 20px 40px -12px rgba(2, 132, 199, 0.18);
}
.product-card .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(#f8fafc, #fff);
  padding: 24px;
}
.product-card .thumb img { max-height: 100%; object-fit: contain; transition: transform 0.5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 20px;
}
.product-card .cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.product-card h3 { margin-top: 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.product-card .tagline { margin-top: 4px; flex: 1; font-size: 14px; color: var(--muted); }
.product-card .foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.chip-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #f0f9ff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.chip-blue svg { width: 12px; height: 12px; }
.view-specs { font-size: 12px; font-weight: 600; color: var(--muted); }
.product-card:hover .view-specs { color: var(--primary); }

.empty-state {
  margin-top: 56px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: #fff;
  padding: 64px 24px;
  text-align: center;
}
.empty-state p:first-child { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.empty-state p:last-child { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 15, 29, 0.6);
  backdrop-filter: blur(4px);
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4);
  animation: modal-in 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#f8fafc, #fff);
  padding: 32px;
}
.modal-thumb img { max-height: 220px; object-fit: contain; }
.modal-body { padding: 28px 32px 32px; position: relative; }
.modal-close {
  position: absolute;
  top: -260px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  color: var(--muted);
}
.modal .cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.modal h3 { margin-top: 4px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.modal .tagline { margin-top: 4px; font-size: 14px; color: var(--muted); }
.spec-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 14px;
}
.spec-item .k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-item .v {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.modal-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.modal-actions .btn { padding: 11px 20px; font-size: 13px; }
.modal-close-fab {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.modal-close-fab:hover { color: var(--fg); }
.modal-close-fab svg { width: 16px; height: 16px; }

/* ---------- About page ---------- */
.story-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 3fr 2fr; } }
.stat-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 20px 12px;
  text-align: center;
}
.stat-card .value { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--primary); }
.stat-card .label {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.timeline-item {
  position: relative;
  border-left: 2px solid #bae6fd;
  padding-left: 32px;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(135deg, #0ea5e9, var(--cyan));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.timeline-item .year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.timeline-item h3 { margin-top: 4px; font-size: 17px; font-weight: 700; }
.timeline-item p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Leadership */
.leader-head { display: flex; align-items: center; gap: 16px; }
.avatar { position: relative; flex-shrink: 0; }
.avatar::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #67e8f9);
  opacity: 0.7;
  filter: blur(6px);
  transition: opacity 0.25s;
}
.card:hover .avatar::before { opacity: 1; }
.avatar .circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), #0369a1);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border: 4px solid #fff;
  overflow: hidden;
}
.avatar .circle img { width: 100%; height: 100%; object-fit: cover; }
.leader-head h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.leader-head .role {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.leader-bio { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.info-stack { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.info-card > svg { width: 28px; height: 28px; color: var(--primary); }
.info-card h3 { margin-top: 12px; font-size: 17px; font-weight: 700; }
.info-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.info-card .contact-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.info-card .contact-lines a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.info-card .contact-lines a:hover { color: var(--primary); }
.info-card .contact-lines svg { width: 16px; height: 16px; color: var(--primary); }

.form-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.form-card > p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.form-grid { margin-top: 28px; display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px #e0f2fe;
}
.sent-box {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  padding: 48px 24px;
  text-align: center;
}
.sent-box svg { width: 40px; height: 40px; color: var(--primary); }
.sent-box h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.sent-box p { margin-top: 8px; max-width: 380px; font-size: 14px; color: var(--muted); }
.sent-box a { font-weight: 600; color: var(--primary); }
.sent-box button {
  margin-top: 24px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font-body);
}
.sent-box button:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--navy-950);
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding: 56px 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; padding: 72px 0; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer .brand span { font-size: 20px; }
.footer .about-text { margin-top: 16px; font-size: 14px; line-height: 1.7; color: #94a3b8; }
.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { margin-top: 16px; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--volt); }
.footer li { display: flex; gap: 10px; align-items: flex-start; }
.footer li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--volt); }
.footer li strong { color: #fff; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
  font-size: 12px;
  color: #64748b;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---- FAQ accordion ---- */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover { border-color: rgba(2, 132, 199, 0.35); }
.faq-item[open] {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 12px 30px -14px rgba(10, 27, 46, 0.18);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
}
.faq-body a { color: var(--primary); font-weight: 500; }
.faq-body a:hover { text-decoration: underline; }

/* ---- Address lines ---- */
.address-line {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy-900);
}
.footer-address {
  display: inline-block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #94a3b8;
}

/* ---- Leadership group subheadings ---- */
.leader-group-title {
  margin: 48px 0 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 16px;
}
.leader-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(2, 132, 199, 0.35), transparent);
}

/* ---- Back to top ---- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-radius: 50%;
  background-color: var(--navy-900);
  color: var(--volt);
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(10, 27, 46, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.25s ease, color 0.25s ease;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background-color: var(--volt);
  color: var(--navy-950);
}
.to-top svg { width: 20px; height: 20px; }

/* Facility gallery (About — Our Story) */
.facility-block { margin-top: 72px; }
.facility-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.facility-head .eyebrow { margin: 0; }
.facility-sub { margin: 0; font-size: 14px; color: var(--muted); max-width: 460px; }
.facility-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.facility-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.facility-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 4 / 3;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.facility-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 12, 28, .62) 0%, rgba(5, 12, 28, 0) 42%);
  pointer-events: none;
}
.facility-item figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; }
.facility-item figcaption span {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #fff;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 18, 38, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
}
.facility-item:hover img { transform: scale(1.045); }
@media (min-width: 720px) {
  .facility-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .facility-item img { aspect-ratio: auto; }
  .facility-item.tall { grid-row: span 2; }
  .facility-item.wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .facility-grid { grid-auto-rows: 250px; gap: 20px; }
}

/* Leadership honors */
.leader-honors { margin: 12px 0 0; padding: 0; list-style: none; }
.leader-honors li {
  position: relative; padding-left: 18px;
  font-size: 14px; color: var(--muted); font-weight: 400; line-height: 1.7;
}
.leader-honors li + li { margin-top: 4px; }
.leader-honors li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--volt, #38bdf8);
}

/* Research Labs page */
.lab-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .lab-split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .lab-split.flip > .lab-photo { order: -1; }
}
.lab-photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}
.lab-photo img {
  width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.lab-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 12, 28, .55) 0%, rgba(5, 12, 28, 0) 38%);
  pointer-events: none;
}
.lab-photo figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; }
.lab-photo figcaption span {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #fff;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 18, 38, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
}
.lab-photo:hover img { transform: scale(1.04); }
.lab-points { margin: 20px 0 0; padding: 0; list-style: none; }
.lab-points li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; color: var(--muted); line-height: 1.7;
}
.lab-points li + li { margin-top: 12px; }
.lab-points li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--volt);
}
.lab-points strong { color: var(--navy-900); font-weight: 600; }
