/* =========================================================================
   DEZIGN EXPERTS — DESIGN SYSTEM
   Brand anchor: electric cyan-blue derived from the DE logo mark
   ========================================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --brand:        #0099FF;
  --brand-strong: #0077CC;
  --brand-deep:   #005599;
  --brand-tint:   #E6F4FF;
  --brand-tint-2: #F0F8FF;

  /* Accent (neon cyan for badges + highlights) */
  --accent:       #00E5FF;
  --accent-soft:  #B3F7FF;

  /* Ink (near-black w/ blue undertone) */
  --ink:          #0A1628;
  --ink-800:      #1A2438;
  --ink-700:      #334155;
  --ink-500:      #64748B;
  --ink-400:      #94A3B8;
  --ink-300:      #CBD5E1;
  --ink-200:      #E2E8F0;
  --ink-100:      #F1F5F9;

  /* Surfaces */
  --surface:      #FFFFFF;
  --surface-alt:  #F7FAFD;
  --surface-2:    #EEF5FB;
  --surface-dark: #061021;
  --surface-dark-2: #0B1A32;

  /* Utility */
  --star:         #FBBF24;
  --success:      #10B981;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,22,40,.06), 0 1px 3px rgba(10,22,40,.04);
  --shadow-md: 0 4px 12px rgba(10,22,40,.06), 0 8px 24px rgba(10,22,40,.06);
  --shadow-lg: 0 12px 32px rgba(10,22,40,.08), 0 24px 60px rgba(10,22,40,.08);
  --shadow-brand: 0 12px 32px rgba(0,153,255,.22), 0 6px 12px rgba(0,153,255,.18);
  --shadow-glow: 0 0 0 6px rgba(0,153,255,.12);

  /* Motion */
  --ease: cubic-bezier(.4,.14,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: 180ms;
  --dur: 300ms;
  --dur-slow: 600ms;

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 132px);

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--brand-strong); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--brand-deep); }
ul, ol { padding: 0; list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw + 0.5rem, 4.5rem); letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(2rem, 3vw + 0.75rem, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.5rem, 1.5vw + 0.9rem, 2rem); }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { color: var(--ink-700); }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--ink-700); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-strong);
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--brand-tint);
  border: 1px solid rgba(0,153,255,.15);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,153,255,.2);
}
.eyebrow.on-dark {
  color: var(--accent);
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.2);
}
.eyebrow.on-dark::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,255,.2); }

/* Gradient text accent */
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding: var(--section-y) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-dark { background: var(--surface-dark); color: #cfd8e6; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 { color: #fff; }
.section-alt { background: var(--surface-alt); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--ink-700); font-size: 1.0625rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- BUTTONS ---------- */
.btn {
  --btn-bg: var(--brand-strong);
  --btn-fg: #fff;
  --btn-bd: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-strong));
  transform: translateY(101%);
  transition: transform 500ms var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); color: #fff; }
.btn:hover::before { transform: translateY(0); }
.btn svg { transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-lg { padding: 18px 32px; font-size: 1rem; }

.btn-secondary {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink-300);
}
.btn-secondary::before { background: var(--ink); }
.btn-secondary:hover { color: #fff; border-color: var(--ink); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-strong);
  --btn-bd: transparent;
  padding: 12px 18px;
}
.btn-ghost::before { display: none; }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-deep); }

.btn-on-dark {
  --btn-fg: var(--ink);
  --btn-bg: #fff;
  --btn-bd: #fff;
}
.btn-on-dark::before { background: linear-gradient(135deg, var(--accent), var(--brand)); }
.btn-on-dark:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-strong);
  font-size: 0.9375rem;
}
.link-arrow svg { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--brand-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
}
.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--ink-200);
  box-shadow: 0 1px 20px rgba(10,22,40,.04);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-mark:hover { color: var(--ink); }
