/* The service page layout (since 2026-11-21). Markup: svc2_main() in tools/build_services.py.
   Script: assets/js/hm-svc2.js. Everything is scoped to .svc2 or .svc2-page, so no other page changes.
   Loaded last, after hm-parity.css. */

.svc2 {
  --ink: #0b1220;
  --body: #36414d;
  --muted: #56616e;
  --line: #dde3ea;
  --band: #f1f4f8;
  --paper: #ffffff;
  --blue: #0068c0;
  --blue-deep: #00518f;
  --sky: #7cc0ff;
  --lime: #c8f24a;
  --lime-deep: #b4e02c;
  --night: #0b1220;
  --night-2: #13203a;
  --night-text: #c3cedb;
  --radius: 16px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --out: cubic-bezier(.16, 1, .3, 1);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
  display: block;
  width: 100%;
}

.svc2 *, .svc2 *::before, .svc2 *::after { box-sizing: border-box; }

.svc2 h1, .svc2 h2, .svc2 h3 {
  font-family: var(--sans); color: var(--ink); font-weight: 700; letter-spacing: -0.025em;
  text-transform: none; margin: 0; text-wrap: balance;
}
.svc2 p { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--body); margin: 0 0 16px; letter-spacing: 0; }
.svc2 p:last-child { margin-bottom: 0; }
.svc2 ul, .svc2 ol { margin: 0 0 16px; padding: 0 0 0 22px; }
.svc2 li { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--body); margin: 0 0 8px; list-style: disc; }
.svc2 ol li { list-style: decimal; padding-left: 4px; }
.svc2 li::marker { color: var(--blue); }
.svc2 a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
.svc2 a:hover { color: var(--blue-deep); }
.svc2 a:focus-visible, .svc2 button:focus-visible, .svc2 summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.svc2 strong { color: var(--ink); font-weight: 700; }

.svc2-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }

/* ---------- dark panels (hero and closing band) ---------- */
.svc2-panel {
  position: relative; overflow: hidden; margin: 0 clamp(8px, 1.2vw, 20px); border-radius: clamp(18px, 2.2vw, 32px);
  background: linear-gradient(160deg, var(--night-2) 0%, var(--night) 55%);
}
/* A fine dot grid that fades out down the panel. */
.svc2-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent min(70%, 620px)); mask-image: linear-gradient(180deg, #000, transparent min(70%, 620px));
}
.svc2-glow { position: absolute; inset: 0; pointer-events: none; }
.svc2-glow::before, .svc2-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.svc2-glow::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: -30%; background: rgba(0, 110, 220, .55); animation: svc2-drift-a 16s ease-in-out infinite alternate; }
.svc2-glow::after { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 30%; bottom: -45%; background: rgba(200, 242, 74, .2); animation: svc2-drift-b 20s ease-in-out infinite alternate; }
@keyframes svc2-drift-a { to { transform: translate3d(-14%, 18%, 0) scale(1.15); } }
@keyframes svc2-drift-b { to { transform: translate3d(22%, -20%, 0) scale(.85); } }

/* ---------- hero ---------- */
/* The site header (80px) sits on top of the page, so the hero panel starts below it. */
.svc2-hero { padding-top: 88px; }
.svc2-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(26px, 2.7vw, 46px); padding-bottom: clamp(40px, 4vw, 62px); }

.svc2-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--night-text); margin-bottom: 22px; }
.svc2 .svc2-crumbs a { color: var(--night-text); text-decoration: none; display: inline-block; padding: 6px 4px 6px 0; margin: -6px 0; }
.svc2 .svc2-crumbs a:hover { color: var(--lime); }

