/* =========================================================
   atw-showcase / styles.css
   Modern 2026 redesign. OKLCH brand, light-dark() theming,
   container queries, view transitions, scroll-linked motion.
   ========================================================= */

@layer reset, tokens, base, layout, components, utilities;

/* ------------------------------ RESET ------------------------------ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; padding: 0; }
  html, body { height: 100%; }
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  img, svg, video { display: block; max-width: 100%; height: auto; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  input, textarea, select { font: inherit; color: inherit; }
  ul, ol { list-style: none; }
  :where(h1, h2, h3, h4, h5, h6) { font: inherit; font-weight: 800; }
}

/* ------------------------------ TOKENS ----------------------------- */
@layer tokens {
  @font-face {
    font-family: 'Lovelo';
    src: url('https://db.onlinewebfonts.com/t/c767626538286cc0ebb99ed1ac50dd08.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Lovelo';
    src: url('https://db.onlinewebfonts.com/t/088f292cf151a6e496fc8cdc5441b3e3.woff2') format('woff2');
    font-weight: 900; font-style: normal; font-display: swap;
  }

  :root {
    color-scheme: light dark;

    /* Brand --- OKLCH gives more vibrant gradients than sRGB */
    --brand-blue:   oklch(58% 0.21 264);
    --brand-purple: oklch(54% 0.25 295);
    --brand-red:    oklch(62% 0.21 27);
    --brand-grad:    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-purple) 50%, var(--brand-red) 100%);
    --brand-grad-h:  linear-gradient(to right, var(--brand-blue), var(--brand-purple), var(--brand-red));

    /* Surfaces / text --- auto via light-dark() */
    --bg:           light-dark(oklch(99% 0.005 250),  oklch(13% 0.012 270));
    --bg-soft:      light-dark(oklch(97% 0.008 250),  oklch(16% 0.014 270));
    --bg-elev:      light-dark(oklch(100% 0 0),       oklch(19% 0.016 270));
    --surface:      light-dark(oklch(96% 0.008 250),  oklch(22% 0.018 270));
    --glass:        light-dark(rgb(255 255 255 / .66), rgb(20 22 30 / .55));
    --glass-strong: light-dark(rgb(255 255 255 / .82), rgb(22 24 32 / .72));

    --border:        light-dark(rgb(15 23 42 / .08),  rgb(255 255 255 / .10));
    --border-strong: light-dark(rgb(15 23 42 / .16),  rgb(255 255 255 / .18));

    --text:        light-dark(oklch(18% 0.02 270),   oklch(95% 0.01 250));
    --text-muted:  light-dark(oklch(38% 0.02 270),   oklch(72% 0.01 250));
    --text-dim:    light-dark(oklch(54% 0.015 270),  oklch(58% 0.01 250));

    --tint-blue:   color-mix(in oklch, var(--brand-blue), transparent 88%);
    --tint-purple: color-mix(in oklch, var(--brand-purple), transparent 88%);
    --tint-red:    color-mix(in oklch, var(--brand-red), transparent 90%);

    --ring: color-mix(in oklch, var(--brand-blue), transparent 60%);

    /* Type */
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Lovelo', 'Inter', system-ui, sans-serif;

    /* Radii / spacing */
    --r-sm: 0;
    --r:    0;
    --r-lg: 0;
    --r-xl: 0;

    --wrap:  1200px;
    --gutter: clamp(1rem, 2.5vw, 1.75rem);

    /* Motion */
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 160ms;
    --t-med:  280ms;
    --t-slow: 480ms;

    --shadow-1: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .04);
    --shadow-2: 0 6px 24px rgb(0 0 0 / .06), 0 16px 48px rgb(0 0 0 / .08);
  }

  [data-theme="light"] { color-scheme: light; }
  [data-theme="dark"]  { color-scheme: dark; }
  :root.light { color-scheme: light; }
  :root.dark  { color-scheme: dark; }
}

/* ------------------------------ BASE ------------------------------- */
@layer base {
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    font-family: var(--font-sans);
    font-feature-settings: "cv11", "ss03";
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    background-image:
      radial-gradient(60% 40% at 80% -10%, color-mix(in oklch, var(--brand-blue), transparent 90%), transparent 70%),
      radial-gradient(50% 35% at -10% 20%, color-mix(in oklch, var(--brand-purple), transparent 92%), transparent 70%);
    background-attachment: fixed;
  }

  h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
  p { text-wrap: pretty; }

  ::selection { background: color-mix(in oklch, var(--brand-blue), transparent 70%); color: var(--text); }

  :focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 0; }

  a { transition: color var(--t-fast) var(--ease); }
  a:hover { color: var(--brand-blue); }

  .skip-link {
    position: absolute; left: 1rem; top: -3rem;
    padding: .6rem 1rem; border-radius: 0;
    background: var(--bg-elev); color: var(--text);
    border: 1px solid var(--border-strong);
    z-index: 1000;
    transition: top var(--t-fast) var(--ease);
  }
  .skip-link:focus { top: 1rem; }

  /* Cross-document view transitions --- progressive enhancement */
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: .35s; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* ------------------------------ LAYOUT ----------------------------- */
@layer layout {
  .wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }

  .page { display: flow-root; }

  .section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
  .section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
  .section--soft  { background: var(--bg-soft); border-block: 1px solid var(--border); }
  .section--elev  { background: var(--bg-elev); }

  .grid-cards {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  }
}

