/* =============================================================
   PEAK VISIBILITY — site.css
   Calm, light, single-accent design. One family (Public Sans).
   No scroll animations, no glows, no gradients.
   ============================================================= */

:root {
  --white:   #FFFFFF;
  --mist:    #F1F6FE;   /* light blue tint for alternate sections */
  --tint:    #E6F0FE;   /* stronger tint: hero wash, banners */
  --rule:    #DCE6F5;   /* dividers */
  --card-bd: #BFD5F8;   /* light-blue card outline */
  --ink:     #1E2633;   /* headings */
  --text:    #4B5563;   /* body copy */
  --quiet:   #6B7280;
  --blue:    #2F7BEB;   /* the brand blue */
  --blue-dk: #1E63CC;   /* AA-contrast blue for text and buttons (5.7:1 on white) */
  --blue-dkr: #174FA6;
  --blue-lt: #E6F0FE;
  --navy:    #14213A;   /* footer */

  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1160px;
  --narrow: 720px;
  --nav-h: 72px;
  --radius: 10px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);
  --card-shadow: 0 10px 30px -12px rgba(47, 123, 235, .25);
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(var(--tint), rgba(230, 240, 254, 0)) top / 100% 320px no-repeat, var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

p + p { margin-top: 1rem; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Old decorative elements: retired */
.home-cta__glow, .page-hero__glow, .service-page-hero__glow, .article-hero__glow, .blog-hero__glow, .contact__glow, .about__visual-bg { display: none !important; }

/* ── Layout ────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gap); }
section { padding-block: var(--section); }
.section-light { background: var(--mist); }
.section-dark { background: var(--white); }


/* Shared section heading */
.section-header { max-width: 840px; margin: 0 auto 3rem; text-align: center; }

.section-title, .section-title--light { font-size: clamp(2rem, 3.8vw, 2.875rem); color: var(--ink); letter-spacing: -0.025em; }
.section-desc { margin-top: .75rem; font-size: 1.125rem; }
.section-header > * + * { margin-top: .75rem; }

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; transition: transform .3s var(--ease-out, ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--cta { background: var(--blue-dk); color: #fff; box-shadow: 0 8px 20px -10px rgba(47,123,235,.7); }
.btn--cta:hover { background: var(--blue-dkr); }
.btn--ghost { border-color: var(--blue-dk); color: var(--blue-dk); background: var(--white); }
.btn--ghost:hover { background: var(--blue-lt); }
.btn--sm { padding: .7rem 1.05rem; font-size: .9375rem; }
.btn--lg { padding: 1.05rem 1.6rem; }
.btn--full { width: 100%; }

/* Text links inside copy */
main p a, main li a, .faq__answer a {
  color: var(--blue-dk); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
main p a:hover, main li a:hover, .faq__answer a:hover { color: var(--blue-dk); text-decoration-thickness: 2px; }

/* ── Navigation ────────────────────────── */
.nav {
  position: sticky; top: 12px; z-index: 100;
  width: min(calc(var(--max) + 2rem), calc(100% - 24px)); margin: 12px auto 0;
}
/* Glass pill lives on a pseudo-element so the fixed mobile drawer is not trapped by backdrop-filter */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(191, 213, 248, .7);
  box-shadow: 0 8px 30px -14px rgba(30, 38, 51, .18);
  transition: box-shadow .3s, background-color .3s;
}
.nav--scrolled::before { background: rgba(255, 255, 255, .92); box-shadow: 0 14px 40px -16px rgba(30, 38, 51, .28); }
.nav__inner {
  padding-inline: clamp(1rem, 2vw, 1.5rem) .75rem;
  height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem;
  transition: height .3s ease;
}
.nav--scrolled .nav__inner { height: calc(var(--nav-h) - 10px); }
.nav__brand { display: flex; align-items: center; gap: .5rem; color: var(--blue); font-family: var(--font-head); font-weight: 800; font-size: 1.3125rem; letter-spacing: -0.03em; flex-shrink: 0; }
.nav__brand img { width: auto; height: 28px; }
.nav__links { display: none; margin-left: auto; align-items: center; gap: .25rem; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .7rem; font-size: .9688rem; font-weight: 500; color: var(--ink); border-radius: 6px; }
.nav__link:hover { color: var(--blue-dk); }
.nav__link--active { color: var(--blue-dk); }
.nav__dropdown { position: relative; }
.nav__dropdown-caret { display: inline-block; }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: .4rem; box-shadow: 0 10px 30px rgba(21, 32, 46, .08);
  opacity: 0; visibility: hidden; transition: opacity .12s, visibility .12s;
}
.nav__dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav__dropdown:hover .nav__dropdown-menu, .nav__dropdown:focus-within .nav__dropdown-menu { opacity: 1; visibility: visible; }
.nav__dropdown-link { display: block; padding: .6rem .75rem; border-radius: 6px; font-size: .9375rem; color: var(--ink); }
.nav__dropdown-link:hover { background: var(--mist); color: var(--blue-dk); }


.nav__client-login, .nav__cta { display: none; }
.nav__cta--active { background: var(--blue-dk); }
.nav__hamburger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (min-width: 1180px) {
  .nav__links { display: flex; }
  .nav__client-login, .nav__cta { display: inline-flex; }
  .nav__client-login { margin-left: .75rem; }
  .nav__hamburger { display: none; }
}

/* Mobile drawer */
.nav__mobile-overlay { position: fixed; inset: 0; background: rgba(21,32,46,.35); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 199; }
.nav__mobile-overlay.open { opacity: 1; visibility: visible; }
.nav__mobile {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100%); z-index: 200;
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
}
.nav__mobile.open { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .nav__mobile, .nav__mobile-overlay { transition: none; } }
.nav__mobile-close { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding-inline: 1.25rem; border-bottom: 1px solid var(--rule); }
.nav__mobile-close-logo { font-weight: 800; color: var(--ink); }
.nav__mobile-close-btn { width: 44px; height: 44px; display: grid; place-content: center; color: var(--ink); }
.nav__mobile-links { flex: 1; overflow-y: auto; padding: .75rem 1.25rem; }
.nav__mobile-link { display: block; padding: .8rem 0; font-size: 1.125rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--rule); }
.nav__mobile-sub { padding: .25rem 0 .5rem 1rem; border-bottom: 1px solid var(--rule); }
.nav__mobile-sub + .nav__mobile-link { border-top: 0; }
.nav__mobile-link:has(+ .nav__mobile-sub) { border-bottom: 0; }
.nav__mobile-sublink { display: block; padding: .45rem 0; color: var(--text); }
.nav__mobile-footer { padding: 1.25rem; border-top: 1px solid var(--rule); display: grid; gap: .75rem; }
.nav__mobile-cta { width: 100%; }


/* Legacy logo image classes (footer) */
.nav__logo-img { height: 36px; width: auto; }

