/* =====================================================================
   site-styles.css
   Custom styles layered on top of Bootstrap 5.3.
   Loaded AFTER bootstrap.min.css so these rules win.

   Contents
     1. Fonts
     2. Design tokens + Bootstrap variable overrides
     3. Base, accessibility, buttons
     4. Header
     5. Hero (blobs, rotator, dashboard illustration, float cards)
     6. Ticker
     7. Section shells and headings
     8. Services pillars
     9. Results cases (dark band)
    10. In-action tiles and mini visuals
    11. Process steps
    12. Why work with me (portrait, focus ladder, models, principles, stats)
    13. Testimonials, FAQ
    14. Placeholder boxes (.ph-box; not Bootstrap's .placeholder)
    15. Contact (CTA band + form)
    16. Footer and simple pages
    17. Scroll reveal, motion pause, reduced motion, forced colors, print
    18. Promises, platform chips, animated mini visuals (v3 additions)

   Color contrast: all text/background pairs meet WCAG 2.2 AA.
   Cyan is decorative only; never use it for text on light backgrounds.
   ===================================================================== */

/* ---------- 1. Fonts ------------------------------------------------- */
/* Bricolage Grotesque (headings) + Inter (body). Both SIL Open Font
   License, self-hosted for privacy and speed. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Design tokens ----------------------------------------- */
:root {
  /* Simple palette: navy + white + ONE action blue.
     Blue always means "you can click/act on this." */
  --c-bg: #f8fafc;          /* page background */
  --c-surface: #ffffff;     /* cards */
  --c-ink: #0f172a;         /* text, dark bands (navy) */
  --c-ink-2: #1e293b;       /* cards on dark */
  --c-muted: #475569;       /* secondary text on light (7.6:1 on white) */
  --c-muted-dark: #cbd5e1;  /* secondary text on dark (12:1 on navy) */
  --c-line: #e2e8f0;        /* borders on light */
  --c-blue: #2563eb;        /* action blue: buttons, links (5.2:1 on white) */
  --c-blue-dark: #1d4ed8;   /* hover/pressed blue */
  --c-blue-wash: #eff6ff;   /* pale blue backgrounds */
  --c-sky: #93c5fd;         /* light blue: highlights on dark (9:1 on navy), or behind navy text */
  --c-sky-wash: #dbeafe;    /* highlighter behind navy text */
  --c-cyan: #06b6d4;        /* decorative only (AI gradient partner); never text on light */
  --c-cyan-wash: #ecfeff;
  --ai-gradient: linear-gradient(90deg, var(--c-blue), var(--c-cyan));

  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow: 0 24px 48px -24px rgba(15, 23, 42, .22);
  --shadow-lg: 0 40px 80px -30px rgba(15, 23, 42, .3);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--c-ink);
  --bs-body-bg: var(--c-bg);
  --bs-link-color: var(--c-blue);
  --bs-link-color-rgb: 37, 99, 235;
  --bs-link-hover-color: var(--c-blue-dark);
  --bs-link-hover-color-rgb: 29, 78, 216;
  --bs-border-radius: .75rem;
  --bs-focus-ring-color: rgba(37, 99, 235, .4);
}

/* ---------- 3. Base, accessibility, buttons -------------------------- */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5rem; }
body { font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, .brand {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); margin-bottom: 0; }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--c-sky); color: var(--c-ink);
  padding: .75rem 1rem; border-radius: .5rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Visible focus for keyboard users (WCAG 2.4.7) */
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; }
.section--ink :focus-visible,
.section--cta :focus-visible,
.site-footer :focus-visible,
.ticker :focus-visible { outline-color: var(--c-sky); }
.contact-form :focus-visible { outline-color: var(--c-blue); }
#main:focus { outline: none; }

/* Buttons: pill-shaped, bold */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.3rem; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; }
/* Primary action button: always blue, everywhere (one rule = no guessing) */
.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--c-blue); --bs-btn-border-color: var(--c-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-blue-dark); --bs-btn-hover-border-color: var(--c-blue-dark);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-blue-dark); --bs-btn-active-border-color: var(--c-blue-dark);
  --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--c-blue); --bs-btn-disabled-border-color: var(--c-blue);
  box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .7);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .8); }
