/* ============================================
   CVR STUDIOS — DESIGN SYSTEM
   Dark premium aesthetic, lime-green accent
   ============================================ */

/* ============= OFFER CARDS (two-offer section) ============= */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 64px;
}
@media (max-width: 880px) {
  .offer-grid { grid-template-columns: 1fr; gap: 20px; }
}

.offer-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.offer-card::after {
  content: '';
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -62%;
  width: 42%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.00) 20%,
    rgba(184,255,92,0.08) 42%,
    rgba(255,255,255,0.30) 50%,
    rgba(184,255,92,0.08) 58%,
    rgba(255,255,255,0.00) 80%,
    transparent 100%
  );
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.offer-card:hover::after {
  animation: card-glimmer 0.95s ease-out;
}
.offer-card:hover {
  border-color: rgba(184, 255, 92, 0.4);
  transform: translateY(-4px);
}
.offer-card > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 560px) {
  .offer-card { padding: 32px 24px; }
}

.offer-card-featured {
  background:
    radial-gradient(800px 420px at 18% 0%, rgba(184, 255, 92, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(184, 255, 92, 0.055), var(--bg-elev) 64%);
  border-color: rgba(184, 255, 92, 0.25);
}

.offer-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.offer-card-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* New stage indicator (01 / 02) replacing the badge */
.offer-card-stage {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.offer-card-stage-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.offer-card-stage-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Label that precedes the deliverables list */
.offer-card-features-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.offer-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.offer-card-tagline {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.26;
  color: var(--text);
  margin-bottom: 30px;
  max-width: 32ch;
}

.offer-card-who {
  padding: 20px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  border-left: 2px solid var(--accent);
  margin-bottom: 28px;
}
.offer-card-who-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 680;
  margin-bottom: 10px;
}
.offer-card-who p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.offer-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}
.offer-card-features li {
  padding: 11px 0 11px 28px;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.28;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.offer-card-features li:last-child { border-bottom: none; }
.offer-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.offer-card-price {
  padding: 22px 24px;
  background: rgba(184, 255, 92, 0.05);
  border: 1px solid rgba(184, 255, 92, 0.18);
  border-radius: 14px;
  margin-bottom: 28px;
  text-align: center;
}
.offer-card-price-main {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.01em;
}
.offer-card-price-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

.offer-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* One-off services strip below the offer cards */
.oneoff-strip {
  position: relative;
  margin-top: 56px;
  padding: 36px 40px;
  background:
    radial-gradient(1200px 300px at 0% 50%, rgba(184,255,92,0.10), transparent 60%),
    linear-gradient(180deg, rgba(184,255,92,0.04), rgba(184,255,92,0.01)),
    var(--bg-elev);
  border: 1px solid rgba(184,255,92,0.28);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 0 0 rgba(184,255,92,0);
}
.oneoff-strip::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(184,255,92,0.6);
}
.oneoff-strip::after {
  content: '';
  position: absolute;
  top: -55%;
  bottom: -55%;
  left: -36%;
  width: 22%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.00) 18%,
    rgba(184,255,92,0.10) 42%,
    rgba(255,255,255,0.32) 50%,
    rgba(184,255,92,0.10) 58%,
    rgba(255,255,255,0.00) 82%,
    transparent 100%
  );
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.oneoff-strip:hover {
  transform: translateY(-2px);
  border-color: rgba(184,255,92,0.55);
  box-shadow: 0 20px 60px -20px rgba(184,255,92,0.25);
}
.oneoff-strip:hover::after {
  animation: strip-glimmer 1.05s ease-out;
}
.oneoff-strip-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.oneoff-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
  text-transform: uppercase;
  color: var(--text);
}
.oneoff-strip-copy p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
  max-width: 58ch;
}
.oneoff-strip-cta {
  flex-shrink: 0;
  pointer-events: none; /* parent anchor handles click */
}
@media (max-width: 720px) {
  .oneoff-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 28px 28px;
  }
  .oneoff-strip-cta { align-self: stretch; text-align: center; }
}

