/* ============================================================
   Arctic Controls — Design System
   ============================================================ */

:root {
  --primary: #061827;
  --accent: #2f7bf6;
  --secondary: #1e63e0;
  --bg: #050505;
  --surface: #101827;
  --text: #ffffff;
  --muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-numbers: "Manrope", sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--muted); }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-numbers);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 20%, var(--accent) 60%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #ffffff;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(47,123,246,.4), 0 20px 40px -12px rgba(47, 123, 246, 0.45);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: rgba(47,123,246,.5);
  background: rgba(47,123,246,0.06);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,5,5,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--border);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  height: 46px;
  width: auto;
  border-radius: 10px;
  display: block;
}
.site-footer .logo-mark { height: 58px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--text); background: rgba(255,255,255,0.05); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: rgba(16,24,39,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: background .2s ease, color .2s ease;
}
.dropdown-menu a:hover { background: rgba(47,123,246,0.08); color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 84vw);
  height: 100vh;
  background: rgba(8,12,20,0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 99;
  padding: 100px 28px 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
@media (max-width: 980px) { .mobile-nav { display: block; } }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 28px; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--border); }
.mobile-nav a { display: block; padding: 16px 4px; font-size: 15.5px; color: var(--text); }
.mobile-nav .sub-label { padding: 12px 4px 4px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mobile-nav .sub-links a { padding: 10px 4px 10px 14px; font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(47,123,246,0.16), transparent 60%),
    radial-gradient(700px 500px at 85% 60%, rgba(30,99,224,0.14), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(6,24,39,0.9), transparent 70%);
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 780px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  margin-bottom: 24px;
}
.hero .lede {
  font-size: 18px;
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-size: 13.5px;
  color: var(--muted);
}
.trust-chip strong { color: var(--text); font-family: var(--font-numbers); }
.trust-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }

/* ---------- Sections ---------- */
section { position: relative; padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.glass-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47,123,246,0.35);
  box-shadow: 0 30px 60px -30px rgba(47,123,246,0.25);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(47,123,246,0.08);
  border: 1px solid rgba(47,123,246,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.glass-card h3 { font-size: 20px; margin-bottom: 10px; }
.glass-card p { font-size: 14.5px; margin-bottom: 18px; }
.card-link { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card-link .arrow { transition: transform .3s var(--ease); }
.glass-card:hover .card-link .arrow { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; grid-column: span 6; }
@media (max-width: 700px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { grid-column: span 1; }
}
@media (max-width: 460px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat { grid-column: span 1; }
}
.stat .num {
  font-family: var(--font-numbers);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--text);
  display: block;
}
.stat .label { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- Two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, rgba(47,123,246,0.10), rgba(30,99,224,0.06));
  aspect-ratio: 4/3.2;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.split-media .glow {
  position: absolute; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(47,123,246,0.35), transparent 70%);
  filter: blur(40px);
}
.split-media .icon-big { color: var(--accent); opacity: .9; z-index: 1; }
.split-media img.media-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.2s var(--ease);
}
.split-media:hover img.media-fill { transform: scale(1.05); }
.split-media .media-badge {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}
.split-media .media-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Video embed ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(47, 123, 246, 0.28);
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-frame video { object-fit: cover; background: #050505; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  cursor: default;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(5,5,5,0.82) 0%, rgba(5,5,5,0.15) 45%, transparent 70%);
}
.gallery-item .gallery-cat {
  font-family: var(--font-numbers);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.gallery-item .gallery-title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; }
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- List check ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--muted);
}
.check-list li .ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(30,99,224,0.12);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.pain-list li .ic { background: rgba(255,90,90,0.1); color: #ff6b6b; }

/* ---------- Pricing / Products ---------- */
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(47,123,246,0.3); }
.product-thumb {
  aspect-ratio: 1/0.8;
  background: linear-gradient(155deg, rgba(47,123,246,0.12), rgba(16,24,39,0.4));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.product-body { padding: 20px; }
.product-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.product-title { font-family: var(--font-heading); font-size: 15.5px; margin: 6px 0 10px; }
.product-price { font-family: var(--font-numbers); font-weight: 700; color: var(--accent); font-size: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(47,123,246,0.12), rgba(30,99,224,0.08));
  padding: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 620px; margin: 0 auto 16px; }
