/* ============================================================
   Rankd agency site: design system
   "The operator's field map." Warm paper, deep ink-violet bands,
   violet as the one accent, and the geo-grid (green / amber / coral
   rank dots) as the only data colors. Type: Bricolage Grotesque
   (display), Hanken Grotesk (body), JetBrains Mono (labels, data,
   coordinates).

   Agency pages load: Google Fonts, this file, chrome.css, site.js.
   They do NOT load brand.css or landing.css.
   Handbook with every snippet: design-system.md (scratch folder).

   Contents
   01 Tokens            09 Services (feature + list)   17 Forms
   02 Base              10 Booked-jobs pipeline        18 CTA band
   03 Layout            11 Trades                      19 Page hero + breadcrumb
   04 Type helpers      12 Process route               20 Prose
   05 Buttons + links   13 Spotlight + stat chips      21 Sticky aside layout
   06 Section heads     14 Areas map (night band)      22 Case study parts
   07 Geo-grid          15 Posts + products band       23 Utilities + motion
   08 Frames + hero     16 FAQ
   ============================================================ */

/* ---------- 01 Tokens ---------- */
:root {
  color-scheme: light;

  /* paper and ink */
  --paper: #fbf8f3;
  --paper-2: #f4efe6;
  --paper-3: #ece5d8;
  --card: #fffdf9;
  --ink: #1d1830;
  --ink-2: #474157;
  --ink-3: #6b6579;
  --ink-4: #958ea4;
  --line: #e6dfd3;
  --line-2: #d6ccbc;

  /* violet, the one accent */
  --violet: #7c3aed;
  --violet-deep: #5b21b6;
  --violet-ink: #3b1c7a;
  --violet-soft: #efe8fd;
  --violet-wash: #f5f0fd;
  --violet-light: #b69cff; /* accent text on night bands */

  /* night bands and footer */
  --night: #1d1830;
  --night-2: #282142;
  --night-3: #352c55;
  --night-line: rgba(255, 255, 255, .12);
  --night-text: #f3effa;
  --night-muted: #b8b0cc;

  /* geo-grid data colors. Data only, never decoration. */
  --rank-top: #1f9d57;  /* positions 1 to 3 */
  --rank-mid: #e3a008;  /* positions 4 to 10 */
  --rank-low: #e4572e;  /* 11 and up */
  --rank-top-soft: #dcf2e5;
  --rank-mid-soft: #fbefcc;
  --rank-low-soft: #fbe3da;

  /* type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-hero: clamp(2.5rem, 1.25rem + 3.2vw, 3.9rem);
  --fs-h1: clamp(2.25rem, 1.3rem + 2.9vw, 3.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.2vw, 3.2rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .45vw, 1.5rem);
  --fs-lead: clamp(1.08rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* space */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --section-y: clamp(72px, 8.5vw, 128px);
  --container: 1240px;
  --gutter: clamp(16px, 3.2vw, 32px);

  /* shape and depth */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(29, 24, 48, .06), 0 1px 1px rgba(29, 24, 48, .04);
  --shadow-2: 0 14px 34px -18px rgba(29, 24, 48, .32), 0 2px 6px -2px rgba(29, 24, 48, .08);
  --shadow-3: 0 44px 80px -40px rgba(29, 24, 48, .5), 0 18px 36px -24px rgba(29, 24, 48, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* paper grain, applied to paper surfaces */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .09 0 0 0 0 .19 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 02 Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh;
  background-color: var(--paper); background-image: var(--grain);
  color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.04;
  letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}
p, figure, blockquote, dl, dd { margin: 0; }
p { text-wrap: pretty; }
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
b, strong { font-weight: 700; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet-soft); color: var(--violet-ink); }
main { display: block; }

/* ---------- 03 Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }
.container--prose { max-width: 800px; }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }
.section--tint { background-color: var(--paper-2); background-image: var(--grain); }
.section--wash { background-color: var(--violet-wash); background-image: var(--grain); }
.section--rule { border-top: 1px solid var(--line); }
.section--night {
  background-color: var(--night); color: var(--night-text);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 88px 88px;
}
.section--night h1, .section--night h2, .section--night h3, .section--night h4, .section--night b, .section--night strong { color: #fff; }
.section--night p { color: var(--night-muted); }
.section--night .lead { color: var(--night-text); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split--center { align-items: center; }
@media (max-width: 899px) {
  .split, .split--5-7, .split--7-5, .split--4-8 { grid-template-columns: minmax(0, 1fr); }
}
.stack > * + * { margin-top: var(--stack, 16px); }

/* ---------- 04 Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 700; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase; color: var(--violet-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.section--night .eyebrow { color: var(--violet-light); }
.coord {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1.3;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.coord::before { /* survey crosshair */
  content: ""; width: 11px; height: 11px; flex: none; border-radius: 50%;
  border: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
              linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}
