/* ==========================================================================
   /services/<slug>/ — one page per service. Colours come from the service
   (--c, --ink, --pastel, --dark are set on .svc-page by the build).
   ========================================================================== */

.svc-page { --brand: #7a6249; --accent: #a78b6b; --body: #5a4f45; --muted: #7a6e63; color: #2a231d; background: var(--c-paper); letter-spacing: normal; overflow: hidden; }
.svc-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.svc-center { text-align: center; }
.svc-eyebrow { margin-bottom: 18px; color: rgb(var(--ink)); font-size: 12.5px; letter-spacing: 0.2em; font-weight: 600; text-transform: uppercase; }
.svc-h2 { max-width: 760px; color: var(--brand); font-size: clamp(34px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.svc-center .svc-h2 { margin-inline: auto; }
.svc-ink { color: rgb(var(--ink)); }
.svc-pastel { color: rgb(var(--pastel)); }
.svc-accent { color: var(--accent); }
.svc-section { padding: clamp(110px, 13vw, 200px) 0; }
.svc-section--flush { padding-top: 0; }
/* A flush section only joins a plain section above it; after the hero or a coloured band it needs its own air. */
.svc-hero + .svc-section--flush, .svc-dark + .svc-section--flush, .svc-statement + .svc-section--flush { padding-top: clamp(110px, 13vw, 200px); }
.svc-section--top { padding-bottom: 0; }
.svc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(56px, 6vw, 88px); }
.svc-head__icon { width: 64px; height: 64px; stroke-width: 1.1; color: rgb(var(--ink)); opacity: 0.55; }

/* ---------- Hero ---------- */
.svc-hero {
  position: relative; color: #fff;
  background: radial-gradient(90% 70% at 78% 45%, rgb(var(--c) / 0.16), rgb(var(--c) / 0) 62%), rgb(var(--dark));
}
.svc-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px); min-height: min(100vh, 900px);
  padding: clamp(110px, 12vw, 160px) clamp(20px, 5vw, 56px) clamp(64px, 8vw, 110px);
}
.svc-hero__label { margin-bottom: 22px; color: rgb(var(--c)); }
.svc-hero__title { font-size: clamp(44px, 6.2vw, 92px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.svc-hero__lead { max-width: 540px; margin-top: 28px; color: #eae3d9; opacity: 0.86; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; }
.svc-hero__note { max-width: 540px; margin-top: 16px; color: rgb(var(--pastel)); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; }
.svc-kicker { margin-top: 24px !important; padding-top: 20px; border-top: 1px solid rgb(var(--ink) / 0.25); color: var(--brand) !important; font-size: clamp(17px, 1.4vw, 20px) !important; line-height: 1.45 !important; letter-spacing: -0.015em; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.svc-hero__visual { position: relative; width: 100%; }
.svc-hero__rings { width: 100%; height: auto; overflow: visible; }
.svc-hero__trail { transform-origin: 0 0; animation: svc-spin 16s linear infinite; }
@keyframes svc-spin { to { transform: rotate(360deg); } }
.svc-hero__card { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); transform-origin: 50% 100%; }

/* ---------- Intro ---------- */
.svc-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); }
.svc-intro__text { padding-top: 6px; }
.svc-intro__text p { margin-top: 20px; color: var(--body); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; }
.svc-intro__text p:first-child { margin-top: 0; color: #2a231d; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.5; letter-spacing: -0.015em; }

/* ---------- Scope ---------- */
.svc-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-tile {
  padding: 22px 22px 24px; border-radius: 16px;
  background: rgb(var(--ink) / 0.045); border: 1px solid rgb(var(--ink) / 0.14);
  transition: background-color 260ms ease, border-color 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-scope--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-tile:hover { background: rgb(var(--ink) / 0.08); border-color: rgb(var(--ink) / 0.3); transform: translateY(-3px); }
.svc-tile__num { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: rgb(var(--ink)); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }
.svc-tile__num i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--ink)); box-shadow: 0 0 0 4px rgb(var(--ink) / 0.14); }
.svc-tile h3 { font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.svc-tile p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--body); }

/* ---------- Image placeholders ---------- */
.slot {
  width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center; color: rgb(var(--ink));
  border: 1px dashed rgb(var(--ink) / 0.55); border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgb(var(--ink) / 0.07) 0 12px, rgb(var(--ink) / 0.02) 12px 24px);
}
.slot svg { width: 30px; height: 30px; }
.slot__label { font-size: 11px; letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase; }
.slot__brief { max-width: 420px; font-size: 13.5px; line-height: 1.45; opacity: 0.85; }
.svc-band .slot { aspect-ratio: 21 / 9; border-radius: 22px; }
.svc-band__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 22px; }