/* ── Footer ────────────────────────────── */
.footer { background: var(--navy); color: #B9C2CE; padding-top: 4rem; font-size: .9688rem; }
.footer__inner { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.2fr 2fr; } }
.footer__brand .nav__brand { color: #fff; }
.footer__logo { display: inline-flex; }
.footer__tagline { margin-top: 1rem; max-width: 34ch; }
.footer__nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer__col { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.footer__col-title { color: #fff; font-size: .9688rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: 0; }
.footer__link { color: #B9C2CE; overflow-wrap: anywhere; }
.footer__link:hover { color: #fff; }
.footer__cta { margin-top: .5rem; }
.footer__bottom { margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.5rem; font-size: .875rem; }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal-link:hover { color: #fff; }

/* ── Home: hero ────────────────────────── */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #F5F9FF 70%, var(--white) 100%); }
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 0; text-align: center; clip-path: inset(-300px 0 0 0); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 16ch; margin-inline: auto; }
.hero__sub { margin: 1.5rem auto 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 50ch; }
.hero__ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* Client site mockups under the hero */
.showcase { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); height: clamp(220px, 40vw, 470px); }
.showcase__item { position: absolute; bottom: 0; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--white); border: 1px solid var(--card-bd); border-bottom: 0; box-shadow: 0 -10px 40px -18px rgba(30, 38, 51, .35); }
.showcase__item img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.showcase__item--main { left: 50%; transform: translateX(-50%); width: min(780px, 72%); z-index: 2; }
.showcase__item--left, .showcase__item--right { width: min(520px, 42%); opacity: .55; bottom: -6%; }
.showcase__item--left { left: -6%; transform: rotate(-6deg); }
.showcase__item--right { right: -6%; transform: rotate(6deg); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F6F8FB; border-bottom: 1px solid var(--rule); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.browser__url { margin-left: 10px; font-size: .75rem; color: var(--quiet); background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 1px 10px; }

/* Stats card with blue strip */

.stats__card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(30, 38, 51, .3); }

.stat { padding: 2rem 1rem; text-align: center; display: grid; justify-items: center; gap: .35rem; }
.stat + .stat { border-left: 1px solid var(--rule); }
@media (max-width: 859px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.stat svg { width: 40px; height: 40px; color: var(--blue-dk); margin-bottom: .35rem; }




/* Service cards */

.card { position: relative; background: var(--white); border: 1.5px solid var(--card-bd); border-radius: var(--radius); padding: 2rem; box-shadow: var(--card-shadow); display: grid; gap: .6rem; align-content: start; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--blue); }


.card h3 { font-size: 1.375rem; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }



/* Portfolio grid (full width) */


.portfolio__tile { position: relative; display: block; overflow: hidden; background: var(--navy); }
.portfolio__tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .4s ease, opacity .3s; opacity: .92; }
.portfolio__tile:hover img { transform: scale(1.03); opacity: 1; }




/* Why section: check cards + copy */

@media (min-width: 960px) {  .why__copy { order: 2; } }
.why__cards { display: grid; gap: 1.25rem; }
.check-card { background: var(--white); border: 1.5px solid var(--card-bd); border-radius: var(--radius); padding: 1.6rem 1.75rem; box-shadow: var(--card-shadow); }
.check-card h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin-bottom: .5rem; }
.check-card h3 svg { width: 24px; height: 24px; color: var(--blue-dk); flex-shrink: 0; }
.why__copy h2 { font-size: clamp(2rem, 3.8vw, 2.875rem); letter-spacing: -0.025em; margin-bottom: 1.25rem; }

.why__copy .btn { margin-top: 2rem; }


/* ── Long-form SEO content block ───────── */
.service-content__inner { display: grid; gap: 3rem; }
@media (min-width: 960px) { .service-content__inner { grid-template-columns: 1.15fr 1fr; gap: 4.5rem; } }
.service-content h2 { margin-bottom: 1.25rem; }
.service-content h3 { font-size: 1.25rem; margin: 0 0 1rem; }
.service-content h3 + p, .service-content ul + h3 { margin-top: 2rem; }
.service-content p { max-width: 68ch; }
.service-content ul { display: grid; gap: .65rem; }
.service-content ul li { padding-left: 1.6rem; position: relative; }
.service-content ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.service-content .btn { margin-top: 2rem; }
.service-content__inner > div > :is(p, ul, ol) + :is(h2, h3) { margin-top: 2.25rem; }
.service-content ol { display: grid; gap: .6rem; list-style: none; }

/* ── FAQ ───────────────────────────────── */
.faq__list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--card-bd); }
.faq__item { border-bottom: 1px solid var(--card-bd); }
.faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; text-align: left; font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--ink);
}
.faq__question:hover { color: var(--blue-dk); }
.faq__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--blue-dk); transition: transform .2s; }
.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding-bottom: 1.4rem; max-width: 70ch; }

/* ── Internal / blog links ─────────────── */
.internal-links { padding-block: clamp(3rem, 6vw, 4.5rem); }
.internal-links__title { font-size: 1.375rem; font-weight: 700; color: var(--ink); margin-bottom: 1.5rem; }
.internal-links__grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .internal-links__grid { grid-template-columns: repeat(3, 1fr); } }
.internal-link-card { display: block; padding: 1.25rem 1.35rem; border: 1.5px solid var(--card-bd); border-radius: var(--radius); background: var(--white); }
.internal-link-card:hover { border-color: var(--blue); }
.internal-link-card__label { display: block; font-size: .875rem; color: var(--quiet); margin-bottom: .3rem; }
.internal-link-card__title { display: block; font-weight: 600; color: var(--ink); }
.internal-link-card:hover .internal-link-card__title { color: var(--blue-dk); }