.section--night .coord { color: var(--night-muted); }
.display { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.045em; }
.h1 { font-size: var(--fs-h1); letter-spacing: -.04em; }
.h2 { font-size: var(--fs-h2); letter-spacing: -.035em; }
.h3 { font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--violet); }

/* a dashed route drawn under a phrase, ending in a pin */
.route { position: relative; white-space: nowrap; display: inline-block; }
.route::after {
  content: ""; position: absolute; left: .02em; right: .24em; bottom: -.14em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 12 C 60 2, 110 18, 170 9 S 260 4, 298 10' fill='none' stroke='%237c3aed' stroke-width='3.2' stroke-linecap='round' stroke-dasharray='9 7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.route::before {
  content: ""; position: absolute; right: .04em; bottom: -.155em; width: .19em; height: .19em; border-radius: 50%;
  background: var(--violet); box-shadow: 0 0 0 .05em var(--paper);
}

/* ---------- 05 Buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; cursor: pointer;
  font-family: var(--font-sans); font-size: 16px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--violet); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 24px -12px rgba(124, 58, 237, .9);
}
.btn--primary:hover { background: var(--violet-deep); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 12px 24px -14px rgba(29, 24, 48, .8); }
.btn--ink:hover { background: #2d2548; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--violet-soft); color: var(--violet-ink); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* inline keyword links: every internal link in body copy */
.link, .prose a, .lead a, .answer a, .body-link a {
  color: var(--violet-deep); font-weight: 600; text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, .35); text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.link:hover, .prose a:hover, .lead a:hover, .answer a:hover, .body-link a:hover { color: var(--violet); text-decoration-color: currentColor; }
.section--night .link, .section--night .lead a, .section--night .body-link a { color: #fff; text-decoration-color: rgba(182, 156, 255, .6); }
.section--night .link:hover, .section--night .body-link a:hover { color: var(--violet-light); }

/* text link with an arrow, for the one secondary action in a block */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--violet), var(--violet)) left calc(100% - 10px) / 100% 2px no-repeat;
  transition: color .15s ease, background-size .25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--violet-deep); }
.link-arrow:hover svg { transform: translateX(3px); }
.section--night .link-arrow { color: #fff; background-image: linear-gradient(var(--violet-light), var(--violet-light)); }

/* headline links (a keyword link that is the block title) */
.title-link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size .25s var(--ease), color .15s ease; }
.title-link:hover { color: var(--violet-deep); background-size: 100% 2px; }
.title-link svg { display: inline-block; width: .7em; height: .7em; margin-left: .2em; vertical-align: -.02em; transition: transform .2s var(--ease); }
.title-link:hover svg { transform: translateX(3px); }