/* ----------------------------- COMPONENTS -------------------------- */
@layer components {

  /* ----- Header ----- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    padding-block: .75rem;
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
    view-transition-name: site-header;
  }
  .site-header.is-scrolled {
    background: var(--glass-strong);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 24px rgb(0 0 0 / .04);
  }
  .site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.25rem;
  }

  /* ----- Logo ----- */
  .logo {
    display: inline-flex; align-items: center; gap: .65rem;
    font-weight: 700;
    view-transition-name: site-logo;
  }
  .logo__badge {
    display: inline-grid; place-items: center;
    padding: .35rem .6rem;
    border-radius: 0;
    background: var(--brand-grad-h);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .95rem;
    letter-spacing: .04em;
    box-shadow: 0 4px 14px color-mix(in oklch, var(--brand-purple), transparent 70%);
  }
  .logo__name {
    font-size: 1.05rem;
    color: var(--text);
  }

  /* ----- Nav ----- */
  .site-nav {
    display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.5rem);
  }
  .site-nav > a {
    position: relative;
    padding: .45rem .25rem;
    color: var(--text-muted);
    font-size: .95rem;
    font-weight: 500;
    transition: color var(--t-fast) var(--ease);
  }
  .site-nav > a::after {
    content: ''; position: absolute; left: 50%; right: 50%; bottom: -2px;
    height: 2px; border-radius: 2px;
    background: var(--brand-grad-h);
    transition: left var(--t-med) var(--ease), right var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
    opacity: 0;
  }
  .site-nav > a:hover { color: var(--text); }
  .site-nav > a:hover::after,
  .site-nav > a[aria-current="page"]::after { left: 0; right: 0; opacity: 1; }
  .site-nav > a[aria-current="page"] { color: var(--text); font-weight: 600; }

  /* ----- Theme toggle ----- */
  .theme-toggle {
    --size: 38px;
    width: var(--size); height: var(--size);
    display: inline-grid; place-items: center;
    border-radius: 0;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-elev);
    transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .theme-toggle:hover { color: var(--brand-blue); border-color: var(--border-strong); transform: translateY(-1px); }
  .theme-toggle__icon { width: 18px; height: 18px; display: none; }
  /* Parent-style class theming: .light shows sun, .dark shows moon */
  :root.light .theme-toggle .i-sun  { display: block; }
  :root.dark  .theme-toggle .i-moon { display: block; }
  /* Back-compat: data-theme attribute still works */
  [data-theme="light"] .theme-toggle .i-sun  { display: block; }
  [data-theme="dark"]  .theme-toggle .i-moon { display: block; }

  /* ----- Buttons ----- */
  .btn {
    --pad-y: .85rem;
    --pad-x: 1.5rem;
    display: inline-flex; align-items: center; gap: .55rem;
    padding: var(--pad-y) var(--pad-x);
    border-radius: 0;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), color var(--t-fast) var(--ease);
    will-change: transform;
  }
  .btn--sm { --pad-y: .55rem; --pad-x: 1rem; font-size: .85rem; }
  .btn--primary {
    color: #fff;
    background: var(--brand-grad-h);
    box-shadow: 0 8px 24px color-mix(in oklch, var(--brand-purple), transparent 70%);
  }
  .btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px color-mix(in oklch, var(--brand-purple), transparent 60%); }
  .btn--secondary {
    color: var(--text);
    background: var(--bg-elev);
    border-color: var(--border-strong);
  }
  .btn--secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-2px); }
  .btn--ghost { color: var(--text-muted); background: transparent; }
  .btn--ghost:hover { color: var(--brand-blue); }

  /* ----- Eyebrow, gradient text ----- */
  .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--text-muted);
  }
  .gradient-text {
    background: var(--brand-grad-h);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* ----- Hero ----- */
  .hero {
    position: relative;
    padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 8vw, 6rem);
    overflow: hidden;
    isolation: isolate;
  }
  .hero__glow {
    position: absolute; inset: -15%;
    z-index: -1;
    background:
      radial-gradient(40% 50% at 18% 28%, color-mix(in oklch, var(--brand-blue), transparent 55%), transparent 65%),
      radial-gradient(38% 48% at 82% 22%, color-mix(in oklch, var(--brand-purple), transparent 55%), transparent 65%),
      radial-gradient(45% 40% at 50% 92%, color-mix(in oklch, var(--brand-red), transparent 60%), transparent 65%);
    filter: blur(64px) saturate(130%);
    animation: heroDrift 28s ease-in-out infinite alternate;
    will-change: transform;
  }
  .hero__glow::after {
    content: ''; position: absolute; inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0 24px, color-mix(in oklch, var(--text), transparent 96%) 24px 25px),
      repeating-linear-gradient(90deg, transparent 0 24px, color-mix(in oklch, var(--text), transparent 96%) 24px 25px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: .5;
  }
  @keyframes heroDrift {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg)  scale(1); }
    100% { transform: translate3d(3%, -4%, 0) rotate(8deg) scale(1.05); }
  }

  .hero__badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: var(--glass-strong);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    color: var(--text-muted);
    font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  }
  .hero__badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-grad-h);
    box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand-blue), transparent 80%);
  }
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.02;
    margin-top: 1.25rem;
  }
  .hero__lede {
    margin-top: 1.25rem;
    max-width: 60ch;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-muted);
  }
  .hero__actions { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }
  .hero--center { text-align: center; }
  .hero--center .hero__lede { margin-inline: auto; }
  .hero--center .hero__actions { justify-content: center; }

  /* ----- Hero split (case study) ----- */
  .hero--split .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
  }
  @media (max-width: 900px) {
    .hero--split .hero__grid { grid-template-columns: 1fr; }
  }
  .hero__domain { font-size: .95rem; color: var(--text-muted); margin-bottom: .75rem; }
  .hero__chips { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
  .hero__status { margin-top: 1rem; display: flex; gap: 1rem; font-size: .85rem; color: var(--text-dim); }
  .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; margin-right: .35rem; box-shadow: 0 0 0 4px color-mix(in oklch, #22c55e, transparent 80%); }

  /* ----- Hero stats (category) ----- */
  .hero__stats {
    margin-top: 2.5rem;
    display: grid; gap: clamp(1rem, 3vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
  .stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1; color: var(--text); }
  .stat__label { margin-top: .35rem; font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }

  /* ----- Chips / tags ----- */
  .chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    font-size: .8rem; font-weight: 600;
    color: var(--brand-blue);
    background: var(--tint-blue);
    border: 1px solid color-mix(in oklch, var(--brand-blue), transparent 80%);
  }
  .chip svg { width: 14px; height: 14px; }
  .chip--neutral {
    color: var(--text-muted);
    background: var(--surface);
    border-color: var(--border);
  }

  /* ----- Section header ----- */
  .section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
  .section__head h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    line-height: 1.1;
    margin-top: .75rem;
  }
  .section__head p { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }

  /* ----- Card (glass, brand-tinted hover) ----- */
  .card {
    --card-tint: var(--brand-blue);
    position: relative;
    display: flex; flex-direction: column;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition:
      transform var(--t-med) var(--ease),
      border-color var(--t-med) var(--ease),
      box-shadow  var(--t-med) var(--ease),
      background  var(--t-med) var(--ease);
  }
  .card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklch, var(--card-tint), transparent 60%);
    box-shadow:
      0 20px 50px color-mix(in oklch, var(--card-tint), transparent 82%),
      0 0 0 1px color-mix(in oklch, var(--card-tint), transparent 75%);
  }
  .card--link { text-decoration: none; color: inherit; }
  .card--tint-purple { --card-tint: var(--brand-purple); }
  .card--tint-red    { --card-tint: var(--brand-red); }

  /* Project card: hero image + body */
  .project-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
  }
  .project-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow) var(--ease);
  }
  .card:hover .project-card__media img { transform: scale(1.045); }
  .project-card__media-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--tint-blue), var(--tint-purple));
  }
  .project-card__media-placeholder svg { opacity: .55; }

  .project-card__badges {
    position: absolute; left: .8rem; bottom: .8rem;
    display: flex; gap: .4rem; flex-wrap: wrap;
  }
  .badge {
    padding: .35rem .65rem;
    border-radius: 0;
    font-size: .68rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
  }
  .badge--brand { background: var(--brand-grad-h); color: #fff; }
  .badge--neutral {
    background: light-dark(rgb(255 255 255 / .85), rgb(20 22 30 / .75));
    color: var(--text);
    border: 1px solid var(--border);
  }

  .project-card__body {
    padding: 1.4rem;
    display: flex; flex-direction: column; gap: .65rem;
    flex: 1;
  }
  .project-card__meta { font-size: .8rem; color: var(--text-dim); font-weight: 600; }
  .project-card__title { font-size: 1.25rem; line-height: 1.2; }
  .project-card__desc  { font-size: .95rem; color: var(--text-muted); }
  .project-card__tags  { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
  .project-card__tag {
    font-size: .65rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .55rem;
    border-radius: 0;
    background: var(--surface);
    color: var(--text-muted);
  }
  .project-card__cta {
    margin-top: auto;
    padding-top: .5rem;
    font-weight: 600; color: var(--brand-blue);
    display: inline-flex; align-items: center; gap: .4rem;
    transition: gap var(--t-fast) var(--ease);
  }
  .card:hover .project-card__cta { gap: .7rem; }

  /* Container-query refinement */
  .grid-cards { container-type: inline-size; }
  @container (max-width: 420px) {
    .project-card__title { font-size: 1.1rem; }
    .project-card__body  { padding: 1.15rem; }
  }

  /* ----- Category pills (filter row) ----- */
  .pill-row {
    display: flex; gap: .6rem; flex-wrap: wrap;
    margin-block: 0 clamp(2rem, 4vw, 3rem);
  }
  .pill {
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .9rem; font-weight: 500;
    transition: all var(--t-fast) var(--ease);
  }
  .pill:hover { color: var(--brand-blue); border-color: color-mix(in oklch, var(--brand-blue), transparent 70%); }
  .pill[aria-current="true"] {
    color: #fff;
    background: var(--brand-grad-h);
    border-color: transparent;
    box-shadow: 0 8px 20px color-mix(in oklch, var(--brand-purple), transparent 75%);
  }

  /* ----- Feature card (icon + checklist) ----- */
  .feature {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .feature:hover { border-color: color-mix(in oklch, var(--brand-blue), transparent 65%); transform: translateY(-2px); }
  .feature__title {
    display: flex; align-items: center; gap: .7rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .feature__icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--tint-blue), var(--tint-purple));
    color: var(--brand-blue);
  }
  .feature__icon svg { width: 18px; height: 18px; }
  .feature__list { display: flex; flex-direction: column; gap: .6rem; }
  .feature__list li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .92rem; line-height: 1.55;
    color: var(--text-muted);
  }
  .feature__list li::before {
    content: '';
    flex-shrink: 0; margin-top: .55rem;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-grad-h);
  }

  /* ----- Special card (centered icon) ----- */
  .special-grid {
    display: grid; gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .special {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: center;
    transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .special:hover { border-color: color-mix(in oklch, var(--brand-blue), transparent 65%); transform: translateY(-3px); }
  .special__icon {
    width: 56px; height: 56px;
    margin: 0 auto 1.2rem;
    border-radius: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--tint-blue), var(--tint-purple));
    color: var(--brand-blue);
  }
  .special__icon svg { width: 26px; height: 26px; }
  .special h3 { font-size: 1.15rem; margin-bottom: .65rem; }
  .special p { color: var(--text-muted); font-size: .95rem; }

  /* ----- Service card (icon + link) ----- */
  .service-grid {
    display: grid; gap: clamp(1rem, 2vw, 1.25rem);
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  .service {
    display: flex; gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .service:hover { border-color: color-mix(in oklch, var(--brand-blue), transparent 65%); transform: translateY(-2px); }
  .service__icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--tint-blue), var(--tint-purple));
    color: var(--brand-blue);
  }
  .service__icon svg { width: 20px; height: 20px; }
  .service__title { font-size: 1rem; font-weight: 700; }
  .service__desc { font-size: .88rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.55; }
  .service__price { font-size: .82rem; color: var(--brand-blue); font-weight: 600; margin-top: .45rem; }

  /* ----- Devices showcase ----- */
  .devices {
    display: grid;
    grid-template-columns: 1.6fr .8fr .5fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: end;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  @media (max-width: 900px) { .devices { grid-template-columns: 1fr; } }
  .device {
    position: relative;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
  }
  .device img { width: 100%; }
  .device__label {
    position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%);
    padding: .25rem .75rem;
    border-radius: 0;
    font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-dim);
    background: var(--glass-strong);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
  }

  /* ----- Compact services row (provided) ----- */
  .provided-grid {
    display: grid; gap: clamp(.75rem, 1.5vw, 1rem);
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  .provided {
    padding: 1.5rem 1rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r);
    text-align: center;
    transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .provided:hover { border-color: color-mix(in oklch, var(--brand-blue), transparent 65%); transform: translateY(-2px); }
  .provided svg { width: 28px; height: 28px; color: var(--brand-blue); margin: 0 auto .75rem; }
  .provided h4 { font-size: .92rem; }

  /* ----- Approach prose ----- */
  .prose { max-width: 70ch; }
  .prose p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 1.1rem; }
  .prose p:last-child { margin-bottom: 0; }

  /* ----- CTA section ----- */
  .cta {
    position: relative;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
  }
  .cta::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
      radial-gradient(60% 80% at 50% 50%, color-mix(in oklch, var(--brand-purple), transparent 80%), transparent 70%),
      var(--bg-soft);
  }
  .cta h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); margin-bottom: .85rem; }
  .cta p { color: var(--text-muted); max-width: 50ch; margin: 0 auto 2rem; font-size: 1.05rem; }
  .cta__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

  /* ----- Hero screenshot frame (case study) ----- */
  .screenshot {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    box-shadow: 0 30px 80px color-mix(in oklch, var(--brand-purple), transparent 80%);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform var(--t-slow) var(--ease);
  }
  .screenshot:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
  .screenshot::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgb(255 255 255 / .12) 0%, transparent 30%);
  }
  @media (max-width: 900px) { .screenshot { transform: none; } }

  /* ----- Footer ----- */
  .site-footer {
    padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    margin-top: clamp(3rem, 6vw, 5rem);
  }
  .site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
  }
  @media (max-width: 768px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
  .site-footer__brand .logo { margin-bottom: 1rem; }
  .site-footer__desc { color: var(--text-muted); font-size: .92rem; line-height: 1.65; margin-bottom: 1.25rem; max-width: 38ch; }
  .site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; color: var(--text); }
  .site-footer ul li { margin-bottom: .55rem; }
  .site-footer ul a { color: var(--text-muted); font-size: .92rem; }
  .site-footer ul a:hover { color: var(--brand-blue); }

  /* ----- Footer trust badges + links (parent-aligned) ----- */
  .footer-badges {
    display: flex; flex-wrap: wrap; gap: .4rem;
    margin: 0 0 1rem;
  }
  .footer-badge {
    display: inline-flex; align-items: center;
    padding: .3rem .65rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .footer-trust { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 0; padding: 0; }
  .footer-trust li { margin: 0; }
  .footer-trust a { font-size: .82rem; color: var(--text-dim); }
  .footer-trust a:hover { color: var(--brand-blue); }

  .site-footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: .85rem; color: var(--text-dim);
  }
  @media (max-width: 600px) { .site-footer__bottom { flex-direction: column; gap: .75rem; text-align: center; } }
  .socials { display: flex; gap: .6rem; }
  .socials a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 0;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--t-fast) var(--ease);
  }
  .socials a:hover { color: var(--brand-blue); border-color: color-mix(in oklch, var(--brand-blue), transparent 65%); transform: translateY(-1px); }

  /* ----- Mobile nav adjustments ----- */
  @media (max-width: 720px) {
    .site-nav { gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
    .site-nav > a:not(.btn) { font-size: .85rem; padding: .35rem .15rem; }
    .site-nav .btn { display: none; }
    .logo__name { display: none; }
  }
}