@keyframes card-glimmer {
  0% { left: -62%; opacity: 0; }
  16% { opacity: 1; }
  100% { left: 122%; opacity: 0; }
}

@keyframes strip-glimmer {
  0% { left: -36%; opacity: 0; }
  16% { opacity: 1; }
  100% { left: 118%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card:hover::after,
  .oneoff-strip:hover::after {
    animation: none;
  }
}

/* Case study tag variant */
.case-tag.tag-launch { color: var(--accent); }
.case-tag.tag-scale { color: #7ec8ff; }

/* Hero dual CTA hint */
.hero-route-hint {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-subtle);
}
.hero-route-hint a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hero-route-hint a:hover { color: var(--accent); }


:root {
  /* Color tokens */
  --bg: #0a0a0a;
  --bg-elev: #121212;
  --bg-elev-2: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-subtle: rgba(255, 255, 255, 0.45);
  --accent: #b8ff5c;
  --accent-dark: #8fdb2e;
  --accent-soft: rgba(184, 255, 92, 0.12);
  --danger: #ff5c7a;

  /* Type scale */
  --font-display: "Inter", "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Geist", "Helvetica Neue", Arial, sans-serif;
  --display-tracking: -0.065em;
  --heading-tracking: -0.045em;
  --body-tracking: -0.012em;

  /* Spacing */
  --container: 1280px;
  --container-narrow: 960px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-sm: 8px;

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

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: var(--body-tracking);
  text-rendering: geometricprecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* ============= TYPOGRAPHY ============= */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 620;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

p { color: var(--text-muted); font-size: 1rem; letter-spacing: var(--body-tracking); }

.lead {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.48;
  font-weight: 400;
}

.accent { color: var(--accent); }
.muted { color: var(--text-muted); }

/* ============= LAYOUT ============= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(64px, 9vw, 120px) 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.section-header .lead {
  margin: 20px auto 0;
  max-width: 640px;
}

@media (max-width: 860px) {
  .section-header .eyebrow {
    margin-bottom: 20px;
  }
  .section-header .lead {
    margin-top: 18px;
  }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 620;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 255, 92, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text);
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.btn-lg { padding: 20px 36px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ============= NAVIGATION ============= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 6px 0;
  background: rgba(6, 6, 6, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 46px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a {
    display: block;
    padding: 14px 12px;
    border-radius: 10px;
    color: var(--text);
  }
  .nav-links a:hover { background: rgba(255,255,255,0.05); }
  .nav-links a.btn-primary { margin-top: 8px; text-align: center; }
  .nav-menu-btn { display: flex; }
  .nav-menu-btn.open { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
}

/* ============= HERO ============= */
.hero {
  min-height: calc(100vh - 60px);
  padding: 104px 0 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
    padding: 120px 0 96px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.72) 0%, rgba(10,10,10,0.96) 100%),
    #050505;
  z-index: 0;
  overflow: hidden;
}

/* Animated backlit glow blobs — drift around the hero like a motion graphic */
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
  pointer-events: none;
}

.hero-bg::before {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(184, 255, 92, 0.28) 0%, rgba(184, 255, 92, 0.08) 40%, transparent 70%);
  top: -200px;
  left: 60%;
  animation: hero-glow-drift-1 22s ease-in-out infinite alternate;
}

.hero-bg::after {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184, 255, 92, 0.22) 0%, rgba(184, 255, 92, 0.06) 45%, transparent 70%);
  bottom: -150px;
  left: -200px;
  animation: hero-glow-drift-2 28s ease-in-out infinite alternate;
}

/* Third blob via the grid-bg parent trick (extra layer) */
.hero-glow-extra {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 92, 0.18) 0%, rgba(184, 255, 92, 0.05) 45%, transparent 70%);
  filter: blur(110px);
  top: 40%;
  left: 30%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  animation: hero-glow-drift-3 34s ease-in-out infinite alternate;
}

@keyframes hero-glow-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-180px, 120px) scale(1.1); }
  50%  { transform: translate(-320px, 60px) scale(0.95); }
  75%  { transform: translate(-160px, 220px) scale(1.08); }
  100% { transform: translate(80px, 160px) scale(1); }
}