/* ---------- 06 Section heads ---------- */
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin-top: 16px; font-size: var(--fs-h2); letter-spacing: -.035em; }
.sec-head > p:not(.eyebrow) { margin-top: 18px; max-width: 62ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center > p:not(.eyebrow) { margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; }
.sec-head--split > p:not(.eyebrow) { margin-top: 0; }
.section--night .sec-head > p:not(.eyebrow) { color: var(--night-muted); }
@media (max-width: 899px) { .sec-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 07 Geo-grid ---------- */
/* A map pack scan: numbered dots over a map. Green 1 to 3, amber 4 to 10,
   coral 11 and up. Any illustrative grid carries a visible "Illustration"
   caption and no client name. */
.geogrid { --dot: 28px; --gap: 10px; --cols: 7; position: relative; display: inline-block; }
.gg-dots { display: grid; grid-template-columns: repeat(var(--cols), var(--dot)); gap: var(--gap); }
.gg-dot {
  width: var(--dot); height: var(--dot); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: calc(var(--dot) * .4); font-weight: 700; line-height: 1; color: #fff;
  background: var(--ink-4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 4px 8px -3px rgba(29, 24, 48, .45);
}
.gg-top { background: var(--rank-top); }
.gg-mid { background: var(--rank-mid); color: var(--ink); }
.gg-low { background: var(--rank-low); }
.gg-none { background: var(--card); color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.gg-home { position: relative; }
.gg-home::after { /* the business's own pin at the center of the scan */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--violet); pointer-events: none;
}
.gg-cap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 16px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.gg-legend { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; }
.gg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gg-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.gg-legend .t { background: var(--rank-top); } .gg-legend .m { background: var(--rank-mid); } .gg-legend .l { background: var(--rank-low); }
.section--night .gg-dot { box-shadow: 0 0 0 2px var(--night), 0 4px 10px -3px rgba(0, 0, 0, .6); }
.section--night .gg-cap, .svc-feature .gg-cap { color: var(--night-muted); }
.svc-feature .gg-dot { box-shadow: 0 0 0 2px var(--night), 0 4px 10px -3px rgba(0, 0, 0, .6); }
/* dots settle into place (site.js sets --i and adds .is-in) */
.rk-js .geogrid .gg-dot { opacity: 0; transform: translateY(-12px) scale(.55); }
.rk-js .geogrid.is-in .gg-dot {
  opacity: 1; transform: none;
  transition: opacity .35s ease, transform .55s cubic-bezier(.3, 1.4, .5, 1);
  transition-delay: calc(var(--i, 0) * 18ms);
}

/* map sheet: survey frame with tick marks and corner coordinates */
.mapsheet { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background-color: var(--card); }
.mapsheet::before, .mapsheet::after { content: ""; position: absolute; pointer-events: none; z-index: 1; }
.mapsheet::before { left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 36px); }
.mapsheet::after { top: 0; bottom: 0; left: 0; width: 7px; background: repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 36px); }
.ms-label {
  position: absolute; z-index: 2; padding: 3px 6px; border-radius: 4px; background: rgba(255, 253, 249, .85);
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.ms-label--tl { top: 12px; left: 14px; } .ms-label--tr { top: 12px; right: 12px; }
.ms-label--bl { bottom: 10px; left: 14px; } .ms-label--br { bottom: 10px; right: 12px; }

/* ---------- 08 Frames + hero ---------- */
.frame {
  position: relative; container-type: inline-size;
  background: var(--card); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(29, 24, 48, .09), var(--shadow-3);
}
.frame-bar {
  display: flex; align-items: center; gap: 2.4cqi;
  height: clamp(18px, 4.2cqi, 30px); padding: 0 2.2cqi;
  background: #f0ebe2; border-bottom: 1px solid var(--line);
}
.frame-dots { display: flex; gap: 1.1cqi; flex: none; }
.frame-dots i { width: clamp(5px, 1.35cqi, 9px); aspect-ratio: 1; border-radius: 50%; background: #d4cabb; }
.frame-url {
  flex: 1; max-width: 58%; margin-inline: auto; overflow: hidden;
  height: clamp(11px, 2.7cqi, 19px); border-radius: 5px; background: var(--card);
  display: flex; align-items: center; justify-content: flex-start; gap: 5px; padding-inline: .7em;
  font-family: var(--font-mono); font-size: clamp(6px, 1.55cqi, 11px); font-weight: 500; color: var(--ink-3); white-space: nowrap;
}
.frame-url::before { /* padlock */
  content: ""; width: .8em; height: .9em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Crect x='1' y='5' width='8' height='6.5' rx='1.4' fill='%23958ea4'/%3E%3Cpath d='M3 5.5V3.6a2 2 0 0 1 4 0v1.9' fill='none' stroke='%23958ea4' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.frame-bar::after { content: ""; flex: none; width: calc(3 * clamp(5px, 1.35cqi, 9px) + 2.2cqi); }
.frame > img { width: 100%; height: auto; object-fit: cover; object-position: top center; }
/* phone: sized in % so it scales with whatever box holds it */
.frame--phone {
  border-radius: 15% / 6.9%; padding: 3.6%; background: var(--night);
  box-shadow: 0 0 0 1px rgba(29, 24, 48, .2), inset 0 0 0 1.5px #3a3259, var(--shadow-3);
}
.frame--phone > img { border-radius: 11.5% / 5.3%; }
.frame--phone::before { /* speaker island */
  content: ""; position: absolute; top: 2.9%; left: 50%; z-index: 1; transform: translateX(-50%);
  width: 27%; aspect-ratio: 4.2 / 1; border-radius: 99px; background: var(--night);
}
.frame-cap {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
  font-size: 14px; color: var(--ink-3);
}
.frame-cap b { color: var(--ink); font-weight: 700; }

/* numbered map pins (01, 02, 03) that tie a screenshot to its label */
.pin {
  --pin: 34px; position: relative; display: inline-grid; place-items: center; flex: none;
  width: var(--pin); height: var(--pin); border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 8px 16px -6px rgba(29, 24, 48, .55);
}
.pin > span { transform: rotate(45deg); font-family: var(--font-mono); font-size: calc(var(--pin) * .36); font-weight: 700; color: #fff; }
.pin--violet { background: var(--violet); }
.pin--sm { --pin: 26px; }

.hero { position: relative; overflow: hidden; padding: clamp(36px, 5.5vw, 80px) 0 clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-copy .coord { margin-bottom: 22px; }
.hero h1 { font-size: var(--fs-hero); line-height: .99; letter-spacing: -.045em; margin-top: 16px; }
.hero .lead { margin-top: 26px; max-width: 33em; }
.hero .btn-row { margin-top: 34px; }
.hero-trades {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.hero-trades span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trades span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rank-top); }

/* the three real client sites, layered on a map sheet */
.showcase { position: relative; aspect-ratio: 1 / .96; }
.showcase-map {
  position: absolute; inset: 9% 6% 5% 0;
  background: var(--card) url("/assets/map-west-pasco.svg") no-repeat 63% 78% / 150% auto;
}
.showcase-map .ms-label--bl { left: 60%; bottom: 12px; }
.showcase-map::marker { content: none; }
.sc { position: absolute; }
.sc-2 { top: 0; right: 0; width: 83%; z-index: 1; }
.sc-3 { left: 0; bottom: 5%; width: 57%; z-index: 2; }
.sc-1 { right: 3%; bottom: 0; width: 24%; z-index: 3; }
.sc .pin { position: absolute; z-index: 4; }
.sc-2 .pin { top: -12px; left: -12px; }
.sc-3 .pin { top: -12px; left: -12px; }
.sc-1 .pin { top: -10px; left: -14px; }
.showcase .gg-chip {
  position: absolute; z-index: 3; left: 3%; top: 38%;
  padding: 10px 12px 9px; border-radius: 12px; background: rgba(255, 253, 249, .94);
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2);
}
.showcase .gg-chip .geogrid { --dot: 10px; --gap: 5px; --cols: 5; }
.showcase .gg-chip .gg-dot { font-size: 0; box-shadow: none; }
.showcase .gg-chip .gg-cap { margin-top: 8px; font-size: 8.5px; letter-spacing: .12em; }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .showcase { max-width: 640px; }
}
@media (max-width: 479px) {
  .hero .btn-row .btn { width: 100%; }
  .hero .btn-row { gap: 10px; }
}
@media (max-width: 599px) {
  .showcase { aspect-ratio: 1 / 1.02; margin-top: 8px; }
  .sc-2 { width: 88%; }
  .sc-3 { width: 62%; bottom: 8%; }
  .sc-1 { width: 27%; right: 0; }
  .showcase .ms-label { display: none; }
  .pin { --pin: 28px; }
}

/* client strip: the ledger of sites we run */
.clients { border-top: 1.5px solid var(--ink); margin-bottom: clamp(48px, 6vw, 88px); }
.clients-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.clients-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.client { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 22px 24px 24px 0; }
.client + .client { padding-left: 24px; border-left: 1px solid var(--line-2); }
.client .pin { --pin: 30px; grid-row: span 3; margin-top: 4px; }
.client-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.client-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.client-visit { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; width: fit-content; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.client-visit:hover { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.client-visit svg { width: 13px; height: 13px; }
@media (max-width: 899px) {
  .clients-list { grid-template-columns: minmax(0, 1fr); }
  .client, .client + .client { padding: 18px 0; border-left: 0; }
  .client + .client { border-top: 1px solid var(--line); }
}

/* origin story band */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-photo { position: relative; }
.story-photo img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; object-position: 60% 30%; border-radius: var(--r-lg); }
.story-photo figcaption { margin-top: 14px; }
.story-photo .stamp {
  position: absolute; right: -14px; bottom: 58px; padding: 12px 14px; border-radius: 12px;
  background: var(--night); color: var(--night-text); box-shadow: var(--shadow-2);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6;
}
.story-photo .stamp b { display: block; color: #fff; font-size: 12px; }
.story h2 { font-size: var(--fs-h2); letter-spacing: -.035em; margin-top: 16px; }
.story-body { margin-top: 24px; display: grid; gap: 18px; font-size: 1.08rem; color: var(--ink-2); max-width: 36em; }
.pullquote {
  margin-top: 28px; padding: 18px 0 0; border-top: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ink);
}
@media (max-width: 899px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-photo .stamp { right: 12px; bottom: 60px; }
}

/* disclosure line: every Farrell case study and testimonial carries one */
.disclosure {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 22px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-3);
}
.disclosure::before {
  content: "i"; flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; border: 1.5px solid currentColor;
  font: 700 11px/1 var(--font-mono);
}
.section--night .disclosure { color: var(--night-muted); }

/* ---------- 09 Services ---------- */
.svc-feature {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-xl);
  background-color: var(--night); color: var(--night-text);
  background-image: url("/assets/map-west-pasco-night.svg");
  background-repeat: no-repeat; background-size: 62% auto; background-position: 118% 42%;
}
.svc-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 42%, rgba(29, 24, 48, .55) 75%, rgba(29, 24, 48, .2)); pointer-events: none; }
.svc-feature > * { position: relative; }
.svc-feature .tag-start {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 6px;
  background: #17804a; color: #fff; font: 700 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
}
.svc-feature h3 { margin-top: 18px; font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.8rem); letter-spacing: -.045em; color: #fff; }
.svc-feature > div > p { margin-top: 16px; max-width: 34em; font-size: var(--fs-lead); color: var(--night-muted); }
.svc-feature .body-link { margin-top: 26px; font-size: 1.05rem; color: var(--night-text); }
.svc-feature .body-link a { color: #fff; text-decoration-color: rgba(182, 156, 255, .7); }
.checklist { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--night-line); counter-reset: ck; }
.checklist li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--night-line); color: var(--night-text); font-size: 1rem;
}
.checklist li { counter-increment: ck; }
.checklist li::before { content: counter(ck, decimal-leading-zero); font: 700 11.5px/1 var(--font-mono); letter-spacing: .08em; color: var(--violet-light); }
.svc-feature .geogrid { --dot: clamp(22px, 2.6vw, 34px); --gap: clamp(7px, .9vw, 12px); justify-self: center; }
.checklist--light { border-top-color: var(--line-2); }
.checklist--light li { color: var(--ink-2); border-bottom-color: var(--line-2); }
.checklist--light li::before { color: var(--violet-deep); }
@media (max-width: 899px) {
  .svc-feature { grid-template-columns: minmax(0, 1fr); background-size: 120% auto; background-position: 50% 110%; }
  .svc-feature::before { background: linear-gradient(180deg, var(--night) 55%, rgba(29, 24, 48, .5)); }
  .svc-feature .geogrid { justify-self: start; }
}

