/* ==========================================================================
   Simon Knowles Motion - Service and guide pages
   Used by motion-audit.html, brand-motion-system.html and
   what-is-a-brand-motion-system.html, on top of style.css.
   Every rule is scoped to these pages, so the homepage and the work pages
   are unaffected. Tokens (colours, fonts, timings) all come from style.css.
   ========================================================================== */

/* ---- First section clears the fixed header (86px) at every size --------- */
.service-top { padding-top: max(118px, clamp(80px, 14vh, 160px)); }

/* ---- Masthead ------------------------------------------------------------
   The headline is two sentences, so it is set smaller than a project title
   and each sentence takes its own line. */
.service-masthead h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  margin-bottom: 22px;
}
.service-masthead h1 span { display: block; }
.service-masthead h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}
.service-masthead .sub { max-width: 700px; margin-bottom: 0; }

/* A masthead with no fee strip under it (the guide page). */
.service-masthead.is-plain { margin-bottom: 0; }

.service-cta .cta-link { font-size: 14.5px; }

/* Two calls to action side by side, stacking on a phone. */
.service-cta.is-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
}

/* ---- Headings: a size down from the homepage ----------------------------
   The homepage headings are three or four words. These are longer. */
.service-page .section h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 22px;
  max-width: 820px;
}

/* ---- Links inside running copy ------------------------------------------ */
.service-page .section p a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color var(--dur-micro) var(--ease-brand);
}
.service-page .section p a:hover { color: var(--gold-soft); }

/* ---- Numbered points (the same build as the homepage's reasons) --------- */
.points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink-3);
}
.points li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--ink-3);
}
.points .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
}
.section .points .point-lead {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--fg);
  margin: 0;
  max-width: none;
}
.section .points .point-lead.is-quote { font-style: italic; }
.section .points .point-body {
  font-size: 17.5px;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 8px 0 0;
  max-width: 620px;
}
.section .points-close { margin-top: 36px; }

/* ---- A fee strip inside a section (the toolkit) -------------------------- */
.service-page .project-meta.is-inset { margin: 36px 0 40px; }

/* ---- Questions ----------------------------------------------------------- */
.faq {
  margin: 30px 0 0;
  border-top: 1px solid var(--ink-3);
}
.faq-item {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--ink-3);
}
.faq-item h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 0 0 8px;
  text-wrap: balance;
}
.section .faq-item p {
  font-size: 17.5px;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 0;
}

/* ---- Closing line -------------------------------------------------------- */
.section .service-close .biggie {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg);
  margin: 0;
  max-width: 760px;
  text-wrap: balance;
}
.service-close .biggie em { font-style: italic; color: var(--gold); }
.section .service-close .close-note { margin: 24px 0 0; }
.service-close .service-cta { margin-top: 44px; }

@media (max-width: 800px) {
  .points li { grid-template-columns: 32px 1fr; gap: 16px; }
}