@keyframes hero-glow-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(220px, -140px) scale(1.12); }
  50%  { transform: translate(420px, -60px) scale(0.92); }
  75%  { transform: translate(280px, -240px) scale(1.05); }
  100% { transform: translate(-60px, -180px) scale(1); }
}

@keyframes hero-glow-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(160px, -100px) scale(0.9); }
  50%  { transform: translate(-120px, -180px) scale(1.15); }
  75%  { transform: translate(-240px, 80px) scale(1); }
  100% { transform: translate(100px, 140px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .hero-bg::after,
  .hero-glow-extra { animation: none; }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 0%, transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 82%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.85rem, 6.2vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 15ch;
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero .lead {
  margin-bottom: 40px;
  max-width: 660px;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}
.hero .lead strong { color: var(--text); font-weight: 620; }

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-route-hint {
  margin-top: 20px;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: clamp(2.9rem, 9.4vw, 4.8rem);
    line-height: 0.96;
    max-width: 14ch;
  }
  .hero .lead {
    max-width: 620px;
    margin-bottom: 34px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 92px 0 70px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 9.2vw, 3.75rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 14.2ch;
    margin-bottom: 26px;
  }
  .hero .lead {
    margin-bottom: 30px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 88px 0 66px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 11.6vw, 3.55rem);
    letter-spacing: -0.045em;
    max-width: 13.2ch;
  }
}

.hero-trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, #2a2a2a, #444);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}
.hero-trust-avatars span:first-child { margin-left: 0; }

.hero-trust strong { color: var(--text); }

/* ============= LOGO BAR ============= */
.logo-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logo-bar-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 28px;
}

.logo-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.logo-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  opacity: 1;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  height: 40px;
  white-space: nowrap;
}
.logo-chip sup {
  font-size: 0.45em;
  opacity: 0.6;
  margin-left: 2px;
  align-self: flex-start;
  margin-top: 4px;
}
.logo-chip:hover { opacity: 0.7; }

/* ============= LOGO MARQUEE (infinite scroll) ============= */
.logo-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 28px;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-left: 72px;
  animation: logo-marquee-scroll 40s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ============= STAT BAR ============= */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 40px 32px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

@media (max-width: 768px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ============= CARDS ============= */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(184,255,92,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.18);
  transform-origin: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  animation: service-icon-pulse 1.75s ease-in-out infinite;
}

.service-card:hover .service-card-icon {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 0 26px rgba(184, 255, 92, 0.34);
  transform: scale(1.1) translateY(-2px);
  animation: service-icon-pulse-filled 1.75s ease-in-out infinite;
}

.service-card:nth-child(2) .service-card-icon { animation-delay: 0.15s; }
.service-card:nth-child(3) .service-card-icon { animation-delay: 0.3s; }
.service-card:nth-child(4) .service-card-icon { animation-delay: 0.45s; }
.service-card:nth-child(5) .service-card-icon { animation-delay: 0.6s; }
.service-card:nth-child(6) .service-card-icon { animation-delay: 0.75s; }

@keyframes service-icon-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(184, 255, 92, 0), 0 0 22px rgba(184, 255, 92, 0.22);
    transform: scale(1.08);
  }
}

@keyframes service-icon-pulse-filled {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.28);
    transform: scale(1.08) translateY(-2px);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(184, 255, 92, 0), 0 0 28px rgba(184, 255, 92, 0.36);
    transform: scale(1.15) translateY(-2px);
  }
}

.service-card h3 { margin-bottom: 8px; }
.service-card p {
  line-height: 1.35;
}

.service-card-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card-link::after { content: '→'; transition: transform 0.2s ease; }
.service-card:hover .service-card-link::after { transform: translateX(4px); }

