/* ─────────────────────────────────────────────
   ISVLinks — main.css
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── TOKENS ── */
:root {
  --navy:        #1B2E4B;
  --navy-deep:   #111E30;
  --navy-mid:    #243B55;
  --steel:       #2D6B9E;
  --steel-light: #4A8FC0;
  --teal:        #3A8A6E;
  --teal-light:  #4AA882;
  --orange:      #E8772A;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --gray-100:    #EEF1F6;
  --gray-200:    #DDE3ED;
  --gray-400:    #8E9BB0;
  --gray-600:    #4A5872;

  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(27,46,75,.08), 0 0 0 1px rgba(27,46,75,.04);
  --shadow-md: 0 4px 16px rgba(27,46,75,.12), 0 1px 4px rgba(27,46,75,.06);
  --shadow-lg: 0 12px 40px rgba(27,46,75,.18), 0 2px 8px rgba(27,46,75,.08);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TYPOGRAPHY ── */
.display { font-family: var(--font-display); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-title--light { color: #fff; }

.section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-600);
}

.section-body--light { color: rgba(255,255,255,.65); }

.text-center { text-align: center; }
.text-center .section-title,
.text-center .section-body { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s ease;
  text-decoration: none;
}

.btn--lg { font-size: 16px; padding: 16px 36px; }
.btn--sm { font-size: 13px; padding: 8px 18px; }

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(58,138,110,.25);
}
.btn--primary:hover {
  background: #2E7A61;
  box-shadow: 0 6px 20px rgba(58,138,110,.35);
  transform: translateY(-1px);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(27,46,75,.2);
}
.btn--navy:hover {
  background: var(--navy-mid);
  box-shadow: 0 6px 20px rgba(27,46,75,.35);
  transform: translateY(-1px);
}

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

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); }

.btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232,119,42,.25);
}
.btn--orange:hover {
  background: #D4691C;
  box-shadow: 0 6px 20px rgba(232,119,42,.4);
  transform: translateY(-1px);
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .22s ease;
}
.card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(58,138,110,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card__body {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.card__link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled,
.site-nav.opaque {
  background: rgba(17,30,48,.97);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.08);
}

.site-nav--transparent { background: transparent; }

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 24px;
  list-style: none;
}

.nav-links__item { position: relative; }

.nav-links__btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links__btn:hover,
.nav-links__btn.active { color: #fff; }

/* Dropdown */
.nav-links__item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -12px;
  margin-top: 8px;
  background: var(--navy-deep);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
  padding: 8px;
  min-width: 280px;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.nav-links__item:hover .nav-dropdown,
.nav-links__item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: background .12s;
  text-decoration: none;
}
.nav-dropdown__item:hover { background: rgba(255,255,255,.06); }
.nav-dropdown__item span:first-child {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-body);
}
.nav-dropdown__item span:last-child {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-family: var(--font-body);
}

/* Nav CTA */
.nav-cta { margin-left: 0; }

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  margin-left: 16px;
  padding: 4px;
}

.nav-mobile-menu {
  display: none;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px 24px;
  position: absolute;
  top: 68px; left: 0; right: 0;
}

.nav-mobile-menu.open { display: block; }

