/* Service pages — Web Design, Local SEO, Paid Ads, Website Care Plans. Each page has its own layout
   (builders in tools/build_pages.py); only the nav, footer, FAQ and closing CTA are shared.
   Rows of items are always equal cards with even gaps — never divider-split columns. */

/* ---------- Hero: text left, a page-specific visual right ---------- */
.sv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 96px); align-items: center;
  min-height: min(100svh, 980px); padding: calc(84px + clamp(24px, 3vw, 48px)) var(--gutter) var(--section-y); }
.sv-hero .dp-h1 { margin-top: 20px; max-width: 15ch; font-size: clamp(40px, 4.6vw, 80px); line-height: 1.02; }
.sv-hero .dp-lead { margin-top: 24px; max-width: 46ch; }
.sv-hero__visual { position: relative; }
.sv-map__tag { position: absolute; right: 16px; bottom: -30px; font: 600 10px var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* Web Design: three real client mockups, stacked and tilted */
.sv-stack { position: relative; height: min(64svh, 620px); }
.sv-shot { position: absolute; width: 72%; aspect-ratio: 1.35; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px #000e; transition: transform .7s var(--ease); }
.sv-shot img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.sv-shot--0 { left: 0; top: 4%; transform: rotate(-4deg); z-index: 1; }
.sv-shot--1 { right: 0; top: 18%; transform: rotate(3deg); z-index: 2; }
.sv-shot--2 { left: 14%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.sv-shot:hover { transform: rotate(0) translateY(-10px); z-index: 4; }
.sv-stack__tag { position: absolute; left: 0; bottom: -34px; font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Local SEO: an illustrated Google local result with your business in the map pack */
.sv-map, .sv-ad, .sv-health, .sv-report { position: relative; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 40px 80px -40px #000e; }
.sv-map { padding: 18px; }
.sv-map__search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.sv-map__search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.sv-map__canvas { position: relative; height: 190px; margin: 14px 0; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--surface-2)), var(--surface-2));
  background-image: repeating-linear-gradient(30deg, transparent 0 38px, color-mix(in srgb, var(--text) 5%, transparent) 38px 40px), repeating-linear-gradient(120deg, transparent 0 56px, color-mix(in srgb, var(--text) 5%, transparent) 56px 58px); }
.sv-map__canvas i { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--muted); }
.sv-map__canvas i.is-you { width: 24px; height: 24px; background: var(--brand); box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 22%, transparent); }
.sv-map__item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; }
.sv-map__item b { font-weight: 600; font-size: 15px; }
.sv-map__item span { font-size: 12px; color: var(--muted); }
.sv-map__item em { font-style: normal; color: #f5b82e; }
.sv-map__item.is-you { background: color-mix(in srgb, var(--brand) 14%, var(--surface)); border: 1px solid var(--accent); }

/* Paid Ads: an illustrated search ad and the tracked call it produced */
.sv-ad { padding: 18px; }
.sv-ad__serp { display: grid; gap: 12px; }
.sv-ad__result { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.sv-ad__result small { font-size: 12px; color: var(--muted); }
.sv-ad__result b { display: block; margin: 4px 0; font-weight: 600; font-size: 16px; color: var(--accent); }
.sv-ad__result p { font-size: 13px; color: var(--muted); }
.sv-ad__result--dim { opacity: .45; }
.sv-ad__lead { display: flex; align-items: center; gap: 14px; margin: 16px -34px -30px auto; width: max-content; max-width: 100%; padding: 16px 18px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--accent); box-shadow: 0 30px 60px -30px #000e; }
.sv-ad__lead b { display: block; font-weight: 600; font-size: 14px; }
.sv-ad__lead small { font-size: 12px; color: var(--muted); }

/* Care Plans: an illustrated site-health panel */
.sv-health { padding: 8px 22px 16px; }
.sv-report__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sv-report__head b { font-weight: 600; }
.sv-report__head span { font: 600 10px var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sv-live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent) !important; }
.sv-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.sv-health ul, .sv-report ul { list-style: none; }
.sv-health > ul > li { display: flex; justify-content: space-between; padding: 16px 0; font-size: 15px; }
.sv-health > ul > li + li { border-top: 1px solid var(--line); }
.sv-health > ul > li b { font-weight: 600; color: var(--accent); }

/* ---------- Shared bits for these pages ---------- */
.sv-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.sv-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sv-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); }
.sv-week { font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.sv-sub { display: block; margin: 18px 0 4px; font: 600 var(--fs-label) var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sv-note, .sv-small { margin-top: 18px; font-size: 13px; color: var(--muted); }
.sv-big { margin-top: 14px; font-size: clamp(26px, 2.4vw, 36px) !important; }
.sv-check { list-style: none; display: grid; gap: 4px; margin-top: 14px; }
.sv-check li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: var(--fs-body); }
.sv-check i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.sv-check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-check--no li { color: var(--muted); }
.sv-check--no i { background: var(--surface-2); color: var(--muted); }
.sv-panel { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.sv-panel--green { background: var(--green-panel); border-color: transparent; color: #fff; }
.sv-panel--green .plan__kicker { color: var(--brand); }
.sv-panel--green .dp-p, .sv-panel--green .sv-sub { color: rgba(255,255,255,.75); }
.sv-panel--green .sv-check i { background: var(--brand); color: var(--brand-ink); }
.sv-split2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sv-split2--wide { gap: clamp(32px, 6vw, 110px); align-items: center; }
.sv-split2--tight { gap: 12px; margin-top: 32px; }
.sv-split2 .dp-h2 { margin: 22px 0 22px; max-width: 16ch; }
#timeline .sv-split2 { margin-top: 16px; }

/* Web Design: the four problems as full-width rows (problem struck → what we do) */
.sv-problems { list-style: none; border-top: 1px dashed var(--line); }
.sv-problems > li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px dashed var(--line); }
.sv-problems s { color: var(--muted); font-size: var(--fs-body-l); text-decoration-thickness: 1.5px; }
.sv-problems b { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.015em; }

/* Web Design: nine inclusions, 3 × 3 equal cards */
.sv-included { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-included > li { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.sv-included .dp-h3 { font-size: 19px; }
.sv-included p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sv-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }

/* Week-by-week / month-by-month / rhythm: four equal cards */
.sv-weeks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sv-weeks > li { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.sv-weeks > li > p { font-size: var(--fs-body); line-height: 1.55; color: var(--muted); }
.sv-weeks .sv-check { margin-top: 0; }
.sv-weeks .sv-check li { font-size: 14px; padding: 4px 0; }

/* Ownership / plan band */
.sv-own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 4vw, 56px); border-radius: 28px; background: var(--green-panel); color: #fff; }
.sv-own .ebx { color: #fff; } .sv-own .ebx .ebx-star { color: var(--brand); }
.sv-own .dp-h2 { margin-top: 22px; }
.sv-own > ul:not(.sv-check) { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sv-own > ul:not(.sv-check) li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.06); }
.sv-own > ul li b { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.sv-own > ul li span { font-size: 14px; color: rgba(255,255,255,.72); }
.sv-own .dp-lead { margin-top: 18px; color: rgba(255,255,255,.75); }
.sv-own .roll { --b-ink: #fff; --b-acc: var(--brand); --b-on: var(--brand-ink); }
.sv-own .sv-check i { background: var(--brand); color: var(--brand-ink); }
.sv-own--plan .sv-check { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* Local SEO: service-area chips */
.sv-areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(32px, 4vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface);
  background-image: radial-gradient(circle at 78% 50%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%); }
.sv-areas .dp-h2 { margin: 22px 0 18px; max-width: 16ch; }
.sv-towns { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-town { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: 600 14px var(--font-body); }
.sv-town.is-home { background: var(--accent); color: var(--on-accent); border-color: transparent; }

/* Local SEO: example report */
.sv-report { padding: 8px 24px 22px; }
.sv-rows > li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 14px 0; font-size: 14px; }
.sv-rows > li + li { border-top: 1px solid var(--line); }
.sv-bar { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.sv-bar::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 3px; background: var(--accent); }
.sv-rows > li b { color: var(--accent); }
.sv-report > p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.sv-report .sv-check { margin-top: 10px; }

/* Three equal text cards */
.sv-cards3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv-cards3 > li { padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.sv-cards3 p { margin-top: 10px; font-size: var(--fs-body); line-height: 1.55; color: var(--muted); }

/* Paid Ads: the path from ad to booked job — four equal cards joined by arrows */
.sv-path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sv-path > li { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.sv-path > li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 38px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; }
.sv-path p { font-size: var(--fs-body); line-height: 1.55; color: var(--muted); }

/* Paid Ads: budget calculator */
.sv-budget { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.sv-budget .dp-h2 { margin: 22px 0 18px; max-width: 14ch; }
.sv-budget__calc { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.sv-budget__calc input[type="range"] { width: 100%; margin: 14px 0 20px; accent-color: var(--brand); }
.sv-budget__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sv-budget__rows b { font-weight: 600; }
.sv-budget__rows .is-total b { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--accent); }

/* Paid Ads: terms as a 2 × 2 */
.sv-terms { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.sv-terms > li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.sv-terms b { font-weight: 600; }
.sv-terms span { font-size: 14px; color: var(--muted); }

/* Care Plans: takeover steps */
.sv-steps { list-style: none; display: grid; gap: 12px; }
.sv-steps > li { display: flex; gap: 22px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.sv-steps p { margin-top: 6px; font-size: var(--fs-body); color: var(--muted); }

@media (max-width: 1100px) {
  .sv-included, .sv-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-weeks, .sv-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-path > li::after { display: none; }
}
@media (max-width: 900px) {
  .sv-hero, .sv-split2, .sv-split2--wide, .sv-own, .sv-areas, .sv-budget { grid-template-columns: 1fr; }
  .sv-hero { min-height: 0; }
  .sv-problems > li { grid-template-columns: 56px 1fr; }
  .sv-problems b { grid-column: 2; }
  .sv-ad__lead { margin-right: 0; }
}
@media (max-width: 600px) {
  .sv-included, .sv-cards3, .sv-weeks, .sv-path, .sv-terms, .sv-own > ul:not(.sv-check), .sv-own--plan .sv-check { grid-template-columns: 1fr; }
}

/* ---------- "You own it" — pinned scroll reveal (adapted from 21st.dev Reading Text Reveal + Text Reveal Block) ---------- */
.sv-reveal { position: relative; height: 260vh; }
.sv-reveal__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); }
.sv-reveal__text { margin-top: 32px; max-width: 21ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5.6vw, 96px); line-height: 1.04; letter-spacing: -.035em; }
.sv-reveal__text .w { color: var(--text); opacity: .14; transition: color .3s; }
.sv-reveal__text .k.is-lit { color: var(--accent); }
.sv-reveal__close { position: relative; align-self: flex-start; margin-top: clamp(28px, 3vw, 44px); padding: 6px 4px; overflow: hidden;
  font: 600 var(--fs-label) var(--font-label); letter-spacing: .2em; text-transform: uppercase; }
.sv-reveal__line { position: relative; display: inline-block; font-size: clamp(14px, 1.2vw, 18px); opacity: 0; }
.sv-reveal__block { position: absolute; inset: 0; z-index: 1; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) { .sv-reveal { height: 200vh; } }
@media (prefers-reduced-motion: reduce) {
  .sv-reveal { height: auto; padding-block: var(--section-y); } .sv-reveal__sticky { position: relative; height: auto; }
  .sv-reveal__text .w { opacity: 1; } .sv-reveal__text .k { color: var(--accent); } .sv-reveal__line { opacity: 1; }
}

/* ---------- Service hero: the homepage hero (index.html §2), service name as the wordmark ---------- */
.svh { position: relative; height: 100vh; min-height: 640px; }
.svh .hero__frame { position: absolute; inset: 0; overflow: hidden; background: #000; display: grid; grid-template-rows: 1fr auto;
  padding: 96px var(--gutter) var(--gutter); will-change: clip-path; }
.svh .hero__media { position: absolute; inset: 0; }
.svh .hero__media img, .svh .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.svh .hero__media video { opacity: 0; transition: opacity .8s; }
.svh .hero__media video.is-playing { opacity: 1; }
.svh .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.8) 100%); }
.svh .hero__top, .svh .hero__bottom { position: relative; z-index: 2; color: #fff; transform-origin: 50% 0; }
.svh .hero__top { align-self: end; display: flex; justify-content: flex-end; gap: 28px; font: 500 14px Inter; }
.svh .hero__bottom { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 40px; align-items: end; margin-top: 20px; }
.svh .hero__intro .ebx { color: #fff; }
.svh .hero__intro p { font-size: 17px; line-height: 1.55; margin: 16px 0 24px; color: rgba(255,255,255,.88); }
.svh .hero__intro .dp-link { color: #fff; }
.svh .hero__intro .roll { --b-ink: #fff; --b-acc: var(--brand); --b-on: var(--brand-ink); backdrop-filter: blur(6px); }
.svh .hero__word { font-size: clamp(52px, 12vw, 230px); text-align: right; color: #fff; white-space: nowrap; perspective: 1200px; line-height: .85; }
.svh .hero__word .char { display: inline-block; transform-origin: 50% 100%; }
@media (max-width: 900px) {
  .svh .hero__bottom { grid-template-columns: 1fr; }
  .svh .hero__top { display: none; }
  .svh .hero__word { text-align: left; font-size: clamp(52px, 15vw, 140px); }
}
.svh .ebx-star { color: var(--brand); }
.svh .fx-crumb a { color: rgba(255,255,255,.7); }
.svh .fx-crumb a:hover { color: #fff; }

/* ---------- Recent work reel (Web Design, right after the hero) — after portfi.webflow.io "Recent Works" ----------
   Tall section + sticky stage; site.js slides .reel__track left as you scroll. The SVG mask is a page-coloured frame
   with an elliptical hole, so the flat cards read as curved and taper toward the edges; the fade darkens both ends. */
.reel { position: relative; height: 330vh; }
.reel__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.reel__mobile-head { display: none; }
.reel__row { --h: min(82vh, 44vw); position: relative; width: 100%; height: var(--h); }   /* tall, like the reference: ~¾ of the screen */
.reel__track { display: flex; gap: 3vw; height: 100%; padding-left: 6vw; will-change: transform; }
.reel__title { flex: none; width: 30vw; display: flex; align-items: center; }
.reel__title h2 { font-family: var(--font-display); font-size: clamp(48px, 7vw, 132px); line-height: .95; letter-spacing: -.04em; text-transform: none; color: var(--text); }
.reel__card { position: relative; flex: none; width: calc(var(--h) * .92); height: 100%; overflow: hidden; background: #0b0b0b; color: #fff; }   /* portrait, the reference's shape */
/* The client mockups are landscape (1586×992) with the device across the middle 76% of the width. Sized so the device
   spans the full card width (nothing of the device is cut), centred, with the backdrop faded into the card above and below. */
.reel__card img { position: absolute; top: 50%; left: 50%; width: 132%; height: auto; max-width: none; translate: -50% -50%;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  transition: scale .7s cubic-bezier(.04,.48,.18,1); }
.reel__card img.reel__photo { inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; translate: none; -webkit-mask-image: none; mask-image: none; }   /* placeholder portraits fill the card */
.reel__card:hover img, .reel__card:focus-visible img { scale: 1.08; }
.reel__card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .4s; pointer-events: none; }   /* keeps the ticker readable over busy sites */
.reel__card:hover::before, .reel__card:focus-visible::before { opacity: 1; }
.reel__card--all::before { display: none; }
.reel__ticker { position: absolute; z-index: 3; top: 50%; left: 0; display: flex; transform: translateY(-50%); opacity: 0; transition: opacity .3s; white-space: nowrap; pointer-events: none; }
.reel__ticker > span { display: flex; align-items: center; flex: none; animation: reel-tick 7s linear infinite paused; }
.reel__ticker span span { padding: 0 .5em; font: 400 clamp(26px, 2.4vw, 40px)/1 var(--font-display); letter-spacing: -.02em; }
.reel__ticker i { width: .35em; height: .35em; font-size: clamp(26px, 2.4vw, 40px); border-radius: 50%; background: var(--brand); }
.reel__card:hover .reel__ticker, .reel__card:focus-visible .reel__ticker { opacity: 1; }
.reel__card:hover .reel__ticker > span, .reel__card:focus-visible .reel__ticker > span { animation-play-state: running; }
@keyframes reel-tick { to { transform: translateX(-100%); } }
.reel__info { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 2em 2em 2.4em; pointer-events: none; }
.reel__tags { display: flex; gap: 6px; transform: translateY(-5em); transition: transform .5s cubic-bezier(.04,.48,.18,1); }
.reel__tags span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 11px var(--font-label); letter-spacing: .12em; text-transform: uppercase; }
.reel__name { font: 400 clamp(18px, 1.5vw, 24px)/1.1 var(--font-display); letter-spacing: -.01em; transform: translateY(5em); transition: transform .5s cubic-bezier(.04,.48,.18,1); }
.reel__card:hover :is(.reel__tags, .reel__name), .reel__card:focus-visible :is(.reel__tags, .reel__name) { transform: none; }
.reel__glow { position: absolute; z-index: 1; left: -20%; right: -20%; bottom: -125px; height: 250px; background: var(--glow); filter: blur(50px); opacity: 0; transition: opacity .5s; pointer-events: none; }
.reel__card:hover .reel__glow, .reel__card:focus-visible .reel__glow { opacity: .85; }
.reel__card--all { width: calc(var(--h) * .8); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--surface); color: var(--text); transition: background .4s, color .4s; }
.reel__card--all .reel__name { transform: none; font-size: clamp(22px, 2vw, 32px); }
.reel__arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid currentColor; font-size: 20px; transition: transform .4s; }
.reel__card--all:hover { background: var(--brand); color: var(--brand-ink); }
.reel__card--all:hover .reel__arrow { transform: rotate(-45deg); }
.reel__mask { position: absolute; z-index: 4; top: -1px; bottom: -1px; left: -30%; width: 160%; height: calc(100% + 2px); fill: var(--bg); pointer-events: none; }
.reel__fade { position: absolute; z-index: 4; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg), color-mix(in srgb, var(--bg) 90%, transparent) 4%, color-mix(in srgb, var(--bg) 70%, transparent) 10%, transparent 33%, transparent 67%, color-mix(in srgb, var(--bg) 70%, transparent) 90%, color-mix(in srgb, var(--bg) 90%, transparent) 96%, var(--bg)); }

/* Phones, and reduced motion: a plain stack of full-colour cards (as the original does on mobile) */
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .reel { height: auto; padding: var(--section-y) var(--gutter); }
  .reel__stage { position: static; height: auto; display: block; overflow: visible; }
  .reel__mobile-head { display: block; margin-bottom: var(--head-gap); }
  .reel__row { height: auto; }
  .reel__track { flex-direction: column; gap: 20px; padding: 0; transform: none !important; }
  .reel__title, .reel__mask, .reel__fade, .reel__ticker { display: none; }
  .reel__card { width: 100%; height: auto; aspect-ratio: 1.6; border-radius: 16px; }
  .reel__info { justify-content: flex-end; align-items: flex-start; padding: 18px; background: linear-gradient(transparent 55%, rgba(0,0,0,.7)); }
  .reel__card::before, .reel__glow { display: none; }
  .reel__card img { position: static; width: 100%; height: 100%; object-fit: cover; translate: none; -webkit-mask-image: none; mask-image: none; }
  .reel__tags { display: none; }
  .reel__name { transform: none; }
  .reel__card--all { aspect-ratio: auto; padding: 36px; flex-direction: row; }
}

/* =========================================================
   WEB DESIGN — bespoke sections (tools/build_pages.py wd_*)
   ========================================================= */

/* ---------- Anatomy: sticky example site + a list that lights up its parts ---------- */
.wd-anat__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.wd-anat__stick { position: sticky; top: max(90px, calc(50vh - min(38vh, 350px))); }   /* frame centred in the screen */
.wd-anat__list { list-style: none; padding: 16vh 0; }
.wd-anat__list li { display: flex; gap: 20px; min-height: 42vh; align-items: center; opacity: .3; transition: opacity .5s; }
.wd-anat__list li.is-on { opacity: 1; }
.wd-anat__list p { margin-top: 10px; color: var(--muted); font-size: var(--fs-body-l); line-height: 1.6; max-width: 40ch; }
.wd-anat__n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  font: 600 var(--fs-label) var(--font-label); letter-spacing: .08em; transition: background .4s, color .4s, border-color .4s; }
.wd-anat__list li.is-on .wd-anat__n { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
/* the example homepage: a real rendered image in a tall frame; it pans to each part, a spotlight frames it */
.wd-shot { position: relative; height: min(76vh, 700px); margin: 0; border-radius: 20px; overflow: hidden; background: #f5f1ea;
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.wd-shot__page { position: relative; will-change: transform; transition: transform 1s cubic-bezier(.65,0,.35,1); }
.wd-shot__page img { display: block; width: 100%; height: auto; }
.wd-shot__spot { position: absolute; border: 2px solid var(--brand); border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(6,9,6,.58); opacity: 0; pointer-events: none;
  transition: left .9s cubic-bezier(.65,0,.35,1), top .9s cubic-bezier(.65,0,.35,1), width .9s cubic-bezier(.65,0,.35,1), height .9s cubic-bezier(.65,0,.35,1), opacity .5s; }
.wd-shot[data-active] .wd-shot__spot { opacity: 1; }
.wd-shot__num { position: absolute; top: -15px; left: -15px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font: 700 12px/1 Inter, sans-serif; font-style: normal; box-shadow: 0 0 0 4px rgba(111,194,87,.25); }
.wd-shot[data-active="5"] .wd-shot__num { top: 12px; left: 12px; }
.wd-shot__chip { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: baseline; gap: 8px; padding: 12px 16px; border-radius: 14px;
  background: #0f1a12; color: #cfd8d1; font-size: 13px; opacity: 0; translate: 0 10px; transition: opacity .5s, translate .5s; }
.wd-shot__chip b { font: 400 26px/1 var(--font-display); color: var(--brand); }
.wd-shot[data-active="5"] .wd-shot__chip { opacity: 1; translate: 0 0; }
.wd-shot__cap { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(15,26,18,.82); color: #dfe6e0;
  font: 600 11px var(--font-label); letter-spacing: .12em; text-transform: uppercase; transition: opacity .4s; }
.wd-shot[data-active] .wd-shot__cap { opacity: 0; }


/* ---------- Build an estimate: questions on the left, a sticky live estimate on the right ---------- */
/* starting points: package-style cards above the questions; one click fills in every answer (site.js [data-presets]) */
.wd-presets { display: grid; gap: 14px; margin-bottom: 16px; }
.wd-presets__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wd-preset { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(22px, 2.4vw, 30px); border: 1.5px solid transparent; border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.wd-preset:hover { border-color: var(--line); }
.wd-preset__name { font: 600 var(--fs-label) var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wd-preset__price { font: 400 clamp(26px, 2.3vw, 36px)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wd-preset small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.wd-preset__go { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.wd-preset__go::after { content: " →"; }
.wd-preset[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.wd-preset[aria-pressed="true"] .wd-preset__go::after { content: " ✓"; }
.wd-preset[aria-pressed="true"] .wd-preset__go { color: var(--brand); }
.wd-preset:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wd-est__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.wd-est__qs { display: grid; gap: 16px; min-width: 0; }
.wd-q { min-width: 0; margin: 0; padding: clamp(22px, 2.4vw, 34px); border: 0; border-radius: var(--radius); background: var(--surface); }
.wd-q__head { float: left; width: 100%; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding: 0; }
.wd-q__head + * { clear: both; }
.wd-q__n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  font: 600 var(--fs-label) var(--font-label); letter-spacing: .08em; color: var(--accent); }
.wd-q__head b { display: block; font: 400 clamp(20px, 1.7vw, 26px)/1.15 var(--font-display); letter-spacing: -.02em; }
.wd-q__head small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
/* pages: big live number + slider (filled up to the thumb via --p, set by site.js) */
.wd-q__pages { display: flex; align-items: baseline; gap: 10px; }
.wd-q__pages output { font: 400 clamp(56px, 5vw, 80px)/.9 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.wd-q__pages span { color: var(--muted); font-size: 16px; }
.wd-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 22px 0 12px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--brand) var(--p, 10%), var(--line) var(--p, 10%)); }
.wd-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand);
  border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--brand), 0 8px 18px -6px rgba(0,0,0,.6); cursor: grab; }
.wd-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--brand); cursor: grab; }
.wd-range:focus-visible { outline: none; }
.wd-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--brand), 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent); }
.wd-q__ticks { position: relative; height: 16px; }
.wd-q__ticks span { position: absolute; font: 600 11px var(--font-label); letter-spacing: .1em; color: var(--muted); translate: -50% 0; }
.wd-q__ticks span:nth-child(1) { left: 0; translate: 0 0; } .wd-q__ticks span:nth-child(2) { left: 14.3%; } .wd-q__ticks span:nth-child(3) { left: 42.9%; }
.wd-q__ticks span:nth-child(4) { left: 71.4%; } .wd-q__ticks span:nth-child(5) { left: 100%; translate: -100% 0; }
/* option cards: a real checkbox/radio, visually hidden, styling the card after it */
.wd-opts { display: grid; gap: 10px; }
.wd-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wd-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wd-opt { position: relative; display: block; cursor: pointer; }
.wd-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wd-opt__box { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 52px 16px 18px; border-radius: 14px;
  background: var(--bg); border: 1.5px solid transparent; transition: border-color .25s, background .25s; }
