/* ============================================================
   INCLINE Ventures — What We Do
   Loaded only on /what-we-do.html
   The closing pitch is this page's red moment.
   ============================================================ */

/* ---- Title band --------------------------------------------- */
.page-head {
  border-bottom: 1.5px solid var(--line);
  padding-block: clamp(2.5rem, 7vh, 4.5rem);
}
.page-head__title {
  font-size: clamp(2.25rem, 6.5vw, 5rem);
  max-width: 18ch;
  margin-top: var(--space-s);
}
.page-head__title .em { color: var(--accent); }

/* ============================================================
   SERVICE DETAIL — identity left, deliverables right.
   ============================================================ */
.services-list { list-style: none; padding: 0; margin: 0; }
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-xl);
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  border-top: 1.5px solid var(--line);
  /* Home links straight to these anchors — clear the sticky nav. */
  scroll-margin-top: calc(var(--nav-h, 64px) + 1.5rem);
}
.services-list > li:first-child .service-detail { border-top: 0; }

.service-detail__id { display: flex; flex-direction: column; gap: var(--space-2xs); }
.service-detail__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.78;
  color: var(--accent);
}
.service-detail__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  text-transform: uppercase;
  line-height: 1;
  max-width: 12ch;
}

/* ---- Service lead ------------------------------------------- */
.service-detail__body { display: flex; flex-direction: column; gap: var(--space-m); }

.service-detail__lead {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 46ch;
  padding-bottom: var(--space-s);
  border-bottom: 1.5px solid var(--line-strong);
}

/* ---- Deliverables ------------------------------------------- */
.deliverables { list-style: none; padding: 0; margin: 0; }
.deliverables li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-s);
  align-items: baseline;
  padding-block: var(--space-m);
  border-bottom: var(--hair) solid var(--line);
}
.deliverables li:first-child { padding-top: 0; }
.deliverables li:last-child { border-bottom: 0; padding-bottom: 0; }
.deliverables__arrow { color: var(--accent-text); }

/* Name is the claim; description is the explanation. The size and
   colour step between them carries the hierarchy — no bullets. */
.deliverables__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-3xs);
}
.deliverables__desc {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* ============================================================
   ENGAGEMENT FLOW — four stages, arrows between.
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-m);
  list-style: none;
  padding: 0;
  margin-top: var(--space-m);
}
.flow__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  padding-top: var(--space-s);
  border-top: 1.5px solid var(--line-strong);
}
/* Connector arrow sitting in the gutter between stages. */
.flow__item:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: calc(var(--space-s) + 0.1em);
  right: calc(var(--space-m) * -1);
  width: var(--space-m);
  text-align: center;
  color: var(--accent-text);
  line-height: 1;
  pointer-events: none;
}
.flow__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
  text-transform: uppercase;
  line-height: 1.05;
}
.flow__desc { color: var(--ink-muted); font-size: var(--step--1); }

/* ============================================================
   CLOSING CTA — the red band.
   ============================================================ */
.pitch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-m);
  padding-block: var(--section-y);
}
.pitch__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.02;
  max-width: 20ch;
}

/* ---- Responsive --------------------------------------------- */
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: var(--space-m); }
  .service-detail__id { flex-direction: row; align-items: baseline; gap: var(--space-s); }
  .service-detail__name { max-width: none; font-size: var(--step-2); }

  /* Arrows point down once the stages stack. */
  .flow { grid-template-columns: 1fr; gap: var(--space-l); }
  .flow__item:not(:last-child)::after {
    content: '↓';
    top: auto;
    bottom: calc(var(--space-l) * -1);
    right: auto;
    left: 0;
    width: auto;
    height: var(--space-l);
    display: flex;
    align-items: center;
  }

  .pitch { flex-direction: column; align-items: flex-start; }
  .pitch .btn { width: 100%; justify-content: center; }
}