/* ── Closing call to action (bordered box) ── */
.home-cta { background: var(--white); }
.home-cta__inner {
  display: grid; gap: 1.25rem; justify-items: start;
  background: linear-gradient(135deg, var(--tint), #F7FAFF); border: 1.5px solid var(--card-bd); border-radius: 14px;
  padding: clamp(2.25rem, 5vw, 4rem);
}
.home-cta .container.home-cta__inner { width: calc(100% - 2 * var(--gap)); max-width: calc(var(--max) - 2 * var(--gap)); margin-inline: auto; }
.home-cta__title { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 18ch; }
.home-cta__accent { color: var(--blue); }
.home-cta__sub { font-size: 1.125rem; max-width: 54ch; }

.home-cta__inner > .btn { margin-top: .5rem; }

@media (max-width: 599px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .showcase__item--left, .showcase__item--right { display: none; }
  .showcase { height: auto; }
  .showcase__item--main { position: relative; left: auto; transform: none; width: 92%; margin-inline: auto; }
}

/* Brand mark colour */
.nav__brand svg { color: var(--blue); }
.footer .nav__brand { color: #fff; }
.footer .nav__brand svg { color: #6FA6F5; }

/* =============================================================
   INTERIOR PAGES
   ============================================================= */

/* Page heroes (services, about, work, process, service/location pages, blog) */
.page-hero, .service-page-hero, .blog-hero, .article-hero {
  background: linear-gradient(180deg, var(--tint) 0%, #F7FAFF 100%);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
}
.page-hero__title, .service-page-hero__title, .blog-hero__title, .article-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; margin-inline: auto;
}
.page-hero__title span, .service-page-hero__title span { color: var(--blue); }
.page-hero__sub, .service-page-hero__sub, .blog-hero__sub {
  margin: 1.25rem auto 0; font-size: 1.1875rem; max-width: 60ch;
}
.service-page-hero .btn { margin-top: 2rem; }
.article-hero__title { max-width: 26ch; }
.article-hero { text-align: left; }
.article-hero .article-hero__title { margin-inline: 0; }
.article-hero__category { display: inline-block; font-weight: 600; color: var(--blue-dk); margin-bottom: 1rem; }
.article-hero__meta { margin-top: 1.25rem; color: var(--quiet); font-size: .9688rem; }
.article-hero .container, .article-body .container { max-width: calc(760px + 2 * var(--gap)); }

/* Service / location keyword grid */
.service-keywords__intro { max-width: 68ch; margin: 0 auto 2.75rem; font-size: 1.125rem; text-align: center; }
.service-keywords__intro p + p { margin-top: 1rem; }
.service-keywords__grid { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .service-keywords__grid { grid-template-columns: 1fr 1fr; } }
.service-keyword-card { padding: 1.75rem; border: 1.5px solid var(--card-bd); border-radius: var(--radius); background: var(--white); box-shadow: var(--card-shadow); }
.service-keyword-card h2, .service-keyword-card h3 { font-size: 1.1875rem; margin-bottom: .5rem; letter-spacing: -0.01em; }
.service-content + .service-content { padding-top: 0; }

/* Services overview page */
.service-detail { border-bottom: 1px solid var(--rule); }
.service-detail.section-light, .service-detail.section-dark { background: var(--white); }
.service-detail__title { font-size: clamp(1.625rem, 3vw, 2.125rem); }
.service-detail__desc { font-size: 1.125rem; max-width: 52ch; }
.service-detail__list { display: grid; gap: .7rem; }
.service-detail__list li { padding-left: 1.6rem; position: relative; }
.service-detail__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.service-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: .75rem; }
.service-detail__more { font-weight: 600; color: var(--blue-dk); }
.service-detail__more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Cards used on work/services pages */
.services__grid, .values__grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .services__grid, .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
.service-card, .value-card { background: var(--white); border: 1.5px solid var(--card-bd); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.service-card__title, .value-card__title { font-size: 1.1875rem; }
.service-card__link { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--blue-dk); }
.values.section-dark { background: var(--white); }

/* Work page */
.work-stats { padding-block: 2.5rem; border-bottom: 1px solid var(--rule); }
.work-stats__grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .work-stats__grid { grid-template-columns: repeat(3, 1fr); } }
.work-stats__item { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .15rem; }
.work-stats__suffix { white-space: pre; }
.work-stats__num, .work-stats__suffix { font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.work-stats__label { flex-basis: 100%; color: var(--quiet); }
.work__grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 760px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .work__grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { display: block; }
.work-card__image { position: relative; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.work-card__image img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; transition: transform .3s ease; }
.work-card:hover .work-card__image img { transform: scale(1.02); }
.work-card__info { padding-top: 1rem; }
.work-card__tag { font-size: .875rem; color: var(--quiet); }
.work-card__title { font-size: 1.1875rem; margin-top: .15rem; }
.work-card:hover .work-card__title { color: var(--blue-dk); }
.work-card__result { margin-top: .35rem; font-size: .9688rem; }

/* Process page */
.process-full .container > * { max-width: 860px; margin-inline: auto; }
.process-full.section-light { background: var(--white); }
.process-full__step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; }
.process-full__step-left { display: flex; flex-direction: column; align-items: center; }
.process-full__num {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--blue); color: var(--blue-dk); font-weight: 700; background: var(--white);
}
.process-full__num--final { background: var(--blue); color: #fff; }
.process-full__line { flex: 1; width: 1.5px; background: var(--rule); margin-block: .5rem; }
.process-full__step-right { padding-bottom: 3rem; }
.process-full__step--last .process-full__step-right { padding-bottom: 0; }
.process-full__title { font-size: 1.375rem; margin-top: .45rem; }
.process-full__desc { margin-top: .6rem; max-width: 62ch; }
.process-full__deliverables { margin-top: 1.25rem; padding: 1.1rem 1.25rem; background: var(--mist); border-radius: var(--radius); }
.process-full__deliver-label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.process-full__deliverables ul { display: grid; gap: .3rem; }
.process-full__deliverables li { padding-left: 1.1rem; position: relative; }
.process-full__deliverables li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.process-full__timeline { margin-top: .75rem; font-size: .9375rem; color: var(--quiet); display: flex; align-items: center; gap: .4rem; }
.process-full__timeline svg * { stroke: var(--quiet); }
.process-full > .container > .btn { margin-top: 3rem; display: flex; width: max-content; }

/* About page */
.about-mission.section-light { background: var(--white); }
.about-mission__inner { display: block; }
.about-mission__content { max-width: 760px; margin-inline: auto; }
.about-mission__content .section-title { margin-bottom: 1.25rem; }
.about__text { font-size: 1.125rem; }
.about__text + .about__text { margin-top: 1rem; }
.about__badges { margin-top: 2rem; display: grid; gap: .75rem; }
@media (min-width: 640px) { .about__badges { grid-template-columns: 1fr 1fr; } }
.about__badge { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.about__badge svg { display: none; }
.about__badge::before { content: ""; flex-shrink: 0; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg) translateY(-2px); }

/* Contact page */
.contact { padding-block: clamp(3rem, 7vw, 5rem); }
.contact__inner { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: start; } }
.contact__title { font-size: clamp(2.125rem, 4.4vw, 3.125rem); line-height: 1.1; letter-spacing: -0.025em; }
.contact__title-accent { color: inherit; }
.contact__subtitle { margin-top: 1.25rem; font-size: 1.1875rem; max-width: 46ch; }
.contact__trust { margin-top: 2rem; display: grid; gap: .65rem; }
.contact__trust-item { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 500; }
.contact__trust-item svg path { stroke: var(--blue); }
.contact__direct { padding-top: 2rem; border-top: 1px solid var(--rule); display: grid; gap: .6rem; }
.contact__direct-label { font-weight: 600; color: var(--ink); }
.contact__direct-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.0625rem; }
.contact__direct-link:hover { color: var(--blue-dk); }
.contact__direct-link svg * { stroke: var(--blue); }
.contact-form { background: var(--white); border: 1.5px solid var(--card-bd); box-shadow: var(--card-shadow); border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: 1.1rem; }
.contact-form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field { display: grid; gap: .4rem; }
.contact-form__label { font-weight: 600; color: var(--ink); font-size: .9688rem; }
.contact-form__input {
  width: 100%; padding: .8rem .9rem; border: 1px solid #C5CDD8; border-radius: 6px;
  background: var(--white); color: var(--ink); font-size: 1rem;
}
.contact-form__input:focus { outline: 2px solid var(--blue-dk); outline-offset: 1px; border-color: var(--blue-dk); box-shadow: 0 0 0 5px rgba(30, 99, 204, .18); }
.contact-form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' stroke='%2315202E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.contact-form__textarea { min-height: 140px; resize: vertical; }
.contact-form__privacy { font-size: .875rem; color: var(--quiet); }
.contact-form .btn[disabled] { opacity: .7; cursor: default; }