.brand-mark .mark {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 6px 14px rgba(0,153,255,.35);
  position: relative;
}
.brand-mark .mark::after {
  content: "";
  position: absolute;
  inset: 6px 8px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.brand-mark .mark span { opacity: 0; }
.brand-mark .brand-name b { color: var(--brand-strong); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--r-full);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--brand-strong); background: var(--brand-tint); }
.nav-link.is-active { color: var(--brand-strong); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-item { position: relative; }
.nav-item.has-dropdown > .nav-link::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
  margin-left: 2px;
}
.nav-item.has-dropdown:hover > .nav-link::after,
.nav-item.has-dropdown:focus-within > .nav-link::after {
  transform: rotate(-135deg) translateY(1px);
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 12px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.dropdown a:hover { background: var(--brand-tint); color: var(--brand-strong); }
.dropdown a .dot {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--brand-tint);
  border: 1.5px solid var(--brand);
  flex-shrink: 0;
}

.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--ink-200);
  margin-left: auto;
}
.menu-toggle span {
  position: relative;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: rotate(45deg) translate(4px, 4px); }
.menu-open .menu-toggle span::after { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav-link { justify-content: space-between; padding: 14px 16px; }
  .nav-cta { margin: 8px 0 4px; text-align: center; justify-content: center; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none;
    border: 0;
    background: var(--surface-alt);
    padding: 4px 0 4px 12px;
    margin: 0;
    display: none;
  }
  .nav-item.has-dropdown.is-open .dropdown { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(120px, 16vh, 180px) 0 clamp(80px, 10vw, 120px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,153,255,.14), transparent 70%);
  filter: blur(30px);
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -10%; left: -10%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,229,255,.12), transparent 70%);
  filter: blur(30px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,22,40,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,22,40,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  opacity: 0.6;
}

/* Comet circles — 3D-perspective animated orbits, cyan-blue palette */
.hero-comet {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(120%, 1100px);
  aspect-ratio: 1;
  perspective: 1500px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}
.hero-comet .circle-wrapper {
  position: absolute;
  transform-style: preserve-3d;
  pointer-events: none;
}
.hero-comet .c1 { transform: rotateX(60deg)  rotateY(20deg)  rotateZ(5deg); top:  0%;  left: -15%; width: 75%;  height: 75%; }
.hero-comet .c2 { transform: rotateX(-60deg) rotateY(20deg)  rotateZ(5deg); top: -10%; left:  25%; width: 100%; height: 100%; }
.hero-comet .c3 { transform: rotateX(60deg)  rotateY(-20deg) rotateZ(5deg); top:  20%; left: -5%;  width: 80%;  height: 80%; }
.hero-comet .c4 { transform: rotateX(-60deg) rotateY(-20deg) rotateZ(5deg); top:  15%; left:  20%; width: 100%; height: 100%; }

@media (max-width: 800px) {
  .hero-comet { width: 140%; opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-comet circle animate { display: none; }
  .hero-comet { opacity: 0.4; }
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 940px; margin: 0 auto; }
.hero .rotating {
  display: inline-block;
  min-width: 200px;
  color: var(--brand-strong);
  position: relative;
  height: 1.2em;
  vertical-align: baseline;
}
.hero .rotating span {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 500ms var(--ease);
  white-space: nowrap;
}
.hero .rotating span.is-active { opacity: 1; transform: translateX(-50%) translateY(0); }
.hero h1 { margin-top: 12px; }
.hero .lead { margin: 24px auto 0; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-visual {
  margin-top: clamp(48px, 6vw, 80px);
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface-dark);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,16,33,.4), transparent 60%);
}

.hero-proofs {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.proof {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  text-align: left;
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-strong);
  font-size: 1.75rem;
  line-height: 1;
  min-width: max-content;
}
.proof p { font-size: 0.9375rem; color: var(--ink-700); line-height: 1.5; }

/* ---------- PAGE HEADER (breadcrumb hero) ---------- */
.page-header {
  padding: clamp(140px, 20vh, 200px) 0 clamp(60px, 7vw, 90px);
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,153,255,.12), transparent 70%);
  filter: blur(30px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-500);
  font-weight: 500;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-strong); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--brand-strong); }