.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 48px); margin-top: clamp(28px, 4vw, 48px); }
.svc-item { padding: 22px 0 30px; border-top: 1px solid var(--line-2); }
.svc-num { display: block; font: 700 11px/1 var(--font-mono); letter-spacing: .12em; color: var(--ink-3); }
.svc-item h3 { margin-top: 14px; font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.15; }
.svc-item p { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.6; }
@media (max-width: 1023px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10 Booked-jobs pipeline ---------- */
.pipeline {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
}
.pipe-step { position: relative; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.pipe-step + .pipe-step { border-left: 1.5px dashed var(--line-2); }
.pipe-step + .pipe-step::before, .pipe-step + .pipe-step::after { /* ticket perforation notches */
  content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line-2);
}
.pipe-step + .pipe-step::before { top: -12px; clip-path: inset(50% 0 0 0); }
.pipe-step + .pipe-step::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.pipe-no { font: 700 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-deep); }
.pipe-step h3 { margin-top: 14px; font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.15; }
.pipe-step p { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); }
.pipe-slip {
  margin-top: auto; padding-top: 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.slip { border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); padding: 12px; display: grid; gap: 8px; }
.slip-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.slip-row + .slip-row { padding-top: 8px; border-top: 1px dashed var(--line-2); }
.chip-src { display: inline-flex; align-items: center; gap: 6px; }
.chip-src i { width: 7px; height: 7px; border-radius: 2px; background: var(--violet); }
.chip-ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 5px; background: var(--rank-top-soft); color: #13663a; font-weight: 700; }
.chip-no { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 5px; background: var(--paper-2); color: var(--ink-3); font-weight: 700; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
.formula span { padding: 8px 6px; border-radius: 8px; background: var(--paper-2); }
.formula em { font-style: normal; font-size: 16px; color: var(--ink-3); }
.formula .formula-out { grid-column: 1 / -1; padding: 10px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .1em; }
.pipeline-foot { margin-top: 26px; max-width: 70ch; color: var(--ink-2); }
@media (max-width: 899px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .pipe-step + .pipe-step { border-left: 0; border-top: 1.5px dashed var(--line-2); }
  .pipe-step + .pipe-step::before { top: -12px; left: -12px; clip-path: inset(0 0 0 50%); }
  .pipe-step + .pipe-step::after { top: -12px; bottom: auto; left: auto; right: -12px; clip-path: inset(0 50% 0 0); }
}

/* ---------- 11 Trades ---------- */
.trades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.trade { padding: 28px clamp(18px, 2vw, 28px) 34px; display: flex; flex-direction: column; gap: 12px; }
.trade:first-child { padding-left: 0; }
.trade + .trade { border-left: 1px solid var(--line-2); }
.trade-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.trade-ico svg { width: 24px; height: 24px; }
.trade h3 { margin-top: 8px; font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.12; }
.trade p { font-size: var(--fs-small); color: var(--ink-2); }
.trade .trade-meta {
  margin-top: auto; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;
  padding: 7px 12px 7px 10px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 12px/1.3 var(--font-mono); letter-spacing: 0; color: var(--ink-2);
}
.trade .trade-meta::before {
  content: ""; flex: none; width: 13px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b6579' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.8'/%3E%3Cpath d='m10.6 10.6 3.4 3.4'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 1023px) {
  .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trade:nth-child(3) { padding-left: 0; border-left: 0; }
  .trade:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 599px) {
  .trades { grid-template-columns: minmax(0, 1fr); }
  .trade, .trade:first-child, .trade:nth-child(3) { padding: 24px 0 26px; }
  .trade + .trade { border-left: 0; border-top: 1px solid var(--line-2); }
}

/* ---------- 12 Process route ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.process::before { /* the road between stops */
  content: ""; position: absolute; top: 24px; left: 24px; right: 12%; height: 0;
  border-top: 2px dashed var(--line-2);
}
.step { position: relative; }
.step-pin {
  position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font: 800 1.25rem/1 var(--font-display); box-shadow: 0 0 0 6px var(--paper-2);
}
.step:last-child .step-pin { background: var(--violet); }
.step-label { display: block; margin-top: 22px; font: 700 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { margin-top: 10px; font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.15; }
.step p { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); }
.process-note {
  margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line-2);
  max-width: 820px; color: var(--ink-2);
}
.process-note .clock { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--rank-mid-soft); color: #8a5d00; }
.process-note .clock svg { width: 19px; height: 19px; }
@media (max-width: 899px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process::before { display: none; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 56px; bottom: 6px; border-left: 2px dashed var(--line-2); }
  .step { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 18px; padding-bottom: 30px; }
  .step:last-child { padding-bottom: 0; }
  .step-pin { grid-row: span 3; }
  .step-label { margin-top: 4px; }
}