.wd-opt:hover .wd-opt__box { border-color: var(--line); }
.wd-opt__box b { font-weight: 600; font-size: 15px; }
.wd-opt__box small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.wd-opt__box em { margin-top: auto; padding-top: 12px; font: 600 12px var(--font-label); font-style: normal; letter-spacing: .08em; color: var(--accent); }
.wd-opt__tick { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--brand-ink); transition: background .25s, border-color .25s; }
.wd-opt__tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.wd-opt input:checked + .wd-opt__box { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--bg)); }
.wd-opt input:checked + .wd-opt__box .wd-opt__tick { background: var(--brand); border-color: var(--brand); }
.wd-opt input:checked + .wd-opt__box .wd-opt__tick svg { opacity: 1; }
.wd-opt input:focus-visible + .wd-opt__box { outline: 2px solid var(--brand); outline-offset: 3px; }
/* the live estimate */
.wd-est__side { position: sticky; top: 100px; min-width: 0; }
.wd-est__card { padding: clamp(26px, 3vw, 42px); border-radius: calc(var(--radius) + 6px); background: var(--green-panel); color: #fff; }
.wd-est__card .plan__kicker { color: var(--brand); }
.wd-est__range { display: flex; flex-direction: column; margin: 18px 0 8px; font-variant-numeric: tabular-nums; }
.wd-est__range > span:first-child { font: 400 clamp(52px, 5.4vw, 92px)/.95 var(--font-display); letter-spacing: -.045em; }
.wd-est__to { margin-top: 8px; font: 400 clamp(22px, 2vw, 32px)/1 var(--font-display); letter-spacing: -.02em; color: rgba(255,255,255,.7); }
.wd-est__note { color: rgba(255,255,255,.6); font-size: 14px; }
.wd-est__lines { list-style: none; margin: 24px 0 28px; }
.wd-est__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.wd-est__lines li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.wd-est__lines span { color: rgba(255,255,255,.72); }
.wd-est__lines b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wd-est__card .roll { --b-ink: #fff; --b-acc: var(--brand); --b-on: var(--brand-ink); }
/* add-ons DrivenOS already covers: "Included with DrivenOS" badge beside the price, details in a tooltip on hover / tap / focus */
.wd-opt__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: auto; padding-top: 12px; }
.wd-opt__foot em { margin: 0; padding: 0; }
.wd-dos-tip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--text); font-size: 12px; font-weight: 600; cursor: help; }
.wd-dos-tip > i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 700 10px/1 Georgia, serif; font-style: italic; }
.wd-dos-tip__pop { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 5; width: 260px; padding: 12px 14px; border-radius: 12px; background: #f4f6f4; color: #14171a;
  font-size: 13px; font-weight: 400; line-height: 1.5; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); opacity: 0; visibility: hidden; translate: 0 4px; transition: opacity .2s, translate .2s, visibility .2s; pointer-events: none; }
