/* home-v3.css — Editorial spread variation
   Magazine / The Information feel. Asymmetric, typographic, bento grids.
   Loaded after tokens.css and home.css.
*/

/* ============ Hero · typographic megaphone ============ */
.hero-v3 {
  background: var(--white);
  color: var(--ink);
  padding: 160px 32px 96px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-v3-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.hero-v3 .top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.hero-v3 .top hr {
  border: 0; height: 1px; background: var(--border-strong); margin: 0;
}
.hero-v3 h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 9vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
}
.hero-v3 h1 em {
  font-style: normal;
  color: var(--cobalt);
  display: inline-block;
  position: relative;
}
.hero-v3 .bottom {
  margin-top: 88px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero-v3 .bottom .sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--slate-2);
  text-wrap: pretty;
}
.hero-v3 .bottom .ctas {
  display: flex; gap: 12px; align-items: center;
}
.hero-v3 .bottom .meta {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-3);
}
.hero-v3 .bottom .meta strong { display: block; color: var(--ink); font-weight: 500; margin-top: 4px; font-size: 14px; letter-spacing: -0.005em; text-transform: none; }
@media (max-width: 900px) {
  .hero-v3 { padding: 130px 20px 64px; min-height: 0; }
  .hero-v3 .bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-v3 .bottom .meta { text-align: left; }
  .hero-v3 .top { grid-template-columns: 1fr; gap: 8px; }
  .hero-v3 .top hr { display: none; }
}

/* ============ Numbers spread ============ */
.numbers-spread {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--bone);
}
.ns-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-bottom: 1px solid var(--border-strong);
  align-items: stretch;
}
.ns-row:last-child { border-bottom: 0; }
.ns-big {
  padding: 80px 56px;
  display: flex; align-items: center; justify-content: flex-start;
  border-right: 1px solid var(--border-strong);
}
.ns-big .n {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(96px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.ns-big .n em { font-style: normal; color: var(--cobalt); }
.ns-meta {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 16px;
}
.ns-meta .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.ns-meta h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.ns-meta p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate-2);
  max-width: 48ch;
  margin: 0;
}
@media (max-width: 900px) {
  .ns-row { grid-template-columns: 1fr; }
  .ns-big { padding: 48px 24px 24px; border-right: 0; }
  .ns-meta { padding: 24px 24px 56px; }
}

