/* ========================================================================
   New Current — Brand Stylesheet
   ======================================================================== */

/* --- Custom Properties --- */
:root {
  --blue: #2f78b7;
  --navy: #17345b;
  --navy-deep: #0e2240;
  --charcoal: #343434;
  --off-white: #f6f5f1;
  --teal: #5f9296;
  --copper: #b96f45;
  --white: #ffffff;
  --grey-100: #eeedea;
  --grey-200: #dddcd8;
  --grey-300: #b0afa9;

  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Source Serif 4', 'Georgia', serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --text-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 2.5vw, 3.75rem);
  --text-5xl: clamp(3rem, 2rem + 3.5vw, 4.5rem);

  --radius-sm: 4px;
  --radius-md: 6px;

  --transition-fast: 200ms ease;
  --transition-base: 350ms ease;
  --transition-slow: 600ms ease;

  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* --- Focus States --- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.section {
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 1.75rem;
  min-height: 52px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #256da6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 120, 183, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background-color: var(--white);
  box-shadow: 0 1px 0 var(--grey-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 101;
}

.logo-icon {
  width: 52px;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.15;
  transition: color var(--transition-base);
}

.logo-text span {
  display: block;
}

.scrolled .logo-text {
  color: var(--navy);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--blue);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.scrolled .nav-links a {
  color: var(--charcoal);
}

.scrolled .nav-links a:hover {
  color: var(--navy);
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta { display: inline-flex; }
}

.scrolled .header-cta {
  background-color: var(--blue);
  color: var(--white);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
  padding: 4px;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.scrolled .nav-toggle span {
  background-color: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  background-color: var(--navy);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
}

.mobile-nav a:hover {
  color: var(--blue);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-height);
}

.hero.gradient-rich {
  background:
    radial-gradient(circle at 77% 18%, rgba(55, 126, 181, 0.12), transparent 34%),
    linear-gradient(145deg, #163b65, #10335c);
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: clamp(64px, 8vh, 80px);
    padding-bottom: var(--space-lg);
  }

  .hero-label {
    margin-bottom: var(--space-sm);
  }

  .hero h1 {
    margin-bottom: var(--space-sm);
  }

  .hero p {
    margin-bottom: var(--space-md);
  }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.72;
  background-image: linear-gradient(to right, transparent calc(100% - 1px), rgba(88, 154, 202, 0.10) 1px);
  background-size: clamp(76px, 8vw, 124px) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,35,66,0.24), transparent 20%, transparent 72%, rgba(8,35,66,0.14)),
    radial-gradient(ellipse 42% 60% at 40% 49%, rgba(8,35,66,0.54), rgba(8,35,66,0.22) 58%, transparent 100%),
    linear-gradient(to bottom, rgba(8,35,66,0.06), transparent 22%, transparent 78%, rgba(8,35,66,0.24));
}

/* Animation FAB (floating action button) */
/* An author `display` beats the browser's [hidden] { display: none }, so these
   need an explicit guard or the dev toggle renders for visitors with no
   click handler attached — visible but dead. */
.animation-fab[hidden],
.animation-toggle[hidden] {
  display: none !important;
}

.animation-fab {
  position: fixed;
  z-index: 11;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 45, 82, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(117, 173, 211, 0.25);
  border-radius: 50%;
  color: rgba(244, 240, 232, 0.6);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.animation-fab:hover {
  color: var(--white);
  border-color: rgba(117, 173, 211, 0.5);
  background: rgba(13, 45, 82, 0.8);
}

.animation-fab.open {
  opacity: 0;
  pointer-events: none;
}

/* Animation Toggle Drawer */
.animation-toggle {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 30, 55, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(117, 173, 211, 0.15);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.animation-toggle.open {
  transform: translateY(0);
}

.animation-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.animation-toggle-label {
  color: rgba(244, 240, 232, 0.38);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: 42px;
}

.animation-toggle-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.animation-toggle-buttons button {
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 232, 0.55);
  background: rgba(13, 45, 82, 0.5);
  border: 1px solid rgba(117, 173, 211, 0.18);
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.animation-toggle-buttons button:hover {
  color: rgba(244, 240, 232, 0.85);
  border-color: rgba(117, 173, 211, 0.35);
}

.animation-toggle-buttons button.active {
  color: var(--white);
  background: rgba(47, 127, 189, 0.35);
  border-color: rgba(117, 173, 211, 0.5);
}

@media (max-width: 767px) {
  .animation-toggle-buttons button {
    padding: 8px 12px;
    font-size: 11px;
    min-height: 36px;
  }

  .animation-toggle-buttons {
    gap: 5px;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: var(--space-xl) 0;
  margin-left: clamp(0px, 4vw, 60px);
  margin-top: -30px;
}

@media (max-width: 767px) {
  .hero-content {
    margin-left: 0;
    margin-top: 0;
  }
}

.hero-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #4a9ad4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-lg);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Problem --- */
.problem {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.problem-grid {
  display: block;
}

.problem-right .section-intro {
  margin-bottom: var(--space-lg);
}

.problem-right .section-intro:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .problem-grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  .problem-left .section-heading {
    margin-bottom: 0;
  }

  .problem-right .section-intro {
    max-width: 420px;
  }
}

/* --- Services --- */
.services {
  background-color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--charcoal);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: var(--space-xl);
  opacity: 0.8;
}

.services-grid {
  display: grid;
  gap: 1px;
  background-color: var(--grey-200);
  border: 1px solid var(--grey-200);
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-item {
  background-color: var(--white);
  padding: var(--space-lg);
  position: relative;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--blue);
  transition: height var(--transition-slow);
}

.service-item:hover::before {
  height: 100%;
}

.service-number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-sm);
  font-variant-numeric: tabular-nums;
}

