/* Home page-specific styles */

/* ───────── HERO ───────── */
.hero {
  padding: 56px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 28px; }
.hero h1 .swap {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-style: italic;
  white-space: nowrap;
}
.hero h1 .underline {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 6px;
  pointer-events: none;
}
.hero h1 .underline path {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 1.2s ease 0.5s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero p.lede { font-size: 19px; max-width: 52ch; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.meta-item .num {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 6px;
}
.meta-item .label {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* ───────── HERO VISUAL ───────── */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(20,17,14,.04),
    0 30px 60px -30px rgba(20,17,14,.18),
    inset 0 0 0 1px rgba(20,17,14,.05);
}
.hero-visual svg { width: 100%; height: 100%; display: block; }

.viz-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper);
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  z-index: 3;
}
.viz-label.tl { top: 16px; left: 16px; }
.viz-label.br { bottom: 16px; right: 16px; color: var(--accent); border-color: var(--accent-soft); background: rgba(232,199,184,0.4); }

/* ───────── MARQUEE ───────── */
.strip {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.strip-track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.strip-item {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 56px;
}
.strip-item::after {
  content: "✦";
  color: var(--accent);
  font-style: normal;
  font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───────── SERVICES ───────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.svc {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: background .25s ease;
}
.svc:hover { background: var(--paper-2); }
.svc .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.svc h3 { margin-bottom: 4px; }
.svc p { font-size: 15px; margin: 0; }
.svc .more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ───────── PROCESS ───────── */
.process { background: var(--paper-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.step {
  padding: 36px 24px 24px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.step:last-child { border-right: none; }
.step .step-num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.step h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ───────── PLATFORMS ───────── */
.platforms { background: var(--ink); color: var(--paper); }
.platforms .section-head { border-color: rgba(255,255,255,0.12); }
.platforms .section-num { color: var(--paper-2); opacity: 0.7; }
.platforms h2 { color: var(--paper); }
.platforms p { color: var(--paper-2); opacity: 0.8; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.logo-cell {
  background: var(--ink);
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  position: relative;
  transition: background .2s ease;
}
.logo-cell:hover { background: rgba(255,255,255,0.04); }
.logo-cell .label {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.logo-cell .label .ital { font-style: italic; }
.logo-cell .tag {
  position: absolute;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-2);
  opacity: 0.5;
}

/* ───────── REVIEWS PREVIEW ───────── */
.review-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.big-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: balance;
}
.big-quote::before {
  content: "“";
  font-size: 1.6em;
  line-height: 0;
  color: var(--accent);
  vertical-align: -0.15em;
  margin-right: 0.05em;
}
.quote-meta { margin-top: 24px; font-size: 13px; color: var(--ink-3); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.quote-meta .stars { color: var(--accent); letter-spacing: 2px; }

.mini-reviews { display: flex; flex-direction: column; }
.mini-rev { padding: 20px 0; border-top: 1px solid var(--rule); }
.mini-rev:first-child { border-top: none; padding-top: 0; }
.mini-rev .stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; margin-bottom: 6px; }
.mini-rev p { font-size: 14px; color: var(--ink); margin-bottom: 8px; line-height: 1.5; }
.mini-rev .who { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }

/* ───────── CTA BAND ───────── */
.cta-band {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.cta-band h2 { font-size: clamp(48px, 6.5vw, 92px); line-height: 0.98; letter-spacing: -0.025em; }
.cta-band h2 em { color: var(--accent); font-style: italic; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step { border-bottom: 1px solid var(--rule); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .review-preview { grid-template-columns: 1fr; }
  .cta-band .container { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}
