/* Dizian Digital: shared site styles.
   Lifted verbatim from the homepage (index.html, 30 Sep 2026) so every template shares one system.
   Page-specific sections stay in each page. Tokens per design-system.md; never hard-code colours. */
/* ============ Tokens ============ */
:root {
  --accent-green: #B0FF14;
  --accent-green-light: #C3F5CE;
  --black: #1a1a1a;
  --black-dark-shapes: #2c2c2c;
  --dark-slate-grey-text: #404040;
  --light-grey-text: #6e6e6e;
  --background-white: #f7f7f7;
  --white-smoke: #f2f2f2;
  --light-grey-lines: #cacac8;
  --placeholder-grey: #6b6b6b;

  /* Derived from the tokens above, never new colours */
  --on-dark: var(--background-white);
  --on-dark-muted: color-mix(in srgb, var(--background-white) 72%, var(--black));
  --line-on-dark: color-mix(in srgb, var(--light-grey-lines) 24%, var(--black));
  --line-on-card: color-mix(in srgb, var(--light-grey-lines) 30%, var(--black-dark-shapes));
  --frost: color-mix(in srgb, var(--background-white) 92%, transparent);
  --shadow-soft: color-mix(in srgb, var(--black) 30%, transparent);
  --focus-ring: var(--black);

  /* Exactly three rectangle radii. Pills (999px) and circles (50%) sit outside this scale. */
  --radius-s: 4px;
  --radius-m: 16px;
  --radius-l: 32px;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --fs-body: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  --fs-small: 0.8125rem;
  --fs-hero: max(3.5rem, min(clamp(3.5rem, 1rem + 10vw, 9.5rem), 13vh));
  --fs-display-md: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem);

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hover: 0.5s;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--background-white);
  color: var(--dark-slate-grey-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 24px; border-radius: 999px;
  background: var(--black); color: var(--on-dark);
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; --focus-ring: var(--accent-green); }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.is-dark { background: var(--black); color: var(--on-dark-muted); --focus-ring: var(--accent-green); }
.is-light { background: var(--background-white); color: var(--dark-slate-grey-text); }
.is-smoke { background: var(--white-smoke); color: var(--dark-slate-grey-text); }

.kicker {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small);
  letter-spacing: 0.09em; text-transform: uppercase; line-height: 1.4;
  margin: 0 0 24px;
}
.h2 { font-family: var(--font-body); font-weight: 300; font-size: var(--fs-h2); line-height: 1.3; color: var(--black); max-width: 32ch; }
.display-md {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-display-md);
  line-height: 1; letter-spacing: -0.03em; color: var(--black);
}
.is-dark .h2, .is-dark .display-md { color: var(--on-dark); }
.acl { font-size: var(--fs-small); line-height: 1.55; max-width: 68ch; }

/* Line masks: each line rises out of its own clip */
.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line > span { display: block; }


/* Motion start states (only when JS + motion are on; cleared once revealed) */
.motion [data-reveal="lines"]:not(.is-revealed) .line > span,
.motion [data-reveal="fade"]:not(.is-revealed),
.motion [data-stagger]:not(.is-revealed) > * { opacity: 0; }

/* ============ Buttons ============ */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-body); line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--black); opacity: 0; transition: opacity var(--hover) var(--ease-out);
}
.btn:hover::after { opacity: 0.08; }
.btn svg { transition: transform var(--hover) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent-green); color: var(--black); }
.btn-dark { background: var(--black); color: var(--on-dark); }
.btn-dark::after { background: var(--background-white); }
.btn-light { background: var(--on-dark); color: var(--black); }

/* ============ Header / nav ============ */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  transition: transform 0.7s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.nav-bar {
  position: relative; z-index: 2;
  width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav-chip { position: relative; isolation: isolate; border-radius: 999px; }
.nav-chip::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--frost); border: 1px solid var(--light-grey-lines);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  opacity: 0.55; transition: opacity 0.6s var(--ease-out);
}
.is-scrolled .nav-chip::before, .menu-open .nav-chip::before { opacity: 1; }
/* Over a dark section (or the open menu) the black "Let's talk" button turns light to keep its edge (Alex, decision B, 1 Oct) */
.nav-end .btn-dark { transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out); }
.is-over-dark .nav-end .btn-dark, .menu-open .nav-end .btn-dark { background: var(--on-dark); color: var(--black); }
.is-over-dark .nav-end .btn-dark::after, .menu-open .nav-end .btn-dark::after { background: var(--black); }
/* Once scrolled, a fade behind the floating pills in the ground colour of the section underneath, so page text dissolves
   before it reaches the nav instead of running between the pills (Alex, 1 Oct, after four Craft critics named it) */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 112px; pointer-events: none;
  /* --fade is set by the scroll handler: the real grounds under the fade, switching colour exactly at each section edge */
  background: var(--fade, var(--background-white));
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
  opacity: 0; transition: opacity 0.6s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }
.nav-logo {
  justify-self: start; display: inline-flex; align-items: center;
  min-height: 52px; padding: 0 24px; text-decoration: none;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links-wrap { justify-self: center; padding: 4px; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links > li { position: relative; }
.nav-links a, .dd-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 500; font-size: 0.9375rem; color: var(--black); white-space: nowrap;
}
.nav-links a::before, .dd-trigger::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--black); opacity: 0; transition: opacity var(--hover) var(--ease-out);
}
.nav-links a:hover::before, .dd-trigger:hover::before, .has-dd.is-open .dd-trigger::before { opacity: 0.07; }
.dd-trigger svg { transition: transform var(--hover) var(--ease-out); }
.has-dd.is-open .dd-trigger svg { transform: rotate(180deg); }
/* Dropdown: the panel starts flush at the trigger's bottom edge; its transparent top padding is the hover bridge */
.dd-panel {
  position: absolute; top: 100%; left: 50%; z-index: 3; min-width: 264px; padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.has-dd.is-open .dd-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s;
}
.dd-panel ul {
  display: grid; padding: 8px; background: var(--background-white);
  border: 1px solid var(--light-grey-lines); border-radius: var(--radius-m);
}
.dd-panel a { width: 100%; border-radius: var(--radius-s); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 52px; min-width: 52px;
  padding: 0 16px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--black);
}
.menu-icon { position: relative; width: 18px; height: 10px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: var(--radius-s);
  background: currentColor; transition: transform var(--hover) var(--ease-out);
}
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1; background: var(--black); color: var(--on-dark);
  --focus-ring: var(--accent-green);
  padding: 128px var(--gutter) 48px; display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto; visibility: hidden; opacity: 0;
  transition: opacity 0.6s var(--ease-out), visibility 0s linear 0.6s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.6s var(--ease-out), visibility 0s; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 52px; text-decoration: none;
  font-family: var(--font-body); font-weight: 500; font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  letter-spacing: -0.02em; line-height: 1.1;
}
.mm-group-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--on-dark);
  font-family: var(--font-body); font-weight: 500; font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  letter-spacing: -0.02em; line-height: 1.1;
}
.mm-group-btn .plus { width: 44px; height: 44px; }
.mobile-menu .mm-sub { padding: 4px 0 16px; gap: 0; }
.mobile-menu .mm-sub a { min-height: 44px; font-weight: 400; font-size: 1.125rem; letter-spacing: 0; color: var(--on-dark-muted); }
.mobile-menu .mm-phone { font-size: var(--fs-body) !important; font-weight: 400 !important; color: var(--on-dark-muted); }
.mobile-menu li { overflow: hidden; }

@media (max-width: 1079px) {
  .nav-links-wrap { display: none; }
  .nav-bar { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 479px) {
  .nav-end .btn-dark { min-height: 44px; padding: 0 16px; }
  .nav-logo { padding: 0 16px; }
  .menu-btn { padding: 0; justify-content: center; }
  .menu-btn .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
html:not(.js) .menu-btn, html:not(.js) .mobile-menu { display: none; }

/* ============ Light atmospheric hero ground (shared) ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden;
  color: var(--dark-slate-grey-text); --focus-ring: var(--black);
  background:
    linear-gradient(180deg,
      var(--background-white) 0%,
      var(--background-white) 24%,
      color-mix(in srgb, var(--accent-green-light) 55%, var(--background-white)) 64%,
      var(--accent-green-light) 100%);
}
.hero-haze { position: absolute; inset: -12% -8% -8%; pointer-events: none; z-index: 0; }
.haze { position: absolute; border-radius: 50%; will-change: transform; filter: blur(48px); }
.haze--bloom {
  width: 64vw; height: 38vw; left: 18vw; top: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-green) 48%, transparent), transparent);
  animation: drift-bloom 28s ease-in-out infinite alternate;
}
.haze--mist-a {
  width: 58vw; height: 26vw; left: -10vw; top: 8%;
  background: radial-gradient(closest-side, var(--background-white), transparent);
  animation: drift-a 34s ease-in-out infinite alternate;
}
.haze--mist-b {
  width: 46vw; height: 30vw; right: -12vw; top: 18%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-green-light) 85%, transparent), transparent);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.haze--mist-c {
  width: 90vw; height: 22vw; left: 5vw; bottom: 4%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--background-white) 80%, transparent), transparent);
  animation: drift-c 38s ease-in-out infinite alternate;
}
.haze--mist-d {
  width: 30vw; height: 30vw; left: 6vw; top: 44%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-green) 22%, transparent), transparent);
  animation: drift-d 31s ease-in-out infinite alternate;
}
@keyframes drift-bloom { 0% { transform: translate3d(-4vw, 0, 0) scale(1); } 100% { transform: translate3d(5vw, -4vh, 0) scale(1.18); } }
@keyframes drift-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(14vw, 5vh, 0) scale(1.12); } }
@keyframes drift-b { 0% { transform: translate3d(0, 0, 0) scale(1.1); } 100% { transform: translate3d(-12vw, 8vh, 0) scale(0.92); } }
@keyframes drift-c { 0% { transform: translate3d(-6vw, 0, 0); } 100% { transform: translate3d(8vw, -3vh, 0); } }
@keyframes drift-d { 0% { transform: translate3d(0, 0, 0) scale(0.9); } 100% { transform: translate3d(10vw, -8vh, 0) scale(1.2); } }
.hero-form { width: min(100%, 560px); margin-top: 24px; }
.form-row {
  display: flex; align-items: center; gap: 8px; padding: 6px;
  background: var(--background-white); border: 1px solid var(--light-grey-lines); border-radius: 999px;
}
.form-row:focus-within { outline: 2px solid var(--black); outline-offset: 3px; }
.form-row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 8px 0 18px;
  border: 0; background: transparent; color: var(--black);
  font-family: var(--font-body); font-size: max(16px, var(--fs-body));
}
.form-row input::placeholder { color: var(--placeholder-grey); opacity: 1; }
.form-row input:focus { outline: none; }
.hero-helper { margin-top: 12px; max-width: 70ch; font-size: var(--fs-small); color: var(--dark-slate-grey-text); }
@media (max-width: 479px) {
  .hero-form .btn { padding: 0 18px; }
  .hero-form .btn svg { display: none; }
  .form-row input { padding-left: 14px; }
}
.form-status { min-height: 1.5em; margin-top: 4px; font-size: var(--fs-small); color: var(--black); font-weight: 500; }

/* ============ Marquees ============ */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track[data-groups="4"] { animation: marquee-4 var(--dur, 48s) linear infinite; }
.marquee-track[data-groups="2"] { animation: marquee-2 var(--dur, 90s) linear infinite; }
.marquee-track[data-dir="right"] { animation-direction: reverse; }
.marquee-group { display: flex; align-items: flex-start; flex-shrink: 0; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track,
.marquees-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee-4 { to { transform: translate3d(-25%, 0, 0); } }
@keyframes marquee-2 { to { transform: translate3d(-50%, 0, 0); } }

/* ============ Stats (dark) ============ */
.stats .kicker { color: var(--on-dark-muted); }
.stats-grid { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line-on-dark); }
.stat { border-top: 1px solid var(--line-on-dark); padding: 32px 0 48px; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.75rem, 1rem + 7vw, 8rem); line-height: 0.95; letter-spacing: -0.04em;
  color: var(--on-dark); font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 16px; max-width: 30ch; color: var(--on-dark-muted); }
.stats .acl { margin-top: 24px; color: var(--on-dark-muted); }
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line-on-dark); }
  .stat:nth-child(even) { padding-left: 32px; }
}