@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ============= PROCESS STEPS ============= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.process-step {
  position: relative;
  border-top: 1px solid var(--border-strong);
  padding-top: 22px;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 640;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  cursor: default;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.process-step-num::before {
  content: '';
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background:
    radial-gradient(circle at center, var(--accent) 0 42%, transparent 44%),
    transparent;
  background-size: 0 0, auto;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 rgba(184, 255, 92, 0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-size 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
  animation: process-ring-pulse 1.65s ease-in-out infinite;
}

.process-step:hover .process-step-num,
.process-step.is-active .process-step-num {
  transform: translateY(-2px);
}

.process-step:hover .process-step-num::before,
.process-step.is-active .process-step-num::before {
  background-size: 100% 100%, auto;
  box-shadow: 0 0 22px rgba(184, 255, 92, 0.28);
  transform: scale(1.08);
  animation: process-ring-bounce 0.48s var(--ease), process-ring-pulse-filled 1.65s ease-in-out infinite 0.48s;
}

.process-step:nth-child(2) .process-step-num::before { animation-delay: 0.18s; }
.process-step:nth-child(3) .process-step-num::before { animation-delay: 0.36s; }
.process-step:nth-child(4) .process-step-num::before { animation-delay: 0.54s; }

@keyframes process-ring-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.22);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(184, 255, 92, 0), 0 0 22px rgba(184, 255, 92, 0.26);
    transform: scale(1.12);
  }
}

@keyframes process-ring-pulse-filled {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.28);
    transform: scale(1.06);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(184, 255, 92, 0), 0 0 26px rgba(184, 255, 92, 0.34);
    transform: scale(1.15);
  }
}

@keyframes process-ring-bounce {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1.08); }
}

.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 0.98rem; line-height: 1.35; }

@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .process-step-num,
  .process-step-num::before,
  .process-step:hover .process-step-num::before,
  .process-step.is-active .process-step-num::before,
  .service-card-icon,
  .service-card:hover .service-card-icon {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* ============= CASE STUDY CARDS ============= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.case-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.case-image-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.2)),
    radial-gradient(600px 260px at 80% 30%, rgba(184,255,92,0.08), transparent 60%);
  pointer-events: none;
}

.case-card:hover .case-image-photo img {
  transform: scale(1.04);
  filter: saturate(1.02) contrast(1.08);
}

.case-image-photo .case-image-logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(38%, 280px);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.case-image-logo-styrkr {
  filter: invert(1) brightness(2.4);
  opacity: 0.94;
  mix-blend-mode: screen;
}

.case-card:hover .case-image-photo .case-image-logo {
  transform: translate(-50%, -50%) scale(1.03);
}

.case-image-label {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 560;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.02em;
}

.case-body { padding: 28px 32px; }

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-body h3 { margin-bottom: 10px; }

.case-metrics {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-metric-val {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.case-metric-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

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

/* ============= TESTIMONIALS ============= */
.testimonial-video-wrap {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    var(--bg-elev);
  box-shadow: 0 28px 70px rgba(0,0,0,0.32);
}

.testimonial-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  object-fit: contain;
  background: #050505;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.testimonial {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-quote {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.018em;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #444);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-author-name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.testimonial-author-role { font-size: 0.82rem; color: var(--text-subtle); }

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

/* ============= FAQ ============= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--border-strong); }

.faq-item summary {
  padding: 24px 28px;
  font-weight: 620;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }

.faq-item-body {
  padding: 0 28px 24px;
  color: var(--text-muted);
}

/* ============= FORMS ============= */
.form { display: flex; flex-direction: column; gap: 20px; }

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

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field-hint { font-size: 0.8rem; color: var(--text-subtle); }

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============= CTA BANNER ============= */
.cta-banner {
  background:
    radial-gradient(1000px 520px at 50% -15%, rgba(184,255,92,0.18), transparent 62%),
    linear-gradient(135deg, #0f0f0f 0%, #171717 100%);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft), transparent 60%);
  pointer-events: none;
}

.cta-banner * { position: relative; }

.cta-banner h2 { margin-bottom: 20px; max-width: 18ch; margin-inline: auto; }
.cta-banner .lead { margin: 0 auto 36px; }

.cta-banner-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============= FOOTER ============= */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(130px, 1fr));
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.footer-brand p { max-width: 320px; margin-bottom: 20px; font-size: 0.95rem; }

/* Match the header (.nav-logo) box exactly so footer + header logos align */
.footer-logo {
  display: inline-block;
  width: 210px;
  height: 52px;
  margin-bottom: 18px;
  line-height: 0;
  overflow: visible;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  /* logo-nav-wide.png has ~7.3% transparent padding baked into its left edge;
     shift left so the wordmark sits flush with the text/buttons below it */
  transform: translateX(-7.3%);
}
@media (max-width: 880px) {
  .footer-logo { width: 176px; height: 46px; }
}
@media (max-width: 560px) {
  .footer-logo { width: 152px; height: 40px; }
}

.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-address {
  margin-top: 16px;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-subtle);
  font-size: 0.82rem;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============= PAGE HEADER (inner pages) ============= */
.page-header {
  padding: 160px 0 72px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(184, 255, 92, 0.08), transparent 60%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  z-index: 0;
}

.page-header-inner { position: relative; z-index: 1; }

.page-header h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 16ch;
  margin-bottom: 20px;
}

.page-header .lead { margin-bottom: 32px; }

/* ============= UTILS ============= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elev);
}

.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* Small helpers */
.text-center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

/* ============= LOGO (real asset) ============= */
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 880px) {
  .nav-logo img { height: 30px; }
}
@media (max-width: 560px) {
  .nav-logo img { height: 28px; }
}

