/* Pulse Electronics — site styles */
:root {
  --ink: #0A1622;
  --ink-2: #0F1E2D;
  --line-dark: #263A4E;
  --line-darker: #1B2D40;
  --text-on-dark: #E6EEF5;
  --muted-on-dark: #B4C3D2;
  --faint-on-dark: #8FA3B7;
  --brand: #185A8B;
  --brand-dark: #0F3F63;
  --cyan: #5CC6F2;
  --bg-soft: #F4F7FA;
  --line: #E3E9EF;
  --muted: #4A5B6C;
  --radius: 16px;
  --max: 1240px;
  /* Adobe Fonts: Sets Grotesk (kit rvu6ytt) — optical sizes for each job */
  --font: "sets-grotesk-s", system-ui, -apple-system, "Segoe UI", sans-serif;   /* body text */
  --display: "sets-grotesk-l", var(--font);                                     /* big headlines */
  --heading: "sets-grotesk-m", var(--font);                                     /* card & section sub-heads */
  --mono: "sets-grotesk-xs", var(--font);                                       /* labels, tags, small caps */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
h3 { font-family: var(--heading); }
body, .btn { font-weight: 400; }
.btn { font-weight: 700; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.dark .eyebrow { color: var(--cyan); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.dark .lead { color: var(--muted-on-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font); transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #82D5F6; color: var(--ink); }
.btn-ghost { color: #fff; border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; }
.btn-outline { color: var(--brand); border-color: #9DB7CE; background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #EAF3FA; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: #8DB8D6; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; min-height: 80px; }
.nav-logo { justify-self: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn), .nav-text-link { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"], .nav-text-link:hover, .nav-text-link[aria-current="page"] { border-bottom-color: var(--brand); color: var(--ink); }
.nav-right .btn, .nav-links .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nav-mobile-only { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

@media (max-width: 880px) {
  .nav { grid-template-columns: 44px 1fr 44px; min-height: 72px; }
  .nav-logo { grid-column: 2; grid-row: 1; }
  .nav-logo img { height: 36px; }
  .nav-right { grid-column: 3; grid-row: 1; gap: 0; }
  .nav-right .nav-text-link, .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 24px; }
  .nav-links.open { display: flex; }
  .nav-mobile-only { display: list-item; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; width: 100%; }
}

/* Sections */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.dark { background: var(--ink); color: var(--text-on-dark); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.soft { background: var(--bg-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.link-arrow { font-weight: 600; text-decoration: none; }

/* Hero — full-screen background video */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-video { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; align-items: center; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(10, 22, 34, .72); }
.hero .eyebrow { color: #A8E3FA; font-weight: 700; }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 18px rgba(10, 22, 34, .55); }
.hero .container { width: 100%; display: flex; justify-content: center; padding-top: 112px; padding-bottom: 112px; }
.hero-copy { max-width: 1240px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.hero h1 .h1-line { display: block; white-space: nowrap; }
@media (max-width: 760px) { .hero h1 { font-size: clamp(38px, 10vw, 56px); text-wrap: balance; } .hero h1 .h1-line { display: inline; white-space: normal; } }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 680px; color: #D3DEE8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .hero-actions { justify-content: center; }
.hero .hero-actions { margin-top: 26px; gap: 18px; }
.hero .btn { min-height: 64px; padding: 20px 38px; font-size: 19px; border-radius: 10px; }
@media (max-width: 600px) { .hero .hero-actions { margin-top: 14px; } .hero .btn { min-height: 56px; padding: 16px 28px; font-size: 17px; } }
.hero .btn-ghost { border-color: rgba(255,255,255,.45); background: rgba(10,22,34,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-family: var(--mono); font-size: 12px; color: var(--muted-on-dark); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; }
.hero .chips { justify-content: center; }
.chips-light { margin-top: 6px; }
.chips-light li { color: var(--brand); background: #fff; border-color: #C9D6E2; }
.hero .chips li { color: #D3DEE8; border-color: rgba(180,195,210,.35); background: rgba(10,22,34,.3); }

.page-hero .container { padding-top: 88px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; max-width: var(--max); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; max-width: 820px; }
.page-hero .lead { max-width: 680px; }

.industries { background: var(--ink-2); color: var(--muted-on-dark); border-top: 1px solid var(--line-darker); }
.industries .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; font-size: 15px; }
.industries ul { display: contents; list-style: none; }
.industries .eyebrow { font-size: 12px; }

/* Clients marquee */
.clients { border-bottom: 1px solid var(--line); }
.clients-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 72px; padding-bottom: 28px; }
.clients-head > div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.clients-head h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; line-height: 1.08; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.clients-head .eyebrow { font-size: 16px; font-weight: 700; letter-spacing: 0.16em; }
.clients-head h2 { -webkit-text-stroke: 0.9px currentColor; letter-spacing: 0.02em; }
.clients-head p:not(.eyebrow) { font-size: 18px; color: var(--muted); max-width: 640px; }
.marquee { overflow: hidden; padding: 24px 0 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 24s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { padding-right: 28px; flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-tile { width: 280px; height: 148px; padding: 4px; background: #10294A; border: 1px solid #1F4A7A; border-radius: 16px; box-shadow: 0 2px 4px rgba(10,22,34,.12), 0 16px 32px -14px rgba(16,41,74,.55); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.logo-tile-inner { width: 100%; height: 100%; background: #fff; border-radius: 12px; padding: 18px 24px; display: flex; align-items: center; justify-content: center; }
.logo-tile:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92,198,242,.35), 0 20px 36px -14px rgba(16,41,74,.6); }
.logo-tile img { max-width: 100%; max-height: 84px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .btn:hover, .logo-tile:hover, .card:hover { transform: none; }
  .hero-bg { display: none; }
}

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 260px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: #C9D6E2; box-shadow: 0 18px 40px -20px rgba(10,22,34,.3); }
.card-media { height: 200px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #EEF2F6; background: #fff; }
.card-media img { max-height: 170px; width: auto; max-width: 88%; object-fit: contain; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-body h3 { font-size: 22px; }
.card-body p { font-size: 15px; line-height: 1.6; color: var(--muted); flex-grow: 1; }
.card-body a { font-weight: 600; font-size: 15px; text-decoration: none; }

/* Services */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.rounded-img { width: 100%; border-radius: 14px; border: 1px solid var(--line-dark); object-fit: cover; }
.pillars { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.pillar { flex: 1 1 300px; min-width: 0; border-top: 2px solid var(--cyan); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pillar .num { font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.pillar h3 { font-size: 26px; }
.pillar p { font-size: 16px; line-height: 1.65; color: var(--muted-on-dark); }
.light .pillar { border-top-color: var(--brand); }
.light .pillar .num { color: var(--brand); }
.light .pillar p { color: var(--muted); }
.stages { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; margin: 40px 0 0; padding: 0; font-family: var(--mono); font-size: 13px; }
.stages li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 10px 16px; }
.stages li.arrow { border: 0; padding: 0; color: var(--cyan); }

/* About */
.about .container { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-photo { flex: 0 1 360px; width: 360px; max-width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.about-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; }
.members { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.members span { font-size: 14px; font-weight: 600; color: var(--muted); }
.members img { height: 44px; width: auto; }
.industry-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.industry-list li { font-size: 14px; font-weight: 500; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }

/* Products page */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cat-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--text-on-dark); text-decoration: none; font-size: 14px; font-weight: 500; }
.cat-nav a:hover { border-color: var(--cyan); color: #fff; }
.category { scroll-margin-top: 96px; }
.category + .category { margin-top: 88px; }
.category-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.category-head h2 { font-size: 34px; }
.product { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; scroll-margin-top: 96px; }
.product + .product { margin-top: 20px; }
.product-media { flex: 0 1 300px; min-width: 0; height: 240px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; }
.product-media img { max-height: 230px; max-width: 100%; object-fit: contain; }
.product-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.product-body h3 { font-size: 26px; }
.product-body p { color: var(--muted); line-height: 1.65; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.specs li { font-family: var(--mono); font-size: 12px; color: var(--brand); background: #EAF3FA; border-radius: 999px; padding: 6px 12px; }
.features { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-item .eyebrow { font-size: 12px; }
.contact-item a, .contact-item span.value { font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--brand); }
.form-card { flex: 1 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 18px 40px -28px rgba(10,22,34,.35); }
.form-card h2 { font-size: 28px; }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #C3CFDB; border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(24,90,139,.18); }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 600; color: var(--brand); }

/* CTA */
.cta { background: var(--brand); color: #fff; }
.cta .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; padding-top: 88px; padding-bottom: 88px; }
.cta-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta h2 { font-size: clamp(36px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; color: #fff; }
.cta p { font-size: 18px; line-height: 1.6; color: #E1ECF5; max-width: 560px; }
.cta-actions { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { min-height: 56px; font-size: 17px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 64px; }
.footer-brand { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-brand strong { font-family: var(--display); font-size: 24px; font-weight: 700; color: #fff; }
.footer-col { flex: 0 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h2 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--cyan); font-weight: 500; }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-darker); margin-top: 40px; padding: 24px 0 40px; font-size: 13px; color: var(--faint-on-dark); }

@media (max-width: 600px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 72px 0; }
  .hero .container { padding-top: 80px; padding-bottom: 80px; }
  .product { padding: 20px; }
  .form-card { padding: 24px; }
  .logo-tile { width: 220px; height: 120px; }
  .logo-tile img { max-height: 64px; }
}


/* ---------- Products: centered head + modern cards ---------- */
.section-head.centered { justify-content: center; text-align: center; }
.section-head.centered > div { align-items: center; max-width: 760px; }
.section-head.centered .chips { justify-content: center; }
.center-actions { display: flex; justify-content: center; margin-top: 48px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 17px; border-radius: 10px; }
.card-modern { position: relative; border-radius: 20px; border-color: #DCE5EE; box-shadow: 0 1px 2px rgba(10,22,34,.04), 0 12px 32px -22px rgba(10,22,34,.35); }
.card-modern .card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card-modern .card-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.card-modern .card-media { position: relative; height: 210px; background: #F7FAFC; border-bottom: 1px solid #E8EEF4; }
.card-modern .card-media img { mix-blend-mode: multiply; transition: transform .35s ease; }
.card-count { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand); background: #fff; border: 1px solid #D5E2EE; border-radius: 999px; padding: 4px 10px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.card-tags li { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand); background: #EAF3FA; border: 1px solid #D2E4F2; border-radius: 8px; padding: 6px 10px; }
.card-more { margin-top: 10px; padding-top: 14px; border-top: 1px solid #E8EEF4; font-weight: 700; font-size: 15px; color: var(--brand); display: flex; justify-content: space-between; align-items: center; }
.card-more span { transition: transform .25s ease; }
.card-modern:hover { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 24px 48px -24px rgba(16,41,74,.45); }
.card-modern:hover .card-media img { transform: scale(1.05); }
.card-modern:hover .card-more span { transform: translateX(4px); }

/* ---------- Custom project inquiry ---------- */
.custom { background: radial-gradient(1200px 500px at 50% -10%, #14324F 0%, var(--ink) 60%); }
.custom-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 860px; margin: 0 auto 48px; }
.custom-head h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.custom-sub { font-family: var(--heading); font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--cyan); }
.custom-head .lead { max-width: 680px; }
.builder { max-width: 1040px; margin: 0 auto; background: rgba(15,30,45,.7); border: 1px solid #22405E; border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 32px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.builder-label { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.builder-label .hint { font-weight: 400; font-size: 14px; color: var(--faint-on-dark); }
.step-num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--cyan); color: var(--ink); font-size: 15px; font-weight: 700; flex: none; }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.need { position: relative; text-align: left; font: inherit; color: var(--text-on-dark); background: #0F2236; border: 1px solid #2A4A6B; border-radius: 16px; padding: 22px 22px 22px 22px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-height: 110px; transition: border-color .2s, background .2s, transform .2s; }
.need:hover { border-color: var(--cyan); transform: translateY(-2px); }
.need-title { font-family: var(--heading); font-size: 22px; font-weight: 700; color: #fff; }
.need-desc { font-size: 15px; color: var(--muted-on-dark); line-height: 1.45; padding-right: 26px; }
.need-check { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #4A6A8A; display: flex; align-items: center; justify-content: center; color: transparent; transition: all .2s; }
.need[aria-pressed="true"] { background: #123A5C; border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset; }
.need[aria-pressed="true"] .need-check { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.stage-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stage { font: inherit; font-size: 15px; font-weight: 700; color: var(--text-on-dark); background: transparent; border: 1px solid #2A4A6B; border-radius: 999px; padding: 12px 20px; min-height: 46px; cursor: pointer; transition: all .2s; }
.stage:hover { border-color: var(--cyan); }
.stage[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.builder-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; border-top: 1px solid #22405E; }
.builder-summary { font-size: 17px; color: var(--muted-on-dark); flex: 1 1 320px; }
.builder-summary strong { color: #fff; }
.builder .btn-lg { min-height: 60px; padding: 18px 34px; font-size: 18px; }
.custom-foot { text-align: center; margin-top: 28px; }
@media (max-width: 760px) { .needs { grid-template-columns: minmax(0, 1fr); } .need { min-height: 0; } .builder-foot .btn { width: 100%; } }

/* ---------- Founder credentials ---------- */
.credentials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.credentials li { font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 7px 14px; }


/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../images/led-bars.jpg") center / cover no-repeat; opacity: .55; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,22,34,.96) 0%, rgba(10,22,34,.86) 45%, rgba(16,41,74,.55) 100%); }
.cta .container { padding-top: 104px; padding-bottom: 104px; }
.cta p { color: var(--muted-on-dark); }
.cta .btn-white { background: var(--cyan); color: var(--ink); }
.cta .btn-white:hover { background: #82D5F6; }
.cta .btn-outline-light { border-color: rgba(255,255,255,.45); }

/* ---------- Footer logo ---------- */
.footer-logo img { height: 44px; width: auto; }


/* ---------- System families (no product photos) ---------- */
.family-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .family-grid { grid-template-columns: minmax(0, 1fr); } }
.family-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; background: #fff; border: 1px solid #DCE5EE; border-radius: 18px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(10,22,34,.04), 0 12px 28px -22px rgba(10,22,34,.35); transition: transform .25s, border-color .25s, box-shadow .25s; }
.family-tile:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 22px 40px -24px rgba(16,41,74,.45); color: var(--ink); }
.family-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: #EAF3FA; color: var(--brand); border: 1px solid #D2E4F2; }
.family-cat { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-top: 6px; }
.family-name { font-family: var(--heading); font-size: 19px; font-weight: 700; line-height: 1.2; }
.family-desc { font-size: 14px; line-height: 1.55; color: var(--muted); flex-grow: 1; }
.family-more { margin-top: 8px; padding-top: 12px; border-top: 1px solid #E8EEF4; font-size: 14px; font-weight: 700; color: var(--brand); }
.family-more span { display: inline-block; transition: transform .25s; }
.family-tile:hover .family-more span { transform: translateX(4px); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid #C9D6E2; border-radius: 999px; padding: 11px 20px; min-height: 46px; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 32px; }
.family-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .family-cards { grid-template-columns: minmax(0, 1fr); } }
.family-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff; border: 1px solid #DCE5EE; border-radius: 20px; scroll-margin-top: 100px; box-shadow: 0 1px 2px rgba(10,22,34,.04), 0 12px 28px -22px rgba(10,22,34,.35); transition: border-color .25s, box-shadow .25s; }
.family-card[hidden] { display: none; }
.family-card:hover, .family-card:target { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 22px 40px -24px rgba(16,41,74,.45); }
.family-card-top { display: flex; align-items: center; gap: 12px; }
.family-card-top .family-cat { margin-top: 0; }
.family-card h2 { font-family: var(--heading); font-size: 26px; line-height: 1.15; }
.family-card > p { color: var(--muted); line-height: 1.65; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
@media (max-width: 560px) { .checks { grid-template-columns: minmax(0, 1fr); } .family-card { padding: 22px; } }
.checks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 5px; background: #EAF3FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185A8B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; border: 1px solid #D2E4F2; }
.family-enquire { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 11px 20px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.family-enquire:hover { background: var(--brand-dark); color: #fff; }
.protos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.proto { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(15,30,45,.7); }
.proto strong { font-family: var(--heading); font-size: 18px; color: #fff; }
.proto span { font-size: 14px; color: var(--muted-on-dark); }
@media (max-width: 460px) { .protos { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Products: Data Gateway & MECU-210 ---------- */
.demo { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.demo-frame { border-radius: 16px; overflow: hidden; border: 1px solid #22405E; background: #06101A; box-shadow: 0 30px 60px -30px rgba(10,22,34,.6); aspect-ratio: 16 / 9; }
.demo-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.home-products { display: flex; flex-direction: column; gap: 28px; }
.home-product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid #DCE5EE; border-radius: 24px; padding: 28px; box-shadow: 0 12px 32px -24px rgba(10,22,34,.35); }
.home-product:nth-child(2) .demo { order: 2; }
.home-product-body { display: flex; flex-direction: column; gap: 14px; }
.home-product-body h3 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.home-product-body > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.6; }
@media (max-width: 900px) { .home-product { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 22px; } .home-product:nth-child(2) .demo { order: 0; } }
.pstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pstat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #D2E4F2; border-radius: 12px; background: #F4F9FD; }
.pstat strong { font-family: var(--display); font-size: 20px; color: var(--ink); }
.pstat span { font-size: 13px; color: var(--muted); }
.product-section { scroll-margin-top: 80px; }
.product-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .product-intro { grid-template-columns: minmax(0, 1fr); } }
.product-intro-copy { display: flex; flex-direction: column; gap: 16px; }
.product-intro-copy h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.connect-diagram { margin-top: 64px; display: grid; grid-template-columns: minmax(0,1fr) 48px minmax(0,1.2fr) 48px minmax(0,1fr); align-items: center; gap: 0; }
.cd-node { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1.5px solid var(--brand); border-radius: 14px; background: #fff; text-align: center; }
.cd-node strong { font-family: var(--heading); font-size: 18px; }
.cd-node span { font-size: 13px; color: var(--muted); }
.cd-node.core { background: var(--ink); border-color: var(--ink); }
.cd-node.core strong { color: #fff; } .cd-node.core span { color: var(--muted-on-dark); }
.cd-link { height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 14px); }
.cd-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; position: relative; }
.cd-node.small { border-color: #C9D6E2; border-width: 1px; }
@media (max-width: 760px) { .connect-diagram { grid-template-columns: minmax(0,1fr); gap: 10px; } .cd-link { width: 2px; height: 22px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 10px); } .cd-row { grid-template-columns: minmax(0,1fr); gap: 10px; margin-top: 10px; } }
.features { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { padding: 26px; border: 1px solid #DCE5EE; border-radius: 18px; background: #fff; display: flex; flex-direction: column; gap: 16px; }
.feature-top { display: flex; align-items: center; gap: 12px; }
.feature h4 { font-family: var(--heading); font-size: 21px; font-weight: 700; margin: 0; }
.feature .checks { grid-template-columns: minmax(0, 1fr); }
.extras { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.extras > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--ink); }
.extras strong { color: #fff; font-family: var(--heading); font-size: 16px; } .extras span { color: var(--muted-on-dark); font-size: 14px; }
@media (max-width: 760px) { .extras { grid-template-columns: minmax(0, 1fr); } }
.spec-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } }
.spec-grid .checks { grid-template-columns: minmax(0, 1fr); }
.spec-title { font-family: var(--heading); font-size: 24px; margin: 0 0 18px; }
.product-section > .container > .spec-title { margin-top: 56px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid #DCE5EE; border-radius: 14px; overflow: hidden; }
.spec-table th { text-align: left; font-weight: 700; width: 34%; padding: 12px 16px; border-bottom: 1px solid #E8EEF4; vertical-align: top; color: var(--ink); background: #F7FAFC; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid #E8EEF4; color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; padding-bottom: 2px; } }
.overview { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 17px; line-height: 1.65; color: var(--muted); }
@media (max-width: 760px) { .overview { grid-template-columns: minmax(0, 1fr); } }
.io-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .io-grid { grid-template-columns: minmax(0, 1fr); } }
.io-col { padding: 24px; border: 1px solid #DCE5EE; border-radius: 18px; background: #fff; }
.io-col h4 { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.io-list { list-style: none; margin: 0; padding: 0; }
.io-list li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid #EEF2F6; font-size: 15px; }
.io-list li:last-child { border-bottom: 0; }
.io-list b { flex: 0 0 30px; font-family: var(--display); font-size: 18px; color: var(--ink); text-align: right; }
.io-list span { color: var(--muted); }
.flow-block { margin-top: 64px; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: var(--ink); color: var(--text-on-dark); }
.flow-block .spec-title { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.flow-block .lead { color: var(--muted-on-dark); max-width: 760px; }
.flow { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border: 1px solid #22405E; border-radius: 16px; background: #0F2236; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 22px; color: var(--cyan); font-weight: 700; }
.flow-num { font-family: var(--mono); font-size: 12px; color: var(--cyan); font-weight: 700; }
.flow strong { font-family: var(--heading); font-size: 19px; color: #fff; }
.flow span:last-child { font-size: 14px; color: var(--muted-on-dark); line-height: 1.5; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); font-style: italic; }
.beyond-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .beyond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .beyond-grid { grid-template-columns: minmax(0, 1fr); } }
.beyond { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid #DCE5EE; border-radius: 16px; background: #fff; }
.beyond strong { font-family: var(--heading); font-size: 18px; margin-top: 4px; }
.beyond span:last-child { font-size: 14px; color: var(--muted); line-height: 1.55; }
.tm { align-self: end; font-size: 12px; color: var(--muted); line-height: 1.6; }
.family-card h3 { font-family: var(--heading); font-size: 26px; line-height: 1.15; }


/* ---------- 360° solutions circle ---------- */
.solutions { background: #fff; }
.sol-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .sol-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.sol-visual { max-width: 560px; width: 100%; margin: 0 auto; }
.c360 { width: 100%; height: auto; display: block; overflow: visible; }
.c360 .seg path { transition: opacity .25s, filter .25s; }
.c360 .seg { cursor: pointer; }
.c360 .seg-label { font-family: var(--heading); font-size: 21px; font-weight: 700; fill: var(--ink); transition: fill .25s; }
.c360 .seg:hover path, .c360 .seg:focus path, .c360 .seg.lit path { filter: brightness(1.12) drop-shadow(0 6px 14px rgba(24,90,139,.35)); }
.c360 .seg:hover .seg-label, .c360 .seg.lit .seg-label { fill: var(--brand); }
.c360.has-lit .seg:not(.lit) path { opacity: .35; }
.c360 .seg:focus { outline: none; }
.c360 .seg:focus-visible .seg-label { text-decoration: underline; }
.c360 .core-bg { fill: #F4F7FA; stroke: #DCE5EE; stroke-width: 1.5; transition: fill .25s; }
.c360 .seg-core:hover .core-bg { fill: #EAF3FA; }
.c360 .core-num { font-family: var(--display); font-size: 72px; font-weight: 700; fill: var(--ink); letter-spacing: -0.02em; }
.c360 .core-sub { font-family: var(--heading); font-size: 20px; font-weight: 700; fill: var(--brand); }
.dark .c360 .seg-label { fill: #fff; }
.sol-copy { display: flex; flex-direction: column; gap: 18px; }
.sol-copy h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.sol-rows { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 8px; }
.sol-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid #DCE5EE; border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sol-row:hover, .sol-row.lit { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); transform: translateX(4px); color: var(--ink); }
.sol-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.dot-systems { background: #5CC6F2; } .dot-hardware { background: #185A8B; } .dot-software { background: #3D6E96; }
.sol-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sol-text strong { font-family: var(--heading); font-size: 19px; }
.sol-text span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.sol-arrow { color: var(--brand); font-weight: 700; font-size: 18px; }
.pillar { scroll-margin-top: 100px; }
.light .split .sol-visual { max-width: 460px; }


/* ---------- Homepage heritage showcase ---------- */
.heritage { background: linear-gradient(180deg, #fff 0%, #F4F7FA 100%); }
.heritage { padding-top: 0; }
.reel { position: relative; width: 100%; height: clamp(490px, 69vh, 690px); border-radius: 0; overflow: hidden; background: var(--ink); isolation: isolate; box-shadow: none; }
.reel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; z-index: 0; overflow: hidden; }
.reel-fill { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(30px) saturate(1.15) brightness(.8); }
.reel-img { position: relative; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 3.2s linear; }
.reel-slide.is-small .reel-img { object-fit: contain; }
.reel-slide.is-active { opacity: 1; }
.reel-slide.is-active .reel-img { transform: scale(1); }
@media (max-width: 600px) { .reel-slide.is-small .reel-img { object-fit: cover; } }
.reel-shade { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 62% 60% at 50% 55%, rgba(6,16,26,.78) 0%, rgba(6,16,26,.55) 55%, rgba(6,16,26,.3) 100%), linear-gradient(180deg, rgba(6,16,26,.45) 0%, rgba(6,16,26,.2) 30%, rgba(6,16,26,.2) 70%, rgba(6,16,26,.55) 100%); }
.reel-center { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px 24px; gap: 0; }
.reel-eyebrow { color: #A8E3FA; font-weight: 700; font-size: clamp(18px, 1.9vw, 26px); letter-spacing: .16em; margin: 0 0 clamp(10px, 1.6vw, 22px); }
.reel-title { display: flex; flex-direction: column; align-items: center; gap: 0; color: #fff; margin: 0; }
.reel-num { font-family: var(--display); font-weight: 700; font-size: clamp(100px, 15vw, 216px); line-height: .9; letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; }
.reel-num::after { content: ""; display: block; width: 0; height: 5px; margin: clamp(14px, 1.8vw, 24px) auto clamp(16px, 2vw, 28px); border-radius: 3px; background: var(--cyan); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .6s; }
.reel.in .reel-num::after { width: 120px; }
.reel-words { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 57px); line-height: 1.05; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.reel-words .w { display: inline-block; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reel.in .reel-words .w { opacity: 1; transform: none; }
.reel-caption { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: clamp(18px, 1.7vw, 23px); font-weight: 700; font-family: var(--heading); letter-spacing: .005em; }
.reel-kicker { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #A8E3FA; font-weight: 700; }
.reel-caption.swap { animation: reelText .5s ease; }
@keyframes reelText { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reel-emmy { position: absolute; top: 28px; right: max(28px, calc((100% - 1240px) / 2 + 32px)); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #1A1406; background: linear-gradient(135deg, #F7DC8B, #D9A932); box-shadow: 0 10px 28px -8px rgba(217,169,50,.75); }
.reel-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.reel-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.reel-dot i { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.reel-dot i::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; }
.reel-dot.is-active i::after { animation: reelFill var(--reel-ms, 5000ms) linear forwards; }
.reel.paused .reel-dot.is-active i::after { animation-play-state: paused; }
.reel-dot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
@keyframes reelFill { to { width: 100%; } }
.heritage-copy { max-width: 880px; margin: 48px auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.heritage-copy .credentials, .heritage-copy .industry-list, .heritage-copy .members { justify-content: center; }
.heritage-copy .members { border-top: 1px solid var(--line); padding-top: 20px; width: 100%; }
@media (max-width: 600px) {
  .reel { height: 540px; }
  .reel-emmy { top: 16px; right: 50%; transform: translateX(50%); padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .reel-center { padding: 52px 18px 24px; }
  .reel-dot { width: 34px; }
}
@media (prefers-reduced-motion: reduce) { .reel-img { transition: none; transform: none !important; } .reel-words .w { opacity: 1; transform: none; transition: none; } .reel-dot.is-active i::after { animation: none; width: 100%; } }
.credentials li, .industry-list li { transition: background .3s, color .3s, border-color .3s, transform .3s; }
.credentials li.lit { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.industry-list li.lit { background: #EAF3FA; border-color: var(--brand); color: var(--brand); }

.credentials li.award { background: linear-gradient(135deg, #FBEBB7, #E9C467); border-color: #C9982A; color: #1A1406; }
@media (prefers-reduced-motion: reduce) { .reel-slide { transition: opacity .3s; transform: none !important; } .reel-dot.is-active i::after { animation: none; width: 100%; } }


/* ---------- Credential dropdowns (homepage heritage) ---------- */
.cred-dropdowns { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cred-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cred-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; padding: 9px 14px 9px 16px; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.cred-btn .chev { transition: transform .25s; }
.cred-btn:hover { border-color: var(--brand); color: var(--brand); }
.cred-btn.lit { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.cred-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; transform: none; }
.cred-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.cred-btn.award { background: linear-gradient(135deg, #FBEBB7, #E9C467); border-color: #C9982A; color: #1A1406; }
.cred-btn.award[aria-expanded="true"] { background: linear-gradient(135deg, #F3D57A, #D9A932); color: #1A1406; }
.cred-panels { width: 100%; max-width: 760px; }
.cred-panel { text-align: left; background: #fff; border: 1px solid #DCE5EE; border-left: 0; border-radius: 16px; padding: 22px 26px; box-shadow: 0 18px 40px -28px rgba(10,22,34,.4); animation: credIn .35s ease; position: relative; overflow: hidden; }
.cred-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.cred-panel.award::before { background: #D9A932; }
.cred-panel h3 { font-family: var(--heading); font-size: 20px; margin: 0 0 8px; }
.cred-panel p { color: var(--muted); line-height: 1.65; font-size: 16px; }
@keyframes credIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cred-panel { animation: none; } }

/* Highlight divider between the custom-project section and the heritage showcase */
.hl-divider { position: relative; height: 6px; background: linear-gradient(90deg, #185A8B 0%, #5CC6F2 30%, #A8E3FA 50%, #5CC6F2 70%, #185A8B 100%); box-shadow: 0 0 24px 2px rgba(92,198,242,.55); z-index: 4; }

/* Divider pulse: a bright signal runs along the whole line once, then the line stays still */
.hl-divider { overflow: hidden; }
.hl-divider::before { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.0) 10%, #fff 50%, rgba(255,255,255,0) 90%, transparent 100%); opacity: 0; pointer-events: none; }
.hl-divider.pulse::before { animation: hlRun 1.6s cubic-bezier(.45,.05,.35,1) forwards; }
@keyframes hlRun { 0% { left: -30%; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hl-divider.pulse::before { animation: none; } }


/* ---------- Experience timeline (replaces the old credential buttons) ---------- */
.xp-wrap { width: 100%; max-width: 860px; margin: 8px auto 4px; text-align: left; }
.xp-label { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); text-align: center; margin-bottom: 18px; }
.xp-timeline { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 0; }
.xp-timeline::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, #5CC6F2, #185A8B); opacity: .45; }
.xp { position: relative; background: #fff; border: 1px solid #DCE5EE; border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.xp:hover { border-color: #B9CDDF; }
.xp[open] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 44px -28px rgba(16,41,74,.5); }
.xp summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 12px; cursor: pointer; min-height: 64px; border-radius: 16px; }
.xp summary::-webkit-details-marker { display: none; }
.xp summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.xp-num { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--brand); background: #EAF3FA; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #C9DCEC; transition: background .25s, color .25s, box-shadow .25s; }
.xp[open] .xp-num, .xp summary:hover .xp-num { background: var(--brand); color: #fff; box-shadow: 0 0 0 1.5px var(--brand); }
.xp-head { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xp-title { font-family: var(--heading); font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.xp-tag { font-size: 14px; color: var(--muted); }
.xp-count { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand); background: #F1F6FB; border: 1px solid #D9E6F1; border-radius: 999px; padding: 5px 10px; }
.xp .chev { flex: none; color: var(--brand); transition: transform .25s; }
.xp[open] .chev { transform: rotate(180deg); }
.xp-body { padding: 4px 22px 22px 68px; animation: credIn .3s ease; }
.xp-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.xp-list li { font-size: 16px; color: var(--ink); }
.xp-quote { margin: 4px 0 18px; padding: 16px 20px; background: #F4F9FD; border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; }
.xp-quote p { font-family: var(--heading); font-size: 18px; line-height: 1.55; color: var(--ink); font-style: italic; }
.xp-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--brand); }
@media (max-width: 560px) {
  .xp-timeline::before { left: 27px; }
  .xp summary { gap: 12px; padding: 12px 14px 12px 8px; }
  .xp-num { width: 36px; height: 36px; font-size: 12px; }
  .xp-count { display: none; }
  .xp-title { font-size: 18px; }
  .xp-body { padding: 2px 16px 18px 16px; }
}