.section-head { display: grid; gap: 16px; margin-bottom: clamp(48px, 6vw, 64px); }
.services .kicker, .faq .kicker, .work .kicker { color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 5fr 7fr; align-items: end; gap: 64px; }
}
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 6vw, 64px); }

.plus {
  position: relative; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-on-dark); transition: transform 0.6s var(--ease-out);
}
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px;
  background: currentColor; border-radius: var(--radius-s);
}
.plus::after { transform: rotate(90deg); }
[aria-expanded="true"] > .plus, [aria-expanded="true"] .plus { transform: rotate(45deg); }

/* Accordion panels. Without JS they stay open so nothing is hidden. */
.js .acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease-out);
}
.js .acc-panel.is-open { grid-template-rows: 1fr; }
.acc-inner { min-height: 0; overflow: hidden; }
.js .acc-panel:not(.is-open) .acc-inner { visibility: hidden; transition: visibility 0s linear 0.7s; }
.js .acc-panel .acc-content { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); }
.js .acc-panel.is-open .acc-content { opacity: 1; transform: none; transition-delay: 0.1s; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--on-dark);
}
.text-link svg { transition: transform var(--hover) var(--ease-out); }
.text-link:hover svg { transform: translateX(6px); }
.is-light .text-link, .is-smoke .text-link { color: var(--black); }

/* ============ Process (sticky split) ============ */
.process { border-top: 1px solid var(--light-grey-lines); }
.process-grid { display: grid; gap: 48px; }
.process-head .kicker { color: var(--dark-slate-grey-text); }
.process-head .btn { margin-top: 32px; }
.process-steps { position: relative; padding-left: 48px; }
.rail { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.rail::before { content: ""; position: absolute; left: 1.5px; top: 0; bottom: 0; width: 1px; background: var(--light-grey-lines); }
.rail-fill {
  position: absolute; inset: 0; border-radius: var(--radius-s); background: var(--accent-green);
  box-shadow: 0 0 0 1px var(--black); transform-origin: 50% 0;
}
.step { padding: 48px 0; border-top: 1px solid var(--light-grey-lines); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-num {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(4rem, 2rem + 6vw, 8.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--black);
}
.motion .step-num { opacity: 0.5; transition: opacity 0.8s var(--ease-out); }
.motion .step.is-active .step-num { opacity: 1; }
.step h3 { margin: 24px 0 12px; font-family: var(--font-body); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); color: var(--black); }
.step p { max-width: 48ch; }
@media (min-width: 900px) {
  .process-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .process-head { position: sticky; top: 128px; }
  .process-steps { padding-left: 64px; }
  .step { min-height: 56vh; padding: 64px 0; }
  .step:first-child { padding-top: 0; }
}

/* ============ FAQ (charcoal) ============ */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } }
.faq-note { margin-top: 32px; color: var(--on-dark-muted); }
.faq-note a { color: var(--on-dark); font-weight: 500; text-underline-offset: 4px; }
.faq-list { border-bottom: 1px solid var(--line-on-dark); }
.faq-item { border-top: 1px solid var(--line-on-dark); }
.faq-item h3 { font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 400; font-size: inherit; line-height: 1.35; color: var(--on-dark);
}
.faq-q > span:first-child { transition: transform 0.6s var(--ease-out); }
.faq-q:hover > span:first-child { transform: translateX(8px); }
.faq-q .plus { width: 48px; height: 48px; }
.faq-a { display: grid; gap: 16px; padding: 0 0 32px; }
@media (min-width: 768px) { .faq-a { padding-right: 64px; } }
.faq-a p { max-width: 68ch; color: var(--on-dark-muted); }