.page-header h1 { margin-top: 20px; position: relative; }

/* ---------- CARDS ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: var(--brand-tint);
  color: var(--brand-strong);
  border-radius: var(--r-md);
  margin-bottom: 20px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.service-card:hover .icon {
  background: var(--brand-strong);
  color: #fff;
  transform: scale(1.05) rotate(-5deg);
}
.service-card h3 { font-size: 1.375rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-500); font-size: 0.9375rem; margin-bottom: 20px; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- STATS ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.stat {
  text-align: center;
  padding: 20px 10px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--ink-700);
  font-weight: 500;
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .brand-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--ink-500);
  letter-spacing: -0.02em;
  opacity: 0.7;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  white-space: nowrap;
}
.marquee-track .brand-logo:hover { color: var(--brand-strong); opacity: 1; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 30px)); }
}

.marquee-tag {
  background: var(--ink);
  color: #fff;
  padding: 24px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.marquee-tag .marquee-track {
  animation: marquee 30s linear infinite;
  gap: 32px;
}
.marquee-tag .tag-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 32px;
}
.marquee-tag .tag-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- RATING BADGE ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  background: #fff;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-md);
}
.rating-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1;
}
.rating-meta { display: flex; flex-direction: column; gap: 4px; }
.rating-stars { display: inline-flex; gap: 2px; color: var(--star); font-size: 0.875rem; }
.rating-text { font-size: 0.8125rem; color: var(--ink-500); }
.avatars { display: inline-flex; }
.avatars > .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, var(--brand-tint), var(--accent-soft));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-strong);
  margin-left: -8px;
}
.avatars > .av:first-child { margin-left: 0; }
.avatars > .av:nth-child(2) { background: linear-gradient(135deg, #FFE4E6, #FBCFE8); color: #BE185D; }
.avatars > .av:nth-child(3) { background: linear-gradient(135deg, #DBEAFE, #A7F3D0); color: #065F46; }
.avatars > .av:nth-child(4) { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E; }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 48px;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card.is-featured {
  background: linear-gradient(180deg, var(--surface-dark) 0%, #0A1A36 100%);
  color: #cfd8e6;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px) scale(1.02);
  z-index: 2;
}
.pricing-card.is-featured:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,153,255,.3);
}
.pricing-card.is-featured h3,
.pricing-card.is-featured .price,
.pricing-card.is-featured .price-suffix { color: #fff; }
.pricing-card.is-featured .pricing-tag { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #041B33; }
.pricing-card.is-featured .pricing-feats li { color: rgba(255,255,255,.85); }
.pricing-card.is-featured .pricing-feats li::before {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  color: #041B33;
}

.recommended-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #041B33;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.recommended-ribbon::before {
  content: "★";
  color: #041B33;
}

.pricing-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--r-full);
  text-transform: uppercase;
  margin-bottom: 16px;
  width: max-content;
}
.pricing-card h3 { font-size: 1.5rem; }
.pricing-desc { color: var(--ink-500); font-size: 0.9375rem; margin-top: 8px; margin-bottom: 24px; }
.pricing-card.is-featured .pricing-desc { color: rgba(255,255,255,.7); }
.price-row {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 8px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-suffix { color: var(--ink-500); font-size: 0.875rem; }
.pricing-divider { height: 1px; background: var(--ink-200); margin: 24px 0; }
.pricing-card.is-featured .pricing-divider { background: rgba(255,255,255,.1); }

.pricing-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.pricing-feats li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.pricing-feats li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-grid; place-items: center;
  background: var(--brand-tint);
  color: var(--brand-strong);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 3px;
}
.pricing-card .btn { justify-content: center; }
.pricing-card.is-featured .btn { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.pricing-card.is-featured .btn::before { background: linear-gradient(135deg, var(--brand), var(--accent)); }
.pricing-card.is-featured .btn:hover { color: var(--ink); }

/* Benefit strip */
.benefits-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 28px 32px;
  background: var(--brand-tint-2);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  margin-top: 40px;
}
.benefit-item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
}
.benefit-item .icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--brand-strong);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,153,255,.15);
}

