/* home.css — Homepage styles */

/* ═══ Hero ═══ */
.hero {
  position: relative;
  padding: clamp(140px, 20vh, 240px) 0 clamp(56px, 7vh, 96px);
  overflow: clip;
  background-image: url("../../mrckwcdp-optimized-images_mrcjlfrk-blurred-gradient-abstract-background-with-pink-and-2026-03-13-01-56-15-utc-1-800w.webp");
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
}

.hero::before {
  display: none;
}

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

.hero-content h1 {
  max-width: none;
  margin-bottom: 40px;
}

.hero-content .lead {
  max-width: 480px;
  margin-bottom: 48px;
}

/* ═══ Metrics Strip ═══ */
.metrics-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.metrics-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(32px, 8vw, 120px);
}

.metric-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.metric-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══ Social Proof Strip ═══ */
.social-proof-strip {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.proof-quote {
  margin: 0;
  max-width: 800px;
}

.proof-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.proof-quote footer {
  border: 0;
  padding: 0;
  margin-top: 20px;
}

.proof-quote cite {
  color: var(--muted);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-quote cite strong {
  color: var(--fg);
  font-weight: 500;
}

/* ═══ Services — Editorial List ═══ */
.services {
  padding: var(--section-space-lg) 0;
}

.services-header {
  margin-bottom: clamp(48px, 6vw, 96px);
}

.services-header h2 { max-width: 600px; }

.services-list { display: grid; gap: 0; }

.service-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 20px;
  align-items: baseline;
  padding: clamp(22px, 3vw, 36px) 0;
  border-top: 1px solid var(--border);
  transition: opacity 200ms ease;
}

.service-row:last-child {
  border-bottom: 1px solid var(--border);
}

.services-list:hover .service-row { opacity: 0.35; }
.services-list:hover .service-row:hover { opacity: 1; }

.service-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  grid-row: 1;
}

.service-row h3 {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 200ms ease;
  grid-row: 1;
}

.service-row:hover h3 { color: var(--accent); }

.service-row p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 420px;
  margin: 0;
  grid-column: 2;
}

@media (min-width: 680px) {
  .service-row {
    grid-template-columns: 64px 1fr 1fr;
    gap: 24px;
  }
  .service-row p {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    text-align: right;
  }
}

/* ═══ Flagship / Real Leads ═══ */
.flagship-service {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--soft);
  padding: var(--section-space-lg) 0;
}

.lead-system-grid {
  display: grid;
  gap: 46px;
  align-items: start;
}

.lead-system-intro { max-width: 760px; margin-bottom: 42px; }
.lead-system-intro .lead + .section-copy { margin-top: 22px; }

.timeline { display: grid; gap: 0; }

.timeline-step {
  position: relative;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: 32px 0;
  box-shadow: none;
  overflow: hidden;
}

.timeline-step:last-child { border-bottom: 1px solid var(--border); }
.timeline-step:hover { transform: none; box-shadow: none; }

.timeline-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.timeline-number {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.timeline-copy { margin: 0; color: var(--muted); max-width: 680px; font-size: 15px; line-height: 1.6; }
.timeline-copy + .timeline-copy { margin-top: 16px; }
.timeline-step.is-growth-engine { display: grid; gap: 24px; }

.channel-list { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.channel-list span {
  display: inline-flex; align-items: center;
  min-height: 32px; padding: 6px 14px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; line-height: 1;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Dashboard mock */
.dashboard-mock {
  position: sticky;
  top: 104px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: #0e0f12;
  color: white;
  box-shadow: var(--shadow-soft);
}

.dashboard-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: #161820;
}

.dashboard-topbar {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #7e828a;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.dashboard-body { display: grid; gap: 12px; padding: 14px; }

.dash-panel {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.dash-panel h4 {
  margin: 0 0 12px; font-size: 11px; color: #7e828a;
  font-weight: 500; font-family: var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
}

.lead-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  align-items: center; padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.lead-row:first-of-type { border-top: 0; padding-top: 0; }
.lead-name { display: block; font-weight: 600; font-size: 14px; }
.lead-source { display: block; color: #6e7178; font-size: 11px; margin-top: 3px; }

.score {
  min-width: 40px; border-radius: 999px; padding: 4px 8px;
  background: rgba(42, 157, 106, 0.15);
  color: #4cc98e;
  text-align: center; font-family: var(--font-mono); font-size: 11px;
}

.dash-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dash-metric { border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.03); padding: 12px; }
.dash-metric strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.dash-metric span { display: block; margin-top: 6px; color: #6e7178; font-size: 11px; font-family: var(--font-mono); }

.chart-bars {
  display: grid; grid-template-columns: repeat(6, 1fr);
  align-items: end; gap: 6px; height: 100px; margin-top: 12px;
}
.chart-bars span {
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(59, 124, 255, 0.6));
  min-height: 16px;
}

.funnel { display: grid; gap: 8px; }
.funnel-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 10px;
  align-items: center; color: #7e828a; font-size: 11px;
  font-family: var(--font-mono);
}
.funnel-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.funnel-track span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent); }

.notification-stack { display: grid; gap: 6px; }
.notification-item {
  display: flex; justify-content: space-between; gap: 12px;
  border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px; color: #7e828a; font-size: 11px;
}

.lead-system-statement {
  margin-top: 40px; padding: 32px;
  border-left: 2px solid var(--accent);
  background: rgba(59, 124, 255, 0.06);
  border-radius: 0;
}
.lead-system-statement p {
  margin: 0; max-width: 680px;
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px);
  line-height: 1.16; letter-spacing: -0.01em;
}