/* ----------------------------- UTILITIES --------------------------- */
@layer utilities {
  .center-x { display: flex; justify-content: center; }
  .stack { display: flex; flex-direction: column; }
  .row { display: flex; flex-wrap: wrap; gap: .5rem; }
  .mt-1 { margin-top: .5rem; }
  .mt-2 { margin-top: 1rem; }
  .mt-3 { margin-top: 1.5rem; }
  .mt-4 { margin-top: 2rem; }
  .text-muted { color: var(--text-muted); }
  .text-dim   { color: var(--text-dim); }

  /* Scroll-linked reveal --- progressive enhancement only */
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .reveal {
        animation: revealIn linear both;
        animation-timeline: view();
        animation-range: entry 5% cover 30%;
      }
      @keyframes revealIn {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
      }
    }
  }
}

/* ----------------------------- FUNNEL COMPONENTS --------------------------- */
/* Intentionally unlayered: these are page-specific components that should
   always win against the existing layered base styles. */

  /* ----- Trust strip (under hero) ----- */
  .trust-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding: .9rem clamp(1rem, 2vw, 1.5rem);
    background: var(--glass-strong);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    font-size: .92rem;
    color: var(--text-muted);
  }
  .trust-strip strong { color: var(--text); font-weight: 800; font-feature-settings: "tnum"; }
  .trust-strip span + span { position: relative; }
  .trust-strip > span { display: inline-flex; align-items: center; gap: .5rem; }

  /* ----- Results band (qualitative wins) ----- */
  .results {
    background: var(--bg-elev);
    border-block: 1px solid var(--border-strong);
    padding-block: clamp(2.5rem, 5vw, 4rem);
  }
  .results__grid {
    display: grid; gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .result {
    padding: 1.25rem 1.4rem;
    border-left: 3px solid var(--brand-blue);
    background: var(--bg-soft);
  }
  .result:nth-child(2) { border-left-color: var(--brand-purple); }
  .result:nth-child(3) { border-left-color: var(--brand-red); }
  .result:nth-child(4) { border-left-color: var(--brand-blue); }
  .result__kicker { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
  .result__headline { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; margin-top: .35rem; color: var(--text); line-height: 1.2; }
  .result__detail { margin-top: .5rem; color: var(--text-muted); font-size: .95rem; }

  /* ----- Scope strip (compact 3-up) ----- */
  .scope-strip {
    display: grid; gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    background: var(--border);
    border: 1px solid var(--border);
  }
  @media (max-width: 720px) { .scope-strip { grid-template-columns: 1fr; } }
  .scope {
    background: var(--bg-elev);
    padding: 1.5rem 1.4rem;
  }
  .scope__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: transparent; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; line-height: 1; }
  .scope__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-top: .65rem; color: var(--text); }
  .scope__body { margin-top: .5rem; color: var(--text-muted); font-size: .95rem; }

  /* ----- Blog teaser cards ----- */
  .blog-grid {
    display: grid; gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  .blog-card {
    display: flex; flex-direction: column;
    padding: 1.5rem 1.5rem 1.25rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .blog-card:hover { border-color: var(--border-strong); transform: translateY(-2px); color: var(--text); }
  .blog-card__kicker { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-blue); }
  .blog-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin-top: .6rem; line-height: 1.25; color: var(--text); }
  .blog-card__desc { margin-top: .55rem; color: var(--text-muted); font-size: .95rem; flex: 1; }
  .blog-card__cta { margin-top: 1rem; font-size: .85rem; font-weight: 700; color: var(--brand-blue); }

  /* ----- Product mini cards ----- */
  .product-grid {
    display: grid; gap: 1px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  .product {
    display: flex; flex-direction: column; gap: .5rem;
    padding: 1.5rem 1.4rem;
    background: var(--bg-elev);
    transition: background var(--t-fast) var(--ease);
  }
  .product:hover { background: var(--bg-soft); color: var(--text); }
  .product__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--text); }
  .product__desc { color: var(--text-muted); font-size: .92rem; flex: 1; }
  .product__price { font-size: .82rem; font-weight: 700; color: var(--brand-blue); font-feature-settings: "tnum"; }
  .product__cta { font-size: .82rem; font-weight: 700; color: var(--text-dim); margin-top: .25rem; }
  .product:hover .product__cta { color: var(--brand-blue); }

  /* ----- Sticky scroll CTA (case studies) ----- */
  .sticky-cta {
    position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
    z-index: 90;
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .85rem 1.25rem;
    background: var(--brand-grad);
    color: #fff;
    font-weight: 800; font-size: .92rem;
    box-shadow: 0 12px 32px rgb(0 0 0 / .25), 0 4px 12px rgb(0 0 0 / .15);
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .sticky-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .sticky-cta:hover { color: #fff; transform: translateY(-2px); }
  .sticky-cta svg { width: 16px; height: 16px; }
  @media (prefers-reduced-motion: reduce) { .sticky-cta { transition: opacity var(--t-fast) linear; transform: none; } }

/* ----- LANDING / FUNNEL ----- */
/* Bespoke layout for the showcase landing page. Animations driven by USAL
   (data-usal attributes); CSS here handles layout, type, and chrome only. */

  /* ----- Funnel container & vertical rail ----- */
  .funnel {
    position: relative;
    padding-block: clamp(2rem, 4vw, 4rem);
  }
  .funnel::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-strong) 6%, var(--border-strong) 94%, transparent);
    transform: translateX(-50%);
    pointer-events: none;
  }
  @media (max-width: 900px) { .funnel::before { left: 24px; } }

  /* ----- Individual funnel step ----- */
  .step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-block: clamp(3rem, 7vw, 6rem);
    position: relative;
  }
  @media (max-width: 900px) {
    .step { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 56px; }
  }
  .step--flip .step__copy   { order: 2; }
  .step--flip .step__visual { order: 1; }
  @media (max-width: 900px) {
    .step--flip .step__copy   { order: unset; }
    .step--flip .step__visual { order: unset; }
  }

  /* Node on the rail */
  .step::before {
    content: attr(data-step);
    position: absolute;
    left: 50%; top: clamp(3rem, 7vw, 6rem);
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--bg);
    border: 2px solid var(--brand-blue);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .95rem;
    color: var(--brand-blue);
    z-index: 2;
  }
  @media (max-width: 900px) { .step::before { left: 24px; top: clamp(2rem, 5vw, 3rem); } }

  .step__kicker {
    font-size: .72rem; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: var(--text-dim);
  }
  .step__question {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    margin-top: .65rem;
    color: var(--text);
    font-style: italic;
    text-wrap: balance;
  }
  .step__question::before { content: '\201C'; color: var(--brand-blue); margin-right: .12em; }
  .step__question::after  { content: '\201D'; color: var(--brand-blue); margin-left: .08em; }
  .step__answer {
    margin-top: 1.1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 52ch;
  }
  .step__answer strong { color: var(--text); font-weight: 700; }

  .step__megnum {
    position: absolute;
    inset-block-start: -.5rem;
    inset-inline-start: -1rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(7rem, 16vw, 14rem);
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in oklch, var(--brand-purple), transparent 70%);
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
  @media (max-width: 900px) { .step__megnum { display: none; } }
  .step__copy { position: relative; z-index: 1; }

  /* Inline CTA pill that lives in the flow */
  .inline-cta {
    margin-top: 1.5rem;
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.2rem;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-weight: 700; font-size: .92rem;
    transition: all var(--t-fast) var(--ease);
  }
  .inline-cta::before {
    content: ''; width: 8px; height: 8px;
    background: var(--brand-grad);
    border-radius: 50%;
    flex-shrink: 0;
  }
  .inline-cta:hover {
    border-color: transparent;
    background: var(--brand-grad);
    color: #fff;
    transform: translateY(-1px);
  }
  .inline-cta:hover::before { background: #fff; }

  /* ----- Visuals (mock SERPs, GBP cards, dashboards) ----- */
  .step__visual { position: relative; }
  .visual {
    position: relative;
    padding: 1.4rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px color-mix(in oklch, var(--brand-purple), transparent 86%);
    overflow: hidden;
  }
  .visual::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgb(255 255 255 / .08), transparent 30%);
  }
  .visual__chrome {
    display: flex; align-items: center; gap: .4rem;
    padding-bottom: .85rem; margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .visual__chrome > span {
    width: 10px; height: 10px; border-radius: 50%;
    background: color-mix(in oklch, var(--text-dim), transparent 60%);
  }
  .visual__chrome > span:nth-child(1) { background: oklch(72% 0.18 27); }
  .visual__chrome > span:nth-child(2) { background: oklch(82% 0.16 88); }
  .visual__chrome > span:nth-child(3) { background: oklch(72% 0.16 145); }
  .visual__url {
    margin-left: .5rem; font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .78rem; color: var(--text-dim);
    background: var(--bg-soft);
    padding: .3rem .65rem;
    flex: 1;
    text-align: center;
  }

  /* Mock search result rows */
  .serp-row {
    padding: .85rem .25rem;
    border-bottom: 1px dashed var(--border);
  }
  .serp-row:last-child { border-bottom: 0; }
  .serp-row--hl {
    background: color-mix(in oklch, var(--brand-blue), transparent 92%);
    border-left: 3px solid var(--brand-blue);
    padding-left: .85rem;
  }
  .serp-row__url {
    font-size: .72rem; color: var(--text-dim);
    font-family: ui-monospace, monospace;
  }
  .serp-row__title {
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.05rem;
    color: var(--brand-blue);
    line-height: 1.25;
    margin-top: .15rem;
  }
  .serp-row__desc {
    font-size: .85rem; color: var(--text-muted);
    margin-top: .2rem; line-height: 1.4;
  }
  .serp-row__stars {
    display: inline-block;
    color: oklch(78% 0.16 80);
    font-size: .8rem;
    margin-right: .3rem;
  }

  /* Mock Google Business Profile card */
  .gbp-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
  .gbp-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 900; color: var(--text); }
  .gbp-card__meta { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }
  .gbp-card__rating {
    display: flex; align-items: center; gap: .4rem;
    margin-top: .55rem;
    font-size: .85rem; color: var(--text);
    font-weight: 700;
  }
  .gbp-card__rating .stars { color: oklch(78% 0.16 80); letter-spacing: .05em; }
  .gbp-card__cats {
    display: flex; flex-wrap: wrap; gap: .35rem;
    margin-top: .85rem;
  }
  .gbp-card__cat {
    padding: .2rem .55rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: .72rem; color: var(--text-muted);
    font-weight: 600;
  }
  .gbp-card__rank {
    display: grid; place-items: center;
    width: 64px; height: 64px;
    background: var(--brand-grad);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 900; font-size: 1.6rem;
    text-align: center;
  }
  .gbp-card__rank small { display: block; font-size: .55rem; letter-spacing: .12em; opacity: .85; margin-top: 2px; }

  /* Mock metric panel */
  .metric-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
  .metric {
    padding: 1rem .9rem;
    background: var(--bg-elev);
  }
  .metric__label { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); font-weight: 800; }
  .metric__value {
    font-family: var(--font-display);
    font-size: 1.85rem; font-weight: 900;
    background: var(--brand-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1; margin-top: .35rem;
    font-feature-settings: "tnum";
  }
  .metric__sub { font-size: .72rem; color: var(--text-muted); margin-top: .25rem; }

  /* Mock review stack */
  .review-stack { display: grid; gap: .65rem; }
  .review {
    padding: .85rem 1rem;
    background: var(--bg-soft);
    border-left: 3px solid var(--brand-blue);
  }
  .review:nth-child(2) { border-left-color: var(--brand-purple); }
  .review:nth-child(3) { border-left-color: var(--brand-red); }
  .review__stars { color: oklch(78% 0.16 80); font-size: .85rem; }
  .review__quote { font-size: .9rem; color: var(--text); margin-top: .25rem; font-style: italic; line-height: 1.4; }
  .review__by { font-size: .72rem; color: var(--text-dim); margin-top: .35rem; }

  /* Step "do" list */
  .do-list { margin-top: 1.25rem; display: grid; gap: .55rem; padding: 0; }
  .do-list li {
    position: relative; padding-left: 1.5rem;
    color: var(--text-muted); font-size: .95rem; line-height: 1.5;
  }
  .do-list li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 8px; height: 1px; background: var(--brand-blue);
  }

  /* ----- Big "question" intro band ----- */
  .question-band {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: var(--bg-soft);
    border-block: 1px solid var(--border);
    text-align: center;
  }
  .question-band__lead {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
    color: var(--text);
    text-wrap: balance;
    margin: 0 auto;
    max-width: 22ch;
  }
  .question-band__lead em {
    font-style: normal;
    background: var(--brand-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
  .question-band__sub {
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 56ch;
    margin-inline: auto;
  }
  .ticker {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .5rem .75rem;
    margin-top: 1.5rem;
  }
  .ticker__q {
    padding: .35rem .9rem;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    font-size: .85rem; color: var(--text-muted);
    font-style: italic;
  }

  /* ----- Stack reveal grid (products as layers) ----- */
  .stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  @media (max-width: 900px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .stack-grid { grid-template-columns: 1fr; } }
  .stack-cell {
    padding: 1.4rem 1.3rem;
    background: var(--bg-elev);
    display: flex; flex-direction: column; gap: .35rem;
    transition: background var(--t-fast) var(--ease);
    color: inherit;
  }
  .stack-cell:hover { background: var(--bg-soft); color: var(--text); }
  .stack-cell__layer { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
  .stack-cell__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--text); }
  .stack-cell__desc  { font-size: .88rem; color: var(--text-muted); flex: 1; margin-top: .25rem; }
  .stack-cell__link  { font-size: .8rem; font-weight: 700; color: var(--brand-blue); margin-top: .6rem; }

  /* ----- Pull-quote final CTA ----- */
  .pull-cta {
    padding-block: clamp(4rem, 8vw, 6.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .pull-cta::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(60% 50% at 50% 0%, color-mix(in oklch, var(--brand-blue), transparent 86%), transparent 70%),
      radial-gradient(50% 40% at 50% 100%, color-mix(in oklch, var(--brand-red), transparent 88%), transparent 70%);
    pointer-events: none;
  }
  .pull-cta__quote {
    position: relative;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 4.4vw, 3.2rem);
    line-height: 1.1;
    color: var(--text);
    max-width: 22ch;
    margin: 0 auto;
    text-wrap: balance;
  }
  .pull-cta__quote em {
    font-style: normal;
    background: var(--brand-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
  .pull-cta__sub { position: relative; margin-top: 1.25rem; color: var(--text-muted); font-size: 1.05rem; max-width: 50ch; margin-inline: auto; }
  .pull-cta__actions { position: relative; margin-top: 2rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

  /* USAL guard: respect reduced motion globally for any data-usal element */
  @media (prefers-reduced-motion: reduce) {
    [data-usal] { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  }


/* ----- FUNNEL CHROMELESS LANDING ----- */
/* When body has .chromeless, suppress the standard site header and inject
   a minimal floating bar (logo + theme + CTA) that lives over the content. */

  .chromeless .site-header { display: none; }
  .chromeless .page { padding-top: 0; }

  /* The floating brand + CTA pill that replaces the nav */
  .funnel-bar {
    position: fixed;
    top: clamp(.75rem, 1.5vw, 1.25rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem);
    padding: .55rem .65rem .55rem 1rem;
    background: color-mix(in oklch, var(--bg), transparent 8%);
    border: 1px solid var(--border);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 10px 30px rgb(0 0 0 / .12), 0 2px 6px rgb(0 0 0 / .06);
    border-radius: 999px;
    max-width: calc(100% - 1.5rem);
  }
  :root.dark .funnel-bar {
    background: color-mix(in oklch, var(--bg-elev), transparent 20%);
    box-shadow: 0 10px 30px rgb(0 0 0 / .35), 0 2px 6px rgb(0 0 0 / .25);
  }
  .funnel-bar__brand {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
  }
  .funnel-bar__badge {
    display: inline-grid; place-items: center;
    width: 28px; height: 28px;
    background: var(--brand-grad);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .7rem;
    letter-spacing: .04em;
    border-radius: 6px;
  }
  .funnel-bar__name { font-size: .95rem; }
  .funnel-bar__actions {
    display: inline-flex; align-items: center; gap: .35rem;
    padding-left: clamp(.5rem, 2vw, 1rem);
    border-left: 1px solid var(--border);
  }
  .funnel-bar__cta {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1rem;
    background: var(--brand-grad);
    color: #fff;
    text-decoration: none;
    font-weight: 700; font-size: .88rem;
    border-radius: 999px;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
    white-space: nowrap;
  }
  .funnel-bar__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in oklch, var(--brand-blue), transparent 60%); color: #fff; }
  .funnel-bar .theme-toggle { border: 0; background: transparent; }

  /* Mobile: shrink the bar gracefully */
  @media (max-width: 560px) {
    .funnel-bar { padding: .4rem .45rem .4rem .75rem; gap: .5rem; top: .5rem; }
    .funnel-bar__name { display: none; }
    .funnel-bar__actions { padding-left: .35rem; }
    .funnel-bar__cta { padding: .5rem .8rem; font-size: .82rem; }
    .funnel-bar__cta svg { display: none; }
  }

  /* ---------------- HERO CINEMA (video bg) ---------------- */
  .hero-cinema {
    position: relative;
    min-height: min(100svh, 860px);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    padding-top: clamp(5rem, 10vh, 7rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
  }
  .hero-cinema__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    background: #0b0c10;
  }
  .hero-cinema__veil {
    position: absolute; inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, rgb(11 12 16 / .35) 0%, rgb(11 12 16 / .55) 40%, rgb(11 12 16 / .85) 100%),
      radial-gradient(70% 60% at 50% 35%, color-mix(in oklch, var(--brand-purple), transparent 60%) 0%, transparent 70%),
      radial-gradient(50% 40% at 80% 70%, color-mix(in oklch, var(--brand-red), transparent 70%) 0%, transparent 70%);
  }
  .hero-cinema__inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
  }
  .hero-cinema__badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: rgb(255 255 255 / .08);
    border: 1px solid rgb(255 255 255 / .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .02em;
  }
  .hero-cinema__badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: linear-gradient(135deg, oklch(76% 0.18 250), oklch(72% 0.20 330));
    box-shadow: 0 0 0 4px rgb(255 255 255 / .12);
  }
  .hero-cinema__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 7vw, 5.25rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    color: #fff;
    text-wrap: balance;
    max-width: 18ch;
    margin: 0;
    text-shadow: 0 2px 30px rgb(0 0 0 / .35);
  }
  .hero-cinema__accent {
    background: linear-gradient(135deg, oklch(80% 0.16 250) 0%, oklch(76% 0.20 320) 50%, oklch(78% 0.18 28) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }
  .hero-cinema__lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.6;
    color: rgb(255 255 255 / .85);
    max-width: 60ch;
    margin: 0;
    text-wrap: pretty;
  }
  .hero-cinema__actions {
    display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
    margin-top: .25rem;
  }
  .hero-cinema__trust {
    display: flex; gap: clamp(1rem, 3vw, 2.5rem);
    flex-wrap: wrap; justify-content: center;
    margin-top: 1rem;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    background: rgb(255 255 255 / .06);
    border: 1px solid rgb(255 255 255 / .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgb(255 255 255 / .8);
    font-size: .88rem;
  }
  .hero-cinema__trust strong { color: #fff; font-weight: 800; font-feature-settings: "tnum"; }
  @media (max-width: 540px) {
    .hero-cinema__trust { flex-direction: column; gap: .35rem; align-items: center; border-radius: 18px; }
  }

  /* Animated scroll cue */
  .hero-cinema__scroll {
    position: absolute; left: 50%; bottom: 1.4rem;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid rgb(255 255 255 / .55);
    border-radius: 14px;
    display: grid; place-items: start center;
    padding-top: 6px;
    z-index: 2;
  }
  .hero-cinema__scroll span {
    display: block;
    width: 3px; height: 8px;
    border-radius: 2px;
    background: #fff;
    animation: scrollCue 1.6s ease-in-out infinite;
  }
  @keyframes scrollCue {
    0%   { transform: translateY(0);    opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-cinema__scroll span { animation: none; }
    .hero-cinema__video { display: none; }
    .hero-cinema__veil { background: #0b0c10; }
  }
  @media (max-width: 640px) {
    /* Drop video on small screens for perf; poster + veil only */
    .hero-cinema__video { display: none; }
    .hero-cinema { background: url('https://images.pexels.com/videos/853874/free-video-853874.jpg') center/cover no-repeat #0b0c10; }
    .hero-cinema__scroll { display: none; }
  }

  /* ---------------- Btn variants used on funnel ---------------- */
  .btn--lg { padding: 1rem 1.5rem; font-size: 1rem; }
  .btn--ghost {
    background: rgb(255 255 255 / .08);
    border: 1px solid rgb(255 255 255 / .25);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .btn--ghost:hover { background: rgb(255 255 255 / .15); color: #fff; }

  /* ---------------- Mock browser preview for step 02 ---------------- */
  .mock-browser {
    background:
      radial-gradient(120% 80% at 50% 0%, color-mix(in oklch, var(--brand-blue), transparent 80%) 0%, transparent 60%),
      var(--bg-soft);
    padding: 1.75rem 1.4rem 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
  }
  .mock-browser__label {
    display: inline-block;
    padding: .25rem .65rem;
    border: 1px dashed var(--border-strong);
    color: var(--text-dim);
    font-size: .62rem; letter-spacing: .18em; font-weight: 800;
  }
  .mock-browser__h {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    line-height: 1.15;
    margin: .85rem 0 .55rem;
    color: var(--text);
  }
  .mock-browser__p { color: var(--text-muted); font-size: .92rem; line-height: 1.5; margin: 0 auto; max-width: 36ch; }
  .mock-browser__btn {
    display: inline-block; margin-top: 1rem;
    padding: .65rem 1.1rem;
    background: var(--brand-grad);
    color: #fff;
    font-weight: 700; font-size: .85rem;
  }

  /* ---------------- Fix question-band em (was clipped invisible) ---------------- */
  .question-band__lead em {
    font-style: italic;
    background: none;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    color: var(--brand-blue);
  }
  :root.dark .question-band__lead em { color: oklch(75% 0.16 250); }
  .pull-cta__quote em {
    font-style: italic;
    background: none;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    color: var(--brand-blue);
  }
  :root.dark .pull-cta__quote em { color: oklch(75% 0.16 250); }

  /* ---------------- Mobile responsive polish for funnel ---------------- */
  @media (max-width: 640px) {
    .step__question { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
    .step__answer { font-size: .98rem; }
    .visual { padding: 1rem; }
    .visual__url { font-size: .68rem; padding: .25rem .5rem; }
    .serp-row__title { font-size: .95rem; }
    .serp-row__desc { font-size: .78rem; }
    .metric-panel { grid-template-columns: 1fr 1fr; }
    .metric-panel .metric:nth-child(3) { grid-column: span 2; }
    .metric__value { font-size: 1.5rem; }
    .question-band__lead { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    .pull-cta__quote { font-size: clamp(1.4rem, 6.5vw, 2.2rem); }
    .gbp-card { grid-template-columns: 1fr; }
    .gbp-card__rank { width: 100%; height: 56px; flex-direction: row; gap: .5rem; }
    .gbp-card__rank small { display: inline; margin: 0; }
  }
  @media (max-width: 420px) {
    .ticker__q { font-size: .78rem; padding: .3rem .7rem; }
    .funnel-bar__badge { width: 26px; height: 26px; font-size: .65rem; }
  }

/* ============================================================
   INLINE GAP-BAND: form that personalizes the page on submit
   ============================================================ */
.gap-band {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  scroll-margin-top: 1rem;
}
:root.dark .gap-band {
  background: color-mix(in oklch, var(--bg), var(--brand-blue) 4%);
}
.gap-band__head { display: grid; gap: .5rem; max-width: 760px; margin: 0 0 1.75rem; }
.gap-band__head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.gap-band__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 60ch;
}
.gap-band__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: end;
}
.gap-band__form .gap-field--span { grid-column: 1 / -1; }
.gap-field { display: grid; gap: .4rem; }
.gap-field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}
.gap-field__opt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: .78rem;
}
.gap-field select,
.gap-field input[type="text"],
.gap-field input[type="url"] {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gap-field select:focus,
.gap-field input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-blue), transparent 80%);
}
.gap-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
                    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.gap-band__actions {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: .25rem;
}
.gap-band__fine {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
  letter-spacing: .01em;
}
.gap-band__success {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--brand-blue);
  background: color-mix(in oklch, var(--brand-blue), transparent 92%);
  display: flex; align-items: flex-start; gap: .85rem;
  font-size: 1rem;
  line-height: 1.5;
}
.gap-band__success[hidden] { display: none; }
.gap-band__success a { color: var(--brand-blue); font-weight: 600; }
.gap-band__check {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  background: var(--brand-blue);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .gap-band__form { grid-template-columns: 1fr; }
}

/* ============================================================
   INLINE BOOKING WIDGET: native calendar + slot picker
   Talks to https://successportal.app/api/calendly (same backend
   the parent site's "Let''s Talk" modal uses).
   ============================================================ */
#book { scroll-margin-top: 1rem; }
.book {
  margin-top: 2rem;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  overflow: hidden;
  scroll-margin-top: 1rem;
}

/* ----- Header ----- */
.book__head {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.15rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.book__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklch, var(--brand-blue), transparent 50%);
  flex: 0 0 auto;
  background: var(--bg);
}
.book__head-text { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.book__head-title { font-size: .98rem; line-height: 1.2; }
.book__head-sub { font-size: .8rem; color: var(--text-muted); line-height: 1.3; }
.book__head-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: oklch(72% 0.18 145);
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(72% 0.18 145), transparent 70%);
  flex: 0 0 auto;
  animation: bookPulse 2.4s ease-in-out infinite;
}
@keyframes bookPulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklch, oklch(72% 0.18 145), transparent 70%); }
  50%      { box-shadow: 0 0 0 6px color-mix(in oklch, oklch(72% 0.18 145), transparent 88%); }
}