/* ---------- FEATURES ---------- */
.feature-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  height: 100%;
}
.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-block .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-tint), var(--brand-tint-2));
  color: var(--brand-strong);
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.feature-block h4 { margin-bottom: 8px; }
.feature-block p { color: var(--ink-500); font-size: 0.9375rem; line-height: 1.6; }

.feature-check-list {
  display: flex; flex-direction: column;
  gap: 20px;
}
.feature-check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--ink-200);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.feature-check-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.feature-check-list li .icon {
  width: 28px; height: 28px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.feature-check-list li p { color: var(--ink); font-weight: 500; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
}
.testimonial::before {
  content: "”";
  position: absolute;
  top: 12px; right: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--brand-tint);
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.testimonial .stars { color: var(--star); font-size: 0.9375rem; }
.testimonial-text { color: var(--ink-700); line-height: 1.7; font-size: 0.9375rem; flex: 1; }
.testimonial-author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--ink-200);
}
.avatar-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-tint), var(--accent-soft));
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.testimonial-author h5 { font-size: 0.9375rem; margin-bottom: 2px; color: var(--ink); }
.testimonial-author span { font-size: 0.8125rem; color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq:hover { border-color: var(--brand); }
.faq[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 24px; height: 24px;
  border: 1.5px solid var(--ink-300);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
  color: var(--ink-500);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--brand);
  color: var(--brand);
  background:
    linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat;
}
.faq[open] summary { color: var(--brand-strong); }
.faq-body {
  padding: 0 28px 24px;
  color: var(--ink-700);
  line-height: 1.7;
}
.faq-body p + p { margin-top: 12px; }

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-full);
  margin-bottom: 40px;
  width: max-content;
  max-width: 100%;
}
.faq-tabs button {
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.faq-tabs button:hover { color: var(--brand-strong); }
.faq-tabs button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 10px rgba(10,22,40,.15);
}
.faq-panel { display: none; }
.faq-panel.is-active { display: block; animation: fadeIn 400ms var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- FORMS ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field input, .field textarea, .field select {
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  font-family: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}
.field textarea { min-height: 140px; resize: vertical; }

.ghl-embed-slot {
  background: var(--surface-alt);
  border: 2px dashed var(--brand);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  color: var(--brand-strong);
  font-size: 0.8125rem;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  transition: border-color var(--dur) var(--ease);
}
.newsletter-form:focus-within { border-color: var(--brand); }
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0.9375rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #041B33;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--r-full);
  transition: transform var(--dur) var(--ease-out);
}
.newsletter-form button:hover { transform: scale(1.05); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--surface-dark);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -30%; right: -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,153,255,.14), transparent 70%);
  filter: blur(30px);
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.8fr;
  gap: 48px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer .brand-mark { color: #fff; margin-bottom: 20px; }
.site-footer .brand-mark:hover { color: #fff; }
.site-footer h5 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; color: rgba(255,255,255,.7); font-size: 0.9375rem; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact .item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .item svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.newsletter-copy { font-size: 0.875rem; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--accent); }

/* Floating side tab */
.side-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #041B33;
  padding: 10px 22px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 6px 6px 0 0;
  box-shadow: -6px 0 20px rgba(0,153,255,.3);
  z-index: 50;
  transition: transform var(--dur) var(--ease);
}
.side-tab:hover {
  transform: translateY(-50%) rotate(-90deg) translateY(-6px);
  color: #041B33;
}
@media (max-width: 700px) { .side-tab { display: none; } }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .marquee-tag .marquee-track { animation: none; }
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--surface-dark) 0%, #0A1A36 100%);
  border-radius: var(--r-2xl);
  padding: clamp(48px, 6vw, 80px);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: clamp(60px, 8vw, 100px) 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,153,255,.3), transparent 70%);
  filter: blur(40px);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -50%; right: -20%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0,229,255,.25), transparent 70%);
  filter: blur(40px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 32px; font-size: 1.0625rem; }

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px clamp(28px, 4vw, 48px);
  background: var(--brand-tint-2);
  border: 1px solid rgba(0,153,255,.2);
  border-radius: var(--r-lg);
}
.cta-strip h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--ink);
  margin: 0;
}

