/* ============================================================
   SV Partners — styles.css
   Adapted from Binance design system (DESIGN.md)
   Accent: #C8963E (deep amber/gold) replacing Binance yellow
   Base: Inter (sub for BinanceNova), monospace for numbers
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand */
  --accent:           #C8963E;
  --accent-active:    #A87830;
  --accent-disabled:  #3a2e1f;
  --accent-on:        #ffffff;   /* white on gold (consulting = light on dark gold) */

  /* Canvas */
  --canvas:           #0b0e11;
  --surface-card:     #1e2329;
  --surface-elevated: #2b3139;

  /* Text */
  --text-primary:     #ffffff;
  --text-body:        #eaecef;
  --text-muted:       #707a8a;
  --text-muted-strong:#929aa5;

  /* Borders */
  --border-dark:      #2b3139;
  --border-strong:    #3d4652;

  /* Typography */
  --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:        'IBM Plex Mono', 'JetBrains Mono', 'Fira Code', monospace;

  /* Radius */
  --r-sm:   4px;
  --r-md:   6px;
  --r-lg:   8px;
  --r-xl:   12px;
  --r-pill: 9999px;

  /* Spacing */
  --sp-xxs: 4px;
  --sp-xs:  8px;
  --sp-sm:  12px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-xxl: 48px;
  --sp-section: 100px;

  /* Container */
  --container-max: 1200px;
  --nav-h: 68px;
}

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}

/* ── Typography Utilities ── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}

h1, .h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

h2, .h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

h3, .h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h4, .h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

h5, .h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-md);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
}
.btn-primary:hover { background: var(--accent-active); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 14, 17, 0.96);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: var(--sp-lg);
}

.nav-inner .nav-cta {
  justify-self: end;
}

.nav-inner .nav-hamburger {
  justify-self: end;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.nav-logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-logo-fallback {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted-strong);
  transition: color 0.18s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-xs);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.2s;
}

/* Mobile nav sheet */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  flex-direction: column;
  padding: var(--sp-xl);
  padding-top: calc(var(--nav-h) + var(--sp-xl));
}

.nav-mobile.open { display: flex; }

.nav-mobile-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted-strong);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  margin-bottom: auto;
}

.nav-mobile-links a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-mobile-links a.active { color: var(--accent); }

.nav-mobile-cta {
  margin-top: var(--sp-xxl);
}

.nav-mobile-cta .btn { width: 100%; }

/* ── Footer ── */
.footer {
  background: var(--surface-card);
  border-top: 1px solid var(--border-dark);
  padding: var(--sp-xxl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xl);
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: var(--sp-sm);
}

.footer-brand-fallback {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--text-primary); }

.footer-contact {
  text-align: right;
}

.footer-contact a {
  font-size: 14px;
  color: var(--accent);
  transition: color 0.18s;
}
.footer-contact a:hover { color: var(--accent-active); }

.footer-contact p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--sp-xs);
}

.footer-bottom {
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer-bottom a:hover { color: var(--text-primary); }

/* ── Sections ── */
.section {
  padding: var(--sp-section) 0;
}

.section-alt {
  background: var(--surface-card);
}

.section-dark {
  background: var(--canvas);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-xxl);
}

.section-header p {
  margin-top: var(--sp-md);
  font-size: 17px;
  color: var(--text-muted-strong);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: var(--sp-section) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: var(--sp-lg);
}

.hero-content .lead {
  margin-bottom: var(--sp-xl);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* ── Cards ── */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--border-strong);
}

.card-accent-top {
  border-top: 2px solid var(--accent);
}

/* ── Grid Layouts ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: start;
}

/* ── Service Pillar Cards ── */
.pillar-card {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  transition: border-color 0.2s, transform 0.2s;
}

.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--sp-lg);
  color: var(--accent);
}

.pillar-card h3 {
  margin-bottom: var(--sp-xs);
}

.pillar-card p {
  font-size: 15px;
  color: var(--text-muted-strong);
  margin-bottom: var(--sp-md);
  line-height: 1.65;
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}

.link-arrow:hover { gap: 8px; }

