/* ==========================================================================
   Service detail pages: /services/[slug]/
   Loaded after home.css, which supplies the tokens and base components.
   Yellow only ever appears on dark surfaces, per the brand rule.
   ========================================================================== */

/* ---------- section labels ----------
   The default label colour is yellow, which is only legible on a dark
   surface. On light sections it becomes near invisible and breaks the
   brand rule, so it is overridden here. */
.section:not(.section-dark) .section-label {
  color: var(--black);
  opacity: 0.45;
}

/* ---------- intro ---------- */
.svc-intro {
  max-width: 62ch;
}
.svc-intro p {
  color: var(--gray-text);
  font-size: var(--body-large);
  line-height: 1.7;
  margin-top: 14px;
}
.section-dark .svc-intro p {
  color: var(--gray-text-dark);
}

/* ---------- included grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.svc-card {
  border: 1px solid var(--gray-line-light);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  background: var(--white);
}
.section-dark .svc-card {
  background: var(--card-dark);
  border-color: var(--gray-line);
}
.svc-card h3 {
  font-size: var(--h4-size);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.svc-card p {
  color: var(--gray-text);
  font-size: var(--body-size);
  line-height: 1.65;
}
.section-dark .svc-card p {
  color: var(--gray-text-dark);
}

/* ---------- proof ---------- */
.svc-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.svc-proof {
  background: var(--card-dark);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--off-white);
  transition: border-color var(--t-base) ease, transform var(--t-base) ease;
}
.svc-proof:hover,
.svc-proof:focus-visible {
  border-color: var(--yellow-border);
  transform: translateY(-4px);
}
.svc-proof-kind {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.svc-proof h3 {
  font-size: var(--h4-size);
  margin: 12px 0 8px;
}
.svc-proof p {
  color: var(--gray-text-dark);
  font-size: var(--body-size);
  line-height: 1.65;
  flex: 1;
}
.svc-proof-metric {
  border-top: 1px solid var(--gray-line);
  margin-top: 22px;
  padding-top: 18px;
}
.svc-proof-metric b {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.svc-proof-metric small {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-text-dark);
}

/* ---------- process ---------- */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.svc-step {
  border-top: 2px solid var(--black);
  padding-top: 20px;
}
.section-dark .svc-step {
  border-top-color: var(--yellow);
}
.svc-step span {
  font-family: var(--font-mono);
  font-size: var(--mono-label);
  letter-spacing: 0.1em;
  color: var(--gray-text);
}
.section-dark .svc-step span {
  color: var(--gray-text-dark);
}
.svc-step h3 {
  font-size: var(--h4-size);
  margin: 10px 0 8px;
}
.svc-step p {
  color: var(--gray-text);
  font-size: var(--body-size);
  line-height: 1.6;
}
.section-dark .svc-step p {
  color: var(--gray-text-dark);
}

/* ---------- other services ---------- */
.svc-other {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.svc-other a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 18px 20px;
  border: 1px solid var(--gray-line-light);
  border-radius: var(--radius-tile);
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.svc-other a:hover,
.svc-other a:focus-visible {
  background: var(--black);
  color: var(--off-white);
  border-color: var(--black);
}

/* ---------- closing cta ---------- */
.svc-cta {
  text-align: center;
}
.svc-cta h2 {
  max-width: 20ch;
  margin: 16px auto 14px;
}
.svc-cta p {
  color: var(--gray-text-dark);
  font-size: var(--body-large);
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 auto 28px;
}

/* ---------- placeholder marker ---------- */
/* Visible on purpose. Nothing unverified should read as a real number. */
.placeholder {
  font-family: var(--font-mono);
  font-style: normal;
  color: var(--gray-text-dark);
  border-bottom: 1px dashed var(--gray-line);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid,
  .svc-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-other { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-grid,
  .svc-proof-grid,
  .svc-steps,
  .svc-other { grid-template-columns: 1fr; }
}