/* ----- Body ----- */
.book__body { padding: 1.25rem 1.15rem 1.4rem; display: grid; gap: 1.5rem; }
.book__step[hidden] { display: none !important; }

.book__step-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-bottom: .85rem;
  flex-wrap: wrap;
}
.book__step-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .01em;
  font-weight: 600;
}
.book__step-sub { font-weight: 400; color: var(--text-muted); margin-left: .35rem; }

.book__week-nav {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem;
}
.book__week-label {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  min-width: 9.5em;
  text-align: center;
  font-weight: 600;
}
.book__nav-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.book__nav-btn:hover:not(:disabled) { border-color: var(--brand-blue); background: var(--bg-soft); }
.book__nav-btn:disabled { opacity: .35; cursor: not-allowed; }

.book__back-btn {
  background: transparent; border: 0; padding: 0;
  color: var(--brand-blue); font: inherit; font-size: .85rem;
  cursor: pointer;
}
.book__back-btn:hover { text-decoration: underline; }

/* ----- Day grid ----- */
.book__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .5rem;
}
.book__day {
  display: grid;
  gap: .15rem;
  padding: .65rem .25rem .6rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.book__day:hover:not(:disabled) {
  border-color: var(--brand-blue);
  background: color-mix(in oklch, var(--brand-blue), transparent 92%);
  transform: translateY(-1px);
}
.book__day.is-disabled,
.book__day:disabled {
  opacity: .45;
  cursor: not-allowed;
  background: var(--bg);
}
.book__day.is-selected {
  border-color: var(--brand-blue);
  background: color-mix(in oklch, var(--brand-blue), transparent 85%);
  box-shadow: inset 0 0 0 1px var(--brand-blue);
}
.book__day-wd {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.book__day-num {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.book__day-meta {
  font-size: .7rem;
  color: var(--brand-blue);
  font-weight: 600;
}
.book__day.is-disabled .book__day-meta { color: var(--text-muted); }

/* ----- Slot grid ----- */
.book__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .55rem;
}
.book__slot {
  padding: .7rem .9rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.book__slot:hover {
  border-color: var(--brand-blue);
  background: color-mix(in oklch, var(--brand-blue), transparent 92%);
  transform: translateY(-1px);
}

/* ----- Form ----- */
.book__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: end;
}
.book__form textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  border-radius: 0;
  outline: none;
  resize: vertical;
  min-height: 5rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.book__form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-blue), transparent 80%);
}
.book__form input[type="text"],
.book__form input[type="email"] {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.book__form input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-blue), transparent 80%);
}
.book__form-actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: .85rem;
  flex-wrap: wrap;
}
.book__form-fine {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.book__error {
  grid-column: 1 / -1;
  margin: .5rem 0 0;
  padding: .7rem .85rem;
  background: color-mix(in oklch, oklch(64% 0.21 25), transparent 92%);
  border-left: 3px solid oklch(64% 0.21 25);
  color: var(--text);
  font-size: .9rem;
}

/* ----- Loading / empty states ----- */
.book__loading {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: .65rem;
  padding: 1.5rem .25rem;
  color: var(--text-muted);
  font-size: .92rem;
}
.book__loading .spinner { width: 18px; height: 18px; }
.book__empty {
  grid-column: 1 / -1;
  margin-top: .35rem;
  padding: 1rem 1.15rem;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap;
}
.book__empty .inline-cta {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ----- Success ----- */
.book__success {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--brand-blue);
  background: color-mix(in oklch, var(--brand-blue), transparent 92%);
}
.book__success-check {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  flex: 0 0 auto;
}
.book__success-title { margin: 0 0 .25rem; font-size: 1.15rem; line-height: 1.2; }
.book__success-body { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.5; }
.book__success-fine { margin: .35rem 0 0; color: var(--text-muted); font-size: .85rem; }

/* ----- Spinner ----- */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid color-mix(in oklch, var(--text), transparent 70%);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin .85s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Alt link ----- */
.book__alt {
  padding: .85rem 1.15rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-muted);
}
.book__alt + .book__alt { border-top: 0; padding-top: 0; }
.book__alt .inline-cta { color: var(--brand-blue); }