.nav-mobile-menu a,
.nav-mobile-menu button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu button:hover { color: #fff; }

.nav-mobile-menu .btn { margin-top: 20px; }

/* ── HERO ── */
.hero {
  background-color: var(--navy-deep);
  background-image: url('../images/homeHero.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  isolation: isolate;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Left-to-right gradient overlay keeps headline readable while preserving
   the Seattle skyline / data-flow imagery on the right. The high-opacity
   region extends past the headline's right edge so text never fights the glow. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Soft radial vignette anchored upper-left further deepens text zone */
    radial-gradient(
      ellipse at 22% 45%,
      rgba(8, 18, 35, 0.40) 0%,
      rgba(8, 18, 35, 0) 55%
    ),
    /* Primary left→right curtain — solid dark through ~60% of viewport */
    linear-gradient(
      100deg,
      rgba(8, 18, 35, 0.97) 0%,
      rgba(8, 18, 35, 0.95) 42%,
      rgba(8, 18, 35, 0.85) 58%,
      rgba(8, 18, 35, 0.55) 74%,
      rgba(8, 18, 35, 0.20) 92%,
      rgba(8, 18, 35, 0.05) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Bottom fade — strengthened to keep trust badges legible above the brightest
   wave dots and to ease into the next section. */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  background: linear-gradient(
    180deg,
    rgba(8,18,35,0) 0%,
    rgba(8,18,35,0.55) 55%,
    var(--navy-deep) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__wave-shimmer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url('../images/blueWave.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;

  opacity: 0.78;
  mix-blend-mode: screen;
  filter: brightness(1.05) saturate(1.15);

  transform: translate3d(0, 0, 0) scale(1.015);
  animation:
    heroWaveDrift 9s ease-in-out infinite alternate,
    heroWaveGlow 5.5s ease-in-out infinite;
}

@keyframes heroWaveDrift {
  from {
    transform: translate3d(-8px, 2px, 0) scale(1.015);
  }

  to {
    transform: translate3d(10px, -4px, 0) scale(1.035);
  }
}

@keyframes heroWaveGlow {
  0%, 100% {
    opacity: 0.8;
    filter: brightness(1) saturate(1.05);
  }

  50% {
    opacity: 0.3;
    filter: brightness(1.25) saturate(1.25);
  }
}

.hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .55;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,138,110,.15);
  border: 1px solid rgba(58,138,110,.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero__badge-text {
  color: var(--teal-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero__title-accent { color: var(--teal-light); }

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.hero__trust-check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--teal);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat { text-align: center; }

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
}

.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section--sm { padding: 72px 0; }
.section--white { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--navy { background: linear-gradient(135deg, var(--navy-deep), #1a3a5c); }
.section--teal { background: var(--teal); }

/* ── SERVICE GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.services-grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
  max-width: 816px;
  margin-left: auto;
  margin-right: auto;
}

/* ── JOURNEY STEPS ── */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.journey-connector {
  position: absolute;
  top: 36px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--steel));
  z-index: 0;
}

.journey-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.journey-step__circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(27,46,75,.2);
}

.journey-step__circle--teal { background: var(--teal); }
.journey-step__circle--steel { background: var(--steel); }

.journey-step__num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.journey-step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.journey-step__body {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── CREDIBILITY ── */
.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.credibility-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.credibility-check {
  display: flex;
  align-items: center;
  gap: 12px;
}

.credibility-check__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(58,138,110,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credibility-check__text {
  font-size: 15px;
  color: rgba(255,255,255,.75);
}

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
}

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 20px; }

.testimonial-quote {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.testimonial-name { color: #fff; font-weight: 600; font-size: 15px; }
.testimonial-role { color: rgba(255,255,255,.45); font-size: 13px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--teal);
  padding: 72px 32px;
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-band__body {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  position: relative;
  isolation: isolate;

  background: linear-gradient(145deg, var(--navy-deep), #1a3a5c);

  padding: 88px 32px 80px;
  text-align: center;
  padding-top: calc(88px + 68px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;

  background-image: url('../images/pageHero.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;

  opacity: 0.3;

  animation: pageHeroKenBurns 14s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes pageHeroKenBurns {
  from {
    transform: translate3d(0, 0, 0) scale(1.02);
  }

  to {
    transform: translate3d(18px, -12px, 0) scale(1.08);
  }
}

.page-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ── SERVICES PAGE ── */
.service-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.service-detail__main {
  padding: 48px 40px;
}

.service-detail__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.service-detail__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-detail__outcome {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--teal);
}

.service-detail__body {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
}

.service-detail__aside {
  padding: 48px 40px;
  background: var(--off-white);
  border-left: 1.5px solid var(--gray-200);
}

.service-detail--flip .service-detail__aside {
  border-left: none;
  border-right: 1.5px solid var(--gray-200);
  order: -1;
}

.service-detail__deliverables-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.deliverable-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(58,138,110,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deliverable-text {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

/* ── ENGAGEMENT CARDS ── */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.engagement-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.engagement-card--default {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.engagement-card--featured {
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.engagement-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}

.engagement-card__duration {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.engagement-card--default .engagement-card__duration { color: var(--gray-400); }
.engagement-card--featured .engagement-card__duration { color: var(--teal-light); }

.engagement-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.engagement-card--default .engagement-card__title { color: var(--navy); }
.engagement-card--featured .engagement-card__title { color: #fff; }

.engagement-card__desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.engagement-card--default .engagement-card__desc { color: var(--gray-600); }
.engagement-card--featured .engagement-card__desc { color: rgba(255,255,255,.6); }

/* ── ABOUT PAGE ── */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.beliefs-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1.5px solid var(--gray-200);
}

.belief-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.belief-item:last-child { margin-bottom: 0; }

.belief-icon {
  width: 28px; height: 28px;
  background: rgba(58,138,110,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.belief-text {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  /* background: linear-gradient(135deg, #e8f0f8, #d0e0f0); */
  background-image: url('../images/founder.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gray-200);
  margin-bottom: 20px;
}

.founder-photo-placeholder__circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gray-200);
  margin-bottom: 12px;
}

.founder-photo-placeholder__label {
  font-size: 11px;
  color: var(--gray-400);
  font-family: monospace;
}

.founder-socials { display: flex; gap: 8px; justify-content: center; }

.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.social-btn:hover { background: var(--gray-100); }

.founder-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 24px;
}

.founder-bio {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(58,138,110,.08);
  border: 1px solid rgba(58,138,110,.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}

.contact-steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.contact-step { display: flex; gap: 14px; }

.contact-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.contact-step__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

.contact-step__desc { font-size: 13px; color: var(--gray-400); margin-top: 2px; }

.contact-email-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1.5px solid var(--gray-200);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group { margin-bottom: 0; }

.form-group--full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-label .required { color: var(--teal); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--teal); }

.form-input.error,
.form-select.error { border-color: #E53E3E; }

.form-error {
  font-size: 12px;
  color: #E53E3E;
  margin-top: 4px;
}

.form-textarea { resize: vertical; }

.form-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 16px;
}

/* ── SUCCESS STATE ── */
.success-state {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(58,138,110,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.success-body { font-size: 17px; color: var(--gray-600); line-height: 1.7; }
.success-email { font-size: 15px; color: var(--gray-400); margin-top: 12px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.6);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 280px;
  color: rgba(255,255,255,.5);
}

.footer-socials { display: flex; gap: 12px; margin-top: 24px; }

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.footer-social-btn:hover { background: rgba(255,255,255,.12); }

.footer-col__title {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col__links { display: flex; flex-direction: column; gap: 10px; }

.footer-col__link {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  text-align: left;
  padding: 0;
  transition: color .15s;
  font-family: var(--font-body);
  text-decoration: none;
}
.footer-col__link:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ── SVG ICONS ── */
.icon { display: inline-block; vertical-align: middle; }
.icon--teal { color: var(--teal); }
.icon--white { color: #fff; }
.icon--orange { fill: var(--orange); }

/* ── UTILITIES ── */
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .credibility-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail--flip .service-detail__aside { order: 0; }
  .service-detail__aside { border-left: none; border-top: 1.5px solid var(--gray-200); }
  .engagement-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .journey-connector { display: none; }

  /* Tablet hero: wave glow intrudes from the right, so shift focal point and
     deepen the curtain to keep the headline column dark. */
  .hero {
    background-position: 78% center;
  }
  .hero::before {
    background:
      radial-gradient(ellipse at 25% 45%, rgba(8,18,35,0.40) 0%, rgba(8,18,35,0) 60%),
      linear-gradient(
        100deg,
        rgba(8, 18, 35, 0.97) 0%,
        rgba(8, 18, 35, 0.95) 50%,
        rgba(8, 18, 35, 0.82) 70%,
        rgba(8, 18, 35, 0.42) 88%,
        rgba(8, 18, 35, 0.10) 100%
      );
  }
  .hero__inner { max-width: 640px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid--2col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .journey-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 20px; }
  .page-hero { padding: 64px 20px; padding-top: calc(64px + 68px); }

  /* Mobile hero: shift focal point + intensify overlay so headline stays legible
     when the image scales down and the skyline crowds the text column. */
  .hero {
    background-position: 75% center;
    min-height: 88vh;
  }
  .hero::before {
    background:
      radial-gradient(ellipse at 30% 50%, rgba(8,18,35,0.45) 0%, rgba(8,18,35,0) 65%),
      linear-gradient(180deg, rgba(8,18,35,0.50) 0%, rgba(8,18,35,0.85) 100%),
      linear-gradient(100deg, rgba(8,18,35,0.94) 0%, rgba(8,18,35,0.78) 55%, rgba(8,18,35,0.55) 100%);
  }
  .hero__inner { max-width: 100%; }
  .pain-grid { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; gap: 24px; }
  .timeline-connector { display: none; }
  .experience-list .experience-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ─────────────────────────────────────────────
   PROBLEM SECTION — pain cards
───────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pain-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-left-color: #D4691C;
}

.pain-card__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(232,119,42,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.pain-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.pain-card__body {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.problem-lede {
  max-width: 720px;
  margin: 0 auto;
}

.problem-stamp {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--teal);
  margin-top: 24px;
}

/* ─────────────────────────────────────────────
   SOLUTION SECTION — three-pillar cards on navy
───────────────────────────────────────────── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.solution-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58,138,110,.45);
  background: rgba(58,138,110,.06);
}

.solution-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(58,138,110,.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-light);
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.solution-card__body {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .solution-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ─────────────────────────────────────────────
   OUTCOMES TIMELINE (homepage 12-month arc)
───────────────────────────────────────────── */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.timeline-connector {
  position: absolute;
  top: 14px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--steel));
  z-index: 0;
}

.timeline-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.timeline-step__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 auto 18px;
  border: 4px solid var(--off-white);
  box-shadow: 0 0 0 2px var(--teal);
}

.timeline-step__pill {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.timeline-step__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-step__body {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline-connector { display: none; }
}

/* ─────────────────────────────────────────────
   FOUNDER SNAPSHOT (homepage credibility right column)
───────────────────────────────────────────── */
.founder-snapshot {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
}

.founder-snapshot__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 18px;
  display: block;
}

.founder-snapshot__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.founder-snapshot__role {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
}

.founder-snapshot__quote {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  font-style: italic;
  border-left: 2px solid var(--teal);
  padding-left: 18px;
  margin-bottom: 28px;
}

.founder-snapshot__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}

.founder-snapshot__meta svg { color: var(--teal-light); }

/* ─────────────────────────────────────────────
   PHASE CARDS (services page engagement model)
───────────────────────────────────────────── */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.phase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}

.phase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.phase-card__header {
  padding: 24px 32px;
  background: var(--navy);
  color: #fff;
}

.phase-card--accent .phase-card__header { background: var(--teal); }

.phase-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
  display: block;
}

.phase-card__terms {
  font-size: 14px;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}

.phase-card__body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.phase-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.25;
}

.phase-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.phase-card__list li {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.6;
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}

.phase-card__list li:last-child { border-bottom: none; }

.phase-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(58,138,110,.15);
  border: 2px solid var(--teal);
}

.phase-card__footnote {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 32px;
}

/* ─────────────────────────────────────────────
   COMPETITIVE FIT TABLE (homepage credibility)
───────────────────────────────────────────── */
.fit-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 4px;
  overflow: hidden;
}

.fit-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) 2fr;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  align-items: center;
}
.fit-row:last-child { border-bottom: none; }

.fit-row--accent {
  background: linear-gradient(90deg, rgba(58,138,110,.15), rgba(58,138,110,.04));
  border-radius: var(--radius-md);
  border-bottom: none;
  padding: 22px 24px;
  margin: 4px 0;
}

.fit-label {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
}

.fit-row--accent .fit-label { color: var(--teal-light); }

.fit-value {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
}

.fit-row--accent .fit-value { color: rgba(255,255,255,.92); font-weight: 500; }

@media (max-width: 768px) {
  .fit-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
}

/* ─────────────────────────────────────────────
   ABOUT — experience timeline
───────────────────────────────────────────── */
.experience-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experience-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.experience-item:last-child { border-bottom: none; }

.experience-item__period {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .04em;
  padding-top: 2px;
}

.experience-item__role {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.experience-item__company {
  font-size: 13px;
  color: var(--steel);
  font-style: italic;
  margin-bottom: 10px;
  font-weight: 500;
}

.experience-item__body {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* About — ICP card */
.icp-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.icp-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.icp-card__sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 24px;
  display: block;
}
.icp-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: center;
}
.icp-row:last-child { border-bottom: none; }
.icp-row__label { font-size: 13px; color: rgba(255,255,255,.55); }
.icp-row__value { font-size: 14px; color: #fff; font-weight: 600; }
@media (max-width: 768px) {
  .icp-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
}
/* ─────────────────────────────────────────────
   NAV — dropdown click/touch support
───────────────────────────────────────────── */

/* Chevron rotation when dropdown is open */
.nav-links__item.is-open .nav-chevron {
  transform: rotate(180deg);
  transition: transform .15s ease;
}
.nav-chevron {
  transition: transform .15s ease;
  flex-shrink: 0;
}

/* JS-controlled open state (supplements CSS :hover) */
.nav-links__item.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   NAV — mobile menu accordion
───────────────────────────────────────────── */
.nav-mobile-link {
  display: block;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.25;
}
.nav-mobile-link:hover { color: #fff; }

.nav-mobile-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  text-align: left;
  min-height: 44px;
}
.nav-mobile-section-toggle:hover { color: #fff; }
.nav-mobile-section-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}
.nav-mobile-section-toggle .nav-chevron {
  transition: transform .15s ease;
}

.nav-mobile-subnav {
  padding: 4px 0 4px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-mobile-sublink {
  display: block;
  color: rgba(255,255,255,.6);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 0;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.25;
  display: flex;
  align-items: center;
}
.nav-mobile-sublink:hover { color: rgba(255,255,255,.9); }

.nav-mobile-cta {
  display: block;
  width: 100%;
  margin-top: 20px;
  text-align: center;
  justify-content: center;
  min-height: 44px;
}

/* Accessibility */
.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;
}

/* ─────────────────────────────────────────────
   FOOTER — newsletter block
───────────────────────────────────────────── */
.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.footer-newsletter__text { flex: 1 1 260px; }

.footer-newsletter__headline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-newsletter__sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

.footer-newsletter__form {
  display: flex;
  gap: 10px;
  flex: 1 1 320px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-newsletter__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 11px 14px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
  min-height: 44px;
}
.footer-newsletter__input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter__input:focus { border-color: var(--teal); }

.footer-newsletter__btn { min-height: 44px; white-space: nowrap; }

.footer-newsletter__notice {
  font-size: 13px;
  color: var(--teal-light);
  flex-basis: 100%;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }
  .footer-newsletter__form { width: 100%; flex-wrap: nowrap; }
}

/* ─────────────────────────────────────────────
   OUR CUSTOMERS PAGE
───────────────────────────────────────────── */
.customers-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.customers-box {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.customers-box--dark {
  background: var(--navy);
  color: #fff;
}

.customers-box--light {
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
}

.customers-box__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.customers-box--dark .customers-box__eyebrow { color: var(--teal-light); }
.customers-box--light .customers-box__eyebrow { color: var(--teal); }

.customers-box__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.2;
}
.customers-box--dark .customers-box__title { color: #fff; }
.customers-box--light .customers-box__title { color: var(--navy); }

/* ICP list (dark box) */
.customers-box__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.customers-box__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: baseline;
}
.customers-box__list li:last-child { border-bottom: none; }
.customers-box__label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.customers-box__value {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* Checklist (light box) */
.customers-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.customers-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
}
.customers-checklist li svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Not a fit section */
.customers-not-fit {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}
.customers-not-fit__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.customers-not-fit__intro {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.customers-not-fit__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.customers-not-fit__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
}
.customers-not-fit__list li svg {
  color: #E53E3E;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .customers-fit-grid { grid-template-columns: 1fr; }
  .customers-box { padding: 28px 24px; }
  .customers-box__list li { grid-template-columns: 1fr; gap: 4px; }
  .customers-not-fit { padding: 28px 24px; }
}

/* ─────────────────────────────────────────────
   INSIGHTS PAGE
───────────────────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.insight-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .22s ease;
}
.insight-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.insight-card--coming-soon {
  border-style: dashed;
  background: var(--off-white);
  opacity: .85;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.insight-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(58,138,110,.1);
  color: var(--teal);
  border-radius: 100px;
  padding: 4px 12px;
}

.insight-card__status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.insight-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.insight-card__excerpt {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}

.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  font-size: 13px;
  color: var(--gray-400);
}

.insights-empty-state {
  text-align: center;
  font-size: 15px;
  color: var(--gray-400);
  padding: 24px 0 40px;
}
.insights-empty-state a {
  color: var(--teal);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   PHASE 2 — Stats bar 3-column variant
───────────────────────────────────────────── */
.stats-bar__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.stat__label--with-sub {
  margin-bottom: 8px;
}

.stat__subtext {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  margin-top: 6px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .stats-bar__grid--3col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stat__subtext { max-width: 100%; }
}

/* ─────────────────────────────────────────────
   PHASE 2 — AWS Credentials bar
───────────────────────────────────────────── */
.aws-cred-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}

.aws-cred-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* TODO: Replace badge with real AWS Partner Network SVG/PNG when available.
   Drop the asset into static/images/aws-partner-badge.svg and update this component. */
.aws-cred-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(58,138,110,.15);
  border: 1px solid rgba(58,138,110,.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-light);
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.aws-cred-bar__divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

.aws-cred-bar__text {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .aws-cred-bar__divider { display: none; }
  .aws-cred-bar__text { font-size: 12px; }
  .aws-cred-bar__inner { gap: 10px; }
}

/* ─────────────────────────────────────────────
   PHASE 2 — Homepage service cards (What We Do)
───────────────────────────────────────────── */
.home-service-card__eyebrow {
  margin-bottom: 4px;
}

.home-service-card__phase {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
}

.home-service-card__icon {
  /* Slightly larger teal-tinted background to distinguish from default card icon */
  background: rgba(58,138,110,.12);
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────────
   PHASE 2 — Founder snapshot credential line
───────────────────────────────────────────── */
.founder-snapshot__credentials {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-light);
  margin-top: 2px;
  margin-bottom: 4px;
  letter-spacing: .01em;
}

/* ─────────────────────────────────────────────
   PHASE 2 — Founder section (homepage, standalone)
───────────────────────────────────────────── */
.founder-home-wrap {
  display: flex;
  justify-content: center;
}

.founder-home-wrap .founder-snapshot {
  max-width: 640px;
  width: 100%;
}

/* ─────────────────────────────────────────────
   PHASE 2 — About page: What We Believe standalone
───────────────────────────────────────────── */
/* values-grid already supports 2 columns; beliefs-card inside it inherits fine.
   No additional rules needed — relies on existing .values-grid and .beliefs-card. */

/* ─────────────────────────────────────────────
   PHASE 3 — Services page: hero intro text
───────────────────────────────────────────── */
.services-hero-intro {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 680px;
  margin: 16px auto 0;
}

/* ─────────────────────────────────────────────
   PHASE 3 — Services page: jump nav bar
───────────────────────────────────────────── */
.service-jumpnav {
  background: var(--white);
  border-bottom: 1.5px solid var(--gray-200);
  position: sticky;
  top: 68px;   /* sits flush below the fixed site-nav */
  z-index: 90;
}

.service-jumpnav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-jumpnav__inner::-webkit-scrollbar { display: none; }

.service-jumpnav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
  border-bottom: 2px solid transparent;
}
.service-jumpnav__link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
  background: rgba(58,138,110,.04);
}

.service-jumpnav__num {
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: .06em;
}

.service-jumpnav__sep {
  width: 1px;
  height: 20px;
  background: var(--gray-200);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .service-jumpnav__link { padding: 12px 16px; font-size: 12px; }
}

/* ─────────────────────────────────────────────
   PHASE 3 — Services page: service-block sections
───────────────────────────────────────────── */

/* Scroll margin so anchor links clear the sticky site-nav + jump nav */
.service-block {
  scroll-margin-top: 128px;  /* 68px nav + 44px jump-nav + 16px breathing room */
}

/* Header row: big number badge + title/tagline */
.service-block__header {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1.5px solid var(--gray-200);
}

.service-block--alt .service-block__header {
  border-bottom-color: var(--gray-200);
}

.service-block__num-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.01em;
  margin-top: 4px;
}

.service-block__num-badge--steel { background: var(--steel); }
.service-block__num-badge--teal-light { background: var(--teal-light); }

.service-block__header-text { flex: 1; }

.service-block__phase {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.service-block__phase--steel { color: var(--steel); }
.service-block__phase--teal  { color: var(--teal); }

.service-block__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 10px;
}

.service-block__tagline {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.55;
  font-style: italic;
}

/* Content: two-column body + aside */
.service-block__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  margin-bottom: 40px;
  align-items: start;
}

.service-block__text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-block__text:last-of-type { margin-bottom: 0; }

.service-block__closing {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.75;
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--teal);
  background: rgba(58,138,110,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* Bullets aside */
.service-block__bullets-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.service-block__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-block__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.55;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-block__bullets li:last-child { border-bottom: none; }

.service-block__bullets li svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

/* Footer: pricing note + CTA */
.service-block__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1.5px solid var(--gray-200);
}

.service-block__pricing {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.55;
  flex: 1 1 300px;
}
.service-block__pricing svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gray-400);
}