/* ---------- 13 Spotlight + stat chips ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.spot-media .stat-chips { margin-top: 32px; }
.spot-media { position: relative; }
.spot-media .frame { transform: rotate(-.6deg); }
.spot-media .frame--phone { position: absolute; z-index: 2; width: 23%; right: -3%; top: 34%; transform: rotate(2.5deg); }
.spot-body h2 { margin-top: 16px; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem); letter-spacing: -.035em; }
.spot-body > p { margin-top: 18px; color: var(--ink-2); }
.quote { margin-top: 28px; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); }
.quote p { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); font-weight: 700; line-height: 1.38; letter-spacing: -.015em; color: var(--ink); }
.quote footer { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.quote footer b { color: var(--ink); }
.stat-chips { margin-top: 28px; border-top: 1px solid var(--line-2); }
.stat-chip { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr); column-gap: 18px; align-items: baseline; padding: 14px 0 15px; border-bottom: 1px solid var(--line-2); }
.stat-chip b { grid-row: span 2; font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.stat-chip > span { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.stat-chip .stat-src { grid-column: 2; margin-top: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; line-height: 1.45; letter-spacing: .02em; color: var(--ink-3); }
.stat-src a { color: inherit; }
.section--night .stat-chip b, .section--night .stat-chip > span { color: #fff; }
.section--night .stat-chips, .section--night .stat-chip { border-color: var(--night-line); }
.section--night .stat-chip .stat-src { color: var(--night-muted); }
@media (max-width: 1023px) { .spotlight { grid-template-columns: minmax(0, 1fr); } .spot-media { margin-bottom: 24px; } }


/* ---------- 14 Areas map (night band) ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.areas h2 { margin-top: 16px; font-size: var(--fs-h2); letter-spacing: -.035em; }
.areas .lead { margin-top: 20px; }
.area-list { margin-top: 30px; border-top: 1px solid var(--night-line); }
.area-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--night-line);
}
.area-row .area-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.area-row .area-name a { color: #fff; text-decoration: underline; text-decoration-color: rgba(182, 156, 255, .55); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.area-row .area-name a:hover { color: var(--violet-light); }
.area-row .coord { color: var(--night-muted); font-size: 10.5px; }
.area-row .area-note { grid-column: 1 / -1; font-size: 14px; color: var(--night-muted); }
.areas .body-link { margin-top: 22px; color: var(--night-muted); }

.area-map { position: relative; width: 100%; max-width: 540px; margin-left: auto; aspect-ratio: 371 / 520; }
.area-map > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--night-line); }
.map-ticks { position: absolute; inset: 0; pointer-events: none; }
.map-tick { position: absolute; font: 500 9px/1 var(--font-mono); letter-spacing: .08em; color: rgba(184, 176, 204, .7); }
.map-tick--lat { right: 8px; transform: translateY(-50%); }
.map-tick--lon { bottom: 8px; transform: translateX(-50%); }
.map-label {
  position: absolute; left: var(--x); top: var(--y); transform: translate(8px, -50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: 500 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted);
}
.map-label::before { content: ""; position: absolute; left: -11px; width: 5px; height: 5px; border-radius: 50%; background: var(--night-muted); }
.map-label--left { transform: translate(calc(-100% - 8px), -50%); }
.map-label--left::before { left: auto; right: -11px; }
.map-region {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  font: 700 10.5px/1 var(--font-mono); letter-spacing: .42em; text-transform: uppercase; color: rgba(184, 176, 204, .45); white-space: nowrap;
}
.map-water { writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); letter-spacing: .5em; color: rgba(167, 139, 250, .5); }
.map-road {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: 2px 5px; border-radius: 4px; background: var(--night-2); border: 1px solid rgba(167, 139, 250, .5);
  font: 700 8.5px/1 var(--font-mono); letter-spacing: .06em; color: var(--violet-light); white-space: nowrap;
}
.map-pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; transform: translate(-13px, -100%);
  text-decoration: none; color: #fff;
}
.map-pin .pin { --pin: 26px; background: var(--violet); box-shadow: 0 0 0 3px var(--night), 0 8px 16px -6px rgba(0, 0, 0, .6); }
.map-pin .pin > span { font-size: 0; }
.map-pin .pin > span::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.map-pin-label {
  display: inline-flex; flex-direction: column; gap: 3px; padding: 7px 10px 6px; border-radius: 8px;
  background: rgba(29, 24, 48, .88); box-shadow: 0 0 0 1px var(--night-line);
  font: 700 12.5px/1.1 var(--font-sans); color: #fff; white-space: nowrap;
}
.map-pin-label small { font: 500 9px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
a.map-pin:hover .map-pin-label { background: var(--violet-deep); }
.map-pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -100%); }
.map-pin--alt .pin { background: #fff; }
.map-pin--alt .pin > span::before { background: var(--night); }
.map-grid { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.map-grid .geogrid { --dot: clamp(9px, 1.7vw, 13px); --gap: clamp(5px, .9vw, 8px); --cols: 5; }
.map-grid .gg-dot { font-size: 0; }
.map-grid-cap {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  font: 500 8.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); white-space: nowrap;
}
@media (max-width: 899px) {
  .areas { grid-template-columns: minmax(0, 1fr); }
  .area-map { margin: 8px auto 0; }
}
@media (max-width: 479px) {
  .map-label { font-size: 8.5px; }
  .map-pin-label { font-size: 11.5px; padding: 6px 8px 5px; }
  .map-region { font-size: 9px; letter-spacing: .3em; }
}

/* ---------- 15 Posts + products band ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.post { display: flex; flex-direction: column; gap: 12px; padding: 24px clamp(18px, 2.4vw, 32px) 30px; }
.post:first-child { padding-left: 0; }
.post + .post { border-left: 1px solid var(--line-2); }
.post .post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.post-meta b { color: var(--violet-deep); font-weight: 700; }
.post h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.18; }
.post p { font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 899px) {
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post, .post:first-child { padding: 22px 0 24px; }
  .post + .post { border-left: 0; border-top: 1px solid var(--line-2); }
}

.products-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.products-band h2 { margin-top: 14px; font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }
.products-band > div:first-child p { margin-top: 14px; color: var(--ink-2); max-width: 40ch; }
.prod-rows { border-top: 1px solid var(--line-2); }
.prod-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.prod-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-deep); }
.prod-row + .prod-row .prod-ico { background: #e3f1f9; color: #0b6fa0; }
.prod-ico svg { width: 21px; height: 21px; }
.prod-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.prod-line { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.prod-price { font: 700 13px/1 var(--font-mono); color: var(--ink); padding: 8px 10px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
@media (max-width: 899px) { .products-band { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .prod-row { grid-template-columns: 40px minmax(0, 1fr); } .prod-price { grid-column: 2; justify-self: start; } }

/* ---------- 16 FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; line-height: 1.4; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: transform .25s var(--ease), background-color .2s ease;
}
.faq summary:hover { color: var(--violet-deep); }
.faq details[open] > summary::after { transform: rotate(45deg); background-color: var(--violet-soft); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 64ch; }
.faq .answer > * + * { margin-top: 12px; }
@media (max-width: 899px) {
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .sec-head { position: static; }
  .faq .answer { padding-right: 0; }
}

/* ---------- 17 Forms ---------- */
.form-card {
  position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-3);
}
.form-card h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.form-card .form-intro { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-2); }
.audit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field label .opt { font-weight: 500; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.3;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .16); }
.select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%231d1830' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
}
.textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg {
  grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px;
  background: var(--rank-low-soft); color: #8f2a12; font-size: 14.5px; font-weight: 600;
}
.form-msg:focus { outline: 2px solid var(--rank-low); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--ink-3); }
.form-note a { color: var(--ink-2); font-weight: 600; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 599px) { .audit-form { grid-template-columns: minmax(0, 1fr); } .form-foot .btn { width: 100%; } }

