/* ============================================================
   VANDOR STUDIO — Design System
   Editorial Amazon-growth agency. Dark, premium, gold + lime.
   ============================================================ */

:root {
  /* Background tones */
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-hover: #1c1c1c;

  /* Text tones */
  --white: #fafaf7;
  --text-primary: #ececea;
  --text-secondary: #c9c9c5;
  --text-muted: #8a8a85;
  --text-dim: #56564f;

  /* Accents */
  --gold: #d4a656;
  --gold-soft: #b8914a;
  --gold-tint: rgba(212, 166, 86, 0.12);
  --lime: #c9e866;
  --lime-soft: #a9cc4a;

  /* Borders */
  --border: #232323;
  --border-strong: #33332f;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 40px rgba(212, 166, 86, 0.15);

  /* Typography */
  --font-body: "Poppins", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Dancing Script", "Apple Chancery", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: inline-block; vertical-align: middle; }

/* ---------- Container + Section ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.text-center { text-align: center; }

/* ---------- Typography ---------- */
.h-xl {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--white);
  text-wrap: balance;
  margin-bottom: 28px;
}

.h-lg {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--white);
  text-wrap: balance;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

p { line-height: 1.7; color: var(--text-secondary); }

.body-lg { font-size: 19px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }
.body-md { font-size: 16px; line-height: 1.75; color: var(--text-secondary); text-wrap: pretty; }
.body-sm { font-size: 14px; line-height: 1.7; color: var(--text-muted); }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.label-gold {
  color: var(--gold);
  background: var(--gold-tint);
  border-color: rgba(212, 166, 86, 0.28);
}

.script {
  font-family: var(--font-script);
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  display: inline-block;
}
.script-md { font-size: clamp(34px, 3.6vw, 52px); }
.script-lg { font-size: clamp(48px, 5.4vw, 76px); }

.text-gold { color: var(--gold) !important; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.nav-logo img,
.nav-logo svg {
  height: 46px;
  width: auto;
  display: block;
}
.nav-logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links > a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-links > a:hover { color: var(--white); }
.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--bg) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 84px; left: 0; right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 17px;
  color: var(--text-primary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  font-family: inherit;
}
.btn svg { width: 14px; height: 14px; }

.btn-primary {
  background: var(--gold);
  color: #1a1200;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--gold);
  color: #1a1200;
  border-color: var(--gold);
}
.btn-lime:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 10px 0;
  border: none;
  gap: 8px;
}
.btn-ghost:hover { color: var(--white); gap: 12px; }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