/* Responsive */
@media (max-width: 900px) {
  .service-block__content { grid-template-columns: 1fr; gap: 36px; }
  .service-block__header  { gap: 20px; }
  .service-block__num-badge { width: 52px; height: 52px; font-size: 18px; }
}

@media (max-width: 640px) {
  .service-block { scroll-margin-top: 68px; }  /* jump nav collapses on mobile */
  .service-block__header { flex-direction: column; gap: 16px; margin-bottom: 32px; padding-bottom: 28px; }
  .service-block__num-badge { width: 44px; height: 44px; font-size: 15px; }
  .service-block__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-block__pricing { flex-basis: 100%; }
}

/* ─────────────────────────────────────────────
   PHASE 3 — Our Customers: ensure both boxes
   have matching visual weight (border treatment)
───────────────────────────────────────────── */
/* Enforce identical border + border-radius on both box variants */
.customers-box--dark,
.customers-box--light {
  border: 1.5px solid transparent; /* structural — overridden per variant below */
}
.customers-box--dark {
  border-color: rgba(255,255,255,.08);
}
.customers-box--light {
  border-color: var(--gray-200);
}

/* ─────────────────────────────────────────────
   PHASE 4 — Contact page: primary booking layout
───────────────────────────────────────────── */
.contact-booking-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-booking-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* subtle teal accent stripe at top */
.contact-booking-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--steel-light));
}