/* Secondary button: outlined navy */
.btn-outline-ink {
  --bs-btn-color: var(--c-ink); --bs-btn-border-color: var(--c-ink);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-ink); --bs-btn-hover-border-color: var(--c-ink);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-ink);
  border-width: 2px;
}

/* ---------- 4. Header ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(248, 250, 252, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.navbar { --bs-navbar-padding-y: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; color: var(--c-ink); text-decoration: none; }
.brand:hover { color: var(--c-ink); }
.navbar .nav-link { color: var(--c-ink); font-weight: 500; }
.navbar .nav-link:hover { color: var(--c-blue); }

/* ---------- 5. Hero -------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  /* subtle dot grid */
  background-image: radial-gradient(rgba(15, 23, 42, .09) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* Soft colored blobs drifting behind the content */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--a { width: 34rem; height: 34rem; background: #bfdbfe; top: -12rem; right: -8rem; }
.blob--b { width: 26rem; height: 26rem; background: var(--c-sky); bottom: -12rem; right: 22%; animation-delay: -6s; }
.blob--c { width: 20rem; height: 20rem; background: #a5f3fc; top: 30%; left: -10rem; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

/* "Now booking" pill with pulsing dot */
.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .95rem; margin-bottom: 1.5rem;
  font-size: .9rem; font-weight: 600;
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .3);
}
.status-pill__dot { position: relative; width: .6rem; height: .6rem; border-radius: 50%; background: #16a34a; }
.status-pill__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #16a34a; animation: ping 1.8s ease-out infinite;
}
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }

.hero__title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.25rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero__title > span[aria-hidden] { display: block; }

/* Rotating phrase: all words share one grid cell; only .is-active shows.
   Height reserves two lines so the layout never jumps. */
.rotator { display: grid !important; min-height: 2.1em; }
.rotator__word {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 0;
  transform: translateY(.4em);
  transition: opacity .5s ease, transform .5s ease;
  color: var(--c-blue);
}
.rotator__word.is-active { opacity: 1; transform: none; }
/* AI gradient text (blue to deep cyan; both pass 3:1 for large text).
   Solid blue fallback if background-clip isn't supported. */
