/* ==================== ROOT / THEME VARIABLES ==================== */
/* Design tokens mirrored from the live site's runtime theme (light/dark) */
:root {
  --color-primary: #2563EB;
  --color-background: #F9FAFB;
  --color-surface: #FFFFFF;
  --color-border: #E5E7EB;
  --color-text-primary: #111827;
  --color-text-secondary: #374151;
  --spotlight-color: #FF502826;

  --blue-500: #3B82F6;
  --blue-700: #1E40AF;
  --blue-900: #1E3A8A;
  --green-500: #10B981;
  --green-700: #059669;

  --bg: var(--color-background);
  --bg-alt: var(--color-surface);
  --surface: var(--color-surface);
  --surface-border: var(--color-border);
  --text: var(--color-text-primary);
  --text-muted: var(--color-text-secondary);
  --text-soft: #64748B;
  --header-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: #0B1220;
  --footer-text: #CBD5E1;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --gradient-primary: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  --gradient-accent: linear-gradient(135deg, var(--green-500), var(--blue-700));
  --shine: #38BDF8;
}

html.dark {
  --color-primary: #3B82F6;
  --color-background: #0F172A;
  --color-surface: #1E293B;
  --color-border: #334155;
  --color-text-primary: #E2E8F0;
  --color-text-secondary: #94A3B8;
  --spotlight-color: #FF502840;

  --text-soft: #94A3B8;
  --header-bg: rgba(15, 23, 42, 0.85);
  --footer-bg: #05080F;
  --footer-text: #94A3B8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shine: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

section { padding: 96px 0; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(30, 64, 175, 0.35); }
.btn-outline {
  background: transparent;
  border-color: var(--surface-border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--surface-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: transform 0.35s ease;
}
.brand-mark svg { display: block; width: 44px; height: 44px; overflow: visible; }
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.06); }
.brand-text {
  color: var(--text);
  text-shadow:
    0 1px 0 #b9bec8,
    0 2px 0 #a4aab6,
    0 3px 0 #8e95a3,
    0 4px 7px rgba(15, 23, 42, 0.35);
}
html.dark .brand-text,
.footer-brand .brand-text {
  color: #F8FAFC;
  text-shadow:
    0 1px 0 #475569,
    0 2px 0 #334155,
    0 3px 0 #1E293B,
    0 5px 10px rgba(0, 0, 0, 0.6);
}
.brand-text em { font-style: normal; color: var(--blue-500); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { font-weight: 500; color: var(--text-muted); position: relative; padding: 6px 0; }
.nav-link:hover, .nav-link.active { color: var(--blue-500); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.theme-toggle:hover { transform: scale(1.05); }
.theme-toggle-label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.icon-moon { display: none; }
html.dark .icon-sun { display: none; }
html.dark .icon-moon { display: flex; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero-bg-glow.glow-left {
  right: auto; left: -180px;
  top: 40%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(16,185,129,0.14), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-500);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-art { position: relative; }
@keyframes hero-hover {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-16px) rotate(0.6deg); }
}
.hero-illustration { width: 100%; max-width: 400px; margin: 0 auto; filter: drop-shadow(var(--shadow-lg)); position: relative; z-index: 2; animation: hero-hover 6s ease-in-out infinite; }

/* ==================== HERO AMBIENT ORBS ==================== */
@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 25px) scale(1.1); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb.orb-1 { width: 220px; height: 220px; left: 8%; top: 15%; background: rgba(255, 111, 0, 0.35); animation: drift-1 14s ease-in-out infinite; }
.hero-orb.orb-2 { width: 180px; height: 180px; right: 12%; top: 55%; background: rgba(59, 130, 246, 0.3); animation: drift-2 16s ease-in-out infinite; }
.hero-orb.orb-3 { width: 140px; height: 140px; left: 45%; bottom: 5%; background: rgba(16, 185, 129, 0.28); animation: drift-1 12s ease-in-out infinite reverse; }

/* ==================== FLOATING TECH ICONS ==================== */
@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}
.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.floater {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  animation: float-bob 6s ease-in-out infinite;
}
.floater svg { width: 26px; height: 26px; }
.floater.f1 { left: 7%; top: 15%; animation-delay: 0s; }
.floater.f2 { left: 74%; top: 11%; animation-delay: 0.8s; }
.floater.f3 { left: 2%; top: 55%; animation-delay: 1.6s; }
.floater.f4 { left: 81%; top: 49%; animation-delay: 2.4s; }
.floater.f5 { left: 13%; top: 80%; animation-delay: 3.2s; }
.floater.f6 { left: 68%; top: 82%; animation-delay: 4s; }
.floater.f7 { left: 40%; top: 5%; animation-delay: 1.2s; width: 42px; height: 42px; }
.floater.f7 svg { width: 20px; height: 20px; }