/* Override nav link color on the primary CTA so the button stays black-on-lime */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #0a0a0a;
}

/* ============= FOUNDER AUTHORITY (homepage) ============= */
.founder-authority {
  padding-top: clamp(70px, 7vw, 112px);
  padding-bottom: clamp(70px, 7vw, 112px);
}

.founder-authority-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
}

.founder-authority-copy h2 {
  max-width: 22ch;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.founder-authority-copy .lead {
  max-width: 58ch;
}

.founder-card {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 610px;
  justify-self: end;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1f1f1f, #0d0d0d);
}

.founder-card img.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.08) 60%, transparent 80%);
}

.founder-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
}

.founder-card-content h3 { color: var(--text); }
.founder-card-content p { color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
  .founder-authority-grid {
    grid-template-columns: 1fr;
  }

  .founder-authority-copy h2,
  .founder-authority-copy .lead {
    max-width: none;
  }

  .founder-card {
    justify-self: stretch;
    max-width: none;
  }
}

/* Team photo replaces initial placeholder with real image */
.team-photo img.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============= OVERSIZED SECTION EYEBROW ============= */
.section-header-eyebrow-only {
  margin-bottom: 64px;
  display: block;
  text-align: center;
}
.section-eyebrow-lg {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 620;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  text-wrap: balance;
}

/* ============= HOMEPAGE CTA BOOKING EMBED ============= */
.cta-banner-with-booking {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.cta-booking-embed {
  margin-top: 40px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  min-height: 780px;
  border: 1px solid rgba(184,255,92,0.2);
  box-shadow: 0 30px 80px -30px rgba(184,255,92,0.15);
}
.cta-booking-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 780px;
  background: #fff;
}
@media (max-width: 900px) {
  .cta-booking-embed, .cta-booking-embed iframe { min-height: 920px; }
}

/* ============= BOOKING CARD (GHL EMBED) ============= */
.booking-card {
  background: var(--surface, #0f0f0f);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 20px;
  padding: 32px;
  position: sticky;
  top: 100px;
}
.booking-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.booking-embed {
  margin-top: 24px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  min-height: 780px;
}
.booking-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 780px;
  background: #fff;
}
@media (max-width: 900px) {
  .booking-card { position: static; padding: 24px; }
  .booking-embed, .booking-embed iframe { min-height: 920px; }
}

/* ============= LANDING PAGE TYPE RESIZE PASS ============= */
/* Keep the Montreal-style uppercase feel without letting sections overrun the viewport. */
.hero h1 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
  max-width: 15ch;
}

.hero .lead {
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.46;
  max-width: 660px;
}

#partnerships {
  padding-top: clamp(56px, 7vw, 92px);
}