/* ═══ Work Showcase ═══ */
.work-showcase { padding: var(--section-space-sm) 0 var(--section-space-lg); }
.work-showcase-header { margin-bottom: clamp(48px, 6vw, 80px); }
.work-showcase-header h2 { max-width: clamp(720px, 72vw, 980px); }

.work-grid {
  display: grid;
  gap: 16px;
}

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: #0e0f12;
  transition: border-color 300ms ease;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.work-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a0b0e;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, opacity 300ms ease;
  opacity: 0.85;
}

.work-card:hover .work-card-image img {
  transform: scale(1.04);
  opacity: 1;
}

.work-card-info {
  padding: 24px 28px 28px;
}

.work-card-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-card-info h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-transform: none;
}

@media (min-width: 680px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-card-wide {
    grid-column: span 2;
  }
  .work-card-wide .work-card-image {
    aspect-ratio: 21 / 9;
  }
}

/* ═══ Process ═══ */
.process { counter-reset: process; display: grid; gap: 0; }
.process-step {
  counter-increment: process;
  display: grid; gap: 14px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step::before {
  content: "0" counter(process);
  color: var(--accent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
}

/* ═══ Insights ═══ */
.insights { display: grid; gap: 0; }
.insight {
  display: grid; gap: 12px; padding: 28px 0;
  border-top: 1px solid var(--border);
}
.insight:last-child { border-bottom: 1px solid var(--border); }
.insight time,
.insight .insight-category {
  color: var(--accent); font-family: var(--font-mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
}

/* ═══ Responsive ═══ */
@media (min-width: 680px) {
  .dashboard-body { grid-template-columns: repeat(2, 1fr); }
  .dashboard-body .dash-panel:first-child,
  .dashboard-body .dash-panel:last-child { grid-column: 1 / -1; }
  .insight { grid-template-columns: 180px 1fr; }
}

@media (min-width: 680px) and (max-width: 979px) {
  .hero {
    padding-top: clamp(72px, 10vh, 108px);
  }

  .hero-content h1 {
    font-size: clamp(96px, 13.5vw, 132px);
  }
}

@media (min-width: 980px) {
  .hero {
    padding-top: clamp(36px, 7vh, 92px);
    background-position: center center;
  }
  .lead-system-grid { grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.82fr); gap: 70px; }
  .process-step { grid-template-columns: 90px 0.8fr 1fr; gap: 34px; }
}

@media (max-width: 679px) {
  .hero {
    padding-top: clamp(96px, 14vh, 128px);
  }

  .hero-content h1 {
    font-size: clamp(62px, 16.8vw, 76px);
  }
}

/* ═══ Sticky CTA ═══ */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 18;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
  pointer-events: none;
}

.sticky-cta[hidden] {
  display: block;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .btn {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@media (max-width: 679px) {
  .sticky-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .sticky-cta .btn {
    width: 100%;
  }
}

/* ═══ Form Status States ═══ */
.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: #e05252;
}