/* Blog index and related posts */
.blog-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; border: 1.5px solid var(--card-bd); box-shadow: var(--card-shadow); border-radius: var(--radius); background: var(--white); }
.blog-card:hover { border-color: var(--blue); }
.blog-card__img { display: none; }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card__category { font-size: .875rem; color: var(--quiet); }
.blog-card__title { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
.blog-card:hover .blog-card__title { color: var(--blue-dk); }
.blog-card__excerpt { font-size: .9688rem; }
.blog-card__cta { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--blue-dk); font-size: .9688rem; }
.related-posts { border-top: 1px solid var(--rule); background: var(--mist); }
.related-posts__title { font-size: 1.375rem; font-weight: 700; color: var(--ink); margin-bottom: 1.5rem; }

/* Article body */
.article-body { padding-block: clamp(3rem, 6vw, 4.5rem); font-size: 1.125rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin: 2.75rem 0 1rem; }
.article-body h3 { font-size: 1.3125rem; margin: 2rem 0 .75rem; }
.article-body .container > :first-child { margin-top: 0; }
.article-body p + p { margin-top: 1.1rem; }
.article-body p + ul, .article-body p + ol, .article-body ul + p, .article-body ol + p { margin-top: 1.1rem; }
.article-body ul, .article-body ol { display: grid; gap: .5rem; }
.article-body ul li { padding-left: 1.4rem; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.article-body ol { list-style: decimal; padding-left: 1.4rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.article-body th, .article-body td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article-body th { color: var(--ink); font-weight: 600; background: var(--mist); }
.article-callout { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--blue); background: var(--blue-lt); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.article-cta { margin-top: 3rem; padding: 2rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--mist); }
.article-cta h3 { margin: 0 0 .5rem; font-size: 1.375rem; }
.article-cta .btn { margin-top: 1.25rem; }

/* Legal pages */
.legal-page__inner { max-width: calc(760px + 2 * var(--gap)); }
.legal-back { display: flex; align-items: center; gap: .4rem; width: max-content; color: var(--blue-dk); font-weight: 600; margin-bottom: 1.25rem; }
.legal-back svg { display: inline-block; }
.legal-page__body :is(ul, ol) + p { margin-top: .9rem; }
.legal-page__title { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal-page__updated { margin-top: .5rem; color: var(--quiet); }
.legal-page__body { margin-top: 2.5rem; }
.legal-page__body h2 { font-size: 1.375rem; margin: 2.25rem 0 .75rem; }
.legal-page__body ul { display: grid; gap: .4rem; margin-top: .75rem; }
.legal-page__body ul li { padding-left: 1.2rem; position: relative; }
.legal-page__body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--quiet); }

/* 404 */
.page-404 { min-height: 60vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 5rem var(--gap); gap: 1rem; }
.page-404__num { font-size: 1rem; font-weight: 600; color: var(--blue-dk); }
.page-404__title { font-size: clamp(2rem, 4vw, 2.75rem); }
.page-404__text { max-width: 46ch; }
.page-404 .btn { margin-top: 1rem; }

/* =============================================================
   MOTION & DETAILS
   Everything here is progressive: without JS (no .js on <html>)
   or with reduced motion, content is simply visible.
   ============================================================= */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Scroll reveals (hsv.design-style fade-in-up, but subtler) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.js .reveal--left { transform: translateX(-36px); }
.js .reveal--right { transform: translateX(36px); }
.js .reveal--scale { transform: scale(.96); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Nav link underline that grows from the centre */
.nav__link { position: relative; }
.nav__link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }
.nav__dropdown > .nav__link::after { right: 1.5rem; }
.nav__dropdown-menu { transform: translateY(6px); transition: opacity .2s, visibility .2s, transform .25s var(--ease-out); }
.nav__dropdown:hover .nav__dropdown-menu, .nav__dropdown:focus-within .nav__dropdown-menu { transform: none; }
.nav__dropdown-caret { transition: transform .25s; }
.nav__dropdown:hover .nav__dropdown-caret { transform: rotate(180deg); }
.nav__brand img { transition: transform .4s var(--ease-out); }
.nav__brand:hover img { transform: translateY(-2px) scale(1.06); }

/* Buttons: arrow that slides, light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cta:hover { box-shadow: 0 14px 28px -12px rgba(47,123,235,.75); }
.btn--cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-out); }
.btn--cta:hover::before { transform: translateX(120%); }

@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }

/* Hero: pill with rotating word */



@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.rotator { position: relative; display: inline-grid; color: var(--blue-dk); font-weight: 700; overflow: hidden; vertical-align: bottom; height: 1.5em; transition: width .5s var(--ease-out); }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.rotator > span.is-on { transform: none; opacity: 1; }
.rotator > span.is-out { transform: translateY(-110%); opacity: 0; }
html:not(.js) .rotator > span:first-child { transform: none; opacity: 1; }

/* Hero: headline lines rise out of a mask */




.js .hero__sub, .js .hero__ctas { opacity: 0; animation: fade-up .9s var(--ease-out) forwards; }

