/* ============================================================
   CLOUDBREAK INC — Global Stylesheet
   Version 2 | June 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,200;1,300&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
  --primary:      #019CDE;
  --primary-dark: #007ab8;
  --navy:         #002E80;
  --cyan:         #06B6D4;
  --dark-bg:      #0d1117;
  --dark-section: #141414;
  --surface:      #F8FAFC;
  --border:       #E2E8F0;
  --text:         #0F172A;
  --muted:        #64748B;
  --white:        #ffffff;
  --gray:         #B3B3B3;

  --font-display: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w:        1200px;
  --nav-h:        80px;
  --radius-card:  12px;
  --radius-btn:   8px;

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 200; line-height: 1.08; letter-spacing: -0.5px; }
h1 { font-size: clamp(52px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: 18px; font-weight: 300; }
p  { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary::before { background: var(--primary-dark); }
.btn-primary:hover { color: var(--white); }

.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline::before { background: var(--primary); }
.btn-outline:hover { color: var(--white); }

.btn-ghost-light { border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.75); }
.btn-ghost-light::before { background: rgba(255,255,255,0.12); }
.btn-ghost-light:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s;
}
.nav.scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 32px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 36px; }

/* Dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-chevron {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  color: rgba(255,255,255,0.45);
  transition: transform 0.25s var(--ease), color 0.2s;
  pointer-events: none;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
/* Desktop hover — only on real pointer devices to prevent touch bleed */
@media (hover: hover) and (pointer: fine) {
  .nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -16px; right: -16px;
    height: 24px;
  }
  .nav-item:hover .nav-chevron { transform: rotate(180deg); color: var(--white); }
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-link {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--primary);
  transition: width 0.25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-meta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: navPulse 2.5s ease infinite;
}
@keyframes navPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.25s; }

/* ── STATEMENT ── */
.statement-section {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 120px 0 calc(120px + 10vh);
  border-bottom: 1px solid var(--border);
}

.statement-text {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
  max-width: 1000px;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hero-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-poster {
  position: absolute;
  inset: 0; z-index: 0;
  background: linear-gradient(165deg, #0d1b2e 0%, #0a2040 35%, #071428 60%, #050d1a 100%);
  overflow: hidden;
}
.hero-poster::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 350px at 75% 55%, rgba(1,156,222,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 400px 200px at 15% 85%, rgba(6,182,212,0.05) 0%, transparent 55%);
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(5,12,25,0.40) 0%,
    rgba(5,12,25,0.25) 35%,
    rgba(5,12,25,0.60) 70%,
    rgba(5,12,25,0.88) 100%
  );
}

.hero-grain {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0.028; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

.hero-corner {
  position: absolute; top: 92px; left: 48px; z-index: 5;
  width: 20px; height: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
}

.hero-spacer { flex: 1; }

.hero-bottom {
  position: relative; z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-text { max-width: 820px; }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(54px, 7.5vw, 100px);
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.50);
  max-width: 500px;
}

.hero-discover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.hero-discover span {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero-discover-line {
  width: 1px; height: 52px;
  background: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.hero-discover-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--primary);
  animation: discoverDrop 2.2s ease-in-out infinite;
}
@keyframes discoverDrop { 0%{top:-100%} 100%{top:100%} }

/* ── NUMBERS SECTION ── */
.numbers { position: relative; z-index: 2; background: var(--navy); margin-top: -10vh; padding-top: 100px; }

.numbers-top {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 88px;
}

.numbers-headline {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--white);
  max-width: 560px;
}
.numbers-headline em { color: var(--primary); font-style: normal; }

.numbers-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  filter: brightness(0.8) saturate(0.85);
}

.numbers-bottom {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: flex-start;
}

.numbers-body {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.40);
  padding-top: 8px;
}

.stats-list { display: flex; flex-direction: column; }

.stat-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  transition: border-color 0.25s;
}
.stat-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.stat-row:hover { border-top-color: rgba(1,156,222,0.35); }
.stat-row:hover .stat-number { color: var(--primary); }

.stat-number {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(60px, 8vw, 100px);
  line-height: 1;
  letter-spacing: -3px;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.stat-label {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.38);
  transform: translateX(0);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.stat-row:hover .stat-label {
  transform: translateX(8px);
  color: rgba(255,255,255,0.60);
}

/* ── SERVICES ── */
.services {
  position: relative; z-index: 1;
  background-color: var(--surface);
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--border);
}