/* ----- Mobile ----- */
@media (max-width: 720px) {
  .book__days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .35rem;
  }
  .book__day { padding: .55rem .15rem; }
  .book__day-num { font-size: 1.1rem; }
  .book__day-meta { font-size: .65rem; }
  .book__form { grid-template-columns: 1fr; }
  .book__step-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .book__week-nav { width: 100%; justify-content: space-between; }
}
@media (max-width: 420px) {
  .book__day-wd { font-size: .6rem; }
  .book__day-num { font-size: .98rem; }
  .book__day-meta { display: none; }
  .book__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .book__head-dot, .spinner { animation: none; }
  .book__day:hover, .book__slot:hover { transform: none; }
}

/* ============================================================
   PAGE-HOME (v2): streamlined award-aim - hero + proof + method + book.
   Scoped under .page-home (chromeless).
   ============================================================ */
.page-home { background: var(--bg); }
.page-home main.page { padding-top: 0; }
.page-home .home-hero ::selection { background: color-mix(in oklch, var(--brand-blue), transparent 40%); }

/* Keep section anchors clear of the fixed floating bar */
.page-home { scroll-padding-top: clamp(4rem, 8vh, 5.25rem); }
.page-home section[id] { scroll-margin-top: clamp(4rem, 8vh, 5.25rem); }
/* Prevent stray horizontal overflow on small screens */
.page-home { overflow-x: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Section primitives ---------- */
.home-section-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  padding: .35rem .7rem;
  border: 1px solid color-mix(in oklch, var(--brand-blue), transparent 70%);
  background: color-mix(in oklch, var(--brand-blue), transparent 94%);
  margin-bottom: 1rem;
}
.home-section-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--text);
}
.home-section-title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  padding-right: .08em;
}