.rotator__word > span {
  background: linear-gradient(90deg, #2563eb, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--c-muted); max-width: 34rem; }

.hero__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: 2rem 0 0; list-style: none; font-size: .95rem; font-weight: 500; }
.hero__proof li::before { content: "\2713"; display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; margin-right: .45rem; border-radius: 50%; background: var(--c-ink); color: var(--c-sky); font-size: .75rem; }

/* Dashboard illustration */
.dash-scene { position: relative; padding: 2.5rem 1rem 3rem; perspective: 1400px; }
.dash {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
  /* --tilt-x / --tilt-y are set by site-scripts.js as the mouse moves */
  transform: rotateY(calc(-10deg + var(--tilt-y, 0deg))) rotateX(calc(6deg + var(--tilt-x, 0deg)));
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}
.dash__top { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-size: .9rem; }
.dash__live { width: .55rem; height: .55rem; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.dash__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.dash__range { margin-left: auto; padding: .2rem .65rem; border-radius: 999px; background: var(--c-bg); color: var(--c-muted); font-size: .8rem; }
.dash__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.dash__tile { padding: .75rem; border-radius: .9rem; background: var(--c-bg); }
.dash__label { display: block; font-size: .78rem; color: var(--c-muted); margin-bottom: .35rem; }
.dash__trend { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; font-weight: 700; padding: .15rem .45rem; border-radius: .4rem; }
.dash__trend--up { background: var(--c-sky); color: var(--c-ink); }
.dash__trend--up::before { content: "\2197"; }
.dash__trend--down { background: var(--c-blue-wash); color: #1d4ed8; }
.dash__trend--down::before { content: "\2198"; }
.dash__chart { display: block; width: 100%; height: 150px; }
/* Line "draws" itself on load */
.dash__line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .4s ease-out forwards; }
.dash__area { opacity: 0; animation: fade-in 1s 1.6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* Floating notification cards */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem 1rem .7rem .7rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.3; color: var(--c-muted);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { color: var(--c-ink); font-size: .9rem; }
.float-card__icon { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .7rem; background: var(--c-blue); }
.float-card__icon svg { width: 1.1rem; height: 1.1rem; fill: #fff; }
.float-card__icon--sky { background: var(--c-sky); }
.float-card__icon--sky svg { fill: var(--c-ink); }
.float-card__icon--cyan { background: var(--c-cyan); }
.float-card__icon--cyan svg { fill: var(--c-ink); }
.float-card--chat { top: 0; left: -1rem; }
.float-card--auto { bottom: .5rem; right: -.5rem; animation-delay: -2s; }
.float-card--lead { top: 42%; right: -1.5rem; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 575.98px) {
  .float-card--lead { display: none; }
  .float-card--chat { left: 0; }
  .float-card--auto { right: 0; }
  .dash { transform: none; }
}

/* Pause motion control */
.motion-toggle {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: .82rem; font-weight: 600;
  color: var(--c-ink); background: #fff;
  border: 1px solid var(--c-line); border-radius: 999px;
  padding: .4rem .9rem; min-height: 24px;
}
.motion-toggle:hover { border-color: var(--c-ink); }

/* ---------- 6. Ticker ------------------------------------------------ */
.ticker { overflow: hidden; background: var(--c-ink); color: var(--c-sky); padding: 1.1rem 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; padding: 0; margin: 0; list-style: none; }
.ticker__list li {
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; white-space: nowrap;
  padding: 0 1.5rem; display: flex; align-items: center; gap: 3rem;
}
.ticker__list li::after { content: "\2726"; color: var(--c-blue-wash); font-size: .9rem; margin-left: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. Section shells and headings ---------------------------- */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section--tint { background: #f1f5f9; }
.section--ink { background: var(--c-ink); color: #fff; }
.narrow { max-width: 54rem; }

.section-head { margin-bottom: 3rem; max-width: 46rem; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.section-head__aside { max-width: 24rem; margin: 0; color: var(--c-muted-dark); }

/* Small label above headings */
.kicker {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1rem;
}
.kicker--sky { color: var(--c-sky); }

/* Highlighter effect on a word in a heading */
.mark { white-space: nowrap; background: linear-gradient(transparent 58%, var(--c-sky-wash) 58%, var(--c-sky-wash) 92%, transparent 92%); }

/* ---------- 8. Services pillars -------------------------------------- */
.pillar {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1.5rem; }
.pillar__icon svg { width: 1.7rem; height: 1.7rem; }
.pillar--blue .pillar__icon { background: var(--c-blue); }
.pillar--blue .pillar__icon svg { fill: #fff; }
.pillar--sky .pillar__icon { background: var(--c-sky); }
.pillar--cyan .pillar__icon { background: var(--c-cyan); }
.pillar--sky .pillar__icon svg,
.pillar--cyan .pillar__icon svg { fill: var(--c-ink); }
/* Colored corner glow */
.pillar::after { content: ""; position: absolute; width: 12rem; height: 12rem; right: -5rem; top: -5rem; border-radius: 50%; opacity: .35; filter: blur(30px); }
.pillar--blue::after { background: #bfdbfe; }
.pillar--sky::after { background: var(--c-sky); }
.pillar--cyan::after { background: #a5f3fc; }
.pillar h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.pillar p { color: var(--c-muted); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.chips li { font-size: .85rem; font-weight: 500; padding: .35rem .8rem; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); }

.fractional {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2rem; padding: 1.4rem 1.75rem;
  border-radius: var(--radius);
  border: 2px dashed var(--c-ink);
}
.fractional p { margin: 0; font-size: 1.1rem; }

/* ---------- 9. Results cases (dark band) ----------------------------- */
.case {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--c-ink-2);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.case:hover { transform: translateY(-6px); border-color: rgba(147, 197, 253, .5); }
.case .ph-box--image { border-radius: 0; margin: 0; border-width: 0 0 2px; }
.case__body { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.case__tag { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted-dark); margin-bottom: 1rem; }
.case__metric { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; margin: 0; color: var(--c-sky); }
.case__metric-label { font-size: .95rem; color: var(--c-muted-dark); margin: .35rem 0 1.25rem; }
.case h3 { color: #fff; margin-bottom: 1rem; }
.case__role { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: var(--c-muted-dark); }
.case__role span { display: inline-block; margin-right: .4rem; padding: .1rem .5rem; border-radius: .35rem; background: var(--c-sky); color: var(--c-ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.case--placeholder { border-style: dashed; border-color: rgba(245, 210, 122, .5); }
/* Placeholder text on dark: amber (11:1 on ink) */
.section--ink .ph-text { color: #f5d27a; }

/* ---------- 10. In-action tiles and mini visuals ---------------------- */
.tile {
  display: flex; flex-direction: column;
  padding: 1rem 1rem 1.4rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile h3 { margin: 1.2rem .4rem .35rem; font-size: 1.2rem; }
.tile p { margin: 0 .4rem 1rem; color: var(--c-muted); font-size: .95rem; }
.tile__link { margin: auto .4rem 0; font-weight: 600; font-size: .9rem; }
.ph-text { color: #8a5a00; } /* amber placeholder text on light (5.6:1 on white) */

.tile__visual {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: .5rem;
  height: 10rem; padding: 1rem;
  border-radius: 1rem; overflow: hidden;
}
.tile__visual--blue { background: var(--c-blue-wash); }
.tile__visual--sky { background: var(--c-sky-wash); }
.tile__visual--cyan { background: var(--c-cyan-wash); }
.tile__visual--ink { background: var(--c-ink); }

/* Mini chat bubbles */
.mini-bubble { max-width: 85%; padding: .45rem .7rem; border-radius: .8rem; font-size: .78rem; line-height: 1.3; }
.mini-bubble--q { align-self: flex-end; background: #fff; border-bottom-right-radius: .2rem; }
.mini-bubble--a { align-self: flex-start; background: var(--c-blue); color: #fff; border-bottom-left-radius: .2rem; }

/* Mini bar chart (grows on reveal) */
.mini-bars { display: flex; align-items: flex-end; gap: .55rem; height: 100%; padding: 0 .5rem; }
.mini-bars i { flex: 1; border-radius: .4rem .4rem 0 0; background: var(--c-ink); transform-origin: bottom; }
.mini-bars i:nth-child(1) { height: 30%; }
.mini-bars i:nth-child(2) { height: 45%; }
.mini-bars i:nth-child(3) { height: 40%; }
.mini-bars i:nth-child(4) { height: 65%; }
.mini-bars i:nth-child(5) { height: 90%; background: var(--c-blue); }

/* ---------- 11. Process steps ---------------------------------------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; margin: 0; }
.steps-row::before { content: ""; position: absolute; top: 1.75rem; left: 12%; right: 12%; border-top: 2px dashed rgba(15, 23, 42, .25); }
.step { position: relative; text-align: center; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem;
  border-radius: 50%;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  background: var(--c-ink); color: var(--c-sky);
  box-shadow: 0 0 0 8px #f1f5f9;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--c-muted); margin: 0; }
@media (max-width: 767.98px) {
  .steps-row { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .steps-row::before { display: none; }
}

/* ---------- 12. Why work with me ------------------------------------------------- */
.portrait { position: relative; margin-right: 1.25rem; } /* room for the offset frame */
.portrait::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan) 60%, var(--c-sky));
}
.portrait img { position: relative; width: 100%; height: auto; border-radius: var(--radius-lg); background: #fff; }
.portrait__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: var(--c-ink); color: #fff; font-size: .85rem; font-weight: 600;
}
/* Why-work-with-me section */
.founder-quote {
  position: relative;
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.6rem 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--c-ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
}
.founder-quote::before { content: "\201C"; position: absolute; top: -1.6rem; left: 1.2rem; font-size: 4.5rem; line-height: 1; color: var(--c-sky); }
.founder-quote p { margin: 0; }
.why__lead { font-size: 1.12rem; color: var(--c-muted); margin: 1.25rem 0 1.75rem; }

/* Focus ladder: AI is the biggest, boldest step */
.focus { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.75rem; }
.focus__item {
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--c-line); background: #fff;
  font-weight: 600; font-size: .92rem;
}
.focus__item--lead {
  padding: .6rem 1.4rem;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  background: var(--c-blue); border-color: var(--c-blue); color: #fff;
  box-shadow: 0 0 0 4px var(--c-sky-wash);
}

.models { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--c-blue-wash); }
.models__title { font-weight: 700; margin-bottom: .75rem; }
.models__list { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.models__list li { font-size: .88rem; font-weight: 600; padding: .35rem .85rem; border-radius: 999px; background: #fff; }
.models__list .models__more { background: var(--c-blue); color: #fff; }

/* Straight-shooter principles */
.straight { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 3.5rem 0 0; }
@media (max-width: 991.98px) { .straight { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .straight { grid-template-columns: 1fr; } }
.straight li { padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); transition: transform .25s ease, box-shadow .25s ease; }
.straight li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.straight__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border-radius: .85rem; background: var(--c-ink); }
.straight__icon svg { width: 1.3rem; height: 1.3rem; fill: var(--c-sky); }
.straight h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.straight p { margin: 0; color: var(--c-muted); font-size: .95rem; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2rem 0 0; border-radius: var(--radius-lg); background: var(--c-ink); overflow: hidden; }
@media (max-width: 767.98px) { .stats { grid-template-columns: 1fr 1fr; } }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.5rem 1.6rem; border-right: 1px solid rgba(255, 255, 255, .1); }
.stats__item:last-child { border-right: 0; }
.stats dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; line-height: 1; letter-spacing: -0.04em; color: var(--c-sky); }
.stats dd.ph-text { color: #f5d27a; }
.stats dt { margin-top: .5rem; font-weight: 500; font-size: .9rem; color: var(--c-muted-dark); }

.why__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.why__foot p { margin: 0; font-size: 1.08rem; max-width: 36rem; }

/* ---------- 13. Testimonials, FAQ ------------------------------------ */
.quote { position: relative; margin: 0; padding: 2rem; border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; }
.quote::before { content: "\201C"; position: absolute; top: .5rem; right: 1.5rem; font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--c-blue); opacity: .2; }
.quote blockquote { flex-grow: 1; margin: 1rem 0 1.5rem; font-size: 1.25rem; font-family: var(--font-head); font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; font-size: .92rem; color: var(--c-muted); }
.quote figcaption strong { color: var(--c-ink); }
.quote--placeholder { border: 2px dashed #e0b84c; background: #fff8e6; }
.ph-avatar { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #e9d9a8; }

.faq {
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: var(--c-line);
  --bs-accordion-border-radius: 1rem;
  --bs-accordion-inner-border-radius: 1rem;
  --bs-accordion-active-bg: var(--c-sky-wash);
  --bs-accordion-active-color: var(--c-ink);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
  --bs-accordion-btn-padding-y: 1.2rem;
}
.faq .accordion-header { margin: 0; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }

/* ---------- 14. Placeholder boxes ------------------------------------ */
.ph-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  text-align: center;
  padding: 1rem;
  border: 2px dashed #e0b84c;
  border-radius: 1rem;
  background: #fff8e6;
  color: #5c4300;
  font-size: .9rem;
}
.ph-box--image { aspect-ratio: 16 / 10; }
.ph-box__label {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: #9a6700;
  padding: .1rem .5rem; border-radius: .3rem;
}
.ph-box .ph-box__label { align-self: center; }

/* ---------- 15. Contact (CTA band + form) ----------------------------- */
.section--cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(40rem 25rem at 0% 0%, rgba(37, 99, 235, .45), transparent 60%),
    radial-gradient(35rem 25rem at 100% 100%, rgba(147, 197, 253, .18), transparent 60%),
    var(--c-ink);
  color: #fff;
}
.section--cta h2 { color: #fff; }
.cta__lead { font-size: 1.15rem; color: var(--c-muted-dark); margin: 1.25rem 0 1.5rem; }
.cta__checks { padding: 0; margin: 0 0 1.5rem; list-style: none; }
.cta__checks li { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; font-weight: 500; }
.cta__checks li::before { content: "\2713"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--c-sky); color: var(--c-ink); font-size: .8rem; font-weight: 700; }
.contact-options li { padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-options__label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted-dark); }
.section--cta .contact-options a { color: var(--c-sky); }

.contact-form {
  background: #fff; color: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.contact-form a { color: var(--c-blue); }
.contact-form .form-label { font-weight: 600; }
.contact-form .form-control,
.contact-form .form-select { padding: .75rem .95rem; border-color: #94a3b8; border-radius: .75rem; } /* 3:1 border */
.contact-form .form-text { color: var(--c-muted); }
.req { color: #b42318; }
.optional { font-weight: 400; color: var(--c-muted); }
.form-note { font-size: .9rem; color: var(--c-muted); }
.form-status { margin: 1rem 0 0; font-weight: 500; }
.form-status.is-error { color: #b42318; }
.form-error-summary { border: 2px solid #b42318; background: #fef3f2; color: #7a271a; border-radius: .75rem; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.form-error-summary ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.form-error-summary a { color: #7a271a; }
/* Honeypot: moved off-screen (not display:none, which some bots detect) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 16. Footer and simple pages ------------------------------- */
.site-footer { background: #0b1120; color: var(--c-muted-dark); padding: 2rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-sky); }
.brand--footer { color: #fff; font-size: 1.1rem; }

/* privacy.html, thank-you.html, 404.html */
.page-simple { padding: clamp(3.5rem, 7vw, 6rem) 0; min-height: 60vh; }
.page-simple h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); margin-bottom: 1rem; }
.page-simple h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: .5rem; }

/* ---------- 17. Reveal, motion pause, reduced motion, etc. ------------- */
/* Scroll reveal: only active when JS adds .js-reveal to <html>
   (so content is never hidden if JS fails or motion is reduced) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* "Pause motion" button freezes every animation on the page */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker__track { animation: none; }
  .dash { transform: none; }
  .pillar:hover, .case:hover, .tile:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero__bg, .portrait::before { display: none; }
  .rotator__word > span { background: none; -webkit-text-fill-color: currentColor; }
  .mark { background: none; }
}
@media print {
  .site-header, .hero__bg, .motion-toggle, .ticker, .contact-form, .skip-link, .dash-scene { display: none !important; }
  .section--ink, .section--cta { background: #fff !important; color: #000 !important; }
  .section--ink *, .section--cta * { color: #000 !important; }
}

/* ---------- 18. Promises, platform chips, animated mini visuals ------- */

/* Platform chips inside the paid-media case card */
.platforms { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: -.25rem 0 1rem; list-style: none; }
.platforms li { font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }

/* Promise cards: dark, with a soft glow that follows the hover */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 0; }
@media (max-width: 767.98px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-card {
  position: relative;
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
/* Animated gradient edge that fades in on hover/focus */
.promise-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), var(--c-blue), var(--c-sky), var(--c-cyan), var(--c-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  animation: spin-angle 6s linear infinite;
  pointer-events: none;
}
.promise-card:hover::before,
.promise-card:focus-within::before { opacity: 1; }
.promise-card:hover { transform: translateY(-4px); }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-angle { to { --angle: 360deg; } }

.promise-card__icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem;
  border-radius: .85rem;
  background: rgba(147, 197, 253, .12);
}
.promise-card__icon svg { width: 1.35rem; height: 1.35rem; fill: var(--c-sky); }
.promise-card h3 { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.25rem; margin-bottom: .6rem; }
.promise-card p { color: var(--c-muted-dark); margin: 0; }

/* Icon "pops" when the card scrolls into view */
.js-reveal .promise-grid .reveal .promise-card__icon { transform: scale(.4) rotate(-20deg); opacity: 0; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .25s, opacity .4s ease .25s; }
.js-reveal .promise-grid .reveal.is-visible .promise-card__icon { transform: none; opacity: 1; }

/* Toggletip (i) button: 24px minimum target (WCAG 2.5.8) */
.tip-btn {
  flex: none;
  display: inline-grid; place-items: center;
  width: 1.5rem; height: 1.5rem;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--c-muted-dark);
  background: transparent;
  color: var(--c-muted-dark);
  font-family: Georgia, serif; font-style: italic; font-weight: 700; font-size: .85rem; line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tip-btn:hover,
.tip-btn[aria-expanded="true"] { background: var(--c-sky); border-color: var(--c-sky); color: var(--c-ink); }
.tip {
  margin-top: .9rem !important;
  padding: .7rem .9rem;
  border-radius: .75rem;
  background: rgba(147, 197, 253, .1);
  border-left: 3px solid var(--c-sky);
  color: #dbeafe !important;
  font-size: .95rem;
  animation: tip-in .3s ease;
}
@keyframes tip-in { from { opacity: 0; transform: translateY(-6px); } }

/* Stagger: children of a .reveal-group fade in one after another */
.js-reveal .reveal-group .reveal:nth-child(2) { transition-delay: .12s; }
.js-reveal .reveal-group .reveal:nth-child(3) { transition-delay: .24s; }
.js-reveal .reveal-group .reveal:nth-child(4) { transition-delay: .36s; }

/* Mini visuals animate once their tile is visible */
.js-reveal .reveal .mini-bars i { transform: scaleY(0); transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.js-reveal .reveal.is-visible .mini-bars i { transform: scaleY(1); }
.js-reveal .reveal.is-visible .mini-bars i:nth-child(2) { transition-delay: .1s; }
.js-reveal .reveal.is-visible .mini-bars i:nth-child(3) { transition-delay: .2s; }
.js-reveal .reveal.is-visible .mini-bars i:nth-child(4) { transition-delay: .3s; }
.js-reveal .reveal.is-visible .mini-bars i:nth-child(5) { transition-delay: .4s; }

.js-reveal .reveal .mini-bubble { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.is-visible .mini-bubble { opacity: 1; transform: none; }
.js-reveal .reveal.is-visible .mini-bubble--a { transition-delay: .7s; }

/* Mini channel bars (Google / Meta / LinkedIn) */
.mini-channels { display: flex; flex-direction: column; gap: .7rem; width: 100%; }
.mini-channels > span { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; gap: .6rem; font-size: .78rem; }
.mini-channels b { font-weight: 700; color: var(--c-ink); }
.mini-channels i { display: block; height: .7rem; border-radius: 999px; background: var(--c-ink); transform-origin: left; }
.mini-channels .w1 { width: 70%; }
.mini-channels .w2 { width: 95%; background: var(--c-blue); }
.mini-channels .w3 { width: 55%; }
.js-reveal .reveal .mini-channels i { transform: scaleX(0); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.js-reveal .reveal.is-visible .mini-channels i { transform: scaleX(1); }
.js-reveal .reveal.is-visible .mini-channels .w2 { transition-delay: .15s; }
.js-reveal .reveal.is-visible .mini-channels .w3 { transition-delay: .3s; }

/* Mini funnel */
.mini-funnel { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.mini-funnel i {
  display: block; font-style: normal; font-size: .75rem; font-weight: 700; text-align: center;
  padding: .35rem 0; border-radius: .45rem;
}
.mini-funnel i:nth-child(1) { width: 11rem; background: rgba(255, 255, 255, .14); color: #fff; }
.mini-funnel i:nth-child(2) { width: 8rem; background: var(--c-blue); color: #fff; }
.mini-funnel i:nth-child(3) { width: 5.5rem; background: var(--c-sky); color: var(--c-ink); }
.js-reveal .reveal .mini-funnel i { opacity: 0; transform: translateY(-8px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.is-visible .mini-funnel i { opacity: 1; transform: none; }
.js-reveal .reveal.is-visible .mini-funnel i:nth-child(2) { transition-delay: .2s; }
.js-reveal .reveal.is-visible .mini-funnel i:nth-child(3) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .promise-card::before { animation: none; }
  .promise-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .promise-card::before { display: none; }
}
