/* page-services.css: services.html (K&D Creative Studio) layout only. Components: kd.css (SYSTEM.md).
   Prefix svc-. Nothing here restyles a kd- component globally.
   Colour: semantic tokens only (kd.css section 2): light and dark come from the same rules, no dark selector here. */

/* ── hero: headline left, the figures as a ruled ledger right ─────────────────── */
.svc-hero__h { max-width: none; }
.svc-hero__l { display: block; }
.svc-hero__l--soft { color: var(--ink-2); }
@media (max-width: 719px) { .svc-hero__h { font-size: clamp(3.5rem, 16.5vw, 4.5rem); } }
.svc-figs { align-self: end; }
.svc-figs__dl { border-top-width: 3px; }
.svc-figs__dl > div { grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr); padding-block: 16px 14px; }
.svc-figs__dl dd { font-size: clamp(3.25rem, 5vw, 4.75rem); }
.svc-figs__lead dd { font-size: clamp(5rem, 9vw, 8.5rem); line-height: 0.82; }
.svc-figs__lead { padding-block: 22px 20px !important; }
.svc-figs__lead .kd-ledger__m { font-size: 1.25rem; }
.svc-live { display: inline-flex; align-items: center; gap: 8px; }
.svc-live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--marker); box-shadow: 0 0 0 1.5px var(--marker-edge); flex: none; }
@media (min-width: 960px) {
  .svc-hero .kd-hero__grid { grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); align-items: end; }
}
@media (max-width: 719px) {
  .svc-figs__dl > div { grid-template-columns: 7.25rem minmax(0, 1fr); }
  .svc-figs__dl dd { font-size: 3rem; }
  .svc-figs__lead dd { font-size: 4.5rem; }
}

/* ── who we make ads for: one still ruled line (was a scrolling pill marquee) ─────── */
.svc-who { border-block: 1px solid var(--rule-strong); background: var(--surface-2); }
.svc-who__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; padding-block: 18px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.svc-who__list li { display: inline-flex; align-items: center; }
.svc-who__list li:not(:last-child)::after { content: ""; width: 5px; height: 5px; margin-inline: 14px; border-radius: 50%; background: var(--accent); }   /* a bullet: violet as a glyph, so the text accent */
@media (max-width: 719px) { .svc-who__list { font-size: 0.975rem; padding-block: 14px; } .svc-who__list li:not(:last-child)::after { margin-inline: 10px; } }

/* ── the work: headline column + three frames, each a different height in the row ─── */
.svc-work__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 88px); row-gap: var(--s-7); align-items: start; }
.svc-work__head { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: var(--s-5); justify-items: start; }
.svc-work__head .kd-display-2 { max-width: 8em; }
.svc-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); align-items: start; counter-reset: svcf; }
.svc-film { counter-increment: svcf; min-width: 0; }
.svc-film:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.svc-film:nth-child(3) { margin-top: clamp(16px, 2.4vw, 36px); }
.svc-film::before { content: counter(svcf, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-2); }
.svc-film__cap { display: grid; gap: 2px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--rule-strong); }
.svc-film__cap .kd-label { color: var(--accent); }
.svc-film__fig { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 0.95; letter-spacing: 0; }
.svc-film__who { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.svc-earns { margin-top: clamp(56px, 7vw, 104px); padding-top: var(--s-5); border-top: 1px solid var(--rule-strong); font-family: var(--font-display); font-size: var(--t-display-3); line-height: 1; max-width: 22em; text-wrap: balance; }
.svc-earns strong { font-weight: 400; }
/* light stroke: the old geometry (was --mk-bot 0.25em on a 0.12em-padded box). The dark chip covers descenders in kd.css. */
.svc-earns .kd-mark { --mk-bot: 0.13em; }
@media (max-width: 959px) {
  .svc-work__grid { grid-template-columns: 1fr; }
  .svc-work__head { position: static; }
  .svc-work__head .kd-display-2 { max-width: 11em; }
}
@media (max-width: 719px) {
  /* phones: a sideways strip of the three frames (explicit, snaps, keyboard reachable via the play buttons) */
  .svc-films { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: thin; }
  .svc-film { flex: 0 0 62%; scroll-snap-align: start; margin-top: 0 !important; }
  .svc-film__fig { font-size: 1.875rem; }
}

/* ── methodology ─────────────────────────────────────────────────────────────── */
.svc-method__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); row-gap: var(--s-8); align-items: start; }
.svc-method__head { display: grid; gap: var(--s-4); }
.svc-method__head .kd-display-2 { max-width: 7em; }
.svc-method__quote { grid-column: 1 / -1; max-width: 62rem; margin-left: auto; width: 100%; }
.svc-method__quote .kd-quote__text { max-width: 34ch; font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.22; font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 959px) { .svc-method__grid { grid-template-columns: 1fr; row-gap: var(--s-7); } }