/* ---------- PROCESS STEPS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
  margin-top: 32px;
}
.process-step {
  position: relative;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  counter-increment: step;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--brand-tint);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
  transition: color var(--dur) var(--ease);
}
.process-step:hover .step-num {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--ink-500); font-size: 0.9375rem; }

/* ---------- PROJECT CARDS ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  aspect-ratio: 4 / 5;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card .project-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 800ms var(--ease-out);
}
.project-card:hover .project-img { transform: scale(1.06); }
.project-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4,15,30,.85) 100%);
}
.project-card .project-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}
.project-card .tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.project-card h3 { color: #fff; font-size: 1.375rem; margin-bottom: 12px; line-height: 1.3; }
.project-card .link-arrow { color: var(--accent); }
.project-card .link-arrow:hover { color: #fff; }

.filter-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-full);
  margin-bottom: 32px;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
}
.filter-tabs button {
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.filter-tabs button:hover { color: var(--brand-strong); }
.filter-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- INFO LIST (project meta) ---------- */
.info-list {
  display: grid;
  gap: 20px;
  padding: 32px;
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
}
.info-list dt {
  font-size: 0.75rem;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.info-list dd {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.0625rem;
  margin: 0;
}
.info-item { padding: 20px; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--ink-200); }

/* ---------- CHALLENGE CARD (project pages) ---------- */
.challenge-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.challenge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.challenge-card .badge {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(0,153,255,.1);
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.challenge-card h4 { margin-bottom: 12px; }
.challenge-card p { color: var(--ink-500); font-size: 0.9375rem; margin-bottom: 20px; }
.challenge-card .solutions {
  display: flex; flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-200);
}
.challenge-card .solutions li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--ink-700);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.challenge-card .solutions li::before {
  content: "→";
  color: var(--brand-strong);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-200);
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p, .legal-content li { color: var(--ink-700); line-height: 1.75; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul {
  padding-left: 24px;
  list-style: disc;
  margin: 12px 0;
}
.legal-content li { margin-bottom: 6px; }
.legal-meta { color: var(--ink-500); font-size: 0.875rem; margin-bottom: 32px; }

/* ---------- MAP ---------- */
.map-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  background: var(--surface-alt);
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- VIDEO BLOCK ---------- */
.video-block {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-dark), #0A1A36);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out);
}
.video-block:hover { transform: scale(1.01); }
.video-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.video-block .play {
  position: relative;
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 20px 40px rgba(0,153,255,.4);
  transition: transform var(--dur) var(--ease-out);
}
.video-block:hover .play { transform: scale(1.1); }
.video-block .play::before {
  content: "";
  width: 0; height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
}
.video-block .play::after {
  content: "";
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- IMAGE FRAMES ---------- */
.img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--brand-tint), var(--surface-alt));
  position: relative;
  box-shadow: var(--shadow-md);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.tall { aspect-ratio: 3/4; }
.img-frame.wide { aspect-ratio: 21/9; }

/* Decorative SVG bg for placeholder hero images */
.svg-hero-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(135deg, rgba(0,153,255,.05), rgba(0,229,255,.05)),
    var(--surface-alt);
  display: grid; place-items: center;
}
.svg-hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,153,255,.2), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,229,255,.2), transparent 40%);
}
.svg-hero-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* Utility */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 64px; }

/* Sibling services list */
.sibling-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.sibling-service {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sibling-service:hover {
  transform: translateX(4px);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.sibling-service svg { transition: transform var(--dur) var(--ease-out); }
.sibling-service:hover svg { transform: translateX(4px); }

/* Icon-only helper */
.svg-icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svg-icon-lg { width: 32px; height: 32px; }
.svg-icon-sm { width: 18px; height: 18px; }

/* Micro-utility for card grids stat bars */
.mini-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  margin-top: 32px;
}