.cta-banner p { max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { font-size: 14.5px; color: var(--muted); transition: color .2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #059669);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px -10px rgba(16,185,129,0.55);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 16px 40px -10px rgba(16,185,129,0.55); }
  50% { box-shadow: 0 16px 50px -6px rgba(16,185,129,0.8); }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }

/* ---------- Forms ---------- */
.form-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: rgba(47,123,246,0.04);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero {
  padding: 170px 0 80px;
  position: relative;
  overflow: hidden;
}
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .4; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 15.5px; }
.faq-q .plus { transition: transform .3s var(--ease); color: var(--accent); flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin-top .4s var(--ease); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 220px; margin-top: 14px; }

/* ---------- Timeline (about) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.pillar { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; background: rgba(255,255,255,0.02); }
.pillar .num { font-family: var(--font-numbers); font-size: 13px; color: var(--accent); margin-bottom: 14px; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.gap-3 { gap: 12px; }

/* ============================================================
   TRAINING ACADEMY — light blue & white theme (scoped)
   ============================================================ */
body.academy {
  --bg: #ffffff;
  --surface: #eef4ff;
  --text: #0f2545;
  --muted: #566581;
  --border: rgba(13, 37, 84, 0.10);
  --accent: #1d4ed8;
  --secondary: #2f7bf6;
  --font-heading: "Poppins", sans-serif;
  --font-numbers: "Poppins", sans-serif;
  background: #ffffff;
  color: var(--text);
}
body.academy p { color: var(--muted); }
body.academy .muted { color: var(--muted); }

/* Headings weight a touch heavier for Poppins */
body.academy h1, body.academy h2, body.academy h3, body.academy h4 { letter-spacing: -0.015em; }