.contact-booking-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(58,138,110,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--teal-light);
}

.contact-booking-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.contact-booking-card__body {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-booking-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-booking-card__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.contact-booking-card__bullets li svg { color: var(--teal-light); flex-shrink: 0; }

.contact-booking-card__btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 16px;
}

.contact-booking-card__note {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-align: center;
  margin-top: 12px;
}

.contact-booking-aside {
  /* inherits from existing contact sidebar patterns */
}

@media (max-width: 900px) {
  .contact-booking-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .contact-booking-card { padding: 32px 24px; }
}

/* ─────────────────────────────────────────────
   PHASE 4 — Mobile QA: touch target enforcement
   and layout hardening
───────────────────────────────────────────── */

/* Ensure all interactive nav elements meet 44px minimum touch target */
.nav-mobile-section-toggle,
.nav-mobile-link,
.nav-mobile-sublink {
  min-height: 44px;
}

/* Footer newsletter inputs / buttons already have min-height: 44px
   from Phase 1 — confirming here */
.footer-newsletter__input,
.footer-newsletter__btn { min-height: 44px; }

/* Stats bar: 3-col already handled; confirm single-col mobile stacking */
@media (max-width: 480px) {
  .stats-bar__grid--3col { gap: 24px; }
  .stat__value { font-size: 36px; }
}