/* ── investment: violet band + the price ledger ──────────────────────────────── */
.svc-price-band { padding-block: clamp(80px, 9vw, 136px); }
.svc-price-band__h { font-size: clamp(3.25rem, 7.4vw, 7.25rem); line-height: 0.92; }
@media (min-width: 960px) { .svc-price-band .kd-statement__grid { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); } }
.svc-price-band__l { color: var(--band-ink) !important; font-size: 0.875rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--band-ink-2); justify-self: start; }
.svc-table thead th:first-child { width: 34%; }
.svc-table tbody th { white-space: nowrap; }
.svc-table td b { font-size: clamp(1.75rem, 2.6vw, 2.25rem) !important; }
.svc-table td:last-child { font-weight: 600; font-size: 1.0625rem; }
.svc-table__pop > * { background: var(--accent-tint); }
.svc-table__pop > :first-child { padding-left: 16px; box-shadow: inset 0 3px 0 var(--ink); }
.svc-table__pop > * { box-shadow: inset 0 3px 0 var(--ink); }
.svc-table__tag { display: block; margin-bottom: 6px; font-family: var(--font-text); font-size: var(--t-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.svc-price__note { margin-top: var(--s-4); font-size: var(--t-small); color: var(--ink-2); }
@media (max-width: 719px) {
  .svc-table__pop { padding-inline: 14px !important; margin-inline: -14px; background: var(--accent-tint); box-shadow: inset 0 3px 0 var(--ink); }
  .svc-table__pop > * { background: none; box-shadow: none; padding-left: 0 !important; }
  .svc-table tbody th { white-space: normal; }
  .svc-table td b { font-size: 1.75rem !important; }
}

/* ── what's included: two ruled lists, then the stack row ────────────────────── */
.svc-inc__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 88px); row-gap: var(--s-7); }
.svc-inc__l { font-size: var(--t-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.svc-inc__h { margin-top: var(--s-2); font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-3); line-height: 0.98; max-width: 13em; text-wrap: balance; }
.svc-inc__sub { margin-top: var(--s-3); color: var(--ink-2); max-width: 44ch; }
.svc-inc__items { margin-top: var(--s-5); border-top: 1px solid var(--rule-strong); }
.svc-inc__items li { display: flex; align-items: baseline; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.svc-inc__items li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--ink); transform: translateY(-4px); }
.svc-stack { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 88px); row-gap: var(--s-6); align-items: start; padding-top: var(--s-6); border-top: 1px solid var(--rule-strong); }
/* the sprint log is drawn UI (not a client screenshot): a raised sheet, lighter than the page at night */
.svc-log { margin: 0; border: 1px solid var(--rule-strong); border-top-width: 6px; background: var(--surface-raised); }
.svc-log__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule-strong); font-size: 0.875rem; font-weight: 700; }
.svc-log__live { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.08em; }
.svc-log__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--marker); box-shadow: 0 0 0 1.5px var(--marker-edge); }
.svc-log__lines { padding: 6px 16px 10px; font-size: 0.975rem; line-height: 1.45; counter-reset: svl; }
.svc-log__lines li { position: relative; padding: 8px 0 8px 2.25rem; border-bottom: 1px solid var(--rule); counter-increment: svl; overflow-wrap: anywhere; }
.svc-log__lines li:last-child { border-bottom: 0; }
.svc-log__lines li::before { content: counter(svl, decimal-leading-zero); position: absolute; left: 0; top: 11px; font-size: 0.75rem; font-weight: 700; line-height: 1.2; color: var(--ink-3); }
.svc-log__cmd > b { color: var(--accent); margin-right: 2px; }
.svc-log__dim { color: var(--ink-2); }
/* highlighted words: the low marker stroke in light (the underline); at night a full chip behind the words, like kd-mark,
   because a half stroke would leave the top of each letter as dark on-marker ink on the dark sheet. The chip is a
   token-coloured background whose height is 100% x --is-dark (0 in light), so geometry is identical in both themes. */
.svc-log__hi {
  color: var(--on-marker); text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 0.5em; text-underline-offset: -0.32em; text-decoration-skip-ink: none;
  background: linear-gradient(var(--marker), var(--marker)) 0 50% / 100% calc(100% * var(--is-dark)) no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (max-width: 959px) { .svc-stack { grid-template-columns: 1fr; } }
@media (max-width: 719px) {
  .svc-inc__cols { grid-template-columns: 1fr; }
  .svc-log { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
  .svc-log__lines { font-size: 0.9rem; }
}

/* ── how we operate ──────────────────────────────────────────────────────────── */
.svc-ops__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 88px); row-gap: var(--s-7); align-items: start; }
.svc-ops__head { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: var(--s-4); }
.svc-ops__list { border-top: 3px solid var(--ink); }
.svc-ops__list li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: var(--s-5); row-gap: 10px; padding-block: var(--s-6) var(--s-7); border-bottom: 1px solid var(--rule-strong); }
.svc-ops__n { grid-row: 1 / span 2; font-family: var(--font-display); font-size: clamp(4rem, 6vw, 5.5rem); line-height: 0.8; color: var(--accent); }
.svc-ops__t { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; }
.svc-ops__t .kd-mark { white-space: normal; }
.svc-ops__b { color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
@media (max-width: 959px) { .svc-ops__grid { grid-template-columns: 1fr; } .svc-ops__head { position: static; } }
@media (max-width: 719px) { .svc-ops__list li { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--s-4); } .svc-ops__n { font-size: 3.25rem; } }