/* ============ Journal (ruled rows) ============ */
.journal-list { border-top: 1px solid var(--light-grey-lines); }
.journal-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 32px) 0; border-bottom: 1px solid var(--light-grey-lines);
  text-decoration: none; color: var(--black);
}
.journal-num { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-small); color: var(--dark-slate-grey-text); }
@media (min-width: 1024px) { .journal-row { gap: 48px; } }
.journal-row h3 {
  font-family: var(--font-body); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.3; transition: transform 0.6s var(--ease-out);
}
.journal-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--light-grey-lines);
  display: grid; place-items: center; transition: transform 0.6s var(--ease-out);
}
.journal-row:hover h3 { transform: translateX(8px); }
.journal-row:hover .journal-arrow { transform: translateX(10px); }

/* ============ Closing CTA foot (shared) ============ */
.cta-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line-on-dark); }
.avatars { display: flex; align-items: center; gap: 16px; }
.avatars-stack { display: flex; }
.avatars-stack img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--black); }
.avatars-stack img + img { margin-left: -12px; }
.avatars p { font-family: var(--font-display); font-weight: 600; color: var(--on-dark); }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-weight: 600; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============ Footer ============ */
.site-footer { padding: 64px 0 32px; }
.footer-top { display: grid; gap: 48px; padding-top: 48px; border-top: 1px solid var(--line-on-dark); }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr 1fr 0.8fr; } }
.footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer-logo img { height: 34px; width: auto; filter: invert(1); }
.footer-brand p { margin-top: 16px; font-size: var(--fs-small); }
.footer-col .kicker { margin-bottom: 12px; color: var(--on-dark); }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: var(--fs-small); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-muted); }

/* ============ Secondary (ghost) button ============ */
.btn-ghost { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1px var(--light-grey-lines); }
.is-dark .btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.is-dark .btn-ghost::after { background: var(--background-white); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px currentColor; }

/* ============ Shared extras (lifted from the homepage) ============ */
:root { --fs-h1: clamp(3.5rem, 2rem + 5.5vw, 6rem); } /* design-system.md §2 Display H1 */
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--background-white) 78%, transparent);
  border: 1px solid var(--light-grey-lines);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small);
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--black); line-height: 1;
}
.hero-kicker img { height: 22px; width: auto; }
.w-light { font-weight: 300; }
.w-bold { font-weight: 700; }
.w-accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.marquee-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--light-grey-lines); background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); color: var(--black);
}
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar--initials {
  display: grid; place-items: center; background: var(--black); color: var(--on-dark);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small);
}
.quote-name { display: block; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--black); line-height: 1.3; }
.quote-role { display: block; font-size: var(--fs-small); line-height: 1.4; color: var(--dark-slate-grey-text); }
.avatar--logo { object-fit: contain; background: var(--background-white); border: 1px solid var(--light-grey-lines); padding: 4px; }
.cta-copy { margin-top: 16px; max-width: 66ch; color: var(--on-dark-muted); }


/* Disclaimer under the closing block's proof line */
.cta-acl { margin-top: 24px; max-width: 44ch; }
.is-dark .cta-acl { color: var(--on-dark-muted); }

/* ============ Still mode: no motion, final states, normal flow ============ */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still .marquee { -webkit-mask-image: none; mask-image: none; }
.still .marquee-track { width: auto; transform: none !important; }
.still .marquee-clone, .still .marquee-toggle { display: none !important; }
.still .marquee-group { flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; padding-inline: var(--gutter); flex-shrink: 1; }
.still .quote-card { margin: 0; }
.still .hero-haze { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; transform: none !important; }
  .marquee-clone, .marquee-toggle { display: none !important; }
  .marquee-group { flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; padding-inline: var(--gutter); flex-shrink: 1; }
  .quote-card { margin: 0; }
}

/* ============ Services mega menu (canvas NavMenu.dc.html; Alex 3 Oct 2026: five services only, no Capabilities menu) ============ */
/* The pill is not centred on the page, so the wide panel is pinned to the viewport just under the fixed header
   (header top 16px + 52px bar); the inherited 12px top padding stays as the hover bridge */