#partnerships .section-eyebrow-lg {
  font-size: clamp(2.4rem, 4.6vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 19ch;
  margin-inline: auto;
}

#partnerships .offer-grid {
  margin-top: clamp(36px, 4.5vw, 58px);
  gap: 24px;
}

#partnerships .offer-card {
  padding: clamp(30px, 3.4vw, 46px);
}

#partnerships .offer-card h3 {
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

#partnerships .offer-card-tagline {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.35;
  max-width: 34ch;
}

#partnerships .offer-card-who p,
#partnerships .offer-card-features li {
  font-size: 0.94rem;
  line-height: 1.42;
}

.grid-2 h2,
.section-header h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4.1vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.service-card h3,
.process-step h3,
.case-body h3,
.founder-card-content h3 {
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: -0.024em;
}

.service-card p,
.process-step p,
.case-body p,
.faq-item-body {
  font-size: 0.95rem;
  line-height: 1.45;
}

.case-metric-val {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.testimonial-quote {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.42;
  letter-spacing: -0.018em;
}

.faq-item summary {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.8rem, 9vw, 4.6rem);
    max-width: 14ch;
  }

  #partnerships .section-eyebrow-lg {
    font-size: clamp(2.25rem, 7.2vw, 3.6rem);
    max-width: 15ch;
  }

  #partnerships .offer-card h3 {
    font-size: clamp(1.8rem, 6vw, 2.7rem);
  }

  .grid-2 h2,
  .section-header h2,
  .cta-banner h2 {
    font-size: clamp(2rem, 7vw, 3.25rem);
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.2rem);
    line-height: 1;
    max-width: 13.5ch;
  }

  #partnerships .section-eyebrow-lg {
    font-size: clamp(2rem, 8.8vw, 2.85rem);
    line-height: 1;
    max-width: 13ch;
  }

  #partnerships .offer-card {
    padding: 28px 24px;
  }
}

/* ============= COMPACT SECTION SPACING PASS ============= */
section {
  padding-top: clamp(42px, 5.8vw, 76px);
  padding-bottom: clamp(42px, 5.8vw, 76px);
}

.hero {
  padding-top: clamp(86px, 8vw, 108px);
  padding-bottom: clamp(42px, 5vw, 62px);
  min-height: auto;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lead {
  margin-bottom: 26px;
}

.hero-route-hint {
  margin-top: 12px;
}

.section-header {
  margin-bottom: clamp(28px, 3.8vw, 44px);
}

.section-header .lead {
  margin-top: 14px;
}

#partnerships {
  padding-top: clamp(38px, 5vw, 64px);
  padding-bottom: clamp(20px, 2.6vw, 34px);
}

#partnerships + section {
  padding-top: clamp(20px, 2.8vw, 36px);
  padding-bottom: clamp(20px, 2.8vw, 36px);
}

#partnerships + section + section {
  padding-top: clamp(20px, 2.8vw, 36px);
}

#partnerships .section-header-eyebrow-only {
  margin-bottom: clamp(28px, 3.8vw, 42px);
}

#partnerships .offer-grid {
  margin-top: 0;
  gap: 18px;
}

#partnerships .offer-card {
  padding: clamp(26px, 3vw, 40px);
}

#partnerships .offer-card-badge {
  margin-bottom: 22px;
}

#partnerships .offer-card-tagline,
#partnerships .offer-card-who {
  margin-bottom: 22px;
}

#partnerships .offer-card-features {
  margin-bottom: 24px;
}

.grid-2 {
  gap: clamp(28px, 4vw, 42px);
}

.service-grid,
.process-grid,
.case-grid,
.testimonial-grid {
  gap: 16px;
}

.service-card {
  gap: 16px;
  padding: 26px;
}

.case-body {
  padding: 24px 26px;
}

.case-metrics {
  margin-top: 16px;
  padding-top: 16px;
}

.testimonial {
  gap: 18px;
  padding: 28px;
}

.faq-list {
  gap: 10px;
}

.faq-item summary {
  padding: 20px 24px;
}