.service-card {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: default;
  position: relative;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.service-card:hover::before { opacity: 1; }
.service-card:last-child { border-right: none; }
.service-card:hover .service-icon {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.service-card:hover .service-title { color: var(--white); }
.service-card:hover .service-body  { color: rgba(255,255,255,0.6); }
.service-card:hover .service-link  { color: rgba(255,255,255,0.85); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(1,156,222,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--navy);
  line-height: 1.2;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  flex: 1;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-link:hover { gap: 10px; }
.service-link::after { content: '→'; }

/* ── INSIGHTS ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.insight-card {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  isolation: isolate;
  cursor: default;
}
.insight-card:last-child { border-right: none; }
.insight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.insight-card:hover::before { opacity: 1; }
.insight-card:hover .insight-tag  { color: rgba(255,255,255,0.5); }
.insight-card:hover .insight-title { color: var(--white); }
.insight-card:hover .service-body  { color: rgba(255,255,255,0.6); }
.insight-card:hover .service-link  { color: rgba(255,255,255,0.85); }

.insight-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.insight-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── CLIENTS STRIP ── */
.clients-strip { position: relative; z-index: 1; background: var(--white); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.clients-strip-inner { display: flex; align-items: center; gap: 32px; }
.clients-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 1px solid var(--border);
}

.clients-track-wrap { overflow: hidden; flex: 1; position: relative; }
.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.clients-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }

.clients-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }

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

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin: 0;
}

.client-logo {
  height: 108px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.client-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  text-align: center;
  transition: color 0.3s var(--ease);
}
.client-item:hover .client-name {
  color: var(--primary);
}

/* ── CTA BAND ── */
.cta-band {
  position: relative;
  z-index: 1;
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
  overflow: hidden;
}
.cta-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,156,222,0.12) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}
.cta-band p {
  color: rgba(255,255,255,0.50);
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 15px;
  position: relative;
}
.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

/* ── FOOTER ── */
.footer { position: relative; z-index: 1; background: var(--dark-bg); padding: 80px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer-brand { }
.footer-logo { margin-bottom: 20px; }
.footer-logo-img { height: 40px; width: auto; display: block; opacity: 0.9; }

.footer-tagline { font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.35); margin-bottom: 24px; }

.footer-contact a { display: block; font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); margin-bottom: 4px; transition: color 0.2s; }
.footer-contact a:hover { color: var(--primary); }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-social a:hover { color: var(--primary); }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }

/* ── Mouse asterisk trail ── */
.asterisk-drop {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 14px;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  user-select: none;
  animation: asteriskFall 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-origin: center;
}
@keyframes asteriskFall {
  0%   { opacity: 0.8; transform: translateY(0)   rotate(0deg)   scale(1); }
  100% { opacity: 0;   transform: translateY(60px) rotate(180deg) scale(0.4); }
}

/* ── Stat number pulse ── */
@keyframes statPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.stat-number.pulse {
  animation: statPulse 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── Marker highlight ── */
.marker-highlight {
  background-image: linear-gradient(rgba(1,156,222,0.22), rgba(1,156,222,0.22));
  background-repeat: no-repeat;
  background-position: 0% 88%;
  background-size: 0% 42%;
  transition: background-size 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-bottom: 2px;
}
.marker-highlight.marked {
  background-size: 100% 42%;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .numbers-top { grid-template-columns: 1fr; gap: 40px; }
  .numbers-img { max-width: 400px; }
  .numbers-bottom { grid-template-columns: 1fr; gap: 40px; }
  .numbers-body { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .service-card:nth-child(2) { border-right: none; }
  .service-card:nth-child(3) { border-top: 1px solid var(--border); grid-column: 1 / -1; border-right: none; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight-card:nth-child(2) { border-right: none; }
  .insight-card:nth-child(3) { border-top: 1px solid var(--border); grid-column: 1 / -1; border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Tablet: the full menu stays visible down to 769px, but six links plus the
   CTA do not fit. The CTA duplicates Contact, so drop it and tighten spacing. */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { gap: 24px; }
  .nav-inner > .btn { display: none; }
}
/* Just above tablet the CTA returns; trim spacing so it clears the links. */
@media (min-width: 1025px) and (max-width: 1150px) {
  .nav-inner { padding: 0 32px; }
  .nav-links { gap: 28px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  h1 { font-size: 48px; letter-spacing: -1px; }
  h2 { font-size: 36px; }

  .hero-bottom { padding: 0 24px 40px; }
  .hero-corner { left: 24px; }
  .hero-discover { display: none; }

  .nav-inner { padding: 0 24px; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(12px);
    padding: 90px 32px 48px;
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-link {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.3px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { display: none; }
  /* Mobile dropdown — inline expand */
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: none;
    backdrop-filter: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
    width: 100%;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-item.open .nav-chevron { transform: rotate(180deg); color: var(--white); }
  .nav-dropdown-link {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-dropdown-link:last-child { border-bottom: none; }
  .nav-meta  { display: none; }
  .nav-hamburger { display: flex; z-index: 100; position: relative; }
  .nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .numbers-top { margin-bottom: 48px; }
  .stat-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .stat-number { font-size: 56px; letter-spacing: -2px; }

  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card { border-right: none; border-top: none; }
  .service-card:first-child { border-top: none; }
  .service-card + .service-card { border-top: 1px solid var(--border); }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card { border-right: none; }
  .insight-card + .insight-card { border-top: 1px solid var(--border); }
  .insight-card:nth-child(3) { grid-column: auto; }
  .clients-label { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn { text-align: center; justify-content: center; }
}