.dd-mega { position: fixed; top: 68px; left: 50%; width: min(1180px, calc(100vw - 2 * var(--gutter))); }
.dd-mega ul { display: block; padding: 0; background: none; border: 0; border-radius: 0; }
.mega {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; padding: 32px;
  background: var(--background-white); border: 1px solid var(--light-grey-lines); border-radius: var(--radius-l);
  box-shadow: 0 24px 64px color-mix(in srgb, var(--black) 18%, transparent);
}
.nav-links .mega a { display: block; width: auto; min-height: 0; padding: 0; border-radius: 0; white-space: normal; font-size: inherit; }
.nav-links .mega a::before { display: none; }
.mega-tool {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px;
  border-radius: var(--radius-m); background: var(--black); color: var(--on-dark);
}
.mega-tool .kicker { color: var(--accent-green); }
.mega-tool-title { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--on-dark); }
/* .nav-links a resets background and colour; give the lime button back its fill */
.nav-links .mega .mega-tool .btn { display: inline-flex; align-self: flex-start; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--accent-green); color: var(--black); font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.mega-col { display: grid; gap: 32px; align-content: start; }
.nav-links .mega .mega-svc { color: var(--black); text-decoration: none; }
.mega-svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mega-svc-name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.mega-num { font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.09em; color: var(--dark-slate-grey-text); }
.mega-desc { display: block; margin-top: 8px; font-size: 0.875rem; line-height: 1.5; color: var(--dark-slate-grey-text); }
.mega-svc:hover .mega-svc-name { text-decoration: underline; text-underline-offset: 4px; }
.dd-mega .mega-sub { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--light-grey-lines); }
.nav-links .mega .mega-sub a { display: flex; align-items: center; min-height: 32px; font-size: 0.875rem; line-height: 1.4; color: var(--black); text-decoration: none; }
.nav-links .mega .mega-sub a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* All-in-one Google package: shared by the homepage, the Google Ads and SEO inner pages (tools/google-package.mjs) */
/* ============ All-in-one Google package (replaces the Journal block) ============ */
.package {
  overflow: hidden;
  background:
    linear-gradient(180deg,
      var(--background-white) 0%,
      var(--background-white) 24%,
      color-mix(in srgb, var(--accent-green-light) 55%, var(--background-white)) 64%,
      var(--accent-green-light) 100%);
}
.package::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 46vw; height: 30vw; right: -4vw; bottom: -6vw; border-radius: 50%; filter: blur(48px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-green) 36%, transparent), transparent);
}
.package .container { position: relative; z-index: 1; }
.package-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 56px); }
@media (min-width: 1024px) { .package-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; } }
.package-pill {
  display: inline-block; padding: 6px 14px; margin: 0 0 24px 16px; border-radius: 999px;
  background: var(--background-white); box-shadow: inset 0 0 0 1px var(--light-grey-lines);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); letter-spacing: 0.09em; text-transform: uppercase; color: var(--black);
}
.package-lede { max-width: 48ch; }
.package-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .package-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.package-tile {
  padding: 28px; border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--background-white) 72%, transparent);
  box-shadow: inset 0 0 0 1px var(--light-grey-lines);
}
.package-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); letter-spacing: 0.09em; color: var(--dark-slate-grey-text); }
.package-tile h3 { margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--black); }
.package-tile p { margin-top: 12px; }
.package-band {
  display: grid; gap: 32px; margin-top: 32px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-m);
}
@media (min-width: 900px) { .package-band { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }
.package-band h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--on-dark); }
.package-band p { margin-top: 16px; max-width: 56ch; }
.package-actions { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 479px) { /* "Schedule a 15-minute call" ran past the card at 320 (3 Oct 2026): full width, no arrow */
  .package-actions { width: 100%; }
  .package-actions .btn { width: 100%; justify-content: center; padding-inline: 16px; white-space: normal; text-align: center; }
  .package-actions .btn svg { display: none; }
}

.package-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.package-link svg { width: 16px; height: 16px; transition: transform var(--hover) var(--ease-out); }
.package-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.package-link:hover svg { transform: translateX(4px); }
.package-inline { color: var(--black); text-underline-offset: 3px; }

/* Footer legal links (Privacy policy, Terms) sit together on the right (internal-linking plan, 3 Oct 2026: /terms had no links) */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0 24px; }
.footer-legal a { min-width: 44px; justify-content: center; } /* short "Terms" link: keep the 44px tap target */

/* Cards: only the title is the link, so its anchor text is the title; ::after stretches the click target over the whole card.
   Applied by tools/link-pass.mjs to post-row, journal-row and route-row (internal-linking plan, 3 Oct 2026). */