.js .hero__sub { animation-delay: .35s; }
.js .hero__ctas { animation-delay: .5s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero: mockups glide in, then drift with scroll (--p set by JS, 0..1) */
.showcase__item--main { transform: translateX(-50%); }
.showcase__item--left { transform: rotate(-6deg) translateY(calc(var(--p, 0) * 70px)); }
.showcase__item--right { transform: rotate(6deg) translateY(calc(var(--p, 0) * 70px)); }
.js .showcase__item { animation: mock-in 1.3s var(--ease-out) both; }
.js .showcase__item--main { animation-delay: .55s; }
.js .showcase__item--left, .js .showcase__item--right { animation-name: mock-in-side; animation-delay: .8s; }
@keyframes mock-in { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
@keyframes mock-in-side { from { opacity: 0; translate: 0 120px; } to { opacity: .55; translate: 0 0; } }

/* Floating chips beside the main mockup */









@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Soft decorative blobs + dot grid in the hero */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; left: -160px; top: -120px; background: rgba(47, 123, 235, .16); animation: drift 18s ease-in-out infinite alternate; }
.hero::after { width: 460px; height: 460px; right: -140px; top: 80px; background: rgba(120, 170, 255, .2); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }
.hero .container { position: relative; }
.hero .container::before { content: ""; position: absolute; inset: -40px -10vw 0; z-index: -1; background-image: radial-gradient(rgba(47,123,235,.18) 1.2px, transparent 1.3px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%); }

/* Stats: icons draw themselves, numbers count up */
.js .stat svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) calc(var(--d, 0ms) + 150ms); }
.js .stat.is-in svg * { stroke-dashoffset: 0; }
.stat { transition: background-color .3s; }
.stat:hover { background: #FAFCFF; }


@keyframes sheen { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }

/* Town ribbon (infinite marquee, pauses on hover) */









@keyframes marquee { to { transform: translateX(-50%); } }

/* Service cards: lift, icon fills, arrow slides */
.card { transition: border-color .25s, transform .4s var(--ease-out), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(47,123,235,.55); }





.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,123,235,.08), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.check-card, .internal-link-card, .service-card, .value-card, .blog-card, .service-keyword-card { transition: border-color .25s, transform .4s var(--ease-out), box-shadow .4s; }
.check-card:hover, .internal-link-card:hover, .service-card:hover, .value-card:hover, .blog-card:hover, .service-keyword-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 22px 44px -26px rgba(47,123,235,.55); }

/* Portfolio: blue panel wipes away to reveal each site */
.portfolio__tile::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: right; transition: transform 1s var(--ease-out) var(--d, 0ms); z-index: 2; }
.js .portfolio__tile:not(.is-in)::after { transform: scaleX(1); }
.portfolio__tile::after, .portfolio__tile.is-in::after { transform: scaleX(0); }
html:not(.js) .portfolio__tile::after { display: none; }




/* Interactive service-area map */
.areas { display: grid; overflow: hidden; border-radius: 20px; border: 1.5px solid var(--card-bd); background: var(--white); box-shadow: 0 30px 60px -36px rgba(30,38,51,.35); }
@media (min-width: 980px) { .areas { grid-template-columns: 44fr 56fr; } }




.area-btn { display: flex; align-items: center; gap: .55rem; min-height: 52px; padding: .7rem .9rem; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--white); font-weight: 600; font-size: .9375rem; color: var(--ink); text-align: left; transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease-out); }
.area-btn svg { width: 16px; height: 16px; color: var(--blue-dk); flex-shrink: 0; }
.area-btn:hover { border-color: var(--card-bd); background: var(--mist); transform: translateY(-1px); }
.area-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-lt); color: var(--blue-dk); }




.map { width: 100%; height: auto; border-radius: 12px; background: var(--white); border: 1px solid var(--rule); }


.map__river { stroke: #9CC2F5; stroke-width: 6; fill: none; stroke-linecap: round; opacity: .55; }
.js .map__river { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-out) .2s; }
.js .is-in .map__river { stroke-dashoffset: 0; }


.map__city { cursor: pointer; }

.map__city text { font: 600 12px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map__city circle.ring { fill: none; stroke: var(--blue); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }


.map__city.is-active circle.ring { animation: map-ping 1.8s var(--ease-out) infinite; }
.map__city.is-active text { fill: var(--blue-dk); }
@keyframes map-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.area-card { padding: 1.4rem 1.5rem; border-radius: 14px; background: var(--white); border: 1.5px solid var(--card-bd); border-top: 3px solid var(--blue); }
.area-card.is-swapping { animation: area-in .5s var(--ease-out); }
@keyframes area-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.area-card__kicker { font-size: .8125rem; font-weight: 600; color: var(--blue-dk); }
.area-card h3 { font-size: 1.625rem; margin: .2rem 0 .5rem; }
.area-card a { display: inline-flex; margin-top: .9rem; font-weight: 600; color: var(--blue-dk); }
.area-card a::after { content: "→"; margin-left: .35rem; transition: transform .3s var(--ease-out); }
.area-card a:hover::after { transform: translateX(4px); }

/* Closing CTA: sheen and mountain watermark */
.home-cta__inner { position: relative; overflow: hidden; isolation: isolate; }
.home-cta__inner::after { content: ""; position: absolute; z-index: -1; right: -50px; bottom: -40px; width: 460px; height: 255px; opacity: .08; background: var(--blue);
  -webkit-mask: url("../assets/logo-mark.png") center / contain no-repeat;
          mask: url("../assets/logo-mark.png") center / contain no-repeat;
  transform: translateY(calc(var(--p, 0) * -30px)); }

/* FAQ icon and hover */
.faq__question { transition: color .2s, padding-left .3s var(--ease-out); }
.faq__question:hover { padding-left: .35rem; }

/* Process page: the line draws as each step arrives */
.js .process-full__line { transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out) .3s; }
.js .process-full__step.is-in .process-full__line { transform: none; }

/* Footer: oversized outline wordmark */
.footer { position: relative; overflow: hidden; }


/* Back to top with scroll progress ring */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--blue-dk); box-shadow: 0 12px 30px -12px rgba(30,38,51,.35); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--blue); }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--sp, 0)); }
.to-top svg.arrow { width: 18px; height: 18px; }

/* Reduced motion: keep everything visible and still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  *, *::before, *::after { animation-delay: 0s !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero::before, .hero::after { animation: none !important; }
  .js .showcase__item { animation: none !important; translate: none !important; }
  .js .showcase__item--left, .js .showcase__item--right { opacity: .55; }
  
}
@media (max-width: 599px) { .showcase__item--main { transform: none; } }

/* Interior page heroes get the same entrance as the homepage */
.js :is(.page-hero, .service-page-hero, .blog-hero, .article-hero) :is(h1, p, .btn, .article-hero__category), .js .contact__left > * { opacity: 0; animation: fade-up .9s var(--ease-out) forwards; }
.js :is(.page-hero, .service-page-hero, .blog-hero, .article-hero) p { animation-delay: .15s; }
.js :is(.page-hero, .service-page-hero, .blog-hero, .article-hero) .btn { animation-delay: .3s; }
.js .contact__left > :nth-child(2) { animation-delay: .1s; }
.js .contact__left > :nth-child(3) { animation-delay: .2s; }
.js .contact__left > :nth-child(n+4) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js :is(.page-hero, .service-page-hero, .blog-hero, .article-hero) :is(h1, p, .btn, .article-hero__category), .js .contact__left > * { opacity: 1 !important; } }

/* =============================================================
   ORIGINAL-CONTENT COMPONENTS (same markup and words, new look)
   ============================================================= */