/* ── Process Steps ── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--border-dark);
  z-index: 0;
}

.step-item {
  padding: var(--sp-lg);
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  position: relative;
  z-index: 1;
}

.step-item h4 {
  font-size: 15px;
  margin-bottom: var(--sp-xs);
}

.step-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Trust Signals ── */
.signal-card {
  padding: var(--sp-xl);
}

.signal-card h4 {
  font-size: 16px;
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
}

.signal-card p {
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xxl) var(--sp-xxl);
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: var(--sp-md);
}

.cta-banner p {
  max-width: 560px;
  margin: 0 auto var(--sp-xl);
  color: var(--text-muted-strong);
}

/* ── Page Header ── */
.page-header {
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(200, 150, 62, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

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

.page-header h1 {
  max-width: 700px;
  margin-inline: auto;
}

.page-header h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: var(--sp-lg) auto 0;
  border-radius: 1px;
}

.page-header p {
  max-width: 580px;
  margin: var(--sp-lg) auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted-strong);
}

/* ── Services Page ── */
.service-block {
  padding: var(--sp-section) 0;
  border-bottom: 1px solid var(--border-dark);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block-alt {
  background: var(--surface-card);
}

.service-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
}

.service-name {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: var(--sp-lg);
}

.service-position {
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted-strong);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
  padding-left: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

.service-body p {
  margin-bottom: var(--sp-md);
  font-size: 16px;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  margin: var(--sp-xl) 0;
}

.service-list li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border-dark);
  padding-left: var(--sp-lg);
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--border-dark);
}

.service-meta-item h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
}

.service-meta-item p {
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.6;
}

/* Pre-Meeting Brief callout */
.brief-callout {
  background: rgba(200, 150, 62, 0.06);
  border: 1px solid rgba(200, 150, 62, 0.35);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  margin: var(--sp-xl) 0;
}

.brief-callout-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}

.brief-callout h4 {
  font-size: 18px;
  margin-bottom: var(--sp-md);
  color: var(--text-primary);
}

.brief-callout p {
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.75;
}

/* ── About Page ── */
.prose p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: var(--sp-lg);
}

.problem-panel {
  background: var(--surface-card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-xxl);
}

.problem-panel h2 {
  margin-bottom: var(--sp-xl);
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.problem-list li {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  padding-left: var(--sp-xl);
  position: relative;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.principle-card {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
}

.principle-card h3 {
  font-size: 18px;
  margin-bottom: var(--sp-md);
  color: var(--accent);
}

.principle-card p {
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.75;
}

.differentiator-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-xl);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: start;
}

.differentiator-row:last-child {
  border-bottom: none;
}

.differentiator-row.separator {
  border-top: 1px solid var(--border-strong);
  margin-top: var(--sp-md);
  padding-top: var(--sp-xl);
}

.diff-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.5;
}

.diff-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
}

/* ── Process Page ── */
.phase-block {
  padding: var(--sp-section) 0;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

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

.phase-block-alt {
  background: var(--surface-card);
}

.phase-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.phase-number-large {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  color: rgba(200, 150, 62, 0.12);
  letter-spacing: -4px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 120px;
}

.phase-title-group {
  padding-top: var(--sp-xs);
}

.phase-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
}

.phase-name {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.phase-body {
  padding-left: calc(clamp(64px, 10vw, 120px) + var(--sp-xl));
}

.phase-body p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: var(--sp-lg);
}

.phase-outputs {
  margin: var(--sp-xl) 0;
  background: rgba(43, 49, 57, 0.5);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-xl);
}

.phase-outputs h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}

.phase-outputs ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.phase-outputs li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: var(--sp-lg);
  position: relative;
  line-height: 1.6;
}

.phase-outputs li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 2px;
}

.phase-involved {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.involved-party h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-xs);
}

.involved-party p {
  font-size: 14px;
  color: var(--text-muted-strong);
  line-height: 1.6;
}

.engagement-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin: var(--sp-xl) 0;
}

.engagement-card {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  transition: border-color 0.2s;
}

.engagement-card:hover { border-color: var(--accent); }

.engagement-card h4 {
  font-size: 17px;
  margin-bottom: var(--sp-md);
  color: var(--text-primary);
}