.has-card-link { position: relative; cursor: pointer; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.has-card-link:focus-within { outline: 2px solid var(--focus-ring, currentColor); outline-offset: 4px; border-radius: var(--radius-s); }
.route-row.has-card-link:focus-within .route-title { text-decoration: underline; text-underline-offset: 4px; }

/* Header logo without its pill (Alex, 3 Oct, decision 12): the frosted outline goes from the logo only; the menu pill and Let's talk keep theirs.
   The pill was what kept the black logo readable over dark bands, so over a dark ground the logo turns light, as the footer logo does. */
.nav-logo.nav-chip::before { display: none; }
.nav-logo img { transition: filter 0.5s var(--ease-out); }
.is-over-dark .nav-logo img { filter: invert(1); }
.menu-open .nav-logo img { filter: none; }

/* Hover nudge on title-only cards moves from the title element to an inner span (link-pass wraps the title text in .card-title-text):
 a transform on the element holding .card-link makes it the containing block of the stretched ::after, so the rest of the card
 would stop being clickable while hovered (reported by the design session, 3 Oct 2026). Same distances and easing as before. */
.has-card-link.post-row:hover h3, .has-card-link.journal-row:hover h3,
.has-card-link.route-row:hover .route-title, .has-card-link.route-row:focus-within .route-title { transform: none; }
.card-title-text { display: inline-block; transition: transform 0.6s var(--ease-out); }
.has-card-link.post-row:hover .card-title-text, .has-card-link.journal-row:hover .card-title-text { transform: translateX(8px); }
.has-card-link.route-row:hover .card-title-text, .has-card-link.route-row:focus-within .card-title-text { transform: translateX(clamp(8px, 2vw, 28px)); }

/* pkg-bundle v3 begin */
/* ---- Package bundle (Alex, 5 Oct 2026, direction A): one card of ruled rows on a bright green field, stacked sheets under it, rows pop on hover ---- */
.package { --accent-green-bright: color-mix(in oklch, var(--accent-green) 50%, var(--accent-green-light)); } /* same formula the homepage already defines; the inner pages did not have it */
.package.section { background: linear-gradient(165deg, var(--accent-green-bright) 0%, color-mix(in oklch, var(--accent-green) 72%, var(--accent-green-light)) 100%); color: var(--black); }
.package::before, .package .spot, .package .spot-ring { display: none; }
.package .container { display: grid; gap: 0; position: relative; z-index: 1; }
.package .kicker, .package .package-lede { color: var(--black); }
.package .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.package .package-pill { margin: 0; border-color: var(--black); color: var(--black); background: var(--background-white); }
.package .h2, .package .h2 .line + .line > span, .package .h2 .hl-mute { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; color: var(--black); }
.package .h2 { text-wrap: balance; }
.package .h2, .package .h2 .line + .line > span { max-width: none; font-size: clamp(2.25rem, 14cqw, 4.5rem); line-height: 1; color: var(--black); }
.package .package-head { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0 0 40px; align-content: start; align-self: start; }
.package .package-lede { max-width: 40ch; }
.package .package-grid { display: block; gap: 0; border: 1px solid var(--light-grey-lines); border-bottom: 0; border-radius: var(--radius-l) var(--radius-l) 0 0; background: var(--background-white); padding: 8px 0 0; counter-reset: pkrow; }
.package .package-grid .package-tile { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) 28px; column-gap: 24px; align-items: center; padding: 20px 28px; margin: 0; border: 0; border-bottom: 1px solid var(--light-grey-lines); border-radius: 0; background: transparent; box-shadow: none; transition: transform 300ms var(--ease-ui), box-shadow 300ms var(--ease-ui), background-color 300ms var(--ease-ui); }
.package .package-grid .package-tile:last-child { border-bottom: 0; }
.package .package-grid .package-tile::before { content: ""; grid-column: 3; grid-row: 1 / span 2; justify-self: end; width: 26px; height: 26px; margin: 0; border-radius: 50%; background: var(--black); -webkit-mask: none; mask: none; }
.package .package-grid .package-tile::after { content: ""; grid-column: 3; grid-row: 1 / span 2; justify-self: end; width: 26px; height: 26px; background: var(--accent-green-light); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.package .package-tile .package-num { display: none; }
.package .package-tile .pk { grid-column: 1; grid-row: 1 / span 2; width: 88px; height: auto; margin: 0; }
.package .package-tile h3 { grid-column: 2; grid-row: 1; margin: 0; min-height: 0; font-size: 1.25rem; line-height: 1.2; }
.package .package-tile p { grid-column: 2; grid-row: 2; margin: 4px 0 0; color: var(--black); font-size: 0.9375rem; line-height: 1.45; }
.package .package-link { display: inline; min-height: 0; color: inherit; text-decoration: none; }
.package .package-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.package .package-inline { position: relative; z-index: 2; }
.package .package-tile.has-link { cursor: pointer; }
.package .package-tile.has-link:has(.package-link:focus-visible) { outline: 2px solid var(--black); outline-offset: -2px; }
.package .package-link:focus-visible { outline: none; }
.package .package-tile.has-link:is(:hover, :focus-within) { z-index: 2; background: var(--background-white); border-radius: var(--radius-s, 12px); box-shadow: 0 0 0 1px var(--black), 0 18px 36px -16px color-mix(in srgb, var(--black) 40%, transparent); }
@media (prefers-reduced-motion: no-preference) { .package .package-tile.has-link:is(:hover, :focus-within) { transform: scale(1.025); } }
.package .package-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px 32px; margin: 0 0 72px; border: 1px solid var(--light-grey-lines); border-top: 0; border-radius: 0 0 var(--radius-l) var(--radius-l); background: var(--black); box-shadow: 0 14px 0 -5px var(--background-white), 0 14px 0 -4px var(--light-grey-lines), 0 28px 0 -10px var(--background-white), 0 28px 0 -9px var(--light-grey-lines), 0 42px 0 -15px var(--background-white), 0 42px 0 -14px var(--light-grey-lines); }
.package .package-band { color: var(--background-white); }
.package .package-band > div:first-child { flex: 1 1 260px; min-width: 0; }
.package .package-band h3 { color: var(--background-white); max-width: none; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.1; }
.package .package-band p { color: color-mix(in srgb, var(--background-white) 72%, transparent); }
@media (min-width: 1000px) {
  .package .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; }
  .package .package-head { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 112px; margin: 0; }
  .package .package-grid { grid-column: 2; grid-row: 1; }
  .package .package-band { grid-column: 2; grid-row: 2; }
}
@media (max-width: 560px) { .package .package-grid .package-tile { grid-template-columns: 56px minmax(0, 1fr) 26px; column-gap: 14px; padding: 16px 16px; } .package .package-tile .pk { width: 56px; } }
.package .pk { display: block; color: var(--black); fill: currentColor; overflow: visible; transform-origin: 0 50%; transition: transform 400ms var(--ease-out); }
.package .pk * { transform-box: fill-box; transform-origin: 50% 50%; }
.package .pk .pk-g { transform-origin: 0 50%; }
.package .pk .pk-r, .package .pk .pk-hop { transform-origin: 50% 100%; }
.package .pk .pk-d { stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes pk-grow { from { transform: scaleX(0.25); } to { transform: scaleX(1); } }
@keyframes pk-rise { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes pk-slide { from { transform: translateX(-16px); opacity: 0.15; } to { transform: none; opacity: 1; } }
@keyframes pk-pop { 45% { transform: scale(1.22); } }
@keyframes pk-hop { 30% { transform: translateY(-8px); } 55% { transform: translateY(0); } 72% { transform: translateY(-3px); } }
@keyframes pk-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pk-lit { to { fill-opacity: 1; } }
.motion .package .package-tile:is(:hover, :focus-within) .pk { transform: scale(1.14); }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-g { animation: pk-grow 0.7s var(--ease-out) calc(var(--i, 0) * 90ms) 3 alternate both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-r { animation: pk-rise 0.8s var(--ease-out) calc(var(--i, 0) * 70ms) 3 alternate both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-s { animation: pk-slide 0.7s var(--ease-out) calc(var(--i, 0) * 100ms) 3 alternate both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-pop { animation: pk-pop 0.5s var(--ease-out) calc(var(--i, 0) * 80ms) 3 alternate both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-hop { animation: pk-hop 0.9s var(--ease-out) 2 both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-d { animation: pk-draw 0.9s var(--ease-out) 3 alternate both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-fade { animation: pk-fade 0.9s var(--ease-out) 0.2s 3 alternate both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-lit { animation: pk-lit 0.5s var(--ease-out) calc(0.25s + var(--i, 0) * 90ms) both; }
.motion .package .package-tile:is(:hover, :focus-within) .pk .pk-blink { animation: pk-lit 0.4s var(--ease-out) calc(var(--i, 0) * 110ms) 4 alternate both; }
/* pkg-bundle v3 end */
/* package-gap v1 begin: less empty green under the stacked sheets (6 Oct 2026) */
.package .package-band { margin-bottom: 24px; }
.package.section { padding-bottom: clamp(48px, 6vw, 88px); }
/* package-gap v1 end */

/* no-pause v1 begin */
/* Pause buttons removed on Alex's instruction (5 Oct 2026). Loops still pause on hover and focus and stop under prefers-reduced-motion. */
.marquee-toggle, .ik-pause, .cx-pause { display: none !important; }
/* no-pause v1 end */

/* menu-wide v1 begin */
/* Services dropdown a little wider and less tight (Alex, 5 Oct 2026): matches the 1280px page container, more padding and gap. */
.dd-mega { width: min(1280px, calc(100vw - 2 * var(--gutter))); }
.mega { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 40px; }
.mega-cols { gap: 56px; }
.mega-col { gap: 36px; }
/* menu-wide v1 end */

/* footer-v2 v1 begin */
/* Footer: bigger logo, social logos under it and in the bottom bar, Contact column (Alex, 5 Oct 2026). */
.footer-logo img { height: 48px; width: auto; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-brand .footer-social { margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 50%; color: var(--on-dark-muted); box-shadow: inset 0 0 0 1px var(--line-on-dark); text-decoration: none; transition: color var(--t-fb) var(--ease-ui), box-shadow var(--t-fb) var(--ease-ui); }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--on-dark); }
.footer-social svg { width: 20px; height: 20px; }
.footer-social--bar a { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
/* footer-v2 v1 end */

/* capsule-logo v1 begin */
/* Google Partner capsule: the badge alone, bigger (Alex, 5 Oct 2026). */
p.hero-kicker img { height: 34px; width: auto; }
p.hero-kicker:has(> img:only-child) { padding: 8px 12px; }
/* capsule-logo v1 end */

/* cta-lime v1 begin */
/* Every call to action is lime with black text and a black arrow; ghost buttons stay outlined (Alex, 5 Oct 2026). */
.btn-dark, .btn-light { background: var(--accent-green); color: var(--black); }
.btn-dark::after, .btn-light::after { background: var(--black); }
.is-over-dark .nav-end .btn-dark, .menu-open .nav-end .btn-dark { background: var(--accent-green); color: var(--black); }
.is-over-dark .nav-end .btn-dark::after, .menu-open .nav-end .btn-dark::after { background: var(--black); }
.cta-row .cta-audit, .proc-sbtn { background: var(--accent-green); color: var(--black); }
.cta-row .cta-audit::after { background: var(--black); }
/* On the pale green closing ground lime alone has about 1.1 to 1 edge contrast, so this one button carries a 1px black edge. */
.cta-row .cta-audit { box-shadow: inset 0 0 0 1px var(--black); }
/* An outlined button that asks for the free audit is the section's primary action, so it is lime too. */
.btn-ghost[href$="#audit"], .is-dark .btn-ghost[href$="#audit"] { background: var(--accent-green); color: var(--black); box-shadow: none; }
.btn-ghost[href$="#audit"]::after, .is-dark .btn-ghost[href$="#audit"]::after { background: var(--black); }
/* Arrows: a black circle with a lime arrow on light grounds, a plain lime arrow on dark ones. */
.text-link > svg { box-sizing: content-box; flex-shrink: 0; width: 20px; height: 20px; padding: 6px; border-radius: 50%; background: var(--black); color: var(--accent-green); }
.is-dark .text-link > svg, footer .text-link > svg { padding: 0; background: transparent; color: var(--accent-green); }
.route-arrow, .journal-arrow { background: var(--black); color: var(--accent-green); box-shadow: none; border-color: var(--black); }
.is-dark .route-arrow, .is-dark .journal-arrow, footer .route-arrow, footer .journal-arrow { background: transparent; box-shadow: inset 0 0 0 1px var(--line-on-dark); border-color: var(--line-on-dark); }
.route-row:hover .route-arrow, .route-row:focus-within .route-arrow, .journal-row:hover .journal-arrow, .read-row:hover .journal-arrow,
.site-card:hover .route-arrow, .site-card:focus-within .route-arrow, .site-row:hover .route-arrow, .site-row:focus-visible .route-arrow { background: var(--accent-green); color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
/* cta-lime v1 end */

/* footer-v3 v1 begin */
/* Footer: no social row under the logo (the icons stay in the bottom bar), a bigger logo, the bottom bar on one line (Alex, 5 Oct 2026). */
.footer-brand .footer-social { display: none; }
.footer-logo img { height: 72px; width: auto; }
.footer-bottom { align-items: center; }
.footer-bottom > p { margin: 0; }
@media (min-width: 1100px) {
  .footer-bottom { flex-wrap: nowrap; }
  .footer-bottom > p { white-space: nowrap; }
  .footer-legal { flex-wrap: nowrap; white-space: nowrap; }
}
/* footer-v3 v1 end */

/* menu-five v1 begin */
/* Services dropdown: the five services in one row, 01 to 05 in order, and as wide as the screen allows (Alex, 5 Oct 2026). */
.dd-mega { width: min(1640px, calc(100vw - 32px)); }
.mega { grid-template-columns: clamp(240px, 17vw, 300px) minmax(0, 1fr); gap: clamp(28px, 2.6vw, 48px); padding: 32px clamp(28px, 2.6vw, 40px); }
.mega-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 36px); }
.mega-col { gap: 0; }
.mega-svc-name { font-size: clamp(1rem, 1.2vw, 1.125rem); }
.nav-links .mega .mega-tool .btn { padding: 0 20px; white-space: nowrap; max-width: 100%; }
@media (max-width: 1279px) { .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } }
/* menu-five v1 end */

/* nav-btn v1 begin */
/* The header "Let's talk" button, bigger (Alex, 5 Oct 2026): 56px high on desktop, was 48px. */
@media (min-width: 1024px) {
  .nav-end .btn { min-height: 56px; padding: 0 32px; font-size: 1.1875rem; gap: 12px; }
  .nav-end .btn svg { width: 22px; height: 22px; }
}
/* nav-btn v1 end */
/* eg-pill v1 begin */ .eg-pill { opacity: 0.6; } /* eg-pill v1 end */
/* gp v1 begin */
/* Google Partner section (Alex, 6 Oct 2026): the badge on a large card on the left, a two-line headline and three short benefits on the right. Tokens only. */
.gpartner { padding-block: clamp(56px, 6vw, 88px); }
.gpartner .gp-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
@media (min-width: 900px) { .gpartner .gp-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.gp-badge-card { display: grid; place-items: center; padding: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 56px); border-radius: var(--radius-l); background: var(--background-white); box-shadow: inset 0 0 0 1px var(--light-grey-lines); }
.gp-badge { width: min(100%, 380px); height: auto; }
.gpartner .gp-title { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.gp-lede { margin-top: 16px; max-width: 52ch; color: var(--dark-slate-grey-text); }
.gp-list { display: grid; margin-top: 24px; border-top: 1px solid var(--light-grey-lines); }
.gp-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--light-grey-lines); }
.gp-list b { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--black); }
.gp-list span { max-width: 56ch; color: var(--dark-slate-grey-text); }
.gp-mute { color: var(--light-grey-text); }
/* gp v1 end */
/* sched-hover v1 begin */
/* Ghost "Schedule a call" buttons (any ghost button that opens the booking calendar) light up green on hover, same lime as the primary button. */
.btn-ghost[href*="calendar.app.google"] { transition: background-color var(--hover) var(--ease-out), color var(--hover) var(--ease-out), box-shadow var(--hover) var(--ease-out); }
.btn-ghost[href*="calendar.app.google"]:hover, .is-dark .btn-ghost[href*="calendar.app.google"]:hover, .btn-ghost[href*="calendar.app.google"]:focus-visible { background: var(--accent-green); color: var(--black); box-shadow: none; }
.btn-ghost[href*="calendar.app.google"]:hover::after, .is-dark .btn-ghost[href*="calendar.app.google"]:hover::after { background: var(--black); opacity: 0.08; }
/* sched-hover v1 end */

/* cta-wide v1 begin: closing sub heading sits under the heading, full width, above the form (Alex, 7 Oct 2026) */
.svc-cta .container > .cta-copy { margin-top: 16px; max-width: 66ch; }
.svc-cta .container > .cta-copy + .svc-cta-grid { margin-top: clamp(32px, 4vw, 48px); }
/* cta-wide v1 end */