.service-item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-item p {
  font-size: var(--text-base);
  color: var(--charcoal);
  opacity: 0.75;
  line-height: 1.65;
}

/* --- Approach --- */
.approach {
  background-color: var(--off-white);
}

.approach-steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .approach-steps { grid-template-columns: repeat(4, 1fr); }
}

.approach-step {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  counter-increment: step;
  border-bottom: 1px solid var(--grey-200);
}

@media (min-width: 768px) {
  .approach-step {
    border-bottom: none;
    border-right: 1px solid var(--grey-200);
  }
  .approach-step:last-child { border-right: none; }
}

.approach-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--blue);
  opacity: 0.2;
  margin-bottom: var(--space-sm);
  transition: opacity var(--transition-base);
}

.approach-step:hover::before {
  opacity: 0.5;
}

.approach-step h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.approach-step p {
  font-size: var(--text-base);
  color: var(--charcoal);
  opacity: 0.7;
  line-height: 1.6;
}

.approach-connector {
  display: none;
}

@media (min-width: 768px) {
  .approach-connector {
    display: block;
    position: absolute;
    right: -12px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    z-index: 1;
  }

  .approach-connector svg {
    width: 100%;
    height: 100%;
    color: var(--grey-300);
  }
}

/* --- Work --- */
.work {
  background-color: var(--white);
}

.work-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}

.work-card {
  position: relative;
  background-color: var(--off-white);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card-image {
  height: 240px;
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
}

.work-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.work-card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  z-index: 1;
}

.work-card-diagram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.work-card-body {
  padding: var(--space-lg);
}

.work-card-category {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.work-card h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.work-card p {
  font-size: var(--text-base);
  color: var(--charcoal);
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.work-metrics {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--grey-200);
}

.work-metric strong {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.work-metric span {
  font-size: var(--text-sm);
  color: var(--charcoal);
  opacity: 0.6;
}

/* --- Why Section --- */
.why {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-xl);
}

.why-inner {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 768px) {
  .why-inner { grid-template-columns: 1fr 1fr; }
}

.why-content .section-heading {
  max-width: 440px;
}

.why-content p {
  font-size: var(--text-lg);
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 480px;
}

.why-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.why-value h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.why-value p {
  font-size: var(--text-sm);
  opacity: 0.65;
  margin-bottom: 0;
}

.why-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.why-mark {
  width: 320px;
  height: auto;
  opacity: 0.06;
}

@media (min-width: 768px) {
  .why-mark {
    width: 460px;
  }
}

.founder-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(14, 34, 64, 0.28);
}

@media (min-width: 768px) {
  .founder-photo {
    max-width: 420px;
  }

  .why-visual {
    margin-top: -25px;
  }
}

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
  text-align: center;
}

.section-cta-note {
  font-size: var(--text-sm);
  color: var(--navy);
  opacity: 0.7;
}

.card-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.card-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.card-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
  max-width: 360px;
}

.founder-stat strong {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  white-space: nowrap;
}

.founder-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--text-sm);
  line-height: 1.35;
  color: var(--navy);
  opacity: 0.75;
}

/* --- Testimonial --- */
.testimonial {
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
  margin-top: var(--space-md);
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-quote::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--blue);
  margin: 0 auto var(--space-lg);
}

.testimonial-author {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: var(--text-base);
}

.testimonial-role {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  margin-top: 0.25rem;
}

/* --- Final CTA --- */
.final-cta {
  background-color: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

/* --- Lead form (Web3Forms) --- */
.lead-form {
  max-width: 420px;
  margin: var(--space-lg) auto 0;
  text-align: left;
}

.lead-form-field {
  margin-bottom: var(--space-sm);
}

.lead-form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
}

.lead-form-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lead-form-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.lead-form-field input:focus {
  outline: none;
  border-color: var(--blue);
  background-color: rgba(255, 255, 255, 0.1);
}

.lead-form-submit {
  width: 100%;
  margin-top: var(--space-sm);
  cursor: pointer;
  border: none;
  font-size: var(--text-base);
}

.lead-form-status {
  margin-top: 0.75rem;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--white);
}

.lead-form-status.is-error {
  color: #ff9d9d;
}

/* --- Thank-you panel (swapped in on successful submit) --- */
.cta-thanks-check {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  color: #4ade80;
}

.cta-thanks p {
  margin-bottom: 0;
}

.cta-thanks-email {
  margin-top: 0.75rem;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
}

.cta-thanks-divider {
  width: 100%;
  max-width: 360px;
  height: 1px;
  margin: var(--space-lg) auto;
  background-color: rgba(255, 255, 255, 0.15);
}

.cta-thanks-contact {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
}

.cta-thanks-contact a {
  color: #6db6ee;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cta-thanks-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.final-cta p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--navy);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-top: var(--space-sm);
  max-width: 280px;
}

.footer-logo-icon {
  width: 52px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--white);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 300ms; }

/* Founder credibility list */
.founder-creds {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.founder-creds li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--navy);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.founder-creds li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--blue);
  font-weight: 700;
}