/* ============================================================
   HERO
   ============================================================ */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 14vh, 9rem) clamp(1rem, 3vw, 2.5rem) clamp(3rem, 6vh, 5rem);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, oklch(13% 0.02 270) 0%, oklch(10% 0.02 270) 100%);
  color: oklch(95% 0.02 90);
}
.home-hero__light {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      640px circle at var(--mx, 50%) var(--my, 30%),
      color-mix(in oklch, var(--brand-blue), transparent 50%) 0%,
      transparent 60%
    );
  opacity: .9;
}
.home-hero__grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .04;
  background-image:
    radial-gradient(circle at 25% 30%, currentColor 1px, transparent 1.5px),
    radial-gradient(circle at 75% 70%, currentColor 1px, transparent 1.5px);
  background-size: 3px 3px, 5px 5px;
  color: oklch(95% 0.02 90);
  mix-blend-mode: overlay;
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  display: grid;
  gap: clamp(1.5rem, 3vh, 2.25rem);
  justify-items: start;
}
.home-hero__kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: oklch(85% 0.04 250);
  padding: .35rem .7rem;
  border: 1px solid rgb(255 255 255 / .15);
  background: rgb(255 255 255 / .04);
}
.home-hero__headline {
  margin: 0;
  font-weight: 900;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: oklch(98% 0.01 90);
  /* Allow the gradient italic ('Unforgettable.') to safely overhang without
     getting clipped by the section's overflow:hidden on narrow screens. */
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.home-hero__line {
  display: block;
  padding-right: .25em;
  max-width: 100%;
}
.home-hero__line em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  padding-right: .12em;
  margin-right: -.04em;
}
.home-hero__sub {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: oklch(82% 0.02 90);
}
.home-hero__sub strong {
  color: oklch(98% 0.01 90);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklch, var(--brand-blue), transparent 60%) 60%);
  padding: 0 .15em;
}