/* ==================== SECTION HEADINGS ==================== */
.section-heading { text-align: center; max-width: 960px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 16px; }
.section-heading p { color: var(--color-primary); font-size: 1.02rem; max-width: 900px; margin: 0 auto; }

/* ==================== GRID / CARDS ==================== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), var(--spotlight-color), transparent 80%);
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: perspective(1000px) rotateX(var(--tilt-x, 4deg)) rotateY(var(--tilt-y, -4deg)) translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}
.card > * { position: relative; z-index: 1; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; }
.card-tagline { color: var(--blue-500) !important; font-weight: 600; font-size: 0.9rem !important; margin-bottom: 10px !important; }
.card-list { display: flex; flex-direction: column; gap: 8px; }
.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

/* ==================== APPROACH FRAMEWORK ==================== */
.approach-panel {
  background: var(--surface);
  background-image: radial-gradient(120% 120% at 50% -10%, rgba(59, 130, 246, 0.14), transparent 60%);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 64px 56px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.approach-heading { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.approach-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.approach-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text);
}
.approach-heading p { color: var(--text-muted); font-size: 0.98rem; }

.approach-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  list-style: none;
}
.approach-step { position: relative; }
.approach-step + .approach-step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -30px;
  width: 20px;
  height: 1px;
  background: var(--surface-border);
}
.step-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.32);
  color: var(--color-primary);
  flex-shrink: 0;
}
.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}
.approach-step h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.approach-step p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); }
.approach-step[data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.approach-step[data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.approach-step[data-reveal]:nth-child(3) { transition-delay: 0.25s; }
.approach-step[data-reveal]:nth-child(4) { transition-delay: 0.35s; }
.approach-step[data-reveal]:nth-child(5) { transition-delay: 0.45s; }

.icon-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge.sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 0; flex-shrink: 0; }
.badge-blue { background: var(--gradient-primary); }
.badge-gradient { background: linear-gradient(135deg, var(--blue-500), var(--green-700)); }

.learn-more { color: var(--blue-500); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 6px; }
.learn-more:hover span { transform: translateX(4px); }
.learn-more span { display: inline-block; transition: transform 0.2s ease; }

/* ==================== SHINY TEXT (shimmer sweep) ==================== */
@keyframes shiny-text {
  0% { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}
.shiny-text {
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 38%,
    var(--shine) 50%,
    currentColor 62%,
    currentColor 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text 4.5s linear infinite;
}
html.dark .shiny-text {
  background-image: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 38%,
    var(--shine) 50%,
    currentColor 62%,
    currentColor 100%
  );
}
.section-heading h2 .shiny-text,
.cta-inner h2 .shiny-text { animation-duration: 6s; }

/* ==================== SHINY BUTTON (comet-trail glow border) ==================== */
@keyframes star-movement-bottom {
  0% { transform: translate(0%, 0%); opacity: 1; }
  100% { transform: translate(-100%, 0%); opacity: 0; }
}
@keyframes star-movement-top {
  0% { transform: translate(0%, 0%); opacity: 1; }
  100% { transform: translate(100%, 0%); opacity: 0; }
}
.shiny-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  padding: 2px 0;
  border: none;
  background: none;
}
.shiny-comet {
  position: absolute;
  width: 300%;
  height: 50%;
  opacity: 0.7;
  border-radius: 999px;
  z-index: 0;
  background: radial-gradient(circle, var(--color-primary), transparent 10%);
}
.shiny-comet.bottom { bottom: -11px; right: -250%; animation: star-movement-bottom 5s linear infinite; }
.shiny-comet.top { top: -10px; left: -250%; animation: star-movement-top 5s linear infinite; }
.shiny-btn-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shiny-btn:hover .shiny-btn-inner { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.shiny-btn.shiny-btn-sm .shiny-btn-inner { padding: 10px 20px; font-size: 0.85rem; }
.shiny-btn.shiny-btn-lg .shiny-btn-inner { padding: 16px 36px; font-size: 1.05rem; }
.shiny-btn.shiny-btn-solid .shiny-btn-inner { background: var(--gradient-primary); color: #fff; border-color: transparent; }

/* ==================== SECTION BACKGROUNDS ==================== */
/* sections are transparent so the page reads as one continuous surface */
.framework, .approach, .services, .cta, .contact { background: transparent; }

/* ==================== CTA ==================== */
.cta {
  color: var(--text);
  text-align: center;
  padding: 32px 0 32px;
}
.approach { padding-top: 24px; padding-bottom: 40px; }
.services { padding-top: 40px; padding-bottom: 48px; }
.contact { padding-top: 32px; }
.framework { padding-top: 40px; padding-bottom: 48px; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.cta-inner p { max-width: 820px; margin: 0 auto; color: var(--color-primary); }

/* ==================== CONTACT ==================== */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact-title { text-align: center; margin-bottom: 48px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
.contact-title span { display: inline-block; padding-bottom: 10px; border-bottom: 2px solid var(--blue-500); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.contact-form-wrap { border-left: 1px solid var(--surface-border); padding-left: 48px; }
.contact-form {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.contact-submit {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.contact-submit span { display: inline-block; transition: transform 0.25s ease; }
.contact-submit:hover { transform: translateY(-2px); border-color: var(--blue-500); color: var(--blue-500); box-shadow: var(--shadow); }
.contact-submit:hover span { transform: translateX(4px); }
.form-note { color: var(--green-700); font-weight: 600; font-size: 0.9rem; min-height: 20px; text-align: center; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-right: 48px; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 28px 20px;
}
.contact-card .icon-badge.sm { margin-bottom: 6px; }
.contact-label { font-size: 0.88rem; color: var(--text-soft); font-weight: 500; }
.contact-card a, .contact-card .contact-value { font-weight: 700; font-size: 1rem; }
.contact-card a:hover { color: var(--blue-500); }
a.contact-card,
button.contact-card {
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
a.contact-card:hover,
button.contact-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-3px);
}
a.contact-card:hover .contact-value,
button.contact-card:hover .contact-value { color: var(--blue-500); }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; color: var(--footer-text); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--footer-text); font-size: 0.92rem; }
.footer-col a:hover { color: var(--blue-500); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue-500);
}
.footer-contact-link { display: flex; align-items: flex-start; gap: 10px; }
button.footer-contact-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-contact-link:hover,
.footer-contact-link:hover .footer-contact-icon { color: var(--blue-500); }

/* ==================== LOCATION MAP ==================== */
.map-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 32px);
}
.map-dialog::backdrop {
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(6px);
}
.map-dialog-panel {
  width: min(860px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.map-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}
.map-dialog-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.map-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}
.map-dialog-close:hover { color: var(--blue-500); }
.map-dialog iframe {
  display: block;
  width: 100%;
  height: min(62vh, 460px);
  border: 0;
  background: var(--bg);
}
.map-dialog-link {
  display: block;
  padding: 14px 20px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-500);
}
.map-dialog-link:hover { text-decoration: underline; }