.faq-item-body {
  padding: 0 24px 20px;
}

.cta-banner {
  padding: clamp(38px, 5vw, 60px);
}

.cta-booking-embed {
  margin-top: 28px;
}

.footer {
  padding-top: 58px;
}

@media (max-width: 700px) {
  section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .hero {
    padding-top: 82px;
    padding-bottom: 42px;
  }

  #partnerships .offer-grid {
    gap: 16px;
  }
}

/* ============= HEADER LOGO SIZE PASS ============= */
.nav {
  padding: 12px 0;
}

.nav-inner {
  min-height: 74px;
}

.nav-logo {
  width: 210px;
  height: 52px;
  overflow: visible;
  position: static;
  flex: 0 0 210px;
  line-height: 0;
}

.nav-logo img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  /* compensate for the logo PNG's baked-in left padding (kept in sync with footer) */
  transform: translateX(-7.3%);
}

@media (max-width: 880px) {
  .nav {
    padding: 8px 0;
  }

  .nav-inner {
    min-height: 60px;
  }

  .nav-logo {
    width: 176px;
    height: 46px;
    flex-basis: 176px;
  }

  .nav-logo img {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .nav-logo {
    width: 152px;
    height: 40px;
    flex-basis: 152px;
  }

  .nav-logo img {
    width: 100%;
  }
}

/* ============= HERO POSITIONING PASS ============= */
.hero {
  min-height: calc(100vh - 99px);
  padding-top: clamp(136px, 14vh, 174px);
  padding-bottom: clamp(58px, 7vh, 82px);
  align-items: center;
}

.hero-inner {
  transform: translateY(clamp(10px, 2.2vh, 24px));
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-inner {
    transform: none;
  }
}

/* ============= LEGAL PAGES (terms / privacy) ============= */
.legal {
  padding-top: clamp(132px, 16vh, 180px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.legal-head {
  padding-bottom: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.legal-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.legal-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.legal-meta {
  color: var(--text-subtle);
  font-size: 0.95rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 70ch;
}
.legal-content ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  max-width: 70ch;
}
.legal-content li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-content li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-content a { color: var(--accent); }
.legal-closing {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 0.95rem;
}

/* ============= NAV SERVICES DROPDOWN ============= */
.nav-has-dropdown {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 10px;
  min-width: 248px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(12, 12, 12, 0.97);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 28px 64px -24px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
/* invisible bridge so the cursor can cross the gap without closing the menu */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: rgba(184, 255, 92, 0.10);
  color: var(--accent);
}

/* On the mobile menu, show the service links as a static indented list */
@media (max-width: 880px) {
  .nav-dropdown {
    position: static;
    margin-top: 6px;
    min-width: 0;
    padding: 4px 0 4px 14px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown::before { display: none; }
}

/* ============= FREE AUDIT NAV GLOW ============= */
.nav-links a[href="free-audit.html"] {
  position: relative;
  color: var(--accent);
  font-weight: 700;
  animation: free-audit-pulse 2.6s ease-in-out infinite;
}
.nav-links a[href="free-audit.html"]:hover {
  color: var(--accent);
}
@keyframes free-audit-pulse {
  0%, 100% {
    text-shadow: 0 0 3px rgba(184, 255, 92, 0.12);
    opacity: 0.82;
  }
  50% {
    text-shadow: 0 0 9px rgba(184, 255, 92, 0.5);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a[href="free-audit.html"] {
    animation: none;
    text-shadow: 0 0 7px rgba(184, 255, 92, 0.3);
  }
}

/* "View all case studies" CTA — uppercase, green, same pulse as Free Audit */
.btn-ghost.case-studies-cta,
.btn-ghost.case-studies-cta:hover {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent) !important;
  border-color: rgba(184, 255, 92, 0.45);
}
.case-studies-cta {
  animation: free-audit-pulse 2.6s ease-in-out infinite;
}
.btn-ghost.case-studies-cta:hover {
  border-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .case-studies-cta {
    animation: none;
    text-shadow: 0 0 7px rgba(184, 255, 92, 0.3);
  }
}