/* ---------- Conversational intake ---------- */
.home-intake {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .5rem .7rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  padding: .9rem 1rem;
  border: 1px solid rgb(255 255 255 / .15);
  border-radius: 999px;
  background: rgb(255 255 255 / .05);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 18px 50px rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .08);
}
.home-intake__lead {
  color: oklch(78% 0.02 90);
  font-weight: 500;
  padding-left: .5rem;
}
.home-intake__field {
  position: relative;
  display: inline-flex; align-items: center;
}
.home-intake__field--select { padding-right: 1.4rem; }
.home-intake__field select,
.home-intake__field input {
  appearance: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: oklch(98% 0.01 90);
  font: inherit;
  font-weight: 700;
  letter-spacing: -.01em;
  padding: .3rem .2rem;
  border-bottom: 2px solid color-mix(in oklch, var(--brand-blue), transparent 50%);
  min-width: 0;
  cursor: pointer;
}
.home-intake__field--city input {
  width: clamp(8rem, 22vw, 16rem);
  cursor: text;
}
.home-intake__field--city input::placeholder {
  color: oklch(60% 0.03 250);
  font-weight: 500;
}
.home-intake__field select:focus-visible,
.home-intake__field input:focus-visible {
  border-bottom-color: var(--brand-blue);
  box-shadow: 0 4px 0 -2px var(--brand-blue);
}
.home-intake__field select option {
  background: oklch(15% 0.02 270);
  color: oklch(98% 0.01 90);
}
.home-intake__chev {
  position: absolute;
  right: .25rem; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: oklch(70% 0.03 250);
  pointer-events: none;
}
.home-intake__go {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  background: var(--brand-grad);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgb(0 0 0 / .25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.home-intake__go svg { width: 16px; height: 16px; transition: transform .18s ease; }
.home-intake__go:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgb(0 0 0 / .3);
  filter: brightness(1.06);
}
.home-intake__go:hover svg { transform: translateX(4px); }
.home-intake__go-em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* ---------- Trust strip ---------- */
.home-hero__trust {
  list-style: none;
  margin: .25rem 0 0;
  padding: 0;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  font-size: .92rem;
  color: oklch(78% 0.02 90);
}
.home-hero__trust li {
  display: inline-flex; align-items: center; gap: .4rem;
}
.home-hero__trust strong {
  font-weight: 800;
  color: oklch(98% 0.01 90);
  font-size: 1.1rem;
  letter-spacing: -.01em;
}

/* ============================================================
   PROOF
   ============================================================ */
.home-proof {
  padding: clamp(5rem, 12vh, 8rem) 0;
  background: var(--bg);
}
.home-proof__head {
  display: grid; gap: .5rem;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.home-proof__lead {
  margin: .5rem 0 0;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.home-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
.home-proof__grid .proof-tile--feature {
  grid-column: span 2;
}
.home-proof__more {
  margin-top: clamp(2rem, 4vh, 2.5rem);
  display: flex; justify-content: center;
}
.home-proof__all {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  background: var(--bg);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.home-proof__all:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--brand-blue), transparent 30%);
  color: var(--brand-blue);
}
.home-proof__all svg { width: 16px; height: 16px; transition: transform .18s ease; }
.home-proof__all:hover svg { transform: translateX(4px); }
.proof-tile {
  position: relative;
  display: grid;
  gap: 0;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.proof-tile:hover {
  border-color: color-mix(in oklch, var(--brand-blue), transparent 30%);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgb(0 0 0 / .12);
  color: var(--text);
}
.proof-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, oklch(20% 0.04 270) 0%, oklch(15% 0.03 290) 100%);
}
.proof-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
  filter: saturate(1.05);
}
.proof-tile:hover .proof-tile__media img {
  transform: scale(1.04);
  filter: saturate(1.15);
}
.proof-tile__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / .35) 100%);
  pointer-events: none;
}
.proof-tile__meta {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: .65rem;
  align-content: start;
}
.proof-tile__domain {
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--brand-blue);
}
.proof-tile__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.proof-tile__title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  padding-right: .08em;
}
.proof-tile__sub {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 42ch;
}
.proof-tile__tags {
  display: inline-flex; flex-wrap: wrap; gap: .35rem;
  margin-bottom: .15rem;
}
.proof-tile__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  border-radius: 999px;
}
.proof-tile__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .5rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--brand-blue);
  letter-spacing: .02em;
}
.proof-tile__cta svg {
  width: 16px; height: 16px;
  transition: transform .2s ease;
}
.proof-tile:hover .proof-tile__cta svg { transform: translateX(4px); }