.footer-bottom-inner {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ==================== SCROLL TOP ==================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ==================== SCROLL REVEAL ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==================== STREAMING TEXT (CARDS) ==================== */
.stream-word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(3px);
}
.card.streamed .stream-word {
  animation: stream-word 0.34s ease forwards;
  animation-delay: calc(var(--wi) * 26ms);
}
@keyframes stream-word {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.card .stream-caret {
  display: none;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--blue-500);
  border-radius: 1px;
}
.card.streaming .stream-caret {
  display: inline-block;
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .stream-word { opacity: 1; filter: none; transform: none; animation: none !important; }
  .card .stream-caret { display: none !important; }
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 1600px) {
  .container { max-width: 1680px; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero-art { transform: translateX(32px); }
  .hero-illustration { max-width: 460px; }
  .hero-bg-glow { width: 720px; height: 720px; }
  .hero-bg-glow.glow-left { width: 620px; height: 620px; }
}

@media (min-width: 2100px) {
  .container { max-width: 1920px; }
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; gap: 90px; }
  .hero-art { transform: translateX(56px); }
  .hero-illustration { max-width: 520px; }
  .hero-bg-glow { width: 860px; height: 860px; }
  .hero-bg-glow.glow-left { width: 740px; height: 740px; }
}

@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .approach-panel { padding: 48px 32px; }
  .approach-steps { grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
  .approach-step + .approach-step::before { display: none; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-cards { padding-right: 0; }
  .contact-form-wrap { border-left: none; border-top: 1px solid var(--surface-border); padding-left: 0; padding-top: 40px; }
  .floater.f1, .floater.f3, .floater.f5 { display: none; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--surface-border);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-burger { display: flex; }
  .header-actions { gap: 10px; }
  .header-actions .shiny-btn-sm { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-panel { padding: 40px 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { height: 68px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark, .brand-mark svg { width: 34px; height: 34px; }
  .theme-toggle-label span:last-child { display: none; }
  .theme-toggle { padding: 0; width: 36px; height: 36px; }
  .theme-toggle-label { gap: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .shiny-btn { width: 100%; }
  .hero-actions .shiny-btn-inner { white-space: normal; text-align: center; padding: 14px 20px; }
  .eyebrow { font-size: 0.78rem; padding: 6px 14px; }
  .approach-panel { padding: 32px 18px; }
  .contact-panel { padding: 24px 16px; }
  .contact-form-wrap { padding-top: 32px; }
  .footer-grid { gap: 32px; }
  .scroll-top { width: 40px; height: 40px; right: 16px; bottom: 16px; }
  section { padding: 48px 0; }
}