/* ============ Services · bento grid ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.bento .tile {
  background: var(--white);
  padding: 28px 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background var(--d-base) var(--ease-out);
  cursor: pointer;
}
.bento .tile:hover { background: var(--bone); }
.bento .tile .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate-3);
  margin-bottom: 12px;
}
.bento .tile h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 8px;
  text-wrap: balance;
}
.bento .tile p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate-2);
  margin: 0;
  max-width: 36ch;
}
.bento .tile .more {
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.bento .tile .arrow { transition: transform var(--d-fast) var(--ease-out); }
.bento .tile:hover .arrow { transform: translateX(3px); }

/* feature tile (SaaS SEO) — spans 3 cols × 2 rows, navy */
.bento .tile.feat {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--navy);
  color: #fff;
  padding: 40px;
}
.bento .tile.feat:hover { background: var(--navy-deep); }
.bento .tile.feat .n { color: rgba(255,255,255,0.5); }
.bento .tile.feat h3 {
  font-size: 40px;
  color: #fff;
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.bento .tile.feat p { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 36ch; }
.bento .tile.feat .more { color: var(--cobalt-bright); font-size: 12px; }

/* SaaS SEO inline mini chart */
.bento .tile.feat .mini-chart {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bento .tile.feat .mini-chart .num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.bento .tile.feat .mini-chart .num em {
  font-style: normal;
  color: var(--cobalt-bright);
}
.bento .tile.feat .mini-chart .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* regular tiles: 3 cols × 1 row */
.bento .tile.std { grid-column: span 3; }
.bento .tile.half { grid-column: span 2; }
.bento .tile.third { grid-column: span 2; }

/* highlight tile (no text — bone background, big number) */
.bento .tile.numeric {
  background: var(--bone);
  display: flex; flex-direction: column; justify-content: center;
}
.bento .tile.numeric .big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.bento .tile.numeric .big em { font-style: normal; color: var(--cobalt); }
.bento .tile.numeric .nlbl {
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento .tile.feat { grid-column: span 2; }
  .bento .tile.std { grid-column: span 2; }
  .bento .tile.half, .bento .tile.third { grid-column: span 1; }
  .bento .tile.feat h3 { font-size: 32px; }
}

/* ============ Magazine case study spread ============ */
.mag {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.mag-meta {
  padding: 80px 64px 80px 0;
  border-right: 1px solid var(--border-strong);
  padding-right: 56px;
}
.mag-meta .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 24px;
}
.mag-meta h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.mag-meta .pull {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
  color: var(--slate);
  border-left: 3px solid var(--cobalt);
  padding-left: 20px;
  margin: 32px 0;
  text-wrap: pretty;
}
.mag-meta .meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.mag-meta .meta-grid .n {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--ink);
}
.mag-meta .meta-grid .n em { font-style: normal; color: var(--cobalt); }
.mag-meta .meta-grid .l {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.mag-meta .case-cta {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.mag-story {
  padding: 80px 0 80px 64px;
}
.mag-story .lede {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 56ch;
  text-wrap: pretty;
}
.mag-story .lede::first-letter {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 4em;
  float: left;
  line-height: 0.84;
  margin: 6px 12px 0 0;
  color: var(--cobalt);
}
.mag-story p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 18px;
  max-width: 56ch;
  text-wrap: pretty;
}
.mag-story p em { font-style: italic; color: var(--ink); }

.mag-chart {
  margin-top: 32px;
  background: var(--bone);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 24px;
}
.mag-chart h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin: 0 0 16px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .mag { grid-template-columns: 1fr; }
  .mag-meta { padding: 56px 24px; border-right: 0; border-bottom: 1px solid var(--border-strong); }
  .mag-story { padding: 56px 24px; }
}

/* ============ Manifesto v3 — column with drop cap ============ */
.manifesto-v3 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.manifesto-v3 .left {
  position: sticky; top: 120px;
}
.manifesto-v3 .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 16px;
}
.manifesto-v3 .left h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.024em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.manifesto-v3 .right p {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--slate);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.manifesto-v3 .right p em { font-style: normal; color: var(--cobalt); }
.manifesto-v3 .right p:first-child::first-letter {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 4em;
  float: left;
  line-height: 0.86;
  margin: 8px 14px 0 0;
  color: var(--ink);
}
.manifesto-v3 .attrib {
  margin-top: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-3);
}
@media (max-width: 900px) {
  .manifesto-v3 { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-v3 .left { position: static; }
}

/* ============ Process v3 · numbered text list ============ */
.process-v3 {
  border-top: 1px solid var(--ink);
}
.process-v3 .phase-v3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-strong);
  align-items: start;
}
.process-v3 .phase-v3 .num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cobalt);
}
.process-v3 .phase-v3 .meta h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.4vw, 36px);
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 12px;
}
.process-v3 .phase-v3 .meta .week {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-3);
}
.process-v3 .phase-v3 p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .process-v3 .phase-v3 { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
}

/* ============ Hero proofline · v3 inline tickers ============ */
.hero-v3 .top .center {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
}

/* ── Navy hero variant: light text on navy background ── */
.hero-v3.hero-navy { background: var(--navy); color: #fff; }
.hero-v3.hero-navy .top { color: rgba(255,255,255,0.55); }
.hero-v3.hero-navy .top hr { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.18); }
.hero-v3.hero-navy h1 { color: #fff; }
.hero-v3.hero-navy h1 em { color: var(--cobalt-bright); }
.hero-v3.hero-navy .bottom .sub { color: rgba(255,255,255,0.78); }
.hero-v3.hero-navy .bottom .meta { color: rgba(255,255,255,0.5); }
.hero-v3.hero-navy .bottom .meta strong { color: #fff; }