/* ---------- Page header (hero for sub-pages) ---------- */
.page-header {
  padding: 168px 0 72px;
  position: relative;
  background:
    radial-gradient(800px 400px at 18% 10%, rgba(212,166,86,0.06), transparent 60%),
    radial-gradient(700px 400px at 85% 40%, rgba(201,232,102,0.04), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card h3 { margin-bottom: 4px; }
.service-card p { color: var(--text-muted); font-size: 15px; flex: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-tint);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.service-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.founder-card:hover { border-color: var(--border-strong); }

.founder-image {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(212,166,86,0.07) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #1a1a18, #0f0f0e);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.founder-image::after {
  content: "FOUNDER PORTRAIT";
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.founder-image.has-photo::after { content: none; }
.founder-image.has-photo { overflow: hidden; }
.founder-image.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(1);
}
.founder-info { padding: 32px; }

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card h3 { margin-bottom: 12px; font-size: 19px; }
.value-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  text-align: center;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: auto 0 -30% 0;
  height: 60%;
  background: radial-gradient(500px 220px at 50% 100%, rgba(212,166,86,0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-banner > .container { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer-logo img,
.footer-logo svg {
  height: 80px;
  width: auto;
  display: block;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: all 0.2s;
  padding: 0;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg {
  width: 14px; height: 14px;
  fill: currentColor;
  color: var(--text-muted);
}
.footer-social a:hover svg { color: var(--gold); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-select {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus, .form-select:focus {
  border-color: var(--gold);
  background: var(--bg-card);
}

/* ---------- Audit grid (contact page) ---------- */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audit-item h3 { margin-bottom: 10px; font-size: 19px; }
.audit-item p { font-size: 14px; color: var(--text-muted); }

/* ---------- Case studies ---------- */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.case-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.case-card-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.case-card-body h3 { font-size: 22px; margin-bottom: 4px; }
.case-metrics {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.case-metric { display: flex; flex-direction: column; gap: 4px; }
.case-metric-number {
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.case-metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ---------- Case card grid (3 col) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
  text-align: center;
}
.stats-grid.single { grid-template-columns: 1fr; }

.stat-item { max-width: 260px; }
.stat-number {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-number .arrow { font-size: 0.5em; color: var(--gold); margin-left: 6px; }
.stat-label {
  margin-top: 16px;
  font-size: 16px;
  color: var(--white);
  line-height: 1.4;
}
.stat-sublabel {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---------- Process timeline ---------- */
.process-timeline {
  position: relative;
  padding: 32px 0 0 0;
}
.process-line {
  position: absolute;
  left: 26px;
  top: 40px; bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0.5;
}
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
}
.process-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
}
.process-content h3 { margin-bottom: 4px; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.process-content .script { margin-bottom: 20px; display: block; }
.process-content p { margin-bottom: 20px; }
.process-deliverable {
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  color: var(--text-muted);
}
.process-deliverable strong { color: var(--white); font-weight: 600; }

/* ---------- Blog cards / filter pills ---------- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-pill {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--border-strong); color: var(--text-primary); }
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1200;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold) !important;
}
.blog-card-image {
  background:
    repeating-linear-gradient(135deg, rgba(212,166,86,0.05) 0 10px, transparent 10px 20px),
    var(--bg-elevated) !important;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--gold); }

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}
.faq-question svg {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gold);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Home hero ---------- */
.home-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 82% 20%, rgba(212,166,86,0.12), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(201,232,102,0.05), transparent 60%),
    var(--bg);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}
.home-hero > .container { position: relative; z-index: 1; }

.home-hero h1 {
  max-width: 980px;
}
.home-hero .hero-lede {
  max-width: 640px;
  margin-top: 20px;
}

/* Logo marquee — two rows scrolling in opposite directions */
.logo-marquee {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 0 24px;
  position: relative;
  overflow: hidden;
  /* Soft edge fade */
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logo-marquee-row {
  overflow: hidden;
  width: 100%;
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
  will-change: transform;
}
.logo-marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 62s;
}
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-marquee .logo-wordmark {
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding: 10px 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.logo-marquee .logo-wordmark:hover { color: var(--white); }

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

/* Legacy single-row logo strip (kept for any other usage) */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 40px 0;
  opacity: 0.75;
}
.logo-strip span {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding: 8px 16px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  text-transform: uppercase;
}
.logo-strip .logo-wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border: none;
  padding: 0;
}

/* Featured quote card */
.featured-quote {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  overflow: hidden;
  position: relative;
}
.featured-quote::after {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(closest-side, rgba(212,166,86,0.12), transparent);
  pointer-events: none;
}
.featured-quote blockquote {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.featured-quote cite {
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.featured-quote-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.featured-quote-metrics .case-metric-number { font-size: 48px; }

/* Method / service feature */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-split .feature-visual {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(212,166,86,0.07) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #16160f, #0a0a0a);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
}
.feature-split .feature-visual::after {
  content: "RESEARCH DASHBOARD";
  position: absolute;
  bottom: 18px; left: 20px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
}
/* When the visual hosts an image slot, hide the placeholder chrome */
.feature-split .feature-visual.has-slot {
  background: none;
  border: none;
  position: relative;
}
.feature-split .feature-visual.has-slot::after { content: none; }
.feature-split .feature-visual.has-slot image-slot {
  position: absolute;
  inset: 0;
}

/* Testimonial (home hero-style centered card) */
.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
}
.testimonial-card blockquote {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- Testimonial GRID (Results page) ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
/* Within the grid, override the hero-style card defaults */
.testimonial-grid .testimonial-card {
  max-width: none;
  margin: 0;
  text-align: left;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-grid .testimonial-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.testimonial-grid .testimonial-card.featured {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  background: var(--bg-card);
}
.testimonial-grid .testimonial-card.featured .testimonial-stars,
.testimonial-grid .testimonial-card.featured .testimonial-text,
.testimonial-grid .testimonial-card.featured .testimonial-author {
  padding-left: 32px;
  padding-right: 32px;
}
.testimonial-grid .testimonial-card.featured .testimonial-stars { padding-top: 28px; }
.testimonial-grid .testimonial-card.featured .testimonial-author { padding-bottom: 32px; }

.testimonial-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: var(--shadow-gold);
}
.play-btn:hover { transform: scale(1.08); background: var(--white); }
.play-btn svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }

.testimonial-stars {
  display: flex;
  gap: 4px;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  color: var(--gold);
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  flex: 1;
  margin: 0;
}
.testimonial-grid .testimonial-card.featured .testimonial-text {
  font-size: 19px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.testimonial-grid .testimonial-card .testimonial-author {
  padding-top: 18px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid rgba(212, 166, 86, 0.32);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* h-md — intermediate size used on sub-pages */
.h-md {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--white);
  text-wrap: balance;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid .testimonial-card.featured { grid-row: auto; }
}

/* FAQ preview card */
.faq-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.faq-preview ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.faq-preview li {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.faq-preview li:hover { border-color: var(--gold); }
.faq-preview li::before {
  content: "?";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resource-card h3 { font-size: 22px; margin-bottom: 4px; }
.resource-card .resource-type {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Page-specific overrides for feature-split on DTC page */
.timeline-weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: week;
}
.timeline-weeks .week {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: border-color 0.3s;
}
.timeline-weeks .week:hover { border-color: var(--gold); }
.timeline-weeks .week .week-num {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.timeline-weeks .week h3 { font-size: 19px; margin-bottom: 8px; }
.timeline-weeks .week p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Fade up ----------
   Hidden state is applied by JS via .js-fade so content is
   always visible if JS fails to run. */
.fade-up { transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.js-fade {
  opacity: 0;
  transform: translateY(18px);
}
.fade-up.in-view,
.fade-up:not(.js-fade) { opacity: 1 !important; transform: translateY(0) !important; }
.fade-up-delay-1 { transition-delay: 0.08s; }
.fade-up-delay-2 { transition-delay: 0.16s; }
.fade-up-delay-3 { transition-delay: 0.24s; }
.fade-up-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-up.js-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .case-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split .feature-visual { aspect-ratio: 16 / 10; order: 2; }
  .featured-quote { grid-template-columns: 1fr; padding: 40px; }
  .faq-preview { grid-template-columns: 1fr; }
  .timeline-weeks { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 64px 0; }
  .page-header { padding: 128px 0 56px; }
  .home-hero { padding: 128px 0 48px; }

  .services-grid, .values-grid, .audit-grid,
  .blog-grid, .timeline-weeks, .resource-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .process-step { grid-template-columns: 54px 1fr; gap: 16px; }
  .process-line { left: 22px; }
  .cta-banner { padding: 88px 0; }
  .featured-quote { padding: 32px; }
  .featured-quote-metrics { grid-template-columns: 1fr; gap: 14px; }
  .logo-strip { gap: 24px; padding: 24px 0; }
  .form-grid { grid-template-columns: 1fr; }
}