/* Customers two-box: ensure clean stacking */
@media (max-width: 768px) {
  .customers-fit-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Service jump nav: hide on very small screens to avoid nav overlap */
@media (max-width: 480px) {
  .service-jumpnav { display: none; }
  .service-block { scroll-margin-top: 80px; }
}

/* Booking card btn: ensure thumb-reachable */
.contact-booking-card__btn { min-height: 52px; }

/* All primary CTAs: enforce minimum tap height */
.btn--lg { min-height: 52px; }
.btn--sm { min-height: 36px; }

/* ─────────────────────────────────────────────
   NEWSLETTER UPDATE — mobile height constraint
   Tightens the footer newsletter block on small
   screens so it never dominates the viewport.
───────────────────────────────────────────── */

/* Desktop: already handled — confirm key values */
.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Tablet (≤ 900px): reduce padding, tighten gap */
@media (max-width: 900px) {
  .footer-newsletter {
    padding: 28px 32px;
    gap: 20px;
    margin-bottom: 44px;
  }
}

/* Mobile (≤ 640px): compact stacked layout */
@media (max-width: 640px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px;
    gap: 14px;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
  }

  .footer-newsletter__headline {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .footer-newsletter__sub {
    font-size: 12px;
  }

  /* Form row: keep input + button side-by-side unless screen is truly tiny */
  .footer-newsletter__form {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .footer-newsletter__input {
    flex: 1 1 0;
    min-width: 0;       /* prevents flex overflow on narrow screens */
    font-size: 14px;
    padding: 10px 12px;
    min-height: 44px;
  }

  .footer-newsletter__btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 13px;
    min-height: 44px;
  }
}

/* Very narrow (≤ 380px): allow form to wrap so nothing clips */
@media (max-width: 380px) {
  .footer-newsletter__form { flex-wrap: wrap; }
  .footer-newsletter__input { min-width: 100%; }
  .footer-newsletter__btn   { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────
   DJANGO MESSAGES — toast notifications
───────────────────────────────────────────── */
.site-messages {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}

.site-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: msgSlideIn .22s ease forwards;
  transition: opacity .25s ease, transform .25s ease;
  max-width: 380px;
}

.site-message--hiding {
  opacity: 0;
  transform: translateX(16px);
}

/* success */
.site-message--success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* info */
.site-message--info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

/* error / warning */
.site-message--error,
.site-message--warning {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.site-message__text { flex: 1; }

.site-message__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: currentColor;
  opacity: .6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: opacity .15s;
}
.site-message__close:hover { opacity: 1; }

@keyframes msgSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .site-message { animation: none; }
  .site-message--hiding { transition: none; }
}

/* Stack at bottom-left on narrow mobile to avoid blocking content */
@media (max-width: 480px) {
  .site-messages {
    bottom: 16px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
  .site-message { max-width: none; }
}

/* ─────────────────────────────────────────────
   ERROR PAGES — 400 / 403 / 404 / 500 / 503
───────────────────────────────────────────── */
.error-page-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px; /* top clears fixed nav */
  background:
    radial-gradient(circle at top right, rgba(58,138,110,.08), transparent 30%),
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.error-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  max-width: 460px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

/* teal→steel gradient top accent bar */
.error-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--steel));
}

.error-card__code {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.error-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}

.error-card__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .error-card { padding: 36px 24px; }
  .error-page-wrap { padding-top: 100px; }
}