/* Labels become soft blue pills */
.section-label, .section-label--light, .service-page-hero__label, .legal-page__label, .article-hero__category, .funnel__step-label {
  display: inline-flex; align-items: center; gap: .5rem; width: max-content; max-width: 100%;
  padding: .4rem .95rem; border-radius: 999px; background: var(--blue-lt); border: 1px solid var(--card-bd);
  color: var(--blue-dk); font-family: var(--font); font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.3;
}
.section-label::before, .section-label--light::before, .service-page-hero__label::before, .legal-page__label::before, .article-hero__category::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(47,123,235,.15);
}
.section-header .section-label, .section-header .section-label--light { margin: 0 auto 1rem; }
.page-hero .section-label, .service-page-hero__label { margin: 0 auto 1.25rem; }
.about-mission__content .section-label { margin-bottom: 1rem; }

/* Homepage hero (original headline, four lines) */
.hero__headline { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; margin-inline: auto; }
.hero__headline .section-label { display: inline-flex !important; margin: 0 auto 1.4rem; font-size: .9375rem; letter-spacing: 0; line-height: 1.3; }
.hero__line { display: block; }
.hero__line--accent { color: var(--blue); }
.js .hero__line { clip-path: inset(0 0 100% 0); transform: translateY(35%); animation: line-in 1.1s var(--ease-out) forwards; }
.js .hero__line:nth-of-type(2) { animation-delay: .08s; }
.js .hero__line:nth-of-type(3) { animation-delay: .18s; }
.js .hero__line:nth-of-type(4) { animation-delay: .28s; }
@keyframes line-in { to { clip-path: inset(0 0 -15% 0); transform: none; } }
.js .hero__headline .section-label { opacity: 0; animation: fade-up .8s var(--ease-out) forwards; }
.hero__sub { margin: 1.5rem auto 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 52ch; }
.hero__ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.js .hero__sub, .js .hero__ctas { opacity: 0; animation: fade-up .9s var(--ease-out) forwards; }
.js .hero__sub { animation-delay: .45s; }
.js .hero__ctas { animation-delay: .6s; }
@media (max-width: 599px) { .hero__ctas .btn { flex: 1 1 100%; } }