/* ---------- 18 CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid #e3d8fa; }
.cta-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta-band h2 { margin-top: 16px; font-size: var(--fs-h2); letter-spacing: -.04em; }
.cta-band .lead { margin-top: 20px; max-width: 30em; }
.cta-band .geogrid { margin-top: 36px; --dot: 30px; --gap: 11px; --cols: 5; }
.cta-simple { text-align: center; max-width: 760px; margin-inline: auto; }
.cta-simple .eyebrow { justify-content: center; }
.cta-simple .lead { margin-inline: auto; }
.cta-simple .btn-row { justify-content: center; margin-top: 30px; }
@media (max-width: 899px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta-band .geogrid { --dot: 24px; --gap: 9px; } }

/* ---------- 19 Page hero + breadcrumb ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(24px, 3.5vw, 40px) 0 clamp(52px, 6.5vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero .crumbs { margin-bottom: clamp(32px, 5vw, 64px); }
.page-hero h1 { margin-top: 16px; font-size: var(--fs-h1); letter-spacing: -.04em; line-height: 1.02; max-width: 18em; }
.page-hero .lead { margin-top: 22px; max-width: 40em; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 899px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.proof-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 12px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.proof-chip .pin { --pin: 24px; box-shadow: none; }
.proof-chip:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--violet-deep); }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 500 11.5px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 20 Prose (long copy) ---------- */
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.65rem, 1.25rem + 1.3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.7em; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); scroll-margin-top: 100px; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--violet); }
.prose ol li::marker { font-family: var(--font-mono); font-size: .85em; font-weight: 700; color: var(--violet-deep); }
.prose blockquote { padding-left: 1.1em; border-left: 3px solid var(--violet); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.prose figure img { border-radius: var(--r-md); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th { text-align: left; font: 700 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 10px 0; border-bottom: 1.5px solid var(--ink); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose .checklist { padding-left: 0; }
.prose .checklist li + li { margin-top: 0; }
.prose .checklist li::marker { content: none; }
.callout { padding: 18px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line-2); border-left: 3px solid var(--violet); color: var(--ink-2); }
.callout--honest { border-left-color: var(--rank-mid); }
.callout > b:first-child, .callout > strong:first-child { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* ---------- 21 Sticky aside layout (long service, industry and location pages) ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); }
.aside-card h2, .aside-card h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; }
.aside-card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.aside-card .btn { margin-top: 16px; }
.aside-card--night { background: var(--night); border-color: var(--night); color: var(--night-text); }
.aside-card--night h2, .aside-card--night h3 { color: #fff; }
.aside-card--night p { color: var(--night-muted); }
.toc-label { display: block; margin-bottom: 8px; font: 700 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { display: grid; gap: 2px; counter-reset: toc; list-style: none; margin: 0; padding: 0; }
.toc a {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; min-height: 36px; padding: 6px 8px 6px 0;
  font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2); text-decoration: none; border-radius: 6px;
}
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font: 700 10.5px/1 var(--font-mono); color: var(--ink-4); }
.toc a:hover, .toc a.is-current { color: var(--violet-deep); }
@media (max-width: 1023px) {
  .with-aside { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
}

/* ---------- 22 Case study parts ---------- */
.case-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.case-summary > div { padding: 16px 20px 18px 0; border-bottom: 1px solid var(--line-2); }
.case-summary dt { font: 700 10.5px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.case-summary dd { margin-top: 6px; font-weight: 600; color: var(--ink); }
@media (max-width: 599px) { .case-summary { grid-template-columns: minmax(0, 1fr); } }
.shot { margin: 0; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.shot figcaption b { color: var(--ink); }
.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.5vw, 32px); }
@media (max-width: 599px) { .shot-pair { grid-template-columns: minmax(0, 1fr); } }
.before-after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); }
.before-after figure { position: relative; margin: 0; }
.before-after img { width: 100%; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line-2); }
.before-after .ba-tag {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 7px; background: var(--ink); color: #fff;
  font: 700 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
}
.before-after figure:last-of-type .ba-tag { background: var(--rank-top); }
.before-after figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); }
@media (max-width: 479px) { .before-after { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 23 Utilities + motion ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.nowrap { white-space: nowrap; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.rise { animation: rise .8s var(--ease) both; }
.rise-1 { animation-delay: .06s; } .rise-2 { animation-delay: .14s; } .rise-3 { animation-delay: .22s; } .rise-4 { animation-delay: .3s; }
.sc { animation: drop-in .9s var(--ease) both; }
.sc-2 { animation-delay: .15s; } .sc-3 { animation-delay: .35s; } .sc-1 { animation-delay: .55s; }
.showcase .gg-chip { animation: rise .8s var(--ease) .8s both; }

.rk-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rk-js .reveal.is-in { opacity: 1; transform: none; }
.rk-js .reveal-2 { transition-delay: .1s; } .rk-js .reveal-3 { transition-delay: .2s; } .rk-js .reveal-4 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rk-js .reveal, .rk-js .geogrid .gg-dot { opacity: 1; transform: none; }
}

@media print {
  .rk-header, .rk-drawer, .rk-footer, .cta-band { display: none !important; }
  body { background: #fff; }
}