/* Gradient text -> blue */
body.academy .gradient-text {
  background: linear-gradient(120deg, #1d4ed8 10%, #2f7bf6 60%, #22a1ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header on light */
body.academy .site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(13, 37, 84, 0.5);
}
body.academy .main-nav a.nav-link { color: var(--muted); }
body.academy .main-nav a.nav-link:hover,
body.academy .main-nav a.nav-link.active { color: var(--accent); background: rgba(29, 78, 216, 0.08); }
body.academy .dropdown-menu { background: rgba(255,255,255,0.98); box-shadow: 0 30px 60px -24px rgba(13,37,84,0.35); }
body.academy .dropdown-menu a { color: var(--muted); }
body.academy .dropdown-menu a:hover { background: rgba(29,78,216,0.08); color: var(--accent); }
body.academy .nav-toggle { background: rgba(13,37,84,0.04); border-color: var(--border); }
body.academy .nav-toggle span { background: var(--text); }
body.academy .mobile-nav { background: rgba(255,255,255,0.98); border-left-color: var(--border); }
body.academy .mobile-nav a { color: var(--text); }
body.academy .mobile-nav .sub-links a { color: var(--muted); }

/* Buttons */
body.academy .btn-primary { color: #ffffff; }
body.academy .btn-primary:hover { box-shadow: 0 0 0 1px rgba(29,78,216,.35), 0 20px 40px -12px rgba(29,78,216,0.45); }
body.academy .btn-ghost {
  background: #ffffff;
  color: var(--accent);
  border-color: rgba(29,78,216,0.28);
}
body.academy .btn-ghost:hover { border-color: var(--accent); background: rgba(29,78,216,0.06); color: var(--accent); }

/* Hero on light */
body.academy .hero-bg {
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(29,78,216,0.14), transparent 60%),
    radial-gradient(700px 500px at 85% 55%, rgba(47,123,246,0.12), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(238,244,255,0.9), transparent 70%);
}
body.academy .hero-grid {
  background-image:
    linear-gradient(rgba(13,37,84,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,37,84,0.05) 1px, transparent 1px);
}

/* Trust chips */
body.academy .trust-chip { background: rgba(29,78,216,0.05); border-color: rgba(29,78,216,0.14); color: var(--muted); }
body.academy .trust-chip strong { color: var(--text); }
body.academy .trust-chip .dot { background: var(--accent); }

/* Cards */
body.academy .glass-card {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -30px rgba(13,37,84,0.35);
}
body.academy .glass-card:hover { border-color: rgba(29,78,216,0.4); box-shadow: 0 30px 55px -30px rgba(29,78,216,0.35); }
body.academy .card-icon { background: rgba(29,78,216,0.08); border-color: rgba(29,78,216,0.2); color: var(--accent); }
body.academy .card-link { color: var(--accent); }

/* Split media frame */
body.academy .split-media { background: linear-gradient(155deg, rgba(29,78,216,0.10), rgba(47,123,246,0.05)); }
body.academy .split-media .glow { background: radial-gradient(circle, rgba(29,78,216,0.28), transparent 70%); }

/* Section alternating tint */
body.academy .section-tint { background: var(--surface); }

/* Pillars */
body.academy .pillar { background: #ffffff; box-shadow: 0 20px 40px -30px rgba(13,37,84,0.3); }
body.academy .pillar .num { color: var(--accent); }

/* Stats */
body.academy .stat .num { color: var(--text); }

/* CTA banner -> blue */
body.academy .cta-banner {
  background: linear-gradient(135deg, #1d4ed8, #2f7bf6);
  border-color: transparent;
  box-shadow: 0 40px 80px -30px rgba(29,78,216,0.6);
}
body.academy .cta-banner h2 { color: #ffffff; }
body.academy .cta-banner p { color: rgba(255,255,255,0.9); }
body.academy .cta-banner .eyebrow { color: #cfe0ff; }
body.academy .cta-banner .eyebrow::before { background: #cfe0ff; }
body.academy .cta-banner .btn-ghost { background: rgba(255,255,255,0.12); color: #ffffff; border-color: rgba(255,255,255,0.4); }
body.academy .cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: #ffffff; color:#fff; }
body.academy .cta-banner .check-list li { color: rgba(255,255,255,0.92); }
body.academy .cta-banner .check-list li .ic { background: rgba(255,255,255,0.18); color: #ffffff; }

/* Footer on light */
body.academy .site-footer { border-top-color: var(--border); }
body.academy .footer-links a:hover { color: var(--accent); }
body.academy .social-row a:hover { border-color: var(--accent); color: var(--accent); }

/* Video frame shadow */
body.academy .video-frame { box-shadow: 0 40px 80px -30px rgba(29,78,216,0.3); }

/* ---------- Section nav (in-page icon menu) ---------- */
.section-nav {
  position: sticky;
  top: 60px;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-nav .sn-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.section-nav .sn-inner::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.section-nav a svg { width: 17px; height: 17px; flex: none; }
.section-nav a:hover { color: var(--accent); background: rgba(29,78,216,0.07); }
.section-nav a.active { color: var(--accent); background: rgba(29,78,216,0.12); }

/* ---------- Course outline steps ---------- */
.outline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.outline-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.outline-step:hover { transform: translateY(-4px); border-color: rgba(29,78,216,0.35); box-shadow: 0 24px 44px -28px rgba(29,78,216,0.35); }
.outline-step .step-num {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #2f7bf6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-numbers); font-weight: 700; font-size: 16px;
}
.outline-step h3 { font-size: 16.5px; margin-bottom: 4px; }
.outline-step p { font-size: 13.5px; margin: 0; }

/* ---------- Track record band ---------- */
.record-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0b2559, #123a86);
  color: #fff;
}
.record-band .rec { text-align: center; }
.record-band .rec .num { font-family: var(--font-numbers); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); display: block; }
.record-band .rec .label { font-size: 13.5px; color: rgba(255,255,255,0.82); margin-top: 6px; }

/* ---------- Price card ---------- */
.price-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: 0 40px 80px -40px rgba(13,37,84,0.4);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, #1d4ed8, #2f7bf6, #22a1ff);
}
.price-card .price-amount {
  font-family: var(--font-numbers);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--text);
  line-height: 1;
}
.price-card .price-amount span { font-size: 0.42em; color: var(--muted); font-weight: 600; vertical-align: super; margin-right: 4px; }
.price-card .price-note { font-size: 14px; margin: 14px 0 26px; }

/* ---------- Placeholder tiles (photos / reviews coming later) ---------- */
.placeholder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.placeholder-tile {
  aspect-ratio: 4 / 3;
  border: 1.5px dashed rgba(29,78,216,0.3);
  border-radius: var(--radius-md);
  background: rgba(29,78,216,0.03);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted); text-align: center; padding: 20px;
}
.placeholder-tile svg { color: rgba(29,78,216,0.45); }
.placeholder-tile .pt-label { font-size: 13px; font-weight: 500; }
.review-placeholder {
  border: 1.5px dashed rgba(29,78,216,0.3);
  border-radius: var(--radius-md);
  background: rgba(29,78,216,0.03);
  padding: 28px;
  color: var(--muted);
}

/* Real trainee reviews. Drop a .review-card in for each verified review. */
.review-card {
  border: 1px solid rgba(29,78,216,0.14);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 30px 28px;
  box-shadow: 0 18px 40px -28px rgba(9,30,66,0.28);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-card .quote-mark { color: rgba(29,78,216,0.30); }
.review-card blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: #23324d;
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 4px;
}
.review-card .reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(29,78,216,0.10);
}
.review-card .reviewer-name { font-weight: 600; font-size: 14.5px; color: #12213d; }
.review-card .reviewer-meta { font-size: 12.5px; color: #6b7a95; }

/* Invitation panel shown while real reviews are still being collected */
.review-invite {
  grid-column: 1 / -1;
  border: 1.5px dashed rgba(29,78,216,0.30);
  border-radius: var(--radius-md);
  background: rgba(29,78,216,0.04);
  padding: 40px 32px;
  text-align: center;
}
.review-invite h3 { font-size: 19px; margin-bottom: 8px; color: #12213d; }
.review-invite p { max-width: 560px; margin: 0 auto 22px; }

@media (max-width: 600px) {
  .section-nav { top: 56px; }
  .record-band { padding: 32px 22px; }
}

/* ---------- Training gallery (portrait, 4-up) ---------- */
.gallery-grid.four { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.four .gallery-item { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .gallery-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid.four { grid-template-columns: 1fr; } .gallery-grid.four .gallery-item { aspect-ratio: 4 / 3.4; } }

/* ---------- Text-variant stat (non-numeric headline stats) ---------- */
.stat .num.txt {
  font-family: var(--font-numbers);
}

/* ---------- Services ticker (pop-out slide effect) ---------- */
.services-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.services-ticker .ticker-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: ticker-scroll 28s linear infinite;
}
.services-ticker .ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.services-ticker .ticker-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .services-ticker .ticker-track { animation: none; }
}

/* ---------- Shop page ---------- */
.product-thumb.has-photo { background: #0d1520; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-cta-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.product-card .product-cta-row a {
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.product-card .product-cta-row a.wa {
  background: rgba(47,123,246,0.1);
  border-color: rgba(47,123,246,0.28);
  color: var(--text);
}
.product-card .product-cta-row a:hover { border-color: rgba(47,123,246,0.5); color: var(--text); }

.shop-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.shop-filters button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.shop-filters button:hover { color: var(--text); border-color: rgba(47,123,246,0.35); }
.shop-filters button.active {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  border-color: transparent;
}
.shop-note {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
}

/* ============================================================
   LIGHT THEME — light-first with dark accent sections
   Applied via <body class="light">. Excludes body.academy.
   ============================================================ */
body.light {
  --font-heading: "Poppins", sans-serif;
  --font-numbers: "Poppins", sans-serif;
  --bg: #ffffff;
  --surface: #f4f7fc;
  --text: #0f2545;
  --muted: #55637d;
  --border: rgba(13, 37, 84, 0.10);
  background: var(--bg);
  color: var(--text);
}
body.light p { color: var(--muted); }

/* Gradient headline text -> deep blue on light */
body.light .gradient-text {
  background: linear-gradient(120deg, #1d4ed8 10%, #2f7bf6 60%, #22a1ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Header on light ---- */
body.light .site-header.scrolled {
  background: rgba(255,255,255,0.86);
  border-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(13,37,84,0.5);
}
body.light .main-nav a.nav-link { color: var(--muted); }
body.light .main-nav a.nav-link:hover,
body.light .main-nav a.nav-link.active { color: var(--accent); background: rgba(47,123,246,0.09); }
body.light .dropdown-menu {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 30px 60px -24px rgba(13,37,84,0.35);
}
body.light .dropdown-menu a { color: var(--muted); }
body.light .dropdown-menu a:hover { background: rgba(47,123,246,0.08); color: var(--accent); }
body.light .nav-toggle { background: rgba(13,37,84,0.04); border-color: var(--border); }
body.light .nav-toggle span { background: var(--text); }
body.light .mobile-nav { background: rgba(255,255,255,0.98); border-left-color: var(--border); }
body.light .mobile-nav a { color: var(--text); }
body.light .mobile-nav .sub-links a { color: var(--muted); }

/* ---- Buttons ---- */
body.light .btn-primary { color: #ffffff; }
body.light .btn-ghost {
  background: #ffffff;
  color: var(--accent);
  border-color: rgba(47,123,246,0.30);
  backdrop-filter: none;
}
body.light .btn-ghost:hover { border-color: var(--accent); background: rgba(47,123,246,0.06); color: var(--accent); }

/* ---- HERO stays dark (accent section) ---- */
body.light .hero,
body.light .page-hero {
  background: #061024;
  color: #ffffff;
}
body.light .hero h1, body.light .page-hero h1,
body.light .hero h2, body.light .page-hero h2 { color: #ffffff; }
body.light .hero p, body.light .page-hero p,
body.light .hero .lede, body.light .page-hero .lede { color: rgba(255,255,255,0.72); }
body.light .hero .breadcrumb, body.light .page-hero .breadcrumb { color: rgba(255,255,255,0.6); }
body.light .hero .breadcrumb a:hover, body.light .page-hero .breadcrumb a:hover { color: #fff; }
body.light .hero .trust-chip, body.light .page-hero .trust-chip {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
}
body.light .hero .trust-chip strong, body.light .page-hero .trust-chip strong { color: #ffffff; }
body.light .hero .btn-ghost, body.light .page-hero .btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border-color: rgba(255,255,255,0.28);
}
body.light .hero .btn-ghost:hover, body.light .page-hero .btn-ghost:hover {
  background: rgba(255,255,255,0.12); border-color: #ffffff; color: #ffffff;
}
body.light .hero .gradient-text, body.light .page-hero .gradient-text {
  background: linear-gradient(120deg, #ffffff 15%, #7db4ff 55%, #2f7bf6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Alternating section tint ---- */
body.light .section-tint { background: var(--surface); }

/* ---- Cards on light ---- */
body.light .glass-card {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -30px rgba(13,37,84,0.35);
}
body.light .glass-card:hover {
  border-color: rgba(47,123,246,0.38);
  box-shadow: 0 30px 55px -30px rgba(47,123,246,0.35);
}
body.light .card-icon { background: rgba(47,123,246,0.08); border-color: rgba(47,123,246,0.2); color: var(--accent); }
body.light .card-link { color: var(--accent); }
body.light .pillar { background: #ffffff; box-shadow: 0 20px 40px -30px rgba(13,37,84,0.3); }
body.light .product-card { background: #ffffff; box-shadow: 0 20px 40px -30px rgba(13,37,84,0.3); }
body.light .product-thumb { background: linear-gradient(155deg, rgba(47,123,246,0.10), rgba(244,247,252,0.9)); }
body.light .product-thumb.has-photo { background: #f4f7fc; }
body.light .product-card .product-cta-row a { color: var(--muted); }
body.light .product-card .product-cta-row a.wa {
  background: rgba(47,123,246,0.10);
  border-color: rgba(47,123,246,0.28);
  color: var(--accent);
}
body.light .product-card .product-cta-row a:hover { border-color: rgba(47,123,246,0.5); color: var(--accent); }

/* ---- Split media ---- */
body.light .split-media { background: linear-gradient(155deg, rgba(47,123,246,0.10), rgba(47,123,246,0.04)); }
body.light .split-media .glow { background: radial-gradient(circle, rgba(47,123,246,0.25), transparent 70%); }
body.light .media-badge { background: rgba(6,16,36,0.62); color: #ffffff; border-color: rgba(255,255,255,0.18); }

/* ---- Stats ---- */
body.light .stat .num { color: var(--text); }

/* ---- FAQ / forms / misc ---- */
body.light .faq-item { background: #ffffff; box-shadow: 0 16px 32px -28px rgba(13,37,84,0.35); }
body.light .form-panel { background: #ffffff; box-shadow: 0 24px 48px -34px rgba(13,37,84,0.35); }
body.light .field input, body.light .field select, body.light .field textarea {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}
body.light .field input:focus, body.light .field select:focus, body.light .field textarea:focus {
  border-color: var(--accent);
  background: rgba(47,123,246,0.03);
}
body.light .shop-filters button { background: #ffffff; color: var(--muted); }
body.light .shop-filters button:hover { color: var(--accent); border-color: rgba(47,123,246,0.35); }
body.light .shop-filters button.active { color: #ffffff; }
body.light .shop-note { background: #ffffff; color: var(--muted); }
body.light .services-ticker { border-color: var(--border); }
body.light .ticker-item { color: var(--muted); }

/* ---- CTA banner -> solid blue accent block ---- */
body.light .cta-banner {
  background: linear-gradient(135deg, #1d4ed8, #2f7bf6);
  border-color: transparent;
  box-shadow: 0 40px 80px -34px rgba(29,78,216,0.55);
}
body.light .cta-banner h2 { color: #ffffff; }
body.light .cta-banner p { color: rgba(255,255,255,0.9); }
body.light .cta-banner .gradient-text {
  background: none; -webkit-background-clip: initial; background-clip: initial; color: #cfe0ff;
}
body.light .cta-banner .btn-primary { background: #ffffff; color: #1d4ed8; }
body.light .cta-banner .btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(0,0,0,0.35); }
body.light .cta-banner .btn-ghost {
  background: rgba(255,255,255,0.12); color: #ffffff; border-color: rgba(255,255,255,0.42);
}
body.light .cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: #ffffff; color: #ffffff; }
body.light .cta-banner .check-list li { color: rgba(255,255,255,0.92); }
body.light .cta-banner .check-list li .ic { background: rgba(255,255,255,0.18); color: #ffffff; }

/* ---- Footer -> dark accent block ---- */
body.light .site-footer {
  background: #061024;
  border-top-color: transparent;
  color: rgba(255,255,255,0.72);
}
body.light .site-footer p { color: rgba(255,255,255,0.66); }
body.light .site-footer h4 { color: rgba(255,255,255,0.55); }
body.light .site-footer .footer-links a,
body.light .site-footer .footer-links li { color: rgba(255,255,255,0.72); }
body.light .site-footer .footer-links a:hover { color: #7db4ff; }
body.light .footer-bottom { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); }
body.light .social-row a { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); }
body.light .social-row a:hover { border-color: #7db4ff; color: #7db4ff; }

/* ---- Gallery overlays stay legible on light ---- */
body.light .gallery-item { border-color: var(--border); box-shadow: 0 20px 40px -30px rgba(13,37,84,0.35); }

/* ---------- Project video cards (Our Work) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b1524;
  aspect-ratio: 9 / 14;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47,123,246,0.4);
  box-shadow: 0 30px 60px -30px rgba(47,123,246,0.4);
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card .vc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(4,10,22,0.86) 0%, rgba(4,10,22,0.15) 45%, transparent 70%);
  pointer-events: none;
}
.video-card .vc-cat {
  font-family: var(--font-numbers);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7db4ff;
  margin-bottom: 4px;
}
.video-card .vc-title { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: #ffffff; }
.video-card .vc-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.video-card.playing .vc-play { opacity: 0; }
.video-card.playing .vc-overlay { background: linear-gradient(to top, rgba(4,10,22,0.7) 0%, transparent 45%); }

/* ---------- Hero background video (homepage — full-bleed, text overlaid on top) ---------- */
.hero-has-video { padding: 200px 0 140px; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050b16;
}
/* blurred backdrop fills the entire hero, edge to edge */
.hero-media-bg {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: blur(46px) saturate(115%) brightness(0.5);
  transform: scale(1.1);
}
/* the real portrait clip, centred and fully visible on top of the blur */
.hero-media-main {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: 128%;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.92;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,8,18,0.75) 0%, rgba(3,8,18,0.45) 32%, rgba(3,8,18,0.7) 78%, rgba(3,8,18,0.92) 100%),
    radial-gradient(900px 600px at 20% 30%, rgba(47,123,246,0.18), transparent 60%);
}
.hero-has-video .hero-grid { opacity: 0.5; }
.hero-sound {
  position: relative;
  z-index: 2;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(8,18,31,0.55);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.hero-sound svg { flex-shrink: 0; }
.hero-sound:hover { background: rgba(47,123,246,0.5); border-color: #fff; }
@media (max-width: 700px) {
  .hero-has-video { padding: 160px 0 100px; }
  .hero-sound span { display: none; }
  .hero-sound { margin-top: 28px; }
}

/* ---------- Card art tiles (rich graphic card headers) ---------- */
.glass-card:has(.card-art) { padding-top: 0; overflow: hidden; }

.card-art {
  position: relative;
  height: 136px;
  margin: 0 -32px 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background: linear-gradient(145deg, #12417f 0%, #0b2350 52%, #071734 100%);
}
/* layered brand glow */
.card-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 92% at 20% 12%, rgba(96,160,255,0.60), transparent 62%),
    radial-gradient(64% 84% at 88% 92%, rgba(47,123,246,0.46), transparent 66%);
  z-index: 1;
}
/* fine engineering grid, faded at the edges */
.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 50% 42%, #000 22%, transparent 76%);
  mask-image: radial-gradient(ellipse 82% 74% at 50% 42%, #000 22%, transparent 76%);
  z-index: 1;
}
/* frosted disc + halo behind the glyph */
.art-glyph {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.05),
    0 0 0 22px rgba(255,255,255,0.025),
    0 18px 30px -14px rgba(2,8,20,0.7);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.art-glyph svg { width: 30px; height: 30px; display: block; }
.glass-card:hover .art-glyph {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.17);
  box-shadow:
    0 0 0 12px rgba(255,255,255,0.075),
    0 0 0 26px rgba(255,255,255,0.035),
    0 22px 34px -14px rgba(2,8,20,0.75);
}
/* keep the tile reading as one piece with the card in light theme */
body.light .glass-card:has(.card-art) { border-color: rgba(13,37,84,0.10); }
body.light .glass-card:has(.card-art):hover { border-color: rgba(47,123,246,0.32); }

/* photo-backed tiles: real project/product photography under a brand scrim */
.card-art .art-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease);
}
.glass-card:hover .art-photo { transform: scale(1.06); }
/* brand scrim: a focused pool behind the glyph, easing off so the photo survives */
.card-art.has-photo::before {
  background:
    radial-gradient(40% 60% at 50% 50%, rgba(4,14,32,0.66), transparent 74%),
    linear-gradient(150deg, rgba(8,28,66,0.50) 0%, rgba(6,20,45,0.26) 50%, rgba(4,14,32,0.54) 100%);
}
/* the engineering grid stays, but only whispers over photography */
.card-art.has-photo::after { opacity: 0.24; }
/* keep photography crisp rather than muddy under the tint */
.card-art.has-photo .art-photo { filter: saturate(1.08) contrast(1.04); }

/* The logo is transparent navy artwork, which all but disappears on the dark
   footer. A light plate restores contrast without recolouring the brand mark. */
.site-footer .logo-mark {
  background: #ffffff;
  padding: 9px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 26px -14px rgba(0,0,0,0.55);
}

/* Showreel strip: three project clips sitting directly beneath the hero. */
.showreel-strip { padding: 84px 0 96px; }
.showreel-strip .section-head { margin-bottom: 40px; }
@media (max-width: 900px) { .showreel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .showreel-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .showreel-strip { padding: 60px 0 68px; } }

/* Fixed three-up: six solution cards resolve into two clean rows at any
   desktop width, instead of auto-fit reflowing them 4 + 2. */
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .card-grid.cols-3 { grid-template-columns: 1fr; } }

/* Photo-led tiles: the photograph is the content, not a decorative banner.
   Taller frame, minimal tint, and the glyph steps aside into the corner. */
.card-art.photo-lead {
  height: 232px;
  margin-bottom: 26px;
}
.card-art.photo-lead::before {
  background: linear-gradient(to top,
    rgba(4,14,32,0.66) 0%,
    rgba(4,14,32,0.20) 38%,
    rgba(4,14,32,0.02) 62%,
    transparent 100%);
}
.card-art.photo-lead::after { opacity: 0.09; }
.card-art.photo-lead .art-photo { filter: saturate(1.05) contrast(1.02); }
.card-art.photo-lead .art-glyph {
  position: absolute;
  left: 18px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.05),
    0 12px 22px -10px rgba(2,8,20,0.75);
}
.card-art.photo-lead .art-glyph svg { width: 21px; height: 21px; }
.glass-card:hover .card-art.photo-lead .art-glyph {
  transform: translateY(-3px) scale(1.04);
}
@media (max-width: 700px) {
  .card-art.photo-lead { height: 200px; }
}

/* subtle per-card variation so a long grid never reads as one repeated tile */
.card-grid > *:nth-child(4n+2) .card-art:not(.has-photo) {
  background: linear-gradient(145deg, #0e3a76 0%, #0a2049 54%, #06152f 100%);
}
.card-grid > *:nth-child(4n+2) .card-art:not(.has-photo)::before {
  background:
    radial-gradient(70% 90% at 78% 14%, rgba(86,152,255,0.58), transparent 62%),
    radial-gradient(62% 82% at 14% 90%, rgba(47,123,246,0.42), transparent 66%);
}
.card-grid > *:nth-child(4n+3) .card-art:not(.has-photo) {
  background: linear-gradient(160deg, #14488a 0%, #0c2755 50%, #071734 100%);
}
.card-grid > *:nth-child(4n+3) .card-art:not(.has-photo)::before {
  background:
    radial-gradient(76% 96% at 50% 6%, rgba(108,172,255,0.55), transparent 64%),
    radial-gradient(58% 76% at 84% 94%, rgba(30,99,224,0.44), transparent 68%);
}
.card-grid > *:nth-child(4n+4) .card-art:not(.has-photo) {
  background: linear-gradient(135deg, #103864 0%, #0a1f45 56%, #06142e 100%);
}
.card-grid > *:nth-child(4n+4) .card-art:not(.has-photo)::before {
  background:
    radial-gradient(66% 88% at 16% 86%, rgba(96,160,255,0.55), transparent 62%),
    radial-gradient(60% 80% at 82% 12%, rgba(47,123,246,0.40), transparent 66%);
}

@media (max-width: 700px) {
  .card-art { height: 118px; }
  .art-glyph { width: 66px; height: 66px; }
  .art-glyph svg { width: 26px; height: 26px; }
}