.svc2 h1 { color: #fff; font-size: clamp(38px, 22px + 2.9vw, 66px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 22px; }
.svc2 h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.svc2 h1 .w > span { display: inline-block; animation: svc2-rise .9s var(--out) both; animation-delay: calc(var(--i) * 80ms + 120ms); }
.svc2 h1 .hl { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 96% / 0 .12em; animation: svc2-mark .8s var(--out) .75s forwards; }
@keyframes svc2-rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes svc2-mark { to { background-size: 100% .12em; } }

/* Section headings use the same move as the h1, started when they scroll into view.
   The script boxes the words; without it the heading is plain text. */
.svc2 h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.svc2 h2 .w > span { display: inline-block; }
.svc2 h2 .hl { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 95% / 100% .12em; }
.svc2-js .svc2 h2.svc2-h .w > span { transform: translateY(112%); }
.svc2-js .svc2 h2.svc2-h.is-in .w > span { transform: none; transition: transform .75s var(--out); transition-delay: calc(var(--i) * 34ms); }
.svc2-js .svc2 h2.svc2-h .hl { background-size: 0 .12em; }
.svc2-js .svc2 h2.svc2-h.is-in .hl { background-size: 100% .12em; transition: background-size .8s var(--out) .45s; }

.svc2 .svc2-lead { font-size: clamp(19px, 16px + .5vw, 23px); line-height: 1.4; font-weight: 500; color: #fff; margin-bottom: 14px; max-width: 34ch; }
.svc2 .svc2-intro { color: var(--night-text); max-width: 58ch; margin-bottom: 22px; }
.svc2 .svc2-lead, .svc2 .svc2-intro, .svc2-hero .svc2-btns { animation: svc2-fade .9s var(--out) both; }
.svc2 .svc2-lead { animation-delay: .45s; }
.svc2 .svc2-intro { animation-delay: .55s; }
.svc2-hero .svc2-btns { animation-delay: .65s; }
@keyframes svc2-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- hero: the page's own points, ticked off in a loop ---------- */
/* One shared 9-second loop: every point starts unticked, they tick one after another in reading order
   (down the first column, then the second), hold, and clear together. Each point has its own keyframes
   because a delay on a repeating animation would shift its clearing too, which made the order look random. */
.svc2 .svc2-ticks {
  list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-auto-flow: column;
  grid-template-rows: repeat(var(--rows, 3), auto); grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px;
  animation: svc2-fade .9s var(--out) .6s both;
}
.svc2 .svc2-ticks li { list-style: none; position: relative; margin: 0; padding-left: 32px; font-size: 16px; line-height: 1.4; font-weight: 500; color: #fff; }
.svc2 .svc2-ticks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.4' fill='none' stroke='%230b1220' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.svc2 .svc2-ticks li:nth-child(1) { animation: svc2-say-1 9s linear infinite; }
.svc2 .svc2-ticks li:nth-child(1)::before { animation: svc2-tick-1 9s linear infinite; }
@keyframes svc2-say-1 { 0%, 6% { color: rgba(255, 255, 255, .5); } 10%, 94% { color: #fff; } 100% { color: rgba(255, 255, 255, .5); } }
@keyframes svc2-tick-1 { 0%, 6% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } 9% { transform: scale(1.22); background-color: var(--lime); background-size: 22px; } 12%, 94% { transform: scale(1); background-color: var(--lime); background-size: 22px; } 100% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } }
.svc2 .svc2-ticks li:nth-child(2) { animation: svc2-say-2 9s linear infinite; }
.svc2 .svc2-ticks li:nth-child(2)::before { animation: svc2-tick-2 9s linear infinite; }
@keyframes svc2-say-2 { 0%, 15% { color: rgba(255, 255, 255, .5); } 19%, 94% { color: #fff; } 100% { color: rgba(255, 255, 255, .5); } }
@keyframes svc2-tick-2 { 0%, 15% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } 18% { transform: scale(1.22); background-color: var(--lime); background-size: 22px; } 21%, 94% { transform: scale(1); background-color: var(--lime); background-size: 22px; } 100% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } }
.svc2 .svc2-ticks li:nth-child(3) { animation: svc2-say-3 9s linear infinite; }
.svc2 .svc2-ticks li:nth-child(3)::before { animation: svc2-tick-3 9s linear infinite; }
@keyframes svc2-say-3 { 0%, 24% { color: rgba(255, 255, 255, .5); } 28%, 94% { color: #fff; } 100% { color: rgba(255, 255, 255, .5); } }
@keyframes svc2-tick-3 { 0%, 24% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } 27% { transform: scale(1.22); background-color: var(--lime); background-size: 22px; } 30%, 94% { transform: scale(1); background-color: var(--lime); background-size: 22px; } 100% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } }
.svc2 .svc2-ticks li:nth-child(4) { animation: svc2-say-4 9s linear infinite; }
.svc2 .svc2-ticks li:nth-child(4)::before { animation: svc2-tick-4 9s linear infinite; }
@keyframes svc2-say-4 { 0%, 33% { color: rgba(255, 255, 255, .5); } 37%, 94% { color: #fff; } 100% { color: rgba(255, 255, 255, .5); } }
@keyframes svc2-tick-4 { 0%, 33% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } 36% { transform: scale(1.22); background-color: var(--lime); background-size: 22px; } 39%, 94% { transform: scale(1); background-color: var(--lime); background-size: 22px; } 100% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } }
.svc2 .svc2-ticks li:nth-child(5) { animation: svc2-say-5 9s linear infinite; }
.svc2 .svc2-ticks li:nth-child(5)::before { animation: svc2-tick-5 9s linear infinite; }
@keyframes svc2-say-5 { 0%, 42% { color: rgba(255, 255, 255, .5); } 46%, 94% { color: #fff; } 100% { color: rgba(255, 255, 255, .5); } }
@keyframes svc2-tick-5 { 0%, 42% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } 45% { transform: scale(1.22); background-color: var(--lime); background-size: 22px; } 48%, 94% { transform: scale(1); background-color: var(--lime); background-size: 22px; } 100% { transform: scale(.55); background-color: rgba(255, 255, 255, .22); background-size: 0; } }

/* ---------- hero: the quote form, on a card that leans toward the pointer ---------- */
.svc2-hero__form { --px: 0; --py: 0; position: relative; scroll-margin-top: 100px; animation: svc2-fade 1.1s var(--out) .35s both; }
.svc2-hero__back {
  position: absolute; width: 72%; height: 84%; right: -5%; top: -7%; border-radius: 22px; padding: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; align-content: start;
  transform: translate3d(calc(var(--px) * -22px), calc(var(--py) * -16px), 0) rotate(5deg); transition: transform .6s var(--out);
}
.svc2-hero__back i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .1) 25%, rgba(255, 255, 255, .26) 50%, rgba(255, 255, 255, .1) 75%) 0 0 / 200% 100%; animation: svc2-shimmer 2.6s linear infinite; }
.svc2-hero__back i:nth-child(1) { width: 40%; height: 16px; }
.svc2-hero__back i:nth-child(2) { width: 82%; animation-delay: .3s; }
.svc2-hero__back i:nth-child(3) { width: 64%; animation-delay: .6s; }
@keyframes svc2-shimmer { to { background-position: -200% 0; } }
.svc2-form {
  position: relative; background: var(--paper); border-radius: 22px; padding: clamp(22px, 2.4vw, 34px);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0); transition: transform .6s var(--out);
}
.svc2 .svc2-form h2 { font-size: clamp(24px, 18px + .8vw, 30px); line-height: 1.12; margin-bottom: 6px; }
.svc2 .svc2-form__note { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.svc2 .svc2-form__alt { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; text-align: center; }
.svc2 .svc2-form__alt a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.svc2 .svc2-form__alt a:hover { color: var(--blue); }
.svc2-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc2-field { margin-bottom: 14px; }
.svc2 .svc2-field label { display: block; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 6px; letter-spacing: 0; text-transform: none; }
.svc2 .svc2-field input, .svc2 .svc2-field textarea {
  display: block; width: 100%; font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--ink);
  background: #f6f8fb; border: 1px solid #b9c3ce; border-radius: 12px; padding: 13px 15px; height: auto; margin: 0;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; box-shadow: none; outline: 0;
}
.svc2 .svc2-field textarea { resize: vertical; min-height: 96px; }
.svc2 .svc2-field input:hover, .svc2 .svc2-field textarea:hover { border-color: #8d9aa8; }
.svc2 .svc2-field input:focus, .svc2 .svc2-field textarea:focus { background: var(--paper); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 104, 192, .2); }
/* What assets/js/ajax-form.js writes: the answer under the form, and the button's label after a send. */
.svc2 .ajax-response { display: none; font-size: 15px; line-height: 1.45; margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; }
.svc2 .ajax-response.success-message { background: #e7f6ec; color: #14532d; }
.svc2 .ajax-response.error-message { background: #fdecec; color: #8a1c1c; }
.svc2 .svc2-btn .btn-wrap { display: contents; }
.svc2 .svc2-btn .text-two { display: none; }
.svc2 .svc2-btn[disabled] { opacity: .7; cursor: default; }

/* ---------- buttons ---------- */
.svc2-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.svc2 .svc2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-size: 17px; font-weight: 700;
  line-height: 1; padding: 17px 26px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; letter-spacing: 0;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--out);
}
.svc2 .svc2-btn svg { transition: transform .3s var(--out); }
.svc2 .svc2-btn:hover svg { transform: translateX(5px); }
.svc2 .svc2-btn:active { transform: translateY(1px) scale(.98); }
.svc2 .svc2-btn--lime { background: var(--lime); color: var(--ink); }
.svc2 .svc2-btn--lime:hover { background: #fff; color: var(--ink); }
.svc2 .svc2-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.svc2 .svc2-btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.svc2 .svc2-btn--primary { width: 100%; background: var(--ink); color: #fff; margin-top: 4px; }
.svc2 .svc2-btn--small-only { display: none; }
.svc2 .svc2-btn--primary:hover { background: var(--blue); color: #fff; }

/* ---------- moving ribbon ---------- */
.svc2-ribbon { background: var(--lime); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); margin: clamp(30px, 3.4vw, 52px) 0 clamp(20px, 3vw, 40px); }
.svc2-ribbon__track { display: flex; width: max-content; animation: svc2-slide 36s linear infinite; }
.svc2-ribbon:hover .svc2-ribbon__track { animation-play-state: paused; }
.svc2-ribbon span { display: inline-flex; align-items: center; white-space: nowrap; font-size: clamp(18px, 14px + .6vw, 24px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.svc2-ribbon span::after { content: ""; width: 10px; height: 10px; margin: 0 28px; background: var(--ink); transform: rotate(45deg); }
@keyframes svc2-slide { to { transform: translateX(-50%); } }

/* ---------- overview ---------- */
.svc2-overview { background: var(--paper); padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 84px); }
.svc2-overview__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.svc2 .svc2-overview h2, .svc2 .svc2-faq h2 { font-size: clamp(30px, 20px + 1.5vw, 44px); line-height: 1.1; }
.svc2 .svc2-overview__head p { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 36ch; }
.svc2-overview .svc2-prose ul { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc2-overview .svc2-prose > ul:first-child { margin-top: 0; }
.svc2-overview .svc2-prose ul li {
  list-style: none; margin: 0; position: relative; padding: 16px 16px 16px 50px; border-radius: 14px; background: var(--band); color: var(--ink);
  line-height: 1.45; transition: background-color .25s ease, transform .3s var(--out);
}
.svc2-overview .svc2-prose ul li:hover { background: #e3ecf7; transform: translateY(-3px); }
.svc2-overview .svc2-prose ul li::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ---------- detail: numbered chapters on one dark band ---------- */
.svc2-detail { background: var(--paper); padding: 0; }
.svc2-chapters {
  --row-pad: clamp(14px, 2vw, 28px);
  padding: clamp(22px, 2.8vw, 44px) 0;
  background:
    radial-gradient(900px 520px at 100% 0, rgba(0, 110, 220, .38), transparent 70%),
    radial-gradient(820px 560px at 0 36%, rgba(0, 110, 220, .16), transparent 70%),
    radial-gradient(860px 560px at 100% 70%, rgba(200, 242, 74, .07), transparent 70%),
    radial-gradient(760px 460px at 0 100%, rgba(200, 242, 74, .09), transparent 70%),
    linear-gradient(160deg, var(--night-2) 0%, var(--night) 45%);
}
.svc2-row {
  position: relative; display: grid; grid-template-columns: clamp(84px, 9vw, 128px) minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 40px); align-items: start;
  padding: clamp(34px, 3.8vw, 58px) var(--row-pad); margin: 0 calc(var(--row-pad) * -1); border-radius: 22px;
  transition: background-color .35s ease;
}
.svc2-row > * { position: relative; }
/* The rule above each chapter. The script fills it (--p runs 0 to 1) while the chapter is being read. */
.svc2-row > .svc2-row__rule { position: absolute; left: var(--row-pad); right: var(--row-pad); top: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .13); overflow: hidden; }
.svc2-row__rule b { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.svc2-row__num {
  font-size: clamp(40px, 22px + 2.6vw, 68px); font-weight: 700; line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  color: var(--lime); transition: color .5s ease;
}
.svc2-js .svc2-row__num { color: rgba(255, 255, 255, .2); }
.svc2-js .svc2-row.is-on .svc2-row__num { color: var(--lime); }
/* "On this page": links to the chapters. They wrap on a wide screen and scroll sideways on a phone. */
.svc2-toc { display: flex; align-items: baseline; gap: 10px 22px; flex-wrap: wrap; padding: clamp(10px, 1.4vw, 18px) 0 clamp(22px, 2.4vw, 34px); scroll-margin-top: 100px; }
.svc2-toc > span { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--night-text); flex: none; }
.svc2-toc__list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.svc2 .svc2-toc a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-size: 15px; line-height: 1.3; font-weight: 500; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.svc2 .svc2-toc a b { color: var(--lime); font-weight: 700; font-variant-numeric: tabular-nums; }
.svc2 .svc2-toc a:hover { border-color: var(--lime); background: rgba(200, 242, 74, .1); color: #fff; }
.svc2-row { scroll-margin-top: 90px; }

/* Heading and text in one readable column, the chapter's drawing beside them. */
.svc2-row__body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(230px, 23vw, 310px); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
.svc2-row--plain .svc2-row__body { grid-template-columns: minmax(0, 1fr); }
.svc2 .svc2-row h2 { grid-column: 1; color: #fff; font-size: clamp(24px, 15px + 1.15vw, 34px); line-height: 1.14; letter-spacing: -0.025em; margin-bottom: 22px; max-width: 22em; }
.svc2 .svc2-row__text { grid-column: 1; max-width: 66ch; }
.svc2 .svc2-row__text :is(p, li) { color: var(--night-text); line-height: 1.7; }
.svc2 .svc2-row__text p { margin-bottom: 20px; }
.svc2 .svc2-row__text p:last-child { margin-bottom: 0; }
.svc2 .svc2-row__text li { margin-bottom: 12px; }
.svc2 .svc2-row__text strong { color: #fff; }
.svc2 .svc2-row__text h3 { color: #fff; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 30px 0 12px; }
.svc2 .svc2-row__text h3:first-child { margin-top: 0; }
.svc2 .svc2-row__text a { color: #fff; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.svc2 .svc2-row__text a:hover { color: var(--lime); }
.svc2 .svc2-row__text ul { list-style: none; padding: 0; }
.svc2 .svc2-row__text ul li { list-style: none; position: relative; padding-left: 32px; break-inside: avoid; }
.svc2 .svc2-row__text ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.4' fill='none' stroke='%230b1220' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.svc2 .svc2-row__text ol li { break-inside: avoid; }
.svc2 .svc2-row__text ol li::marker { color: var(--lime); font-weight: 700; }
.svc2-panel a:focus-visible { outline-color: var(--lime); }

/* The chapter's drawing (tools/hm_art.py): a glass tile with a line drawing in the hero's own vocabulary. */
.svc2-art {
  grid-column: 2; grid-row: 1 / span 2; position: relative; margin-top: 4px; padding: 16px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8); transition: transform .5s var(--out), border-color .35s ease;
}
.svc2-art svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: rgba(255, 255, 255, .36); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc2-art .k { stroke: var(--lime); }
.svc2-art .s { stroke: var(--sky); }
.svc2-art .sk { stroke: rgba(255, 255, 255, .2); stroke-width: 6; }
.svc2-art .tr { stroke: rgba(255, 255, 255, .14); stroke-width: 6; }
.svc2-art .thick { stroke-width: 6; }
.svc2-art .sk.thick { stroke-width: 9; }
.svc2-art .dash { stroke-dasharray: 5 8; }
.svc2-art .ck { stroke: var(--night); stroke-width: 2.6; }
.svc2-art .fl { fill: rgba(255, 255, 255, .07); stroke: none; }
.svc2-art .fd { fill: rgba(255, 255, 255, .3); stroke: none; }
.svc2-art .fk { fill: var(--lime); stroke: none; }
/* With the script running, the drawing is made line by line when its chapter scrolls into view. */
.svc2-js .svc2 .svc2-art .d { opacity: 0; }
.svc2-js .svc2 .svc2-art .d:not(.dash) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.svc2-js .svc2 .svc2-row.is-in .svc2-art .d { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--out), opacity .3s ease; transition-delay: calc(var(--n) * 55ms + 250ms); }
.svc2-js .svc2 .svc2-art :is(.fl, .fd, .fk) { opacity: 0; }
.svc2-js .svc2 .svc2-row.is-in .svc2-art :is(.fl, .fd, .fk) { opacity: 1; transition: opacity .6s ease .7s; }
/* A soft light follows the pointer across the chapter under it. */
@media (hover: hover) {
  .svc2-row::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 192, 255, .16), transparent 70%);
  }
  .svc2-row:hover { background-color: rgba(255, 255, 255, .035); }
  .svc2-row:hover::before { opacity: 1; }
  .svc2-row:hover .svc2-art { transform: translateY(-5px); border-color: rgba(200, 242, 74, .45); }
}

/* ---------- faq ---------- */
.svc2-faq { background: var(--paper); padding: clamp(48px, 6vw, 84px) 0; }
.svc2-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.svc2 .svc2-faq__grid > div:first-child p { margin-top: 14px; color: var(--muted); }
.svc2-faq__list { border-top: 1px solid var(--line); }
.svc2 details { border-bottom: 1px solid var(--line); }
.svc2 summary { list-style: none; cursor: pointer; position: relative; padding: 20px 52px 20px 0; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; transition: color .15s ease; }
.svc2 summary::-webkit-details-marker { display: none; }
.svc2 summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--band) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 5.5v11M5.5 11h11' fill='none' stroke='%230b1220' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--out), background-color .2s ease;
}
.svc2 details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.svc2 summary:hover { color: var(--blue); }
.svc2 summary:hover::after { background-color: var(--lime); }
.svc2 details p { padding: 0 52px 22px 0; max-width: 70ch; }
.svc2 details[open] p { animation: svc2-fade .5s var(--out) both; }

/* ---------- related ---------- */
.svc2-related { background: var(--band); padding: clamp(40px, 5vw, 68px) 0 clamp(48px, 6vw, 80px); }
.svc2-related__grid { display: grid; gap: clamp(28px, 3.4vw, 44px); }
.svc2-related__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 3.4vw, 48px); }
.svc2 .svc2-links--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.svc2 .svc2-links--wide a { height: 100%; }
.svc2 .svc2-related h2 { font-size: 22px; margin-bottom: 14px; }
.svc2 .svc2-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc2 .svc2-links li { list-style: none; margin: 0; }
.svc2 .svc2-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px 15px 20px; border-radius: 14px;
  background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.4;
  transition: background-color .25s ease, color .25s ease, transform .3s var(--out);
}
.svc2 .svc2-links a svg { flex: none; color: var(--blue); transition: transform .3s var(--out), color .25s ease; }
.svc2 .svc2-links a:hover { background: var(--ink); color: #fff; transform: translateX(6px); }
.svc2 .svc2-links a:hover svg { color: var(--lime); transform: translateX(4px); }
.svc2 .svc2-links small { display: block; font-size: 14.5px; line-height: 1.4; font-weight: 400; color: var(--muted); margin-top: 2px; transition: color .25s ease; }
.svc2 .svc2-links a:hover small { color: var(--night-text); }

/* ---------- the services index: each group is a heading and a grid of link tiles ---------- */
.svc2-group + .svc2-group { margin-top: clamp(36px, 4.4vw, 64px); }
.svc2-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 16px; }
.svc2 .svc2-index h2 { font-size: clamp(26px, 18px + 1vw, 34px); line-height: 1.12; margin: 0; }
.svc2 .svc2-group__head p { color: var(--muted); margin: 0; }
.svc2 .svc2-index .svc2-links--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.svc2 .svc2-index .svc2-links a { align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
.svc2 .svc2-index .svc2-links a svg { margin-top: 3px; }

/* ---------- closing band ---------- */
.svc2-cta { padding: 0 0 clamp(8px, 1.2vw, 20px); background: var(--band); }
.svc2-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.svc2 .svc2-cta h2 { color: #fff; font-size: clamp(30px, 18px + 2vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }

/* ---------- reveal on scroll (only once the script has run) ---------- */
.svc2-js .svc2 [data-reveal] { opacity: 0; transform: translateY(28px); }
.svc2-js .svc2 [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--out), transform .8s var(--out); transition-delay: calc(var(--i, 0) * 110ms); }
.svc2-js .svc2 .svc2-prose[data-reveal] { opacity: 1; transform: none; }
.svc2-js .svc2 .svc2-prose[data-reveal] ul li { opacity: 0; transform: translateY(16px) scale(.97); }
.svc2-js .svc2 .svc2-prose.is-in ul li { opacity: 1; transform: none; transition: opacity .6s var(--out), transform .6s var(--out), background-color .25s ease; }
.svc2-js .svc2 .svc2-prose.is-in ul li:nth-child(2) { transition-delay: 70ms; }
.svc2-js .svc2 .svc2-prose.is-in ul li:nth-child(3) { transition-delay: 140ms; }
.svc2-js .svc2 .svc2-prose.is-in ul li:nth-child(4) { transition-delay: 210ms; }
.svc2-js .svc2 .svc2-prose.is-in ul li:nth-child(5) { transition-delay: 280ms; }
.svc2-js .svc2 .svc2-prose.is-in ul li:nth-child(n+6) { transition-delay: 350ms; }

/* ---------- phone contact bar (added by hm-svc2.js; it lives outside .svc2, so its colours are written out) ---------- */
.svc2-bar { display: none; }
@media (max-width: 991px) {
  .svc2-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #0b1220; border-top: 1px solid rgba(255, 255, 255, .14);
    transform: translateY(110%); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  }
  .svc2-bar.is-on { transform: none; }
  .svc2-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; font-family: "DM Sans", system-ui, sans-serif;
    font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none;
  }
  .svc2-bar__call { color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
  .svc2-bar__quote { color: #0b1220; background: #c8f24a; }
  .svc2-bar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .svc2-has-bar .svc2-page { padding-bottom: 68px; }
  .svc2-has-bar .svc2-page .progress-wrap { bottom: 84px !important; }
}
@media (max-width: 991px) and (prefers-reduced-motion: reduce) { .svc2-bar { transition: none; } }

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
  .svc2-hero__grid, .svc2-overview__grid, .svc2-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .svc2 .svc2-btn--small-only { display: inline-flex; }
  .svc2-row__body { grid-template-columns: minmax(0, 1fr); }
  .svc2-art { grid-column: 1; grid-row: auto; max-width: 230px; margin: 0 0 22px; padding: 12px; }
  .svc2 .svc2-row h2 { margin-bottom: 18px; }
  .svc2 .svc2-overview__head p { max-width: none; }
  .svc2 .svc2-lead { max-width: none; }
}
@media (max-width: 640px) {
  .svc2 { font-size: 16px; }
  .svc2 p, .svc2 li { font-size: 16px; }
  .svc2-overview .svc2-prose ul, .svc2-pair { grid-template-columns: minmax(0, 1fr); }
  .svc2 .svc2-btn { width: 100%; }
  .svc2-btns { width: 100%; }
  .svc2 summary { font-size: 17px; }
  .svc2-hero__back { display: none; }
  .svc2 .svc2-ticks { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
  .svc2-row { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .svc2-toc { display: block; }
  .svc2-toc > span { display: block; margin-bottom: 10px; }
  .svc2-toc__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .svc2-toc__list::-webkit-scrollbar { display: none; }
  .svc2 .svc2-toc a { flex: none; white-space: nowrap; }
  .svc2 .svc2-row__text :is(p, li) { line-height: 1.62; }
  .svc2 .svc2-row__text p { margin-bottom: 16px; }
  .svc2-art { max-width: 200px; }
  .svc2-row__num { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc2 *, .svc2 *::before, .svc2 *::after { animation: none !important; transition: none !important; }
  .svc2 h1 .hl { background-size: 100% .12em; }
}