/* ---------- Steps ---------- */
.svc-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.svc-steps::before {
  content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 1px;
  background: linear-gradient(90deg, rgb(var(--ink)), rgb(var(--ink) / 0.35) 70%, rgb(var(--ink) / 0));
}
.svc-steps li { position: relative; }
.svc-steps__dot { position: relative; display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--c-paper); border: 2px solid rgb(var(--ink)); box-shadow: 0 0 0 6px rgb(var(--ink) / 0.1); }
.svc-steps__num { margin-top: 26px; color: rgb(var(--ink)); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; }
.svc-steps h3 { margin-top: 10px; font-size: 22px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.svc-steps p { max-width: 280px; margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--body); }

/* ---------- How we work intro ---------- */
.svc-how__intro { max-width: 760px; margin: -20px 0 48px; }
.svc-how__intro p:first-child { color: var(--body); font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; }

/* ---------- Statement: one large editorial block ---------- */
.svc-statement { background: var(--c-soft); }
.svc-statement__inner { display: grid; gap: 22px; max-width: 980px; }
.svc-statement .svc-eyebrow { margin-bottom: 0; }
.svc-statement__title { color: var(--brand); font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.svc-statement__text { display: grid; gap: 16px; max-width: 760px; color: var(--body); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.svc-statement__kicker { padding-top: 20px; border-top: 1px solid rgb(var(--ink) / 0.3); color: rgb(var(--ink)); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -0.02em; }

/* ---------- Good to know ---------- */
.svc-dark { color: #fff; background: radial-gradient(70% 90% at 12% 0%, rgb(var(--c) / 0.14), rgb(var(--c) / 0) 60%), rgb(var(--dark)); }
.svc-dark .svc-eyebrow { color: rgb(var(--c)); }
.svc-dark .svc-h2 { color: #fff; }
.svc-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.svc-notes li { padding-top: 22px; border-top: 1px solid rgb(var(--c) / 0.35); }
.svc-notes__num { color: rgb(var(--pastel)); font-size: 40px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; }
.svc-notes h3 { margin-top: 18px; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.svc-notes p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: #eae3d9; opacity: 0.8; }

/* ---------- Facts ---------- */
.svc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.svc-facts div { padding-top: 20px; border-top: 1px solid rgb(var(--ink) / 0.25); }
.svc-facts dt { color: var(--brand); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.045em; }
.svc-facts dd { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--body); }

/* ---------- Team ---------- */
.svc-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.person img, .person .slot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.person__name { margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.person__role { margin-top: 4px; font-size: 14px; color: var(--muted); }
.svc-team__cta { margin-top: 36px; }

/* ---------- Orbit & closing ---------- */
.svc-orbit { padding-bottom: clamp(40px, 6vw, 80px); border-top: 1px solid rgb(var(--ink) / 0.12); }
.svc-orbit__text { max-width: 680px; margin: 18px auto 0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--body); }
.svc-orbit__hint { margin-top: 16px; font-size: 15px; color: var(--muted); }
.svc-orbit .orbit { margin-top: clamp(8px, 2vw, 24px); }

@media (max-width: 1080px) {
  .svc-scope, .svc-scope--four, .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 809px) {
  .svc-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .svc-hero__visual { max-width: 460px; margin: 0 auto; }
  .svc-hero__card { transform: translateX(-50%) scale(0.72); }
  .svc-intro, .svc-notes, .svc-scope, .svc-scope--four, .svc-steps, .svc-facts { grid-template-columns: 1fr; }
  .svc-steps::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero__trail { animation: none; }
}

/* Phones: scope tiles, notes and team become swipe rows (styles.css, "Swipe rows"). */
@media (max-width: 699px) {
  .svc-wrap { --swipe-pad: clamp(20px, 5vw, 56px); }
  .svc-scope[data-swipe] { --swipe-w: 78%; }
  .svc-notes[data-swipe] { --swipe-w: 84%; }
  .svc-notes[data-swipe] > li { padding: 22px 20px 24px; border: 1px solid rgb(var(--c) / 0.35); border-radius: 18px; }
  .svc-team[data-swipe] { --swipe-w: 66%; }
  .svc-dark .swipe-dots button::before { background: rgb(255 255 255 / 0.25); }
  .svc-dark .swipe-dots button[aria-current]::before { background: rgb(var(--c)); }
}