.engagement-card p {
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.7;
}

.timeline-list {
  list-style: none;
  margin: var(--sp-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.timeline-list li {
  display: flex;
  gap: var(--sp-md);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.timeline-list li span:first-child {
  color: var(--accent);
  font-weight: 600;
  min-width: 200px;
  flex-shrink: 0;
}

/* ── Contact Page ── */
.what-next-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.next-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: start;
}

.next-step:last-child { border-bottom: none; }

.next-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-step-content h4 {
  font-size: 17px;
  margin-bottom: var(--sp-xs);
}

.next-step-content p {
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.65;
}

/* Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-xxl);
  align-items: start;
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-strong);
  margin-bottom: var(--sp-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.18s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23707a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--surface-card);
  color: var(--text-primary);
}

.contact-detail-block {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-xl));
}

.contact-detail-block h4 {
  font-size: 16px;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-dark);
}

.contact-item {
  margin-bottom: var(--sp-md);
}

.contact-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 15px;
  color: var(--accent);
  transition: color 0.18s;
}
.contact-item a:hover { color: var(--accent-active); }

.contact-note {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border-dark);
  font-size: 14px;
  color: var(--text-muted-strong);
  line-height: 1.65;
}

/* ── Who This Is For grid ── */
.icp-card {
  background: var(--surface-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  transition: border-color 0.2s;
}

.icp-card:hover { border-color: var(--accent); }

.icp-card h4 {
  font-size: 16px;
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
}

.icp-card p {
  font-size: 14px;
  color: var(--text-muted-strong);
  line-height: 1.65;
}

/* ── Geo decoration ── */
.geo-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(200, 150, 62, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Misc Utilities ── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-muted-strong { color: var(--text-muted-strong); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-xxl { margin-top: var(--sp-xxl); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-xxl { margin-bottom: var(--sp-xxl); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-detail-block { position: static; }
}

@media (max-width: 768px) {
  :root {
    --sp-section: 64px;
  }

  .container { padding-inline: var(--sp-lg); }

  .page-header {
    padding: 64px 0 56px;
  }

  .page-header::before {
    width: 100%;
    height: 300px;
  }

  /* Nav */
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Grids */
  .grid-3,
  .grid-2,
  .grid-4,
  .grid-2-1,
  .steps-row,
  .service-meta,
  .phase-involved,
  .engagement-cards,
  .footer-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-contact { text-align: left; }
  .footer-grid { gap: var(--sp-xl); }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  /* Phase */
  .phase-body { padding-left: 0; }
  .phase-number-large { font-size: 72px; min-width: auto; }

  /* Differentiators */
  .differentiator-row {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  /* Timeline */
  .timeline-list li { flex-direction: column; gap: var(--sp-xs); }
  .timeline-list li span:first-child { min-width: unset; }

  /* Steps */
  .step-item { text-align: left; display: flex; gap: var(--sp-md); align-items: flex-start; }
  .step-number { flex-shrink: 0; margin: 0; }

  /* Service */
  .service-name { font-size: 28px; }

  /* CTA banner */
  .cta-banner { padding: var(--sp-xl); }

  /* What next */
  .next-step { grid-template-columns: 1fr; }
  .next-step-num { margin-bottom: var(--sp-sm); }
}

/* ============================================================
   Animations — revamp
   ============================================================ */

/* ── Keyframes ── */
@keyframes svHeroItem {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes svLineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 40px; opacity: 1; }
}

@keyframes svRipple {
  from { width: 0; height: 0; opacity: 0.3; transform: translate(-50%,-50%); }
  to   { width: 320px; height: 320px; opacity: 0; transform: translate(-50%,-50%); }
}

@keyframes svOrbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -30px) scale(1.05); }
  66%  { transform: translate(-25px, 20px) scale(0.97); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes svOrbRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes svShimmerSweep {
  from { left: -100%; }
  to   { left: 160%; }
}

/* ── Background Orbs ── */
.sv-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sv-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,62,0.09) 0%, rgba(200,150,62,0.03) 40%, transparent 70%);
  animation: svOrbDrift linear infinite alternate;
  will-change: transform;
}

/* ── Canvas overlay ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

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

/* ── Cursor glow ── */
.sv-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,62,0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transition: opacity 0.3s;
}

/* ── Scroll Reveal base ── */
.sv-reveal {
  will-change: opacity, transform;
  transition:
    opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter   0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Up */
.sv-reveal.sv-up   { opacity: 0; transform: translateY(32px); }
/* Left */
.sv-reveal.sv-left { opacity: 0; transform: translateX(-28px); }
/* Right */
.sv-reveal.sv-right{ opacity: 0; transform: translateX(28px); }
/* Fade */
.sv-reveal.sv-fade { opacity: 0; transform: none; }
/* Scale */
.sv-reveal.sv-scale{ opacity: 0; transform: scale(0.96); }

/* Visible state — same for all */
.sv-reveal.sv-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ── Hero Entrance ── */
.sv-hero-item {
  opacity: 0;
  animation: svHeroItem 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Page Header H1 accent line ── */
.sv-header-h1::after {
  animation: svLineGrow 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* ── Nav ── */
.nav {
  transition: background 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.nav-scrolled {
  background: rgba(11, 14, 17, 0.97) !important;
  border-bottom-color: rgba(200,150,62,0.18) !important;
  box-shadow: 0 1px 32px rgba(0,0,0,0.5) !important;
}

/* Nav links */
.nav-links a {
  position: relative;
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.22s ease;
}
.nav-links a:hover::before,
.nav-links a.active::before { width: 100%; }
.nav-links a.active::after  { display: none; }

/* ── Buttons ── */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(200,150,62,0.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
  left: -100%;
  transition: none;
}
.btn-primary:hover::before {
  animation: svShimmerSweep 0.55s ease forwards;
}

.btn-ghost {
  transition: border-color 0.2s ease, color 0.2s ease,
              background 0.2s ease, box-shadow 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(200,150,62,0.06);
  box-shadow: 0 0 0 1px rgba(200,150,62,0.3);
}

/* Ripple */
.sv-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  pointer-events: none;
  animation: svRipple 0.6s ease-out forwards;
}

/* ── Cards ── */
.pillar-card {
  transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease;
}
.pillar-card:hover {
  border-color: rgba(200,150,62,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,150,62,0.15),
              inset 0 1px 0 rgba(200,150,62,0.08);
  transform: translateY(-6px);
}

.icp-card,
.principle-card,
.engagement-card {
  transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease;
}
.icp-card:hover,
.principle-card:hover,
.engagement-card:hover {
  border-color: rgba(200,150,62,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(200,150,62,0.07);
}

/* ── Link arrows ── */
.link-arrow {
  transition: gap 0.2s ease, color 0.18s ease, letter-spacing 0.2s ease;
}
.link-arrow:hover {
  color: var(--accent-active);
  gap: 10px;
}

/* ── Phase blocks ── */
.phase-number-large {
  transition: color 0.4s ease;
}
.phase-block:hover .phase-number-large {
  color: rgba(200,150,62,0.2);
}

/* ── Differentiator rows ── */
.differentiator-row {
  transition: background 0.2s ease, padding-left 0.25s ease;
}
.differentiator-row:hover {
  background: rgba(200,150,62,0.025);
  padding-left: var(--sp-sm);
  border-radius: var(--r-md);
}

/* ── Brief callout ── */
.brief-callout {
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease;
}
.brief-callout:hover {
  border-color: rgba(200,150,62,0.55);
  background: rgba(200,150,62,0.08);
  box-shadow: 0 0 0 4px rgba(200,150,62,0.06);
}

/* ── Section alt gets slight noise texture via pseudo ── */
.section-alt {
  position: relative;
}

/* ── Form inputs ── */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* ── Footer brand ── */
.footer-brand,
.footer-nav,
.footer-contact {
  transition: opacity 0.3s ease;
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .sv-orbs,
  .sv-cursor-glow,
  #hero-canvas { display: none !important; }

  .sv-reveal,
  .sv-hero-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .sv-header-h1::after {
    animation: none !important;
    width: 40px; opacity: 1;
  }
}