/* Funnel: problem → solution → action */
.funnel { background: var(--mist); }
.funnel__inner { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 980px) { .funnel__inner { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; } }
.funnel__step { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 2rem; border-radius: 14px; background: var(--white); border: 1.5px solid var(--card-bd); box-shadow: var(--card-shadow); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .25s; }
.funnel__step:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 26px 50px -26px rgba(47,123,235,.55); }
.funnel__step-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-lt); transition: transform .4s var(--ease-out); }
.funnel__step:hover .funnel__step-icon { transform: rotate(-6deg) scale(1.06); }
.funnel__step-label { padding: .3rem .8rem; font-size: .8125rem; }
.funnel__step-title { font-size: 1.375rem; line-height: 1.25; }
.funnel__step-desc { font-size: 1rem; }
.funnel__step-cta { margin-top: auto; align-self: flex-start; }
.funnel__arrow { display: none; }
@media (min-width: 980px) { .funnel__arrow { display: grid; place-items: center; } .funnel__arrow svg { animation: nudge 2.4s ease-in-out infinite; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.funnel__step--action { background: linear-gradient(155deg, var(--blue-dk) 0%, var(--blue-dkr) 100%); border-color: transparent; color: #EEF4FE; box-shadow: 0 26px 50px -24px rgba(30,99,204,.65); }
.funnel__step--action .funnel__step-title { color: #fff; }
.funnel__step--action .funnel__step-label { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.funnel__step--action .funnel__step-icon { background: rgba(255,255,255,.18); }
.funnel__step--action .funnel__step-icon path { stroke: #fff; }
.funnel__step--action .btn--cta { background: #fff; color: var(--blue-dk); box-shadow: none; }
.funnel__step--action .btn--cta:hover { background: #F1F6FE; }

/* Service + value card icons */
.service-card__icon, .value-card__icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-lt); margin-bottom: .5rem; transition: background-color .3s, transform .4s var(--ease-out); }
.service-card__icon svg *, .value-card__icon svg * { transition: stroke .3s; }
.service-card:hover .service-card__icon, .value-card:hover .value-card__icon { background: var(--blue); transform: rotate(-6deg) scale(1.05); }
.service-card:hover .service-card__icon svg *, .value-card:hover .value-card__icon svg * { stroke: #fff; }
.service-card__link { display: inline-flex; gap: .3rem; transition: gap .3s var(--ease-out); }
.service-card:hover .service-card__link { gap: .6rem; }
.services .service-card { padding: 1.85rem; }

/* Closing CTA keeps its original single column */
.home-cta__inner { text-align: left; }

/* Footer: wordmark replaces the old gradient logo image (image kept in markup) */
.footer__logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3125rem; letter-spacing: -0.03em; }
.footer__logo::after { content: "Peak Visibility"; }
.footer::after { content: "Peak Visibility"; display: block; text-align: center; margin-top: 2.5rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.5rem, 13.5vw, 12rem); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(143, 179, 227, .28); white-space: nowrap; transform: translateY(18%); pointer-events: none; }
.footer__col-title { font-family: var(--font-head); }

/* Services page: content + illustrated visual, alternating */
.service-detail__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) {
  .service-detail__inner { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
  .service-detail__inner--reverse > .service-detail__visual { order: -1; }
  .service-detail__inner--reverse { grid-template-columns: 1fr 1.05fr; }
}
.service-detail__content { display: grid; gap: 1rem; }
.service-detail__num { font-family: var(--font-head); font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--card-bd); }
.service-detail.section-dark { background: var(--mist); }
.service-detail__visual { position: relative; }
.service-detail__mockup, .service-detail__stats-visual, .service-detail__uptime { border-radius: 16px; background: var(--white); border: 1.5px solid var(--card-bd); box-shadow: 0 30px 60px -34px rgba(30,38,51,.35); overflow: hidden; }
.service-detail__mockup-bar { display: flex; gap: 6px; padding: 12px 14px; background: #F6F8FB; border-bottom: 1px solid var(--rule); }
.service-detail__mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.service-detail__mockup-content { padding: 1.75rem; display: grid; gap: .8rem; }
.service-detail__mockup-line { height: 12px; border-radius: 6px; background: var(--tint); }
.service-detail__mockup-line--wide { width: 80%; height: 18px; background: linear-gradient(90deg, var(--blue), #7FB2FF); }
.service-detail__mockup-line--med { width: 55%; }
.service-detail__mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: .6rem; }
.service-detail__mockup-card { height: 90px; border-radius: 10px; background: var(--mist); border: 1px solid var(--rule); }
.service-detail__mockup-card:nth-child(2) { background: var(--blue-lt); }
.service-detail__code-block { border-radius: 16px; background: #14213A; padding: 1.75rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9375rem; line-height: 1.9; color: #D5DEEA; box-shadow: 0 30px 60px -30px rgba(20,33,58,.6); }
.service-detail__code-line.code-indent { padding-left: 1.5rem; }
.code-kw { color: #7FB2FF; } .code-var { color: #fff; } .code-fn { color: #9FE3C8; } .code-key { color: #B9C2CE; } .code-str { color: #F7C98B; } .code-bool, .code-num { color: #F59EB6; }
.service-detail__stats-visual { padding: 1.75rem; display: grid; gap: 1.2rem; }
.service-detail__stat-bar { display: grid; gap: .45rem; }
.service-detail__stat-label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.service-detail__bar { height: 10px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.service-detail__bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #7FB2FF); transform-origin: left; }
.js .service-detail__visual .service-detail__bar-fill { transform: scaleX(0); transition: transform 1.4s var(--ease-out) .3s; }
.js .service-detail__visual.is-in .service-detail__bar-fill { transform: none; }
.service-detail__uptime { padding: 2.5rem; display: grid; place-items: center; }
.service-detail__uptime-circle { width: 200px; height: 200px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fff 78%, transparent 79%), conic-gradient(var(--blue) 0 99.9%, var(--tint) 0); }
.service-detail__uptime-num { font-family: var(--font-head); font-size: 2.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.service-detail__uptime-label { color: var(--quiet); font-weight: 600; }

/* About page: copy + floating stat cards */
.about-mission__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about-mission__inner { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; } }
.about-mission__content { max-width: none; margin: 0; }
.about__visual { position: relative; min-height: 340px; border-radius: 20px; background: linear-gradient(150deg, var(--tint), #fff); border: 1.5px solid var(--card-bd); overflow: hidden; }
.about__visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(47,123,235,.2) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.about__visual::after { content: ""; position: absolute; right: -30px; bottom: -20px; width: 330px; height: 183px; opacity: .12; background: var(--blue);
  -webkit-mask: url("../assets/logo-mark.png") center / contain no-repeat;
          mask: url("../assets/logo-mark.png") center / contain no-repeat; }
.about__visual-bg { display: none; }
.about__visual-card { position: absolute; z-index: 1; padding: 1.25rem 1.5rem; border-radius: 14px; background: #fff; border: 1.5px solid var(--card-bd); box-shadow: 0 20px 40px -20px rgba(30,38,51,.35); animation: bob 6s ease-in-out infinite; }
.about__visual-card--1 { left: 10%; top: 16%; }
.about__visual-card--2 { right: 10%; bottom: 16%; animation-delay: -3s; }
.about__visual-stat { display: grid; }
.about__visual-num { font-family: var(--font-head); font-size: 2.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.about__visual-plus { color: var(--blue); }
.about__visual-label { color: var(--quiet); font-weight: 600; font-size: .9375rem; }
.about__badge svg { display: none; }

/* Contact headline accent */
.contact__title-accent { color: var(--blue); }

/* Work page: hover overlay */
.work-card__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30, 99, 204, .55); opacity: 0; transition: opacity .3s; }
.work-card__view-btn { padding: .7rem 1.3rem; border-radius: 999px; background: #fff; color: var(--blue-dk); font-weight: 600; transform: translateY(10px); transition: transform .4s var(--ease-out); }
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card:hover .work-card__view-btn { transform: none; }

/* Blog cards: tinted header with brand mark instead of the old logo image */
.blog-card__img { display: block; position: relative; height: 130px; border-radius: 9px 9px 0 0; background: linear-gradient(135deg, var(--tint), #fff); border-bottom: 1px solid var(--rule); overflow: hidden; }
.blog-card__img picture { display: none; }
.blog-card__img::after { content: ""; position: absolute; inset: 0; margin: auto; width: 74px; height: 54px; background: var(--blue); opacity: .3; transition: transform .5s var(--ease-out), opacity .3s;
  -webkit-mask: url("../assets/logo-mark.png") center / contain no-repeat;
          mask: url("../assets/logo-mark.png") center / contain no-repeat; }
.blog-card:hover .blog-card__img::after { transform: translateY(-4px) scale(1.08); opacity: .5; }
.browser__url::after { content: attr(data-url); }

/* Footer logo image stays visible: shown in a small white tile next to the wordmark */
.footer__logo picture { display: block; flex-shrink: 0; }
.footer__logo img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }

/* Blog cards: the logo image stays visible, centred on a tinted header */
.blog-card__img picture { display: block; position: relative; z-index: 1; }
.blog-card__img { display: grid; place-items: center; }
.blog-card__img img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #fff; padding: 4px; box-shadow: 0 10px 24px -14px rgba(30,38,51,.45); transition: transform .5s var(--ease-out); }
.blog-card:hover .blog-card__img img { transform: translateY(-3px) scale(1.05); }
.blog-card__img::after { display: none; }

/* Three-card rows (Work page "How I Work") fill the row instead of leaving an empty column */
@media (min-width: 1040px) { .services__grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }

/* Keep entrance offsets from causing sideways scroll; pause blob drift on small screens */
main { overflow-x: clip; }
@media (max-width: 768px) { .hero::before, .hero::after { animation: none; } }

/* =============================================================
   EXTRA HOMEPAGE SECTIONS (stats, town ribbon, rotating audience,
   recent work, service-area map)
   ============================================================= */
/* Stats card with blue strip */
.stats { position: relative; z-index: 3; margin-top: -1px; padding: clamp(3rem, 6vw, 4.5rem) 0 0; background: var(--mist); }
.stats__card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(30, 38, 51, .3); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2rem 1rem; text-align: center; display: grid; justify-items: center; gap: .35rem; }
.stat + .stat { border-left: 1px solid var(--rule); }
@media (max-width: 859px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.stat svg { width: 40px; height: 40px; color: var(--blue); margin-bottom: .35rem; }
.stat__num { font-family: var(--font-head); font-size: clamp(1.3125rem, 2.1vw, 1.75rem); white-space: nowrap; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.stat__label { font-size: .9688rem; color: var(--text); }
.stats__strip { background: var(--blue-dk); color: #fff; text-align: center; font-weight: 600; padding: 1.1rem 1.5rem; font-size: clamp(.9688rem, 1.4vw, 1.0625rem); }


/* Portfolio grid (full width) */
.portfolio { padding-bottom: 0; }
.portfolio__grid { display: grid; }
@media (min-width: 760px) { .portfolio__grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio__tile { position: relative; display: block; overflow: hidden; background: var(--navy); }
.portfolio__tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .4s ease, opacity .3s; opacity: .92; }
.portfolio__tile:hover img { transform: scale(1.03); opacity: 1; }
.portfolio__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.5rem 1.4rem; background: linear-gradient(transparent, rgba(10, 18, 32, .85)); color: #fff; }
.portfolio__caption strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.25rem; }
.portfolio__caption span { font-size: .9375rem; color: #D5DEEA; }


/* Hero: pill with rotating word */
.hero-pill { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; padding: .45rem 1rem .45rem .7rem; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--card-bd); font-size: .9375rem; font-weight: 500; color: var(--ink); box-shadow: 0 6px 20px -12px rgba(47,123,235,.5); }
.hero-pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero-pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.rotator { position: relative; display: inline-grid; color: var(--blue-dk); font-weight: 700; overflow: hidden; vertical-align: bottom; height: 1.5em; transition: width .5s var(--ease-out); }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.rotator > span.is-on { transform: none; opacity: 1; }
.rotator > span.is-out { transform: translateY(-110%); opacity: 0; }
.no-js .rotator > span:first-child, html:not(.js) .rotator > span:first-child { transform: none; opacity: 1; }


/* Stats: icons draw themselves, numbers count up */
.js .stat svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) calc(var(--d, 0ms) + 150ms); }
.js .stat.is-in svg * { stroke-dashoffset: 0; }
.stat { transition: background-color .3s; }
.stat:hover { background: #FAFCFF; }
.stats__strip { position: relative; overflow: hidden; }
.stats__strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-100%); animation: sheen 5s ease-in-out 2s infinite; }
@keyframes sheen { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }

/* Town ribbon (infinite marquee, pauses on hover) */
.ribbon { padding-block: clamp(2.25rem, 4vw, 3rem) 0; background: var(--mist); }
.ribbon__label { text-align: center; font-size: .9375rem; font-weight: 600; color: var(--quiet); margin-bottom: 1rem; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.5rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: #9AAFCD; letter-spacing: -0.02em; white-space: nowrap; transition: color .2s; }
.marquee__item:hover { color: var(--blue-dk); }
.marquee__item svg { width: 22px; height: 16px; color: var(--card-bd); }
@keyframes marquee { to { transform: translateX(-50%); } }


/* Portfolio: blue panel wipes away to reveal each site */
.portfolio__tile::after { content: ""; position: absolute; inset: 0; background: var(--blue-dk); transform-origin: right; transition: transform 1s var(--ease-out) var(--d, 0ms); z-index: 2; }
.js .portfolio__tile:not(.is-in)::after { transform: scaleX(1); }
.portfolio__tile::after, .portfolio__tile.is-in::after { transform: scaleX(0); }
html:not(.js) .portfolio__tile::after { display: none; }
.portfolio__caption { transition: padding .4s var(--ease-out); }
.portfolio__visit { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .875rem; font-weight: 600; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease-out); }
.portfolio__tile:hover .portfolio__visit, .portfolio__tile:focus-visible .portfolio__visit { opacity: 1; transform: none; }

/* Interactive service-area map */
.areas { display: grid; overflow: hidden; border-radius: 20px; border: 1.5px solid var(--card-bd); background: var(--white); box-shadow: 0 30px 60px -36px rgba(30,38,51,.35); }
@media (min-width: 980px) { .areas { grid-template-columns: 44fr 56fr; } }
.areas__copy { padding: clamp(1.75rem, 4vw, 3.25rem); }
.areas__copy h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); letter-spacing: -0.03em; }
.areas__copy > p { margin-top: 1rem; }
.areas__btns { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.area-btn { display: flex; align-items: center; gap: .55rem; min-height: 52px; padding: .7rem .9rem; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--white); font-weight: 600; font-size: .9375rem; color: var(--ink); text-align: left; transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease-out); }
.area-btn svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.area-btn:hover { border-color: var(--card-bd); background: var(--mist); transform: translateY(-1px); }
.area-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-lt); color: var(--blue-dk); }
.areas__map { position: relative; padding: clamp(1.25rem, 3vw, 2.25rem); background: radial-gradient(circle at 70% 15%, #DCE9FD 0, transparent 55%), var(--mist); border-top: 1.5px solid var(--card-bd); display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 980px) { .areas__map { border-top: 0; border-left: 1.5px solid var(--card-bd); } }
.areas__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8125rem; font-weight: 600; color: var(--quiet); }
.areas__top span { display: inline-flex; align-items: center; gap: .4rem; }
.areas__top span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.map { width: 100%; height: auto; border-radius: 12px; background: var(--white); border: 1px solid var(--rule); }
.map__grid { fill: url(#mapdots); }
.map__border { stroke: #A9C3EC; stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.map__river { stroke: #9CC2F5; stroke-width: 6; fill: none; stroke-linecap: round; opacity: .55; }
.js .map__river { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-out) .2s; }
.js .is-in .map__river { stroke-dashoffset: 0; }
.map__label { font: 700 11px var(--font); letter-spacing: .2em; fill: #8FA3C0; }
.map__river-label { font: 600 10px var(--font); letter-spacing: .08em; fill: #7FA6DA; }
.map__city { cursor: pointer; }
.map__city circle.dot { fill: var(--white); stroke: var(--blue); stroke-width: 2.5; transition: r .3s var(--ease-out), fill .3s; }
.map__city text { font: 600 12px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map__city circle.ring { fill: none; stroke: var(--blue); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map__city:hover circle.dot { r: 8; }
.map__city.is-active circle.dot { fill: var(--blue); r: 8; }
.map__city.is-active circle.ring { animation: map-ping 1.8s var(--ease-out) infinite; }
.map__city.is-active text { fill: var(--blue-dk); }
@keyframes map-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.area-card { padding: 1.4rem 1.5rem; border-radius: 14px; background: var(--white); border: 1.5px solid var(--card-bd); border-top: 3px solid var(--blue); }
.area-card.is-swapping { animation: area-in .5s var(--ease-out); }
@keyframes area-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.area-card__kicker { font-size: .8125rem; font-weight: 600; color: var(--blue-dk); }
.area-card h3 { font-size: 1.625rem; margin: .2rem 0 .5rem; }
.area-card a { display: inline-flex; margin-top: .9rem; font-weight: 600; color: var(--blue-dk); }
.area-card a::after { content: "→"; margin-left: .35rem; transition: transform .3s var(--ease-out); }
.area-card a:hover::after { transform: translateX(4px); }


/* Highlighted words in the added section headings */
.hl { color: var(--blue); }

/* With the rotating pill above, the H1's "Huntsville Web Design" label becomes a plain blue line (not a second pill) */
.hero__headline .section-label { background: none; border: 0; padding: 0; margin: 0 auto .9rem; font-family: var(--font-head); font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 700; color: var(--blue-dk); }
.hero__headline .section-label::before { display: none; }
.hero-pill { margin-bottom: 1.4rem; }
.js .hero .hero-pill { opacity: 0; animation: fade-up .8s var(--ease-out) forwards; }

/* Stats card sits right under the hero mockups */
.stats { padding-bottom: 0; }
.ribbon + .funnel { padding-top: clamp(3.5rem, 7vw, 5.5rem); }

/* New logo mark beside the "Peak Visibility" text in the mobile menu header */
.nav__mobile-close-logo { display: inline-flex; align-items: center; gap: .5rem; }
.nav__mobile-close-logo::before { content: ""; width: 44px; height: 24px; background: url("../assets/logo-mark.png") center / contain no-repeat; }

/* About visual with a single stat card: centre it */
.about__visual-card--2:first-child { right: auto; bottom: auto; left: 50%; top: 50%; translate: -50% -50%; }