.wd-dos-tip__pop::after { content: ""; position: absolute; left: 22px; top: 100%; border: 7px solid transparent; border-top-color: #f4f6f4; }
.wd-dos-tip:hover .wd-dos-tip__pop, .wd-dos-tip:focus .wd-dos-tip__pop { opacity: 1; visibility: visible; translate: 0 0; }
.wd-dos-tip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wd-est__fine { margin-top: 16px; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.5; }
.wd-est__inc { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 16px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); }
.wd-est__inc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.wd-est__inc li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--bg); font-size: 14px; }
.wd-est__inc i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--accent); }
.wd-est__inc svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.wd-est__bar { display: none; }

/* ---------- Contact: Start a project (estimate or general inquiry). Reuses the estimator's .wd-q / .wd-opt / .wd-est__card ---------- */
/* two columns: heading, description and ways to reach us on the left (stays in view); the form on the right */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(32px, 5vw, 96px); align-items: start;
  padding: calc(76px + clamp(40px, 6vw, 88px)) var(--gutter) var(--section-y); }
.ct__intro { position: sticky; top: 110px; }
.ct__intro .dp-lead { margin-top: 20px; max-width: 460px; }
.ct__ways { list-style: none; display: grid; gap: 20px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; }
.ct__ways li { display: flex; align-items: center; gap: 16px; }
.ct__ways .ic { flex: none; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--surface); color: var(--accent); overflow: visible; }
.ct__ways span { display: block; font: 600 var(--fs-label) var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ct__ways a, .ct__ways b { font-size: 17px; font-weight: 500; color: var(--text); }
.ct__ways a:hover { color: var(--accent); }
.ct-main, .ct-form { display: grid; gap: 16px; min-width: 0; }
.ct-carry { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* read-only estimate fields for the CRM: off screen, not hidden (GHL skips hidden inputs) */
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap field: off screen for people, bots fill it in */
.ct-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
.ct-switch label { position: relative; cursor: pointer; }
.ct-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ct-switch span { display: grid; gap: 4px; height: 100%; padding: clamp(22px, 2.6vw, 32px); border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .25s, background .25s; }
.ct-switch b { font: 400 clamp(22px, 2vw, 30px)/1.15 var(--font-display); letter-spacing: -.02em; }
.ct-switch small { color: var(--muted); font-size: 14px; }
.ct-switch input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.ct-switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.ct-panel { display: grid; gap: 16px; }
.ct-panel[hidden], [data-q-when][hidden] { display: none !important; }
.ct-steps { display: grid; gap: 16px; min-width: 0; counter-reset: ctq; }
.ct-steps > .wd-q:not([hidden]) { counter-increment: ctq; }
.ct-steps .wd-q__n::before { content: counter(ctq, decimal-leading-zero); }   /* numbers skip the questions that are hidden */
/* a small running total that sticks to the bottom of the screen while you answer; hidden once the full card is in view */
.ct-bar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 20px;
  border-radius: 16px; background: var(--green-panel); color: #fff; box-shadow: 0 18px 40px -14px rgba(0,0,0,.7); }
.ct-bar[hidden] { display: none; }
.ct-bar span { font: 600 11px var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ct-bar b { font: 400 20px/1.2 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; }
.ct-sub { margin: 22px 0 10px; font-size: 14px; font-weight: 600; }
.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.ct-field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.ct-field i { font-style: normal; font-weight: 400; color: var(--muted); }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-weight: 400; }
.ct-field textarea { resize: vertical; }
.ct-field :is(input, select, textarea):focus { outline: none; border-color: var(--accent); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips label { position: relative; cursor: pointer; }
.ct-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; transition: border-color .25s, background .25s; }
.ct-chips input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.ct-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ct-plus { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.ct-submit { height: 54px; padding: 0 30px; cursor: pointer; }
.ct-card { display: grid; gap: 18px; max-width: 860px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); background: var(--surface); }
.ct-sum__empty { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 15px; }
.ct-sum__block { margin-top: 22px; }
.ct-sum__label { display: block; font-size: 13px; color: rgba(255,255,255,.65); }
.ct-sum__big { margin-top: 6px; font: 400 clamp(38px, 3.6vw, 58px)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ct-sum .wd-est__lines { margin: 16px 0 0; }
.ct-sum__warn { margin-top: 18px; font-size: 14px; font-weight: 700; color: #ff7b7b; }
@media (max-width: 899px) {
  .ct { grid-template-columns: 1fr; }
  .ct__intro { position: static; }
}
@media (max-width: 599px) { .ct-switch, .ct-fields { grid-template-columns: 1fr; } }

/* ---------- How it works + No lock-in: Fluexa splits (pages/sections.css .fx-split) with row lists at the bottom ---------- */
.wd-rows, .wd-kv { list-style: none; }
.wd-rows li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.wd-rows li:first-child { border-top: 1px dashed var(--line); }
.wd-rows__big { font: 400 clamp(40px, 3.6vw, 60px)/1 var(--font-display); letter-spacing: -.04em; }
.wd-rows li:first-child .wd-rows__big { color: var(--accent); }
.wd-rows div { display: grid; justify-items: end; text-align: right; gap: 4px; }
.wd-rows b { font-weight: 600; font-size: 17px; }
.wd-rows small { font: 600 var(--fs-label) var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wd-kv li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.wd-kv li:last-child { border-bottom: 0; }
.wd-kv b { font-weight: 600; font-size: 17px; }
.wd-kv span { color: var(--muted); text-align: right; }

/* ---------- Web Design sections: tablet + phone ---------- */
@media (max-width: 899px) {
  .wd-anat__grid { grid-template-columns: 1fr; }
  .wd-anat__stick { position: sticky; top: 70px; z-index: 2; }
  .wd-shot { height: 44vh; border-radius: 14px; }
  .wd-anat__list { padding: 24px 0 0; }
  .wd-anat__list li { min-height: 36vh; align-items: flex-start; }
  .wd-est__grid { grid-template-columns: 1fr; }
  .wd-presets__row { grid-template-columns: 1fr; gap: 10px; }
  .wd-est__side { position: static; }
  .wd-opts--3 { grid-template-columns: 1fr; }
  .wd-est__bar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    border-radius: 16px; background: var(--green-panel); color: #fff; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); translate: 0 160%; transition: translate .45s cubic-bezier(.2,.8,.2,1); }
  .wd-est__bar.is-shown { translate: 0 0; }
  .wd-est__bar span { font: 600 11px var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }
  .wd-est__bar b { font: 400 19px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .wd-est__bar em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
  .wd-est__bar span, .wd-est__bar b { white-space: nowrap; }
}
@media (max-width: 599px) {
  .wd-opts--2 { grid-template-columns: 1fr; }
}

/* ---------- Service hero trial (Paid Ads): data-variant = full (homepage hero) · altrum · grid ----------
   altrum: Altrum's inner-page frame (65vh, vignette, blinds bars, + marks), text in the same places as full.
   grid:   same frame; the word leads top-left like Altrum's, and the rest sits on the four-column + grid below. */
.svh__vignette, .svh__lines, .svh__grid { display: none; }
.svh:is([data-variant="altrum"], [data-variant="flip"], [data-variant="grid"]) { height: max(65vh, 540px); min-height: 0; }
.svh:is([data-variant="altrum"], [data-variant="flip"], [data-variant="grid"]) .hero__frame { padding: 110px var(--gutter) 44px; }
.svh:is([data-variant="altrum"], [data-variant="flip"], [data-variant="grid"]) .hero__media::after { display: none; }
.svh:is([data-variant="altrum"], [data-variant="flip"], [data-variant="grid"]) .svh__vignette { display: block; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle, rgba(7,7,7,0) 18%, rgba(7,7,7,.55)), linear-gradient(180deg, rgba(7,7,7,.45), rgba(7,7,7,0) 30%, rgba(7,7,7,0) 60%, rgba(7,7,7,.7)); }
.svh:is([data-variant="altrum"], [data-variant="flip"], [data-variant="grid"]) .svh__lines { display: flex; position: absolute; inset: auto 0 0; z-index: 3; height: 60vh; flex-direction: column; justify-content: space-between; pointer-events: none; }
.svh__lines span { display: block; height: 0; background: var(--bg); }
.svh:is([data-variant="altrum"], [data-variant="flip"]) .hero__word { font-size: clamp(52px, 10vw, 190px); }
.svh:is([data-variant="altrum"], [data-variant="flip"]) .hero__intro p { margin: 12px 0 20px; }
/* flip: the same as altrum, mirrored — wordmark and keywords on the left, crumb, intro and buttons on the right */
.svh[data-variant="flip"] .hero__top { justify-content: flex-start; }
.svh[data-variant="flip"] .hero__bottom { grid-template-columns: 1fr minmax(260px, 380px); }
.svh[data-variant="flip"] .hero__word { order: -1; text-align: left; }
@media (max-width: 900px) { .svh[data-variant="flip"] .hero__bottom { grid-template-columns: 1fr; } }

/* grid: word top-left; + row; then crumb · keywords · intro and buttons, each on the column grid */
.svh[data-variant="grid"] .hero__frame { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr auto auto auto; column-gap: 10px; }
.svh[data-variant="grid"] .hero__bottom, .svh[data-variant="grid"] .hero__intro { display: contents; }
.svh[data-variant="grid"] .hero__word { position: relative; z-index: 2; grid-column: 1 / -1; grid-row: 1; align-self: start; text-align: left; font-size: clamp(88px, 15.6vw, 240px); line-height: .85; }
.svh[data-variant="grid"] .svh__grid { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; position: relative; z-index: 2; }
.svh[data-variant="grid"] .hero__intro .ebx { grid-column: 1; grid-row: 3; align-self: start; position: relative; z-index: 2; }
.svh[data-variant="grid"] .hero__top { position: relative; z-index: 2; grid-column: 2; grid-row: 3 / 5; align-self: start; flex-direction: column; justify-content: flex-start; gap: 8px; }
.svh[data-variant="grid"] .hero__top span:nth-child(even) { display: none; }   /* the // separators */
.svh[data-variant="grid"] .hero__intro p { grid-column: 3 / 5; grid-row: 3; margin: 0 0 20px; max-width: 34em; position: relative; z-index: 2; }
.svh[data-variant="grid"] .hero__intro .dp-actions { grid-column: 3 / 5; grid-row: 4; position: relative; z-index: 2; }
@media (max-width: 900px) {   /* phones: a plain stack — word up top, crumb, intro and buttons at the bottom */
  .svh[data-variant="grid"] .hero__frame { display: flex; flex-direction: column; }
  .svh[data-variant="grid"] .hero__word { order: -1; margin-bottom: auto; font-size: clamp(52px, 17vw, 140px); white-space: normal; }
  .svh[data-variant="grid"] :is(.svh__grid, .hero__top) { display: none; }
  .svh[data-variant="grid"] .hero__intro p { margin: 12px 0 20px; max-width: none; }
}