/* ============================================================
   METHOD - three numbered statements, no card framing
   ============================================================ */
.home-method {
  padding: clamp(5rem, 12vh, 8rem) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.home-method__head {
  display: grid; gap: .5rem;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.home-method__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2rem, 4vh, 3.5rem);
}
.home-step {
  display: grid;
  grid-template-columns: minmax(auto, 8rem) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-bottom: clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid var(--border);
}
.home-step:last-child { border-bottom: 0; padding-bottom: 0; }
.home-step__num {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  align-self: start;
}
.home-step__body {
  display: grid; gap: .65rem;
  max-width: 56ch;
}
.home-step__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
}
.home-step__sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.home-step__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .5rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  font-size: .95rem;
}
.home-step__cta svg {
  width: 16px; height: 16px;
  transition: transform .2s ease;
}
.home-step__cta:hover svg { transform: translateX(4px); }
.home-step__cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   BOOK section wrapper (the .book widget itself is global)
   ============================================================ */
.home-bookwrap {
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(4rem, 10vh, 6rem);
  background: var(--bg);
  scroll-margin-top: 1rem;
}
.home-bookwrap__head {
  display: grid; gap: .75rem;
  margin-bottom: clamp(2rem, 5vh, 3rem);
  max-width: 720px;
}
.home-bookwrap__sub {
  margin: .25rem 0 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .home-proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-proof__grid .proof-tile--feature { grid-column: span 2; }
}
@media (max-width: 920px) {
  .home-method { padding-block: clamp(4rem, 10vh, 6rem); }
  .home-proof { padding-block: clamp(4rem, 10vh, 6rem); }
  .home-bookwrap { padding-block: clamp(4rem, 10vh, 6rem) clamp(3rem, 8vh, 4.5rem); }
}
@media (max-width: 720px) {
  /* Widen the safe gutter for every .wrap inside the home page so the steps,
     proof tiles, and book widget don't kiss the viewport edge on mobile. */
  .page-home .wrap { padding-inline: 1.4rem; }
  .home-proof__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .home-proof__grid .proof-tile--feature { grid-column: auto; }
  .home-hero { min-height: auto; padding: 5.5rem 1rem 3rem; }
  .home-hero__inner { gap: 1.5rem; }
  .home-hero__headline { font-size: clamp(2.4rem, 11vw, 4rem); line-height: .95; letter-spacing: -.035em; }
  .home-hero__sub { font-size: 1.02rem; }
  .home-intake {
    flex-direction: column;
    align-items: stretch;
    border-radius: 1.25rem;
    padding: 1.1rem 1.1rem 1.15rem;
    gap: .6rem;
    font-size: 1.02rem;
  }
  .home-intake__lead { padding-left: .25rem; font-size: .92rem; }
  .home-intake__field { width: 100%; padding-right: 1.4rem; }
  .home-intake__field--city input,
  .home-intake__field select { width: 100%; }
  .home-intake__go { margin-left: 0; justify-content: center; width: 100%; padding: .85rem 1.1rem; }
  .home-hero__trust { gap: .6rem 1.25rem; font-size: .88rem; }
  .home-hero__trust strong { font-size: 1rem; }
  .home-section-title { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .home-proof__lead { font-size: .98rem; }
  .home-method__head { margin-bottom: 2.5rem; }
  .home-method__list { gap: 2.25rem; }
  .home-step { grid-template-columns: 1fr; gap: .25rem; padding-bottom: 2.25rem; }
  .home-step__num { font-size: clamp(3.5rem, 16vw, 5rem); margin-bottom: .35rem; line-height: .95; }
  .home-step__title { font-size: clamp(1.5rem, 5.5vw, 1.9rem); }
  .home-step__sub { font-size: 1rem; }
  .home-step__cta { margin-top: .75rem; }
  .proof-tile__meta { padding: 1.25rem 1.25rem 1.5rem; gap: .55rem; }
  .proof-tile__title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .home-bookwrap__head { margin-bottom: 2rem; }
  .home-bookwrap__sub { font-size: 1rem; }
}
@media (max-width: 420px) {
  .home-hero { padding: 5rem .9rem 2.5rem; }
  .home-hero__headline { font-size: clamp(2rem, 12vw, 3.2rem); letter-spacing: -.03em; }
  .home-hero__kicker { font-size: .65rem; letter-spacing: .18em; }
  .home-intake { font-size: .98rem; padding: .95rem .95rem 1rem; }
  .home-hero__trust { font-size: .82rem; gap: .4rem .9rem; }
  .home-section-kicker { font-size: .66rem; letter-spacing: .18em; padding: .3rem .6rem; }
  .proof-tile__title { font-size: 1.4rem; }
  .proof-tile__meta { padding: 1.1rem 1.1rem 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-tile, .proof-tile__media img, .home-step__cta svg, .home-intake__go { transition: none; }
}

/* Typographic proof tile variant (no photo) */
.proof-tile__media--type {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(70% 50% at 30% 30%, color-mix(in oklch, var(--brand-blue), transparent 70%), transparent),
    linear-gradient(135deg, oklch(15% 0.04 270) 0%, oklch(11% 0.03 290) 100%);
  color: oklch(95% 0.02 90);
}
.proof-tile__media--type::after { display: none; }
.proof-type {
  display: grid; gap: .9rem;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
}
.proof-type__query {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: oklch(72% 0.04 250);
  font-style: italic;
  font-weight: 600;
}
.proof-type__bolt {
  display: inline-grid; place-items: center;
  justify-self: center;
  width: 56px; height: 56px;
  background: var(--brand-grad);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgb(0 0 0 / .35), 0 0 0 6px color-mix(in oklch, var(--brand-blue), transparent 80%);
  animation: proof-bolt-pulse 2.4s ease-in-out infinite;
}
.proof-type__bolt svg { width: 26px; height: 26px; }
.proof-type__result {
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
@keyframes proof-bolt-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgb(0 0 0 / .35), 0 0 0 6px color-mix(in oklch, var(--brand-blue), transparent 80%); }
  50%      { box-shadow: 0 12px 28px rgb(0 0 0 / .35), 0 0 0 12px color-mix(in oklch, var(--brand-blue), transparent 90%); }
}
@media (prefers-reduced-motion: reduce) {
  .proof-type__bolt { animation: none; }
}

/* keep kicker pills tight to their content inside section heads */
.home-proof__head .home-section-kicker,
.home-method__head .home-section-kicker,
.home-bookwrap__head .home-section-kicker { justify-self: start; }
