/* =========================================================
   Design tokens — based on the Tidewell style (image 3).
   Every section of the site should use these, never raw values.
   ========================================================= */
:root {
  /* Colour */
  --bg: #ffffff;            /* page background */
  --surface: #ffffff;       /* cards, inputs */
  --surface-2: color-mix(in oklab, var(--bg, #fff), var(--ink) 5%);     /* inset areas, hovers, frames (reads on white) */
  --border: #e1e6e8;
  --border-strong: #d3dadd;

  --ink: #0f1b1f;           /* headings */
  --text: #3d4b50;          /* body */
  --muted: #6f7e83;         /* secondary text */

  /* Brand colours, 60 / 30 / 10 (all set in the dashboard: Settings → Brand):
     60% --bg (page background) · 30% --secondary (dark sections, footer) · 10% --primary (accent: buttons, highlights) */
  --secondary: #0c3a45;     /* deep teal: dark sections and footer */
  --primary: #135f6f;       /* accent teal */
  --primary-700: color-mix(in oklab, var(--primary), #000 22%);
  --primary-900: color-mix(in oklab, var(--primary), #000 45%);
  --primary-50: color-mix(in oklab, var(--primary), #fff 90%);
  --primary-gradient: linear-gradient(160deg, color-mix(in oklab, var(--primary), #fff 8%) 0%, var(--primary-700) 60%, color-mix(in oklab, var(--primary), #000 40%) 100%);
  --secondary-900: color-mix(in oklab, var(--secondary), #000 22%);
  /* ONE brand gradient for every coloured area (about photo, process step, banner, booking, map, dark sections) */
  --dark-bg: var(--primary-gradient);
  /* the light-mode values, kept so white cards inside a dark section can switch back to them */
  --ink-l: var(--ink); --text-l: var(--text); --muted-l: var(--muted); --border-l: var(--border);
  --border-strong-l: var(--border-strong); --surface-l: var(--surface); --surface-2-l: var(--surface-2);

  --dark: color-mix(in oklab, var(--secondary), #000 35%);          /* dark buttons */
  --dark-gradient: linear-gradient(180deg, color-mix(in oklab, var(--secondary), #000 15%) 0%, color-mix(in oklab, var(--secondary), #000 45%) 100%);

  --success: #2f8f62;
  --success-50: #e6f4ec;
  --warning: #c27c1a;
  --danger: #c8443b;
  --danger-50: #fbeceb;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font);
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  /* Shape */
  /* One roundness for every corner: --r scales them all (1 = as designed, 0 = square) */
  --r: 1;
  --radius-sm: calc(10px * var(--r));
  --radius: calc(14px * var(--r));
  --radius-lg: calc(20px * var(--r));
  --radius-xl: calc(28px * var(--r));
  --radius-pill: calc(999px * var(--r));

  /* Elevation */
  --shadow-sm: 0 1px 2px color-mix(in oklab, var(--ink) 5%, transparent);
  --shadow: 0 1px 2px color-mix(in oklab, var(--ink) 4%, transparent), 0 4px 14px color-mix(in oklab, var(--ink) 6%, transparent);
  --shadow-lg: 0 2px 4px color-mix(in oklab, var(--ink) 4%, transparent), 0 24px 60px -12px color-mix(in oklab, var(--ink) 18%, transparent);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 72px;
  --mobile-cta-h: 84px;
  --cta-bar-pad-x: max(var(--gutter), env(safe-area-inset-left, 0px));
  --cta-bar-pad-b: max(0.75rem, env(safe-area-inset-bottom, 0px));

  --target-size: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
@media (pointer: coarse) {
  :root { --target-size: 44px; }
}

/* Smooth (Apple-style) corners.
   corner-shape eases the straight edge into the curve instead of snapping into it.
   superellipse(1.6) is the closest match to the iOS / Figma "60% smoothing" look.
   Smoothed corners read smaller, so the radius tokens grow a little to keep the same feel.
   Browsers without support keep normal rounded corners (progressive enhancement).
   Round things (border-radius: 50% / pills) are left out on purpose: they must stay circles. */
@supports (corner-shape: superellipse(1.6)) {
  :root {
    --corner: superellipse(1.6);
    --radius-sm: calc(12px * var(--r));
    --radius: calc(17px * var(--r));
    --radius-lg: calc(24px * var(--r));
    --radius-xl: calc(34px * var(--r));
  }
  :where(
    .btn, .icon-btn, .skip-link,
    .profile, .profile-photo, .profile-social a, .h1-icon,
    .email-form, .site-menu a,
    .pg-card, .bento-card, .bento-media
  ) {
    corner-shape: var(--corner);
  }
  html .profile { --radius-out: calc(19px * var(--r)); }
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  touch-action: manipulation;   /* no double-tap zoom anywhere (pinch zoom still works) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Going to the booking calendar (any "Book a call" link, from this page or another one) jumps straight there, no scroll animation (owner's wish) */
html:has(#book:target) { scroll-behavior: auto; }

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--ink); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
p, li { text-wrap: pretty; }
img, svg, video { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: calc(6px * var(--r));
}

.container {
  inline-size: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  inline-size: 1px; block-size: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; inset-inline-start: 1rem; inset-block-start: -100px;
  background: var(--dark); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { inset-block-start: 1rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-block-size: max(44px, var(--target-size));
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 500; font-size: var(--fs-base); line-height: 1.2;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), filter 160ms, border-color 160ms;
}
.btn:active { transform: scale(0.97); }
.btn svg { inline-size: 1.15em; block-size: 1.15em; }

.btn-primary {
  background: var(--primary-gradient); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.btn-dark {
  background: var(--dark-gradient); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1);
}
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-block { inline-size: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-dark:hover { filter: brightness(1.12); }
  .btn-ghost:hover { border-color: var(--border-strong); }
}

.icon-btn {
  display: inline-grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.icon-btn svg { inline-size: 20px; block-size: 20px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 50;
  padding-block-start: env(safe-area-inset-top, 0px);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-end: 1px solid transparent;
  transition: border-color 200ms;
}
.site-header.is-scrolled { border-block-end-color: var(--border); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-block-size: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 1.1875rem; line-height: 1; color: var(--primary); letter-spacing: -0.03em; }
.brand-name { display: block; padding-block-end: 0.08em; } /* optical centring of lowercase text next to the mark */
/* Logo mark: brand teal, no tile behind it */
.brand-mark {
  display: block; flex-shrink: 0;
  inline-size: 26px; block-size: 26px;
  color: var(--primary);
}
.brand-mark svg { display: block; inline-size: 100%; block-size: 100%; }

/* Collapsed (default): menu is a full-screen popover over the whole page */
.site-nav { order: 3; }

.site-menu {
  position: fixed;
  inset: 0;
  inline-size: 100%;
  block-size: 100dvh;
  max-inline-size: none;
  max-block-size: none;
  margin: 0;
  padding:
    env(safe-area-inset-top, 0px)
    max(var(--gutter), env(safe-area-inset-right, 0px))
    var(--cta-bar-pad-b)
    max(var(--gutter), env(safe-area-inset-left, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  background: var(--bg);
  color: var(--ink);
}
.site-menu:is(:popover-open, .\:popover-open) { display: flex; flex-direction: column; }

.site-menu .menu-top {
  display: flex; align-items: center; justify-content: space-between;
  min-block-size: var(--header-h);
  margin-block-end: 1rem;
}
.site-menu a:not(.btn, .brand) {
  display: flex; align-items: center;
  min-block-size: 60px;
  border-block-end: 1px solid var(--border);
  font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em;
}
/* The menu's CTA sits exactly where the fixed phone CTA is, with the same look,
   so opening the menu doesn't make the bottom button jump or change. */
.site-menu .menu-cta {
  margin-block-start: auto;
  margin-inline: calc(-1 * var(--cta-bar-pad-x));
  padding: 0.75rem var(--cta-bar-pad-x) 0;
  border-block-start: 1px solid var(--border);
}

/* Stop the page behind the open menu from scrolling */
html:has(.site-menu:popover-open) { overflow: hidden; }

.header-cta { display: none; }
/* Until the script has decided between the inline nav and the menu button, keep both hidden,
   so a page load never flashes the phone layout on desktop (or the other way round). */


/* Wide (set by JS when the full row fits) */
.site-header.is-wide .site-nav { order: 0; }
.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static; display: flex; align-items: center; gap: 0.25rem;
  inline-size: auto; block-size: auto; max-block-size: none; overflow: visible;
  margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
  opacity: 1;
  clip-path: none;   /* the phone menu's fold-up animation must never clip the desktop nav */
}
.site-header.is-wide .site-menu a:not(.btn, .brand) {
  min-block-size: 40px; padding-inline: 0.875rem;
  border: 0;
  color: var(--muted); font-size: 1.0625rem; font-weight: 500;
  transition: color 150ms;
}
.site-header.is-wide .site-menu a:not(.btn, .brand):hover { color: var(--ink); background: transparent; }
.site-header.is-wide :is(.menu-cta, .menu-top) { display: none; }
.site-header.is-wide .header-cta { display: inline-flex; }

.is-measuring, .is-measuring * { transition: none !important; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 6vw, 7.5rem) clamp(3rem, 2rem + 4vw, 6rem);
  isolation: isolate;
  overflow: clip;
}
/* Hero backdrop: a faded square grid behind the headline that fades out before the video. */
.hero {
  --grid-size: 56px;
  --grid-line: color-mix(in oklab, var(--ink) 4.5%, transparent);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: calc(50% - var(--grid-size) / 2) -1px; /* symmetric around the centre line */
  mask-image: radial-gradient(ellipse 72% 62% at 50% 30%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 30%, #000 30%, transparent 82%);
}
@media (width < 768px) {
  .hero { --grid-size: 40px; }
  .hero::before {
    mask-image: radial-gradient(ellipse 100% 58% at 50% 30%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 100% 58% at 50% 30%, #000 30%, transparent 85%);
  }
}

.hero-copy {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

/* Founder card above the headline
   Even 6px inset on every side; inner corners follow the card (16px outer − 6px inset = 10px). */
.profile {
  --pad: 6px;
  --radius-out: calc(16px * var(--r));
  display: inline-flex; align-items: center;
  padding: var(--pad);
  padding-inline-end: var(--pad); /* + the icon's own 6px = 12px: a small icon needs more room than the solid photo to look even */
  border: 1px solid var(--border);
  border-radius: var(--radius-out);
  background: var(--surface);
  box-shadow: var(--shadow);
  max-inline-size: 100%;
}
.profile-photo {
  display: grid; place-items: center;
  inline-size: 32px; block-size: 32px; flex-shrink: 0;
  border-radius: calc(var(--radius-out) - var(--pad));
  overflow: hidden;
  background: var(--primary-gradient);
  color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em;
}
.profile-photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.profile-name {
  margin-inline: 10px 12px;
  color: var(--ink);
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
}
.profile-divider {
  inline-size: 1px; align-self: stretch;
  margin-block: 6px; margin-inline-end: 4px;
  background: var(--border);
}
.profile-social { display: flex; align-items: center; }
/* 30px links around 18px icons leave 6px of space, matching the card's 6px inset on the left */
.profile-social a {
  position: relative;
  display: grid; place-items: center;
  inline-size: 30px; block-size: 32px;
  border-radius: calc(var(--radius-out) - var(--pad));
  transition: transform 160ms var(--ease-out), background-color 150ms;
}
.profile-social svg { inline-size: 18px; block-size: 18px; }
/* Keep a comfortable tap area on touch screens without growing the card */
@media (pointer: coarse) {
  .profile-social a::after { content: ""; position: absolute; inset: -6px -2px; }
}
.profile-social a:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .profile-social a:hover { background: var(--surface-2); }
}

.hero h1 {
  margin-block-start: 1.75rem;
  max-inline-size: 15ch;
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;          /* room for the underline between lines */
}

/* Highlighted word: a hand-drawn teal underline that draws in once on load.
   To highlight any word or phrase, wrap it in <span class="hl">…</span>. No JS needed. */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  inset-inline: -0.03em;
  inset-block-end: -0.07em;  /* a clear gap under the letters, still clear of the next line */
  block-size: 0.16em;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C38 4.6 82 3.2 124 4.1c27 .6 50 2.3 73 5.2' fill='none' stroke='%23000' stroke-width='5.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C38 4.6 82 3.2 124 4.1c27 .6 50 2.3 73 5.2' fill='none' stroke='%23000' stroke-width='5.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hl::after { animation: hl-draw 700ms var(--ease-in-out) 350ms both; }
  @keyframes hl-draw {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hl::after { animation: hl-fade 300ms ease 200ms both; }
  @keyframes hl-fade { from { opacity: 0; } }
}

/* Inline app icon in the headline (Google Calendar-style tile).
   Sized in em, so it scales with the headline at every breakpoint.
   Wrap it together with the word before it in .h1-keep so the icon never
   ends up alone on a new line, whatever the headline text is. */
.h1-keep { white-space: nowrap; }
.h1-icon {
  display: inline-grid; place-items: center;
  inline-size: 0.82em; aspect-ratio: 1;
  margin-inline-start: 0.14em;
  vertical-align: -0.08em;
  border: 1px solid var(--border);
  border-radius: 0.2em;
  background: var(--surface);
  box-shadow: 0 0.04em 0.12em color-mix(in oklab, var(--ink) 10%, transparent), 0 0.14em 0.3em -0.08em color-mix(in oklab, var(--ink) 14%, transparent);
  rotate: 8deg;
}
.h1-icon svg { block-size: 62%; inline-size: auto; }

.hero-sub {
  margin-block-start: 1.5rem;
  max-inline-size: 36rem;
  font-size: var(--fs-lg);
  color: var(--muted);
}

/* Email capture */
.email-form {
  display: flex; align-items: center; gap: 0.5rem;
  margin-block-start: 2.25rem;
  inline-size: min(100%, 32rem);
  padding: 8px 8px 8px 1.25rem;                 /* even 8px around the button */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px * var(--r));     /* concentric with the button's corners */
  box-shadow: var(--shadow);
  transition: border-color 150ms, box-shadow 150ms;
}
.email-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50), var(--shadow);
}
.email-form input {
  flex: 1; min-inline-size: 0;
  min-block-size: 44px;
  border: 0; outline: 0; background: transparent;
  font-size: 1.0625rem; color: var(--ink);
}
.email-form input::placeholder { color: color-mix(in oklab, var(--muted), var(--bg) 25%); }
.email-form:has(input:user-invalid, input[aria-invalid="true"]) { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-50), var(--shadow); }

.form-error, .form-success { margin-block-start: 0.75rem; font-size: var(--fs-sm); font-weight: 500; }
.form-error { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--danger); }
.form-error[hidden] { display: none; }
.form-error [role="img"] {
  display: inline-grid; place-items: center;
  inline-size: 15px; block-size: 15px; border-radius: 50%;
  background: var(--danger); color: #fff; font-size: 0.75rem; font-weight: 700;
}
.form-success { color: var(--success); }
.form-success:empty { display: none; }

.assurance {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-block-start: 1.125rem;
  color: var(--text); font-size: 0.9375rem;
}
.assurance svg { inline-size: 20px; block-size: 20px; color: var(--primary); }

/* Call to action below the video */
.hero-cta { margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero-cta .usp { margin-block: 0 1rem; }   /* selling points sit above the button */
.hero-btn { min-block-size: 56px; padding-inline: 1.75rem 1.375rem; font-size: 1.0625rem; }
@media (width < 480px) { .hero-btn { inline-size: 100%; } }

/* Narrow: stack the email form (input above button) */
@media (width < 480px) {
  .email-form { flex-direction: column; align-items: stretch; padding: 8px; }
  .email-form input { padding-inline: 0.75rem; min-block-size: 48px; }
  .email-form .btn { inline-size: 100%; }
}

/* Dashboard preview frame */
.preview {
  /* Size the VSL so the whole video fits on screen with room around it:
     never wider than 880px, and never taller than the screen minus the header and some breathing room. */
  inline-size: 100%;
  max-inline-size: min(880px, calc((100svh - var(--header-h) - 7rem) * 16 / 9));
  margin-inline: auto;
  margin-block-start: clamp(3rem, 2rem + 4vw, 5rem);
  padding: clamp(0.375rem, 0.2rem + 0.6vw, 0.75rem);
  border: 1px solid var(--border);
  border-radius: calc(28px * var(--r));               /* normal radius, no smooth (Apple) corners on the video */
  background: var(--surface-2);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 4%, transparent), 0 12px 28px -18px color-mix(in oklab, var(--ink) 22%, transparent);
}
/* Scroll effect: the preview starts tilted back and straightens as it scrolls into view.
   Decorative, so browsers without scroll-driven animations just show it flat. */
.preview-stage { perspective: 1400px; perspective-origin: 50% 0%; }
@media (prefers-reduced-motion: no-preference) and (width >= 768px) {   /* tilt only on tablet/desktop */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes preview-tilt {
      from { transform: rotateX(22deg) scale(0.92); }
      to   { transform: none; }
    }
    .preview {
      transform-origin: 50% 0%;
      will-change: transform;
      animation: preview-tilt linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 45%;
    }
  }
}

.preview-frame {
  overflow: hidden;
  border-radius: calc(20px * var(--r));
}
.preview-frame img { inline-size: 100%; }
.img-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 0.75rem;
  aspect-ratio: 16 / 10;
  color: var(--muted); font-size: var(--fs-sm); font-weight: 500;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in oklab, var(--ink) 2.5%, transparent) 14px 15px),
    var(--surface-2);
}
.img-placeholder svg { inline-size: 48px; block-size: 48px; color: var(--border-strong); }

/* =========================================================
   Mobile fixed CTA (image 2) — always visible on phones
   ========================================================= */
.mobile-cta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40;
  padding: 0.75rem var(--cta-bar-pad-x) var(--cta-bar-pad-b);
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-start: 1px solid var(--border);
  /* hidden while the hero is on screen; main.js adds .is-shown once you scroll past it */
  translate: 0 110%;
  opacity: 0;
  visibility: hidden;
  transition: translate 300ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s linear 300ms;
}
.mobile-cta.is-shown {
  translate: 0 0; opacity: 1; visibility: visible;
  transition: translate 300ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: opacity 200ms ease, visibility 0s linear 200ms; translate: none; }
  .mobile-cta.is-shown { transition: opacity 200ms ease, visibility 0s; }
}
.mobile-cta .btn,
.site-menu .menu-cta .btn { min-block-size: 56px; border-radius: var(--radius); font-size: 1.0625rem; }

@media (width < 768px) {
  body { padding-block-end: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px)); }
  body:has(.site-footer) { padding-block-end: 0; }   /* the footer makes the room itself, so the dark runs behind the button */
}
@media (width >= 768px) {
  .mobile-cta { display: none; }
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); }
.section h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
/* Centred section heading + description, reused by every section */
.section-head {
  display: grid; justify-items: center; gap: 1rem;
  margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  text-align: center;
}
.section-head h2 { max-inline-size: 20ch; }
.section-head p { max-inline-size: 36rem; font-size: var(--fs-lg); color: var(--muted); }

/* =========================================================
   Process (5 steps). Each step lights up as it reaches the reading line,
   and the thin line on its left fills with your progress through it.
   ========================================================= */
.steps {
  display: grid; gap: 1.25rem;
  max-inline-size: min(100% - 2 * var(--gutter), var(--container));   /* shared site width */
  margin: 0 auto; padding: 0; list-style: none;
}
.step { --p: 0; display: grid; grid-template-columns: 3px minmax(0, 1fr); gap: clamp(0.875rem, 0.5rem + 1.5vw, 1.75rem); }
.step-line {
  position: relative; overflow: hidden;
  margin-block: 1.25rem;
  border-radius: calc(3px * var(--r));
  background: color-mix(in oklab, var(--primary) 12%, transparent);
}
.step-line span {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--primary);
  transform-origin: top;
  scale: 1 var(--p);
}
.step-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 0.5rem; align-content: start;
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  border-radius: calc(clamp(16px, 12px + 0.6vw, 20px) * var(--r));   /* calmer corners: 16px on phones, 20px on desktop */
  background: var(--primary-gradient);
  color: #fff;
}
.step { --a: 0; }   /* 0 = not reached, 1 = lit; set continuously from the scroll position by main.js */
.step-card::before {   /* the "not reached yet" look: a light panel over the dark card that fades with scrolling */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(170deg, var(--surface-2) 0%, color-mix(in oklab, var(--surface-2), var(--ink) 4%) 100%);
  opacity: calc(1 - var(--a));
}
.step-tag {
  --mix: calc(var(--a) * 100%);
  justify-self: start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-block-end: clamp(0.75rem, 0.4rem + 1.2vw, 1.5rem);
  padding: 0.3125rem 0.875rem 0.3125rem 0.5rem;
  border: 1px solid color-mix(in srgb, rgb(255 255 255 / 0.18) var(--mix), color-mix(in oklab, var(--ink) 10%, transparent));
  border-radius: var(--radius-pill);
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: color-mix(in srgb, rgb(255 255 255 / 0.85) var(--mix), var(--muted));
}
.step-tag i {
  inline-size: 10px; block-size: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, color-mix(in oklab, var(--muted), var(--bg) 25%));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 6%, transparent);
}
.step-card h3 {
  font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  color: color-mix(in srgb, #fff calc(var(--a) * 100%), color-mix(in oklab, var(--ink) 38%, transparent));
}
.step-text { max-inline-size: 62ch; line-height: 1.6; color: color-mix(in srgb, rgb(255 255 255 / 0.78) calc(var(--a) * 100%), color-mix(in oklab, var(--ink) 32%, transparent)); }

/* =========================================================
   Bad fit / good fit
   ========================================================= */
.pg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 40px;                       /* same 40px between cards, across and down */
}
.pg-card { inline-size: 100%; }   /* fills the shared container, stacked or side by side */

@media (width >= 900px) {
  .pg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    column-gap: 40px;
    row-gap: 0;
  }
  .pg-card { align-self: stretch; }   /* both cards the same height; each list keeps its own even spacing */
}

.pg-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

/* Problems: calm, neutral card */
.pg-pain { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }   /* white card */
.pg-pain .pg-icon { background: var(--danger-50); color: var(--danger); }
.pg-pain li { color: var(--text); }

/* Dream outcome: brand teal card, like "Main balance" in the reference */
.pg-gain {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: transparent;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.pg-gain::before { /* faint grid texture, fading to the bottom-right */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(135deg, #000 10%, transparent 75%);
  -webkit-mask-image: linear-gradient(135deg, #000 10%, transparent 75%);
}
.pg-gain li { color: rgb(255 255 255 / 0.9); }
.pg-gain .pg-icon { background: rgb(255 255 255 / 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }

.pg-list {
  display: grid; gap: 1rem;
}
.pg-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.875rem;
  align-items: start;
  font-size: var(--fs-lg);
  line-height: 1.45;
}
.pg-icon {
  display: grid; place-items: center;
  inline-size: 28px; block-size: 28px;
  border-radius: 50%;
  margin-block-start: calc((1.45em - 28px) / 2); /* centre on the first line of text */
}
.pg-icon svg { inline-size: 16px; block-size: 16px; }

/* "Bad fit" / "Good fit" label above each title */
.pg-label {
  display: inline-flex; align-items: center; gap: 0.375rem;
  justify-self: start;
  inline-size: fit-content;
  margin-block-end: 1.25rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em;
}
.pg-label svg { inline-size: 14px; block-size: 14px; }
.pg-pain .pg-label { background: var(--danger-50); color: var(--danger); }
.pg-gain .pg-label { background: rgb(255 255 255 / 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }

/* =========================================================
   How it works — bento (4 cards)
   Desktop: 3 columns, big–small / small–big. Tablet: 2×2. Phone: 1 column.
   Every image has the same height, so titles line up across each row.
   ========================================================= */
.bento {
  --media-h: clamp(220px, 170px + 7vw, 260px);
  --card-pad: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;                       /* same 40px between cards, across and down */
}
@media (width >= 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Tablet and desktop: an even 2 × 2 grid, every card the same width and height */
@media (width >= 640px) {
  .bento { grid-auto-rows: 1fr; }
}

.bento-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: var(--card-pad);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.bento-media {
  display: grid; place-items: center;
  block-size: var(--media-h);
  border-radius: calc(var(--radius-xl) - var(--card-pad)); /* follows the card's corner */
  overflow: hidden;
  color: var(--border-strong);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in oklab, var(--ink) 2.5%, transparent) 14px 15px),
    var(--surface-2);
}
.bento-media:not(.ill) > svg { inline-size: 40px; block-size: 40px; } /* placeholder icon only */
.bento-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.bento-card h3 {
  margin: 1.25rem 1rem 0;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.bento-card p {
  margin: 0.5rem 1rem 1rem;
  max-inline-size: 46ch;
  color: var(--muted);
}

/* ---------------------------------------------------------
   Bento illustrations — shared system (all four cards)
   Light style (user's reference): a pale grey panel, white product cards that run
   off an edge, big clear content, and the brand teal as the single accent.
   Contrast comes from white-on-grey plus one saturated colour.
   --------------------------------------------------------- */
.ill {
  --ill-panel: var(--surface-2);
  --ill-card: #fff;
  --ill-card-edge: #e5e9eb;
  --ill-card-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 4%, transparent), 0 10px 30px -8px color-mix(in oklab, var(--ink) 12%, transparent);
  --ill-filler: color-mix(in oklab, var(--surface-2), var(--ink) 4%);                   /* placeholder bars */
  --ill-accent: var(--primary);
  --ill-accent-soft: var(--primary-50);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: size;
  background: var(--ill-panel);
}
/* Pause every illustration animation while its card is off screen (set by main.js) */
.ill:not(.is-visible) *,
.ill:not(.is-visible) *::before,
.ill:not(.is-visible) *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------
   SAVED FOR LATER (markup in <template id="ill-gbp-radar"> in index.html):
   local-scan radar. Built for the earlier dark panel; recolour before reuse.
   Illustration: Google Business Profile — local scan
   The beam sweeps left → right from the location (8s loop); the heading arrow
   turns with it, and each pin is "found" exactly as the beam reaches it.
   --------------------------------------------------------- */
.gbp {
  --scan: 8s;                     /* full loop */
  --pass: 5.92s;                  /* time for the beam to cross 180° (74% of the loop) */
}

/* Context: a faint street map, fading into the panel at the edges */
.gbp-map {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  mask: radial-gradient(ellipse 80% 115% at 50% 75%, #000 45%, transparent 95%);
  -webkit-mask: radial-gradient(ellipse 80% 115% at 50% 75%, #000 45%, transparent 95%);
}
.gbp-blocks rect { fill: var(--ill-fill); }
.gbp-roads path { fill: none; stroke: rgb(255 255 255 / 0.09); stroke-width: 12; stroke-linecap: round; }
.gbp-avenue { fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 22; stroke-linecap: round; }

/* Half radar on the bottom edge; always fits, so nothing is cut off */
.gbp-radar {
  position: absolute; inset-inline-start: 50%; inset-block-end: 0;
  translate: -50% 0;
  inline-size: min(calc(100cqi - 40px), calc((100cqh - 20px) * 2));
  aspect-ratio: 2 / 1;
  overflow: hidden;               /* shows the top half; also cuts the location dot in half */
  container-type: inline-size;    /* radius = 50cqi */
}
.gbp-dome { position: absolute; inset-inline: 0; inset-block-start: 0; aspect-ratio: 1; }

/* Radar disc: a deeper teal veil over the map (map quieter inside, blends back at the rim) */
.gbp-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--secondary) 62%, transparent) 0%, color-mix(in oklab, var(--secondary) 45%, transparent) 60%, color-mix(in oklab, var(--secondary) 18%, transparent) 100%);
  box-shadow: inset 0 0 0 1px var(--ill-line-2), 0 0 0 6px rgb(255 255 255 / 0.03);
}
.gbp-ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ill-line); }
.gbp-ring--mid   { inset: 22%; }
.gbp-ring--inner { inset: 40%; background: color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 4%, transparent); }

/* Scan beam: aqua trail behind a crisp edge; starts pointing left */
.gbp-sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -55deg,
    color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 0%, transparent) 0deg,
    color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 22%, transparent) 54deg,
    color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 85%) 90%, transparent) 54.5deg,
    color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 0%, transparent) 55deg);
  rotate: -90deg;
  opacity: 0;
}

/* Location: Maps-style dot centred on the bottom edge (the edge cuts it in half) */
.gbp-me {
  --dot: clamp(20px, 7cqi, 30px);
  position: absolute; inset-inline-start: 50%; inset-block-start: 50%;
  inline-size: var(--dot); aspect-ratio: 1;
  translate: -50% -50%;
  z-index: 3;
  border-radius: 50%;
  background: var(--ill-aqua-2);
  box-shadow: 0 0 0 3px #fff, 0 0 0 calc(var(--dot) * 0.75) color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 16%, transparent), 0 0 18px 4px color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 45%) 45%, transparent);
}
/* Heading arrow: turns with the beam */
.gbp-aim { position: absolute; inset: 0; rotate: -90deg; }
.gbp-heading {
  position: absolute; inset-inline-start: 50%; inset-block-end: calc(100% + var(--dot) * 0.42);
  translate: -50% 0;
  border-inline: calc(var(--dot) * 0.3) solid transparent;
  border-block-end: calc(var(--dot) * 0.46) solid var(--ill-aqua);
}

/* Pins: idle = glass bubble, faint icon (context); found = solid white with a teal icon.
   Sales get a light aqua fill instead of white: same colour family, still distinct. */
.gbp-pin {
  --size: clamp(26px, 8cqi, 38px);
  --found: #fff;
  --hit: calc((var(--a) + 90) / 180 * var(--pass));   /* when the beam edge reaches this pin */
  position: absolute; inset-inline-start: 50%; inset-block-start: 50%;
  z-index: 2;
  inline-size: var(--size); block-size: var(--size);
  margin-inline-start: calc(var(--size) / -2);
  margin-block-start: calc(var(--size) * -1.22);
  transform: rotate(calc(var(--a) * 1deg)) translateY(calc(var(--r) * -0.5cqi)) rotate(calc(var(--a) * -1deg));
  transform-origin: 50% calc(100% + var(--size) * 0.22);
  display: grid; place-items: center;
  border-radius: 50%;
  color: rgb(255 255 255 / 0.62);
  background-color: color-mix(in oklab, var(--primary) 85%, transparent);
  box-shadow: inset 0 0 0 1px var(--ill-line-2), 0 6px 14px color-mix(in oklab, color-mix(in oklab, var(--secondary), #000 70%) 30%, transparent);
}
/* every found pin pops white, sales included */
.gbp-pin::after { /* tail */
  content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 100%;
  translate: -50% -1px;
  border-inline: calc(var(--size) * 0.14) solid transparent;
  border-block-start: calc(var(--size) * 0.22) solid color-mix(in oklab, var(--primary) 85%, transparent);
}
.gbp-pin svg { position: relative; inline-size: 44%; block-size: 44%; }

@media (prefers-reduced-motion: no-preference) {
  /* Beam and heading: one even pass left → right, fade, short rest */
  .gbp-sweep { animation: gbp-scan var(--scan) infinite; }
  @keyframes gbp-scan {
    0%   { rotate: -90deg; opacity: 0; animation-timing-function: linear; }
    5%   { opacity: 1; animation-timing-function: linear; }
    74%  { rotate: 90deg; opacity: 1; }
    84%  { rotate: 90deg; opacity: 0; }
    100% { rotate: 90deg; opacity: 0; }
  }
  .gbp-aim { animation: gbp-aim var(--scan) infinite; }
  @keyframes gbp-aim {
    0%   { rotate: -90deg; animation-timing-function: linear; }
    74%  { rotate: 90deg; animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); }
    96%  { rotate: -90deg; }
    100% { rotate: -90deg; }
  }

  /* Each pin: found when the beam edge arrives, stays lit a moment, eases back */
  .gbp-pin, .gbp-pin::after {
    animation-duration: var(--scan);
    animation-iteration-count: infinite;
    animation-delay: var(--hit);
  }
  .gbp-pin { animation-name: gbp-found; }
  .gbp-pin::after { animation-name: gbp-found-tail; }
  @keyframes gbp-found {
    0%        { scale: 1; color: rgb(255 255 255 / 0.62); background-color: color-mix(in oklab, var(--primary) 85%, transparent);
                box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2), 0 6px 14px color-mix(in oklab, color-mix(in oklab, var(--secondary), #000 70%) 30%, transparent); }
    4%        { scale: 1.12; }
    4%, 26%   { color: var(--ill-ink); background-color: var(--found);
                box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0), 0 0 0 5px color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 18%, transparent), 0 0 22px color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 72%) 45%, transparent); }
    10%, 26%  { scale: 1.06; }
    38%, 100% { scale: 1; color: rgb(255 255 255 / 0.62); background-color: color-mix(in oklab, var(--primary) 85%, transparent);
                box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2), 0 6px 14px color-mix(in oklab, color-mix(in oklab, var(--secondary), #000 70%) 30%, transparent); }
  }
  @keyframes gbp-found-tail {
    0%        { border-block-start-color: color-mix(in oklab, var(--primary) 85%, transparent); }
    4%, 26%   { border-block-start-color: var(--found); }
    38%, 100% { border-block-start-color: color-mix(in oklab, var(--primary) 85%, transparent); }
  }

  /* Pause while off screen (set by main.js) */
  .gbp:not(.is-visible) :is(.gbp-sweep, .gbp-aim, .gbp-pin),
  .gbp:not(.is-visible) .gbp-pin::after { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  /* Still frame tells the story: beam part-way, the pins it has passed already found */
  .gbp-sweep { rotate: 20deg; opacity: 1; }
  .gbp-aim { rotate: 20deg; }
  .gbp-pin:is(:nth-child(5), :nth-child(6), :nth-child(7)) { color: var(--ill-ink); background-color: var(--found); }
  .gbp-pin:is(:nth-child(5), :nth-child(6), :nth-child(7))::after { border-block-start-color: var(--found); }
}

/* ---------------------------------------------------------
   Illustration 1: Google Business Profile optimization — a clean checklist
   Six items tick off one by one (0.35s, then every 0.3s), hold, then reset
   together. One 7s loop. The card runs off the bottom edge.
   --------------------------------------------------------- */
.gbo { --loop: 7s; }
.gbo-card {
  --pad: clamp(8px, 5cqh, 16px);
  position: absolute; inset-inline-start: 50%;
  inset-block-start: clamp(10px, 6cqh, 20px);
  inset-block-end: -28px;           /* runs off the bottom edge */
  translate: -50% 0;
  display: flex; flex-direction: column; justify-content: center;   /* list sits in the middle of the visible card */
  inline-size: min(380px, calc(100cqi - 48px));   /* a list reads best narrow */
  padding: var(--pad) calc(var(--pad) + 4px) calc(var(--pad) + 28px);
  border: 1px solid var(--ill-card-edge);
  border-radius: calc(20px * var(--r));
  background: var(--ill-card);
  box-shadow: var(--ill-card-shadow);
}

/* One vertical list, ticked off from top to bottom */
.gbo-list {
  display: grid;
  margin: 0; padding: 0; list-style: none;
}
.gbo-item {
  display: flex; align-items: center; gap: clamp(8px, 3cqi, 12px);
  padding-block: clamp(3px, 2.1cqh, 7px);
  border-block-end: 1px solid var(--border);
  color: var(--ink);
  font-size: clamp(0.8125rem, 0.66rem + 1.4cqh, 0.9375rem); font-weight: 500;
  white-space: nowrap;
}
.gbo-item:last-child { border-block-end: 0; }
.gbo-check {
  display: grid; place-items: center; flex-shrink: 0;
  inline-size: clamp(18px, 9cqh, 22px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ill-accent); color: #fff;
}
.gbo-check svg { inline-size: 60%; block-size: 60%; }

/* Short panels (phones): slightly smaller rows so all six fit */
@container (block-size < 230px) {
  .gbo-item { font-size: 0.8125rem; gap: 9px; }
  .gbo-check { inline-size: 17px; }
}

@media (prefers-reduced-motion: no-preference) {
  .gbo-item:nth-child(1) .gbo-check { animation: gbo-tick-0 var(--loop) infinite; }
  .gbo-item:nth-child(1) { animation: gbo-text-0 var(--loop) infinite; }
  @keyframes gbo-tick-0 {
    0%, 5.0% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
    6.71%     { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1.2; }
    9.29%, 90% { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1; }
    95%, 100% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
  }
  @keyframes gbo-text-0 {
    0%, 5.0% { color: var(--muted); }
    6.71%, 90% { color: var(--ink); }
    95%, 100% { color: var(--muted); }
  }
  .gbo-item:nth-child(2) .gbo-check { animation: gbo-tick-1 var(--loop) infinite; }
  .gbo-item:nth-child(2) { animation: gbo-text-1 var(--loop) infinite; }
  @keyframes gbo-tick-1 {
    0%, 9.29% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
    11.0%     { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1.2; }
    13.57%, 90% { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1; }
    95%, 100% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
  }
  @keyframes gbo-text-1 {
    0%, 9.29% { color: var(--muted); }
    11.0%, 90% { color: var(--ink); }
    95%, 100% { color: var(--muted); }
  }
  .gbo-item:nth-child(3) .gbo-check { animation: gbo-tick-2 var(--loop) infinite; }
  .gbo-item:nth-child(3) { animation: gbo-text-2 var(--loop) infinite; }
  @keyframes gbo-tick-2 {
    0%, 13.57% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
    15.29%     { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1.2; }
    17.86%, 90% { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1; }
    95%, 100% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
  }
  @keyframes gbo-text-2 {
    0%, 13.57% { color: var(--muted); }
    15.29%, 90% { color: var(--ink); }
    95%, 100% { color: var(--muted); }
  }
  .gbo-item:nth-child(4) .gbo-check { animation: gbo-tick-3 var(--loop) infinite; }
  .gbo-item:nth-child(4) { animation: gbo-text-3 var(--loop) infinite; }
  @keyframes gbo-tick-3 {
    0%, 17.86% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
    19.57%     { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1.2; }
    22.14%, 90% { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1; }
    95%, 100% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
  }
  @keyframes gbo-text-3 {
    0%, 17.86% { color: var(--muted); }
    19.57%, 90% { color: var(--ink); }
    95%, 100% { color: var(--muted); }
  }
  .gbo-item:nth-child(5) .gbo-check { animation: gbo-tick-4 var(--loop) infinite; }
  .gbo-item:nth-child(5) { animation: gbo-text-4 var(--loop) infinite; }
  @keyframes gbo-tick-4 {
    0%, 22.14% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
    23.86%     { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1.2; }
    26.43%, 90% { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1; }
    95%, 100% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
  }
  @keyframes gbo-text-4 {
    0%, 22.14% { color: var(--muted); }
    23.86%, 90% { color: var(--ink); }
    95%, 100% { color: var(--muted); }
  }
  .gbo-item:nth-child(6) .gbo-check { animation: gbo-tick-5 var(--loop) infinite; }
  .gbo-item:nth-child(6) { animation: gbo-text-5 var(--loop) infinite; }
  @keyframes gbo-tick-5 {
    0%, 26.43% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
    28.14%     { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1.2; }
    30.71%, 90% { background-color: var(--ill-accent); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ill-accent); scale: 1; }
    95%, 100% { background-color: var(--surface); color: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); scale: 1; }
  }
  @keyframes gbo-text-5 {
    0%, 26.43% { color: var(--muted); }
    28.14%, 90% { color: var(--ink); }
    95%, 100% { color: var(--muted); }
  }
}

/* =========================================================
   Book a call — dark brand-teal section with the cal.com calendar
   ========================================================= */
.book {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    var(--dark-bg);
  color: #fff;
}
.book .section-head h2 { color: #fff; }
.book .section-head p { color: rgb(255 255 255 / 0.68); }

/* Your logo, drawn as a 1px outline, large behind the content */
.book-logo {
  position: absolute; z-index: -1;
  inset-inline-start: 50%; inset-block-start: 50%;
  translate: -50% -50%;
  inline-size: max(900px, 95vw); block-size: auto; aspect-ratio: 1;
  fill: none;
  stroke: color-mix(in oklab, var(--primary), #fff 22%);
  stroke-width: 1;
  opacity: 0.35;
  pointer-events: none;
}
.book-logo path { vector-effect: non-scaling-stroke; }

.book-embed {               /* no frame of its own: just the white calendar on the dark section */
  max-inline-size: var(--container);
  margin-inline: auto;
}
.book-cal { inline-size: 100%; min-block-size: 640px; overflow: auto; }
@media (width < 640px) {
  .book-cal { min-block-size: 560px; }
  /* phones: the logo outline starts just below the heading text, never behind it */
  .book-logo { inset-block-start: 9.5rem; translate: -50% 0; inline-size: 150vw; }   /* top just touches the description */
}

/* =========================================================
   Before / after (interactive ranking map)
   ========================================================= */
.ba {
  --rank-1: #3fd07e;  --rank-2: #1f9e55;  --rank-3: #146b3d;   /* three distinct greens: bright, medium, deep */
  --rank-mid: #d7832c; --rank-low: #c23b3b;
  --ba-dur: 600ms;                          /* switch highlight + map sweep share one duration and curve */
  --ba-ease: cubic-bezier(0.65, 0, 0.35, 1);
}
.ba-card {
  display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 1.5rem);
  margin-inline: auto;   /* fills the shared container */
  padding: clamp(0.875rem, 0.6rem + 1vw, 1.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
@media (width >= 900px) {
  .ba-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);   /* bigger square map; the panel scales to match */
    align-items: center;
    gap: clamp(2rem, 1rem + 2.5vw, 3.5rem);
    padding: clamp(1.25rem, 0.8rem + 1vw, 1.75rem);
    padding-inline-start: clamp(1.5rem, 0.5rem + 2.5vw, 3rem);
  }
}
.ba-panel { display: grid; gap: 1rem; align-content: center; }
@media (width < 900px) {
  /* Order on phones: switch, map, then the rest, so the switch and the map are on screen together */
  .ba-panel { display: contents; }
  .ba-toggle  { order: 1; }
  .ba-visual  { order: 2; }
  .ba-sheet   { order: 3; }
  /* Phones: one 12px rhythm: card edge, switch, map and data panel all 12px apart */
  .ba .ba-card { gap: 0.75rem; padding: 0.75rem; border-radius: var(--radius-xl); }
  .ba .ba-toggle {
    position: sticky; z-index: 5;
    inset-block-start: calc(var(--header-h) + 0.5rem);   /* stays visible over the map while you scroll */
    justify-self: stretch; inline-size: auto;
    margin-block-end: 0;
    background: var(--surface);
    box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--ink) 25%, transparent);
  }
}

/* Segmented Before / After switch: the one teal accent in the panel */
.ba-toggle {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr;
  justify-self: start; inline-size: min(100%, 18rem);
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.ba-toggle::before {
  content: ""; position: absolute; z-index: -1;
  inset-block: 4px; inset-inline-start: 4px; inline-size: calc(50% - 4px);
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--primary-900) 25%, transparent);
  transition: translate var(--ba-dur) var(--ba-ease);   /* same timing as the map sweep */
}
.ba[data-view="after"] .ba-toggle::before { translate: 100% 0; }
.ba-toggle button {
  min-block-size: max(40px, var(--target-size));
  padding-inline: 1rem;
  border: 0; border-radius: var(--radius-pill);
  background: none;
  font: inherit; font-size: 0.9375rem; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 200ms;
  -webkit-tap-highlight-color: transparent;
}
.ba-toggle button[aria-pressed="true"] { color: #fff; }
.ba-toggle button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ba-toggle button:active { scale: 0.97; }

/* Scorecard: a plain list. Labels quiet, values in ink, a small dot in the map's colour */
.ba-sheet {   /* light twin of the map: same corners, one inner inset (16px) for everything */
  padding-inline: 1rem;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
}

/* Four tiles: one number and three 5-step meters (red before, green after) */
.ba-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.ba-row {
  display: grid; grid-template-rows: 1fr auto; gap: 0.625rem;   /* the number/meters line up across each pair */
  padding-block: 1rem;
  min-inline-size: 0;
}
.ba-row:nth-child(odd)  { padding-inline-end: 1rem; border-inline-end: 1px solid var(--border); }
.ba-row:nth-child(even) { padding-inline-start: 1rem; }
.ba-row:nth-child(n + 3) { border-block-start: 1px solid var(--border); }
.ba-row dt { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.ba-row dd { margin: 0; }
.ba-num {
  font-size: 1.125rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.ba-swap { display: grid; justify-items: start; }   /* both values share one cell: no width jump */
.ba-meter { display: flex; align-items: center; block-size: 1.125rem; }
.ba-meter-bar { display: flex; gap: 3px; inline-size: 100%; max-inline-size: 7.5rem; }
.ba-meter-bar i {
  flex: 1; block-size: 6px; border-radius: calc(3px * var(--r));
  background: var(--border);
  transition: background-color 220ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + var(--n) * 45ms);   /* fills left to right, row by row */
}
.ba[data-view="before"] .ba-meter-bar i.b { background: var(--rank-low); }
.ba[data-view="after"]  .ba-meter-bar i.a { background: var(--primary); }   /* teal = your results; green stays for map ranks */
.ba[data-view="before"] .ba-meter-bar i { transition-delay: 0s; }

/* The four fixes: dashed "to do" pills in Before, filled green in After */
.ba-fixes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem;   /* equal widths */
  padding-block: 0.875rem 1rem;
  border-block-start: 1px solid var(--border);
}
.ba-fixes { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }   /* 2x2 on every size: fits the panel, ticks line up */
.ba-fixes li {
  display: flex; align-items: center; gap: 0.375rem; min-inline-size: 0; white-space: nowrap; overflow: hidden;   /* left-aligned: ticks line up in a column */
  padding: 0.3125rem 0.75rem 0.3125rem 0.375rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem; font-weight: 500; color: var(--muted);
  transition: color 250ms, background-color 250ms, border-color 250ms;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.ba-tick {
  display: grid; place-items: center; flex-shrink: 0;
  inline-size: 18px; block-size: 18px; border-radius: 50%;
  border: 1.5px dashed var(--border-strong);
  color: transparent;
  transition: background-color 250ms, border-color 250ms, color 250ms;
  transition-delay: inherit;
}
.ba-tick svg { inline-size: 11px; block-size: 11px; }
.ba[data-view="after"] .ba-fixes li {
  border-style: solid; border-color: color-mix(in oklab, var(--primary) 28%, transparent);
  background: var(--primary-50);
  color: var(--ink);
}
.ba[data-view="after"] .ba-tick { border-style: solid; border-color: var(--primary); background: var(--primary); color: #fff; }
.ba[data-view="before"] .ba-fixes li { transition-delay: 0s; }

/* Desktop: a larger panel, scaled with the bigger map */
@media (width >= 900px) {
  .ba .ba-panel { gap: 1.25rem; }
  .ba .ba-toggle { inline-size: min(100%, 20rem); }
  .ba .ba-toggle button { min-block-size: 46px; font-size: 1rem; }
  .ba .ba-sheet { padding-inline: 1.5rem; }
  .ba .ba-row { padding-block: 1.75rem; gap: 0.875rem; }
  .ba .ba-row dt { font-size: 0.9375rem; }
  .ba .ba-num { font-size: 1.5rem; }
  .ba .ba-meter-bar { max-inline-size: 10rem; gap: 4px; }
  .ba .ba-meter-bar i { block-size: 8px; border-radius: calc(4px * var(--r)); }
  .ba .ba-fixes { padding-block: 1.25rem 1.5rem; }
}

/* Value swap: the old value goes out at once, the new one rises 6px into place, row by row */
.ba :is(.ba-swap, .ba-dot) > span { grid-area: 1 / 1; }
.ba .ba-num > span { translate: none !important; transition: none !important; }   /* the number just switches: no movement */
.ba[data-view="before"] .ba-swap .v-a,
.ba[data-view="after"] .ba-swap .v-b { opacity: 0; translate: 0 6px; transition: none; }
.ba[data-view="before"] .ba-swap .v-b,
.ba[data-view="after"] .ba-swap .v-a {
  opacity: 1; translate: none;
  transition: opacity 260ms var(--ease-out), translate 320ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms);
}
/* Map dots: the new number fades in on the same spot */
.ba-dot > span { transition: opacity 200ms var(--ease-out); }
.ba-dot .v-a, .ba-dot.is-after .v-b { opacity: 0; transition: none; }
.ba-dot.is-after .v-a { opacity: 1; transition: opacity 200ms var(--ease-out); }

/* What gets done: a quiet two-column list, ticks turn green in After */


/* Map */
.ba-map {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1;                     /* square: no empty band under the dots */
  --ba-mid: 50%;
  border-radius: var(--radius-lg);
  background: var(--primary-gradient);
  container-type: inline-size;
}
.ba-map::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background-image: var(--grain); background-size: 180px; opacity: 0.12; mix-blend-mode: overlay;
}
.ba-roads { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; }
.ba-roads polyline { stroke: color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 88%) 28%, transparent); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }

/* Dots */
.ba-grid { position: absolute; inset: 0; z-index: 1; }
.ba-dot {
  --c: var(--cb);
  position: absolute;
  inset-inline-start: calc(10.8% + var(--x) * 9.74%);
  inset-block-start: calc(var(--ba-mid, 51.1%) + (var(--y) - 3) * 9.75cqi);   /* rows keep their spacing at any map height */
  translate: -50% -50%;
  display: grid; place-items: center;
  inline-size: 7.6cqi; aspect-ratio: 1;               /* a little smaller: clear gaps between dots */
  border-radius: 50%;
  background: var(--c);               /* solid, so the roads never show through the numbers */
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
  color: #fff;
  font-size: max(10px, 2.9cqi); font-weight: 600; font-variant-numeric: tabular-nums;
  cursor: pointer;
  /* no colour blend: red → green through brown looked muddy. The sweep itself is the animation. */
}
.ba-dot.is-after { --c: var(--ca); }
.b-r1 { --cb: var(--rank-1); } .b-r2 { --cb: var(--rank-2); } .b-r3 { --cb: var(--rank-3); } .b-mid { --cb: var(--rank-mid); } .b-low { --cb: var(--rank-low); }
.a-r1 { --ca: var(--rank-1); } .a-r2 { --ca: var(--rank-2); } .a-r3 { --ca: var(--rank-3); } .a-mid { --ca: var(--rank-mid); } .a-low { --ca: var(--rank-low); }
.ba-dot.is-home {   /* the business: a white disc the size of a dot (same spacing on every side), teal pin inside */
  z-index: 2;
  transition: none;                     /* fixed in place: nothing about it changes when switching */
  contain: layout;
  background: var(--surface);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.35);
  color: var(--primary);
  cursor: pointer;
}
.ba-pin { display: grid; place-items: center; inline-size: 62%; aspect-ratio: 1; }
.ba-pin svg { inline-size: 100%; block-size: 100%; }
.ba-dot.is-picked:not(.is-home) { box-shadow: inset 0 0 0 2px #fff; }

/* Info button (top-right of the map) and its explanation */
.ba-info-btn {
  position: absolute; z-index: 4; inset-block-start: 0.75rem; inset-inline-end: 0.75rem;
  display: grid; place-items: center;
  inline-size: max(36px, var(--target-size)); block-size: max(36px, var(--target-size));
  border: 1px solid rgb(255 255 255 / 0.18); border-radius: 50%;
  background: color-mix(in oklab, var(--secondary-900) 55%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer;
  transition: background-color 150ms, scale 150ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.ba-info-btn svg { inline-size: 20px; block-size: 20px; }
.ba-info-btn:active { scale: 0.94; }
@media (hover: hover) { .ba-info-btn:hover { background: color-mix(in oklab, var(--secondary-900) 80%, transparent); } }
.ba-info-btn:focus-visible, .ba-info-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ba-info {
  position: absolute; z-index: 5;
  inset-block-start: 0.75rem; inset-inline: 0.75rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.875rem 0.5rem 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 32px -8px rgb(0 0 0 / 0.5);
  font-size: var(--fs-sm); line-height: 1.5;
  transform-origin: top right;
  animation: ba-pop-in 180ms var(--ease-out);
}
.ba-info[hidden] { display: none; }
.ba-info p { flex: 1; }
@keyframes ba-pop-in { from { opacity: 0; scale: 0.96; } }
.ba-info-close {
  display: grid; place-items: center; flex-shrink: 0;
  inline-size: max(32px, var(--target-size)); block-size: max(32px, var(--target-size));
  margin-block: -0.375rem; border: 0; border-radius: 50%;
  background: none; color: var(--muted); cursor: pointer;
}
.ba-info-close svg { inline-size: 18px; block-size: 18px; }
@media (hover: hover) { .ba-info-close:hover { background: var(--surface-2); color: var(--ink); } }

/* Tap a dot: small label above it */
.ba-tip {
  position: absolute; z-index: 4;
  translate: -50% calc(-100% - 4.6cqi);
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 6px 20px -6px rgb(0 0 0 / 0.5);
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  pointer-events: none;
}
.ba-tip::after {
  content: ""; position: absolute; inset-block-start: 100%; inset-inline-start: 50%;
  translate: -50% 0;
  border: 6px solid transparent; border-block-start-color: #fff;
}
.ba-tip .tip-b { color: var(--rank-low); }
.ba-tip .tip-a { color: var(--rank-3); }

.ba-visual { display: grid; margin: 0; }


@media (prefers-reduced-motion: reduce) {
  .ba-dot, .ba :is(.ba-swap, .ba-dot) > span, .ba-toggle::before, .ba-fixes li, .ba-meter-bar i { transition-duration: 120ms !important; transition-delay: 0s !important; }
  .ba .ba-swap > span { translate: none !important; }
  .ba-info { animation: none; }
}

/* =========================================================
   Why choose us: comparison table (skbresults column highlighted)
   ========================================================= */
.cmp-wrap { max-inline-size: min(100% - 2 * var(--gutter), var(--container)); }
.cmp { inline-size: 100%; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 1.0625rem 0.75rem; border-block-end: 1px solid var(--border); vertical-align: middle; }
.cmp thead td, .cmp thead th { border-block-end: 0; }
.cmp tbody th {
  padding-inline-start: 0;
  text-align: start; font-weight: 500; font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem); line-height: 1.4;
  color: var(--ink);
}
.cmp td { text-align: center; }
.cmp :is(.cmp-us, .cmp-them), .cmp tbody td { inline-size: clamp(92px, 24%, 200px); }
@media (width >= 900px) {   /* full site width: wider lanes, larger type so the table doesn't look empty */
  .cmp :is(.cmp-us, .cmp-them), .cmp tbody td { inline-size: 27%; }
  .cmp tbody th { font-size: 1.125rem; padding-inline-start: 0; }
  .cmp th, .cmp td { padding-block: 1.25rem; }
  .cmp-mark { inline-size: 32px; block-size: 32px; }
  .cmp-mark svg { inline-size: 17px; block-size: 17px; }
  .cmp-us-name, .cmp-them { font-size: 1rem; }
}

/* The highlighted skbresults lane */
.cmp :is(thead .cmp-us, tbody td:nth-child(2)) {
  background: var(--primary);
  border-block-end-color: rgb(255 255 255 / 0.12);
}
.cmp thead .cmp-us {
  padding-block: 1.5rem 1.25rem;
  border-start-start-radius: calc(18px * var(--r)); border-start-end-radius: calc(18px * var(--r));
  color: #fff;
}
.cmp tbody tr:last-child td:nth-child(2) { border-end-start-radius: calc(18px * var(--r)); border-end-end-radius: calc(18px * var(--r)); border-block-end-color: transparent; }
.cmp-us { display: table-cell; }
.cmp-logo { display: block; inline-size: 30px; block-size: 30px; margin: 0 auto 0.375rem; color: #fff; }
.cmp-logo svg { inline-size: 100%; block-size: 100%; display: block; }
.cmp-us-name { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.cmp-them { padding-block-end: 1.25rem; font-size: 0.9375rem; font-weight: 600; color: var(--muted); vertical-align: bottom; }

.cmp-mark {
  display: inline-grid; place-items: center;
  inline-size: 28px; block-size: 28px; border-radius: 50%;
}
.cmp-mark svg { inline-size: 15px; block-size: 15px; }
.cmp-yes { background: rgb(255 255 255 / 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }
.cmp-no { background: var(--surface-2); color: var(--muted); }

/* Phones: narrow icon lanes so the row labels get the room and mostly sit on one line */
@media (width < 640px) {
  .compare .section-head { margin-block-end: 3rem; }   /* more air between the intro and the table's teal header */
  .cmp :is(.cmp-us, .cmp-them), .cmp tbody td { inline-size: 76px; }
  .cmp th, .cmp td { padding-block: 1rem; }
  .cmp td, .cmp thead :is(.cmp-us, .cmp-them) { padding-inline: 0.5rem; }
  .cmp tbody th { padding-inline-end: 1rem; font-size: 0.9375rem; line-height: 1.35; }
  .cmp thead .cmp-us { padding-block: 1.125rem 1rem; }
  .cmp-logo { inline-size: 24px; block-size: 24px; margin-block-end: 0.25rem; }
  .cmp-us-name { font-size: 0.8125rem; }
  .cmp-them { font-size: 0.8125rem; line-height: 1.3; padding-block-end: 1rem; }
  .cmp-mark { inline-size: 26px; block-size: 26px; }
  .cmp-mark svg { inline-size: 14px; block-size: 14px; }
}


/* =========================================================
   About: your photo + a short story
   ========================================================= */
.about-grid {
  display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: center;
  max-inline-size: min(100% - 2 * var(--gutter), var(--container));
}
@media (width >= 700px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 2rem + 3vw, 5rem); }
}
.about-photo {   /* cut-out portrait standing on the bottom edge of a teal gradient with a faint grid */
  position: relative; isolation: isolate;
  display: grid; align-items: end; justify-items: center;
  aspect-ratio: 10 / 11;
  border-radius: calc(clamp(16px, 12px + 0.6vw, 20px) * var(--r));
  overflow: hidden;
  background: var(--primary-gradient);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), var(--shadow);
}
.about-photo::before {   /* grid, brightest behind the head and fading out to the edges */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 80%);
}
.about-photo img {
  display: block; inline-size: 100%; block-size: auto;
  margin-block-end: -1px;   /* no hairline gap under the jacket */
}
.about-copy { display: grid; gap: 1rem; }
@media (width < 700px) {   /* phones: title first, then the photo, then the text */
  .about-grid { gap: 1.25rem; }
  .about-copy { display: contents; }
  .about-copy h2 { order: -1; }
  .about-photo { margin-block-end: 0.75rem; }
}
.about-copy h2 { max-inline-size: 18ch; }
.about-copy p:not(.eyebrow, .about-sign) { max-inline-size: 58ch; font-size: var(--fs-lg); line-height: 1.6; color: var(--text); }
@media (width >= 700px) {   /* keep the text block close to the photo's height */
  .about-copy { gap: 0.875rem; }
  .about-copy p:not(.eyebrow, .about-sign) { font-size: 1.0625rem; line-height: 1.55; }
  .about-copy .signature { inline-size: 220px; }
}
.signature {
  inline-size: clamp(220px, 180px + 10vw, 300px); block-size: auto;
  margin-block: 0 -0.5rem;
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.signature .sig-dot { stroke-width: 4.5; }
.signature path { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* Drawn like a pen once it scrolls into view: each stroke in order, with the pen's own speed */
  .signature:not(.is-drawn) path { stroke-dashoffset: 1; opacity: 0; }   /* hidden until its turn: no stray pen-tip dots */
  .signature.is-drawn path {
    transition:
      stroke-dashoffset var(--t) cubic-bezier(0.45, 0.05, 0.4, 1) var(--d),
      opacity 0s linear var(--d);
  }
}
.about-sign { display: grid; gap: 0.125rem; margin-block-start: 0.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--border); }
.about-sign strong { font-weight: 600; color: var(--ink); }
.about-sign span { font-size: var(--fs-sm); color: var(--muted); }
/* A line break typed into the About text starts a new paragraph with a small gap (less than a blank line).
   main.js wraps each line after a break in .para, because a <br> itself can't carry space. */
.about-copy p > .para { margin-block-start: 0.65em; }
/* A line break typed between the sign-off lines only starts the next line: without this it takes a whole empty row. */
.about-sign > br { display: none; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }

/* =========================================================
   Articles: three cards (thumbnail, date, title, text, read link) + "View all"
   ========================================================= */
.posts-wrap {
  display: grid; gap: 2rem;
  grid-template-areas: "head" "list" "all";
  max-inline-size: min(100% - 2 * var(--gutter), var(--container));
}
@media (width >= 900px) {
  .posts-wrap {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head all" "list list";
    align-items: end; row-gap: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  }
}
.posts-head { grid-area: head; display: grid; gap: 0.75rem; }
.posts-head p { max-inline-size: 34rem; font-size: var(--fs-lg); color: var(--muted); }
.posts-all { grid-area: all; justify-self: start; }
@media (width < 900px) { .posts-all { justify-self: stretch; } }
.posts-all svg { transition: translate 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .posts-all:hover svg { translate: 3px 0; } }

.posts-list { grid-area: list; display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (width >= 640px) and (width < 900px) { .posts-list { gap: 1.25rem; } }
@media (width >= 900px) { .posts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.post {
  position: relative;                    /* the title link stretches over the whole card */
  display: grid; grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: calc(clamp(16px, 12px + 0.6vw, 20px) * var(--r));
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms var(--ease-out), translate 200ms var(--ease-out);
}
.post-thumb {
  display: grid; place-items: center;
  aspect-ratio: 16 / 9;                  /* YouTube thumbnail shape (1280 x 720) */
  color: var(--border-strong);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in oklab, var(--ink) 2.5%, transparent) 14px 15px),
    var(--surface-2);
}
.post-thumb > svg { inline-size: 36px; block-size: 36px; }
.post-thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.post-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.5rem; padding: 1.25rem 1.25rem 1.375rem; }
.post-date { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.post-title { font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.35; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole card clickable */
.post-title a:focus-visible { outline: none; }
.post:has(a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
.post-text { color: var(--muted); line-height: 1.55; }
.post-more {
  display: inline-flex; align-items: center; gap: 0.125rem; margin-block-start: 0.5rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--primary);
}
.post-more svg { inline-size: 16px; block-size: 16px; transition: translate 200ms var(--ease-out); }
/* Card footer: "Read article" on the left, optional YouTube / LinkedIn links on the right.
   An icon only appears when that article has a video or post; each opens the exact video or post. */
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-start: 0.5rem; }
.post-foot .post-more { margin-block-start: 0; }
.post-links { display: flex; align-items: center; gap: 0.25rem; margin-inline-end: -6px; }
.post-link {
  position: relative; z-index: 1;   /* above the whole-card link */
  display: grid; place-items: center;
  inline-size: 36px; block-size: 36px; border-radius: var(--radius-sm);
}
.post-link svg { inline-size: 22px; block-size: auto; }
.post-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .post-link:hover { background: var(--surface-2); } }
@media (hover: hover) and (pointer: fine) {
  .post:hover { translate: 0 -2px; box-shadow: var(--shadow); }
  .post:hover .post-more svg { translate: 3px 0; }
}

/* =========================================================
   FAQ (native <details> accordion)
   ========================================================= */
.faq-grid {
  display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-inline-size: min(100% - 2 * var(--gutter), var(--container));
}
.faq-head { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.faq-head h2 { max-inline-size: 18ch; }
.faq-head p { max-inline-size: 32rem; font-size: var(--fs-lg); color: var(--muted); }

@media (width >= 900px) {   /* desktop: heading on the left (stays in view), questions on the right */
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; column-gap: clamp(3rem, 2rem + 3vw, 5rem); }
  .faq-head { position: sticky; inset-block-start: calc(var(--header-h) + 2rem); justify-items: start; text-align: start; }
}

.faq-list { inline-size: 100%; display: grid; gap: 0.75rem; }   /* every question is its own card */
.faq-list details {
  min-inline-size: 0;
  padding-inline: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  list-style: none;                       /* removes the default triangle */
  display: flex; align-items: center; gap: 0.875rem;
  min-block-size: 64px;
  padding-block: 1.125rem;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {               /* marker right before the question, rotates when open */
  content: "";
  flex-shrink: 0;
  inline-size: 28px; block-size: 28px; border-radius: 50%;
  /* accent colour shown through a mask: a solid chevron on a 10% tint of the same colour */
  background: var(--primary);
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat,
    radial-gradient(circle closest-side, rgb(0 0 0 / 0.1) 97%, transparent 100%);
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat,
    radial-gradient(circle closest-side, rgb(0 0 0 / 0.1) 97%, transparent 100%);
  rotate: -90deg;                          /* closed: points to the text */
}
.faq-list details[open]:not(.is-closing) > summary::before { rotate: 0deg; }   /* turns back as soon as closing starts */
.faq-list summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: var(--radius-sm); }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--primary); } }

.faq-list .faq-answer p {
  padding: 0 0 1.25rem calc(28px + 0.875rem);   /* aligned with the question text */
  max-inline-size: 60ch;
  color: var(--text); line-height: 1.6;
}

/* Open/close: the answer's height and opacity are animated by main.js (works in every browser) */
.faq-answer { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list summary::before { transition: rotate 220ms var(--ease-out); }
}

/* =========================================================
   Questions bar: a slim light strip before the dark booking section
   ========================================================= */
.ask-bar {
  position: relative; isolation: isolate;
  background: var(--primary-50);
  border-block: 1px solid color-mix(in oklab, var(--primary) 12%, transparent);
}
.ask-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  max-inline-size: min(100% - 2 * var(--gutter), var(--container));   /* shared site width */
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.ask-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 600;   /* clearly the lead, not smaller than the buttons */
  letter-spacing: -0.02em; color: var(--ink);
}
@media (width < 900px) {
  .ask-inner { flex-direction: column; text-align: center; }
  .contact-card { inline-size: 100%; text-align: start; }
}

/* Contact card: who you are, a live "active" dot, and two ways to reach you */
.contact-card {
  inline-size: min(100%, 24rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 1rem 1.25rem; }
.contact-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.contact-role { font-size: var(--fs-sm); color: var(--muted); }
.contact-avatar {
  position: relative; flex-shrink: 0;
  display: grid; place-items: center;
  inline-size: 52px; block-size: 52px; border-radius: 50%;
  background: var(--primary-gradient); color: #fff;
  font-size: 0.9375rem; font-weight: 600;
}
.contact-avatar img { inline-size: 100%; block-size: 100%; border-radius: 50%; object-fit: cover; display: block; }
.contact-status {   /* green "active" dot on the photo */
  position: absolute; inset-inline-end: 0; inset-block-end: 1px;
  inline-size: 14px; block-size: 14px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2.5px #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .contact-status::after {   /* a slow, soft pulse so it reads as "live" */
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: #22c55e;
    animation: status-pulse 2.4s var(--ease-out) infinite;
  }
  @keyframes status-pulse { 0% { opacity: 0.55; scale: 1; } 70%, 100% { opacity: 0; scale: 2.2; } }
}
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--border); }
.contact-actions a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-block-size: 52px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: background-color 150ms, color 150ms;
  -webkit-tap-highlight-color: transparent;
}
.contact-actions a + a { border-inline-start: 1px solid var(--border); }
.contact-actions svg { inline-size: 18px; block-size: 18px; color: var(--muted); transition: color 150ms; }
.contact-actions a:active { background: var(--surface-2); }
.contact-actions a:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .contact-actions a:hover { background: var(--surface-2); color: var(--ink); }
  .contact-actions a:hover svg { color: var(--primary); }
}

/* =========================================================
   Footer — continues the dark brand teal of the booking section
   ========================================================= */
.site-footer {
  --foot-bg: var(--secondary);
  background: var(--foot-bg);
  color: rgb(255 255 255 / 0.62);
  border-block-start: 1px solid rgb(255 255 255 / 0.06);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  font-size: 0.9375rem;
}
@media (width < 768px) {
  /* room for the fixed phone button, plus about 50px between the last line and the button */
  .site-footer { padding-block-end: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px) + 3rem); }
}
.site-footer a { color: inherit; transition: color 150ms; }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: #fff; }
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem 2rem;
}
@media (width < 900px) { .foot-top { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (width < 560px) { .foot-top { grid-template-columns: 1fr 1fr; } }

.foot-brand { display: grid; align-content: start; justify-items: start; gap: 1.25rem; }
.site-footer .foot-logo { color: #fff; }   /* beats the footer's grey link colour */
.foot-logo .brand-mark { color: #fff; }
.foot-cta {
  min-block-size: 44px; padding-inline: 1.125rem 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  font-size: 0.9375rem;
}
@media (hover: hover) and (pointer: fine) {
  .foot-cta:hover { background: rgb(255 255 255 / 0.1); }
}

.foot-col h2 {
  margin-block-end: 1rem;
  color: #fff; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.foot-col ul { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.foot-col a { display: inline-flex; align-items: center; gap: 0.6rem; min-block-size: 28px; }
.foot-col svg { inline-size: 18px; block-size: 18px; flex-shrink: 0; color: rgb(255 255 255 / 0.5); }

.foot-bottom {
  margin-block-start: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-block-start: 2rem;
  border-block-start: 1px solid rgb(255 255 255 / 0.08);
  display: grid; gap: 0.75rem;
  max-inline-size: 70ch;
  font-size: 0.8125rem; line-height: 1.6;
  color: rgb(255 255 255 / 0.45);
}
.foot-bottom .foot-copy { color: rgb(255 255 255 / 0.7); font-size: 0.875rem; }
.foot-links a { text-decoration: none; }

/* High contrast */
@media (forced-colors: active) {
  .btn, .email-form, .profile, .preview, .site-menu, .pg-card, .bento-card { border: 1px solid CanvasText; }
}

/* =========================================================
   Video sales letter (custom player)
   ========================================================= */
.vsl {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);       /* same light grey as the frame, so nothing dark can show at an edge */
  border-radius: calc(20px * var(--r));                 /* matches the frame, so the video and its overlays share one shape */
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size; /* overlay sizes follow the player's width */
}
.vsl-video {
  position: absolute; inset: 0;
  display: block;
  inline-size: 100%; block-size: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;                          /* hidden until its first frame is drawn, so it never starts on an empty box */
  transition: opacity 0.35s ease;
}
.vsl[data-ready] .vsl-video { opacity: 1; }

/* Centered overlays (unmute prompt, play/resume) */
.vsl-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(0.5rem, 2.2cqi, 1rem);
  padding: 1rem;
  border: 0;
  color: #fff;
  text-align: center;
  border-radius: inherit;              /* same rounded shape as the video (iPhone doesn't always clip it) */
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--primary-900) 45%, transparent), color-mix(in oklab, var(--primary-900) 20%, transparent) 70%);
  opacity: 0; visibility: hidden;
  transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms;
}
.vsl[data-state="preview"] .vsl-unmute,
.vsl:is([data-state="paused"], [data-state="ended"]) .vsl-resume {
  opacity: 1; visibility: visible;
  transition: opacity 200ms var(--ease-out), visibility 0s;
}

.vsl-badge {
  display: grid; place-items: center;
  inline-size: clamp(52px, 11cqi, 96px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary-gradient);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 8px 24px color-mix(in oklab, var(--secondary-900) 35%, transparent);
  transition: transform 160ms var(--ease-out);
}
.vsl-badge svg { inline-size: 42%; block-size: 42%; display: block; }
.vsl-overlay:active .vsl-badge { transform: scale(0.95); }

/* Gentle "listen to me" pulse on the unmute badge (not for reduced motion) */
@container (inline-size < 420px) {
  .vsl-badge { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 6px 18px color-mix(in oklab, var(--secondary-900) 35%, transparent); }
  .vsl-controls { padding: 1.75rem 0.25rem 0.375rem; gap: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  /* gentle breathing scale instead of a white ring */
  .vsl[data-state="preview"] .vsl-unmute .vsl-badge { animation: vsl-breathe 2.4s ease-in-out infinite; }
  @keyframes vsl-breathe { 50% { scale: 1.06; } }
}

.vsl-unmute .i-play-big { display: none; }
.vsl[data-autoplay-blocked] .vsl-unmute .i-play-big { display: block; }
.vsl[data-autoplay-blocked] .vsl-unmute .i-muted-big { display: none; }
.vsl[data-autoplay-blocked] .vsl-unmute .vsl-badge { animation: none; }

.vsl-overlay-text {
  display: grid; gap: 0.125rem;
  padding: clamp(0.375rem, 1.4cqi, 0.625rem) clamp(0.75rem, 3cqi, 1.25rem);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--secondary-900) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vsl-overlay-title { font-size: clamp(0.9375rem, 0.8rem + 1.2cqi, 1.25rem); font-weight: 600; letter-spacing: -0.01em; }
.vsl-overlay-sub { font-size: clamp(0.8125rem, 0.75rem + 0.6cqi, 1rem); color: rgb(255 255 255 / 0.82); }

.vsl-overlay:focus-visible { outline: none; }
.vsl-overlay:focus-visible .vsl-badge { outline: 3px solid #fff; outline-offset: 4px; }

/* Controls bar */
.vsl-controls {
  position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 3;
  display: flex; align-items: center; gap: 0.25rem;
  padding: 2.5rem 0.75rem 1.5rem;            /* leaves room for the progress bar below */
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--secondary-900) 60%, transparent));
  transition: opacity 200ms var(--ease-out);
}
.vsl-controls[hidden] { display: none; }
/* First appearance (after the first tap) fades in too, instead of a dark band popping up */
@starting-style { .vsl-controls { opacity: 0; } }
.vsl-spacer { flex: 1; }
/* Hide while playing and idle; any pointer move or focus brings it back */
.vsl[data-state="playing"][data-idle] .vsl-controls:not(:focus-within) { opacity: 0; }
.vsl[data-state="playing"][data-idle] { cursor: none; }

.vsl-btn {
  position: relative;
  display: inline-grid; place-items: center;
  inline-size: 44px; block-size: 44px;
  border: 0; border-radius: var(--radius-sm);
  background: transparent; color: #fff;
  flex-shrink: 0;
  transition: transform 160ms var(--ease-out), background-color 150ms;
}
.vsl-btn svg { inline-size: 24px; block-size: 24px; display: block; }
.vsl-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .vsl-btn:hover { background: rgb(255 255 255 / 0.14); }
}
.vsl-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.vsl .i-play, .vsl .i-muted { display: none; }
.vsl:is([data-state="paused"], [data-state="ended"]) .i-play { display: block; }
.vsl:is([data-state="paused"], [data-state="ended"]) .i-pause { display: none; }
.vsl[data-muted] .i-muted { display: block; }
.vsl[data-muted] .i-sound { display: none; }

/* Volume: the speaker opens a small vertical slider above it */
.vsl-vol { position: relative; display: flex; }
.vsl-vol-panel {
  position: absolute; inset-inline-start: 50%; inset-block-end: calc(100% + 6px);
  translate: -50% 6px;
  display: grid; place-items: center;
  padding: 12px 0;
  inline-size: 40px;
  border-radius: calc(999px * var(--r));
  background: color-mix(in oklab, var(--secondary-900) 72%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 160ms var(--ease-out), translate 200ms var(--ease-out), visibility 0s linear 200ms;
}
.vsl-vol.is-open .vsl-vol-panel {
  opacity: 1; visibility: visible; translate: -50% 0;
  transition: opacity 160ms var(--ease-out), translate 200ms var(--ease-out), visibility 0s;
}
.vsl-vol-range {
  --v: 100%;
  writing-mode: vertical-lr; direction: rtl;     /* vertical, louder towards the top */
  inline-size: clamp(72px, 14cqi, 100px); block-size: 24px;   /* in vertical mode, inline-size is the length */
  margin: 0;
  background: transparent;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}
/* vertical mode: block-size is the track's thickness */
.vsl-vol-range::-webkit-slider-runnable-track {
  block-size: 4px; border-radius: calc(99px * var(--r));
  background: linear-gradient(0deg, #fff var(--v), rgb(255 255 255 / 0.3) var(--v));
}
.vsl-vol-range::-moz-range-track { block-size: 4px; border-radius: calc(99px * var(--r)); background: rgb(255 255 255 / 0.3); }
.vsl-vol-range::-moz-range-progress { block-size: 4px; border-radius: calc(99px * var(--r)); background: var(--surface); }
.vsl-vol-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  inline-size: 14px; block-size: 14px; border-radius: 50%;
  margin-block-start: -5px;
  background: var(--surface); border: 0;
}
.vsl-vol-range::-moz-range-thumb { inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--surface); border: 0; }
/* keyboard users still get a visible focus cue, on the thumb only */
.vsl-vol-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgb(255 255 255 / 0.45); }
.vsl-vol-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px rgb(255 255 255 / 0.45); }
/* Where the browser won't let a page set the volume (iPhone), the speaker simply mutes */
.vsl[data-fixed-volume] .vsl-vol-panel { display: none; }

/* Display-only progress bar */
/* Inset from the edges so the rounded corners never hide its start */
.vsl-progress {
  position: absolute; inset-inline: clamp(12px, 2.4cqi, 20px); inset-block-end: clamp(8px, 1.6cqi, 12px); z-index: 4;
  block-size: 5px;
  border-radius: calc(99px * var(--r));
  overflow: hidden;
  background: color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 92%) 92%, transparent); /* light teal track, like the chart bars in the reference */
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.vsl:not([data-state="preview"]) .vsl-progress { opacity: 1; }
.vsl-progress span {
  display: block; block-size: 100%;
  inline-size: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, color-mix(in oklab, var(--primary), #fff 8%) 0%, var(--primary) 55%, var(--primary-700) 100%); /* brand teal, like "Main balance" */
}

/* =========================================================
   Articles page: hero illustration — the 3 newest article
   thumbnails (16:9) fanned out like prints on a table.
   Still, not interactive; the cards spread out once on load.
   ========================================================= */
.art-hero .hero-copy { display: grid; justify-items: center; text-align: center; }
.art-hero h1 { margin-block-start: 0; }
.art-fan {
  position: relative;
  inline-size: min(100%, 960px);
  aspect-ratio: 16 / 6.4;          /* just tall enough for the front card and the lower, tilted side cards */
  margin-block-start: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.art-fan-card {
  position: absolute;
  display: grid; place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(clamp(10px, 6px + 0.8vw, 16px) * var(--r));
  color: var(--border-strong);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in oklab, var(--ink) 2.5%, transparent) 14px 15px),
    var(--surface-2);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 6%, transparent), 0 1px 2px color-mix(in oklab, var(--ink) 4%, transparent), 0 10px 24px -14px color-mix(in oklab, var(--ink) 14%, transparent);
}
.art-fan-card > svg { inline-size: clamp(28px, 20px + 1.5vw, 40px); block-size: auto; }
.art-fan-card img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.art-fan-card--front { z-index: 2; inline-size: 62%; inset-inline-start: 19%; inset-block-start: 0; }
.art-fan-card--left,
.art-fan-card--right { z-index: 1; inline-size: 48%; inset-block-start: 15%; }
.art-fan-card--left  { inset-inline-start: 1%; rotate: -6deg; transform-origin: 100% 100%; }
.art-fan-card--right { inset-inline-end: 1%;  rotate: 6deg;  transform-origin: 0% 100%; }

@media (prefers-reduced-motion: no-preference) {   /* one soft spread on load: the side cards slide out from behind */
  .art-fan-card--left  { animation: art-fan-left 900ms var(--ease-out) 150ms both; }
  .art-fan-card--right { animation: art-fan-right 900ms var(--ease-out) 150ms both; }
  .art-fan-card--front { animation: art-fan-front 700ms var(--ease-out) both; }
}
@keyframes art-fan-left  { from { translate: 30% -8%; rotate: 0deg; } }
@keyframes art-fan-right { from { translate: -30% -8%; rotate: 0deg; } }
@keyframes art-fan-front { from { opacity: 0; translate: 0 12px; } }

@media (width < 900px) {   /* phones and tablets: the whole fan stays inside the page margins, side cards fully visible */
  .art-fan { aspect-ratio: 16 / 7.4; }
  .art-fan-card--front { inline-size: 68%; inset-inline-start: 16%; }
  .art-fan-card--left, .art-fan-card--right { inline-size: 50%; inset-block-start: 16%; }
  .art-fan-card--left  { inset-inline-start: 2%; rotate: -5deg; }
  .art-fan-card--right { inset-inline-end: 2%; rotate: 5deg; }
}
@media (640px <= width < 900px) { .art-fan { inline-size: 84%; } }   /* tablets: clear space between the cards and the page edges */
.posts--page { padding-block-start: clamp(2rem, 1rem + 3vw, 4rem); }

/* =========================================================
   Articles page: newsletter sign-up (name + email, one step).
   Used in the hero and in the bottom newsletter card.
   ========================================================= */
.sub { display: grid; justify-items: center; inline-size: min(100%, 38rem); }
.art-hero .sub { margin-block-start: 2rem; }
.sub-form {
  display: flex; align-items: center;
  inline-size: 100%;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px * var(--r));
  box-shadow: var(--shadow);
  transition: border-color 150ms, box-shadow 150ms;
}
.sub-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50), var(--shadow); }
.sub-form.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-50), var(--shadow); }
.sub-form input {
  flex: 1 1 0; min-inline-size: 0; min-block-size: 44px;
  padding-inline: 0.875rem;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1rem; color: var(--ink);   /* 16px: no zoom on iPhone */
}
.sub-form input::placeholder { color: color-mix(in oklab, var(--muted), var(--bg) 25%); }
.sub-divider { flex-shrink: 0; inline-size: 1px; block-size: 24px; background: var(--border); }
.sub-btn { flex-shrink: 0; min-block-size: 44px; padding-inline: 1.25rem; }
.sub-btn[disabled] { opacity: 0.6; cursor: progress; }
.lead-trap { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.sub-error { margin-block-start: 0.75rem; font-size: var(--fs-sm); font-weight: 500; color: var(--danger); }
.sub-error:empty { display: none; }
.sub-done {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.875rem 1.25rem;
  border-radius: calc(var(--radius) + 8px * var(--r));
  background: var(--primary-50); color: var(--primary);
  font-weight: 500;
}
.sub-done[hidden] { display: none; }
.sub-done svg { inline-size: 20px; block-size: 20px; flex-shrink: 0; }
@media (width < 560px) {   /* phones: name and email stacked, full-width button below */
  .sub-form { flex-direction: column; align-items: stretch; padding: 6px; }
  .sub-form input { min-block-size: 48px; }
  .sub-divider { inline-size: auto; block-size: 1px; margin-inline: 0.875rem; }
  .sub-btn { margin-block-start: 6px; min-block-size: 48px; }
}

/* ---------- Articles list: search + categories ---------- */
.posts--page .posts-wrap { grid-template-areas: "tools" "empty" "list"; }
@media (width >= 900px) { .posts--page .posts-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tools" "empty" "list"; } }
.posts-tools { grid-area: tools; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.posts-search {
  display: flex; align-items: center; gap: 0.5rem;
  flex: 1 1 18rem; max-inline-size: 26rem;
  padding-inline: 1rem;
  min-block-size: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color 150ms, box-shadow 150ms;
}
.posts-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.posts-search svg { inline-size: 18px; block-size: 18px; flex-shrink: 0; color: var(--muted); }
.posts-search input {
  flex: 1; min-inline-size: 0; block-size: 46px;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.posts-search input::placeholder { color: color-mix(in oklab, var(--muted), var(--bg) 25%); }
.posts-search input::-webkit-search-cancel-button { cursor: pointer; }
.posts-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.posts-cats button {
  min-block-size: 40px; padding-inline: 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--text);
  font: inherit; font-size: 0.9375rem; font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.posts-cats button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .posts-cats button[aria-pressed="false"]:hover { background: var(--surface-2); }
}
@media (width < 640px) {
  .posts-search { flex-basis: 100%; max-inline-size: none; }
  .posts-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .posts-cats::-webkit-scrollbar { display: none; }
  .posts-cats button { flex-shrink: 0; }
}
.posts-empty { grid-area: empty; padding-block: 2rem; text-align: center; color: var(--muted); }
.posts-empty[hidden] { display: none; }
.post[hidden] { display: none; }
.post-meta { display: flex; align-items: center; gap: 0.625rem; }
.post-cat {
  padding: 0.125rem 0.5rem; border-radius: var(--radius-pill);
  background: var(--primary-50); color: var(--primary);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em;
}
/* No hover movement on the articles page cards */
.posts--page .post, .posts--page .post:hover { translate: none; box-shadow: var(--shadow-sm); transition: none; }
.posts--page .post:hover .post-more svg { translate: none; }

/* ---------- Bottom newsletter card ---------- */
.news-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-block-size: clamp(22rem, 18rem + 10vw, 28rem);
  padding: clamp(3rem, 2rem + 4vw, 5rem) clamp(1.25rem, 0.5rem + 4vw, 4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
}
.news-logo {   /* your logo as a 1px outline, soft behind the content */
  position: absolute; z-index: -2;
  inset-inline-start: 50%; inset-block-start: 50%; translate: -50% -50%;
  inline-size: max(560px, 62%); block-size: auto; aspect-ratio: 1;
  fill: none; stroke: var(--primary); stroke-width: 1; opacity: 0.12;
  pointer-events: none;
}
.news-logo path { vector-effect: non-scaling-stroke; }
.news-inner { position: relative; display: grid; justify-items: center; gap: 1rem; max-inline-size: 38rem; }
.news-inner h2 { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -0.04em; line-height: 1.08; }
.news-text { max-inline-size: 30rem; font-size: var(--fs-lg); color: var(--muted); }
.news .sub { margin-block-start: 0.75rem; }
@media (width < 560px) {
}

/* ---------- Sign-up bar: the button's corners match the box ---------- */
@media (width >= 560px) {   /* one row: box and button are both fully rounded pills, so the shapes match */
  .sub-form { border-radius: var(--radius-pill); padding: 6px 6px 6px 0.5rem; }
  .sub-btn { border-radius: var(--radius-pill); padding-inline: 1.5rem; }
}
@media (width < 560px) {   /* phones: no outer box; each field and the button share one corner radius */
  .sub-form, .sub-form:focus-within, .sub-form.is-invalid { gap: 0.5rem; padding: 0; background: none; border: 0; box-shadow: none; }
  .sub-form input {
    min-block-size: 52px; padding-inline: 1rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 150ms, box-shadow 150ms;
  }
  .sub-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
  .sub-form input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-50); }
  .sub-divider { display: none; }
  .sub-btn { margin-block-start: 0; min-block-size: 52px; border-radius: var(--radius); }
}
.art-hero .sub { margin-block-start: clamp(1.25rem, 0.75rem + 1.5vw, 2rem); }

/* ---------- Articles list: search on its own row, categories below (all screen sizes) ---------- */
.posts-tools { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.875rem; }
.posts-search { flex: none; inline-size: 100%; max-inline-size: none; }
.posts-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
.posts-cats::-webkit-scrollbar { display: none; }
.posts-cats button { flex-shrink: 0; }


/* ---------- Newsletter card: dark brand teal with the 1px logo ---------- */
.news-card {
  border-color: rgb(255 255 255 / 0.08);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 25%) 35%, transparent), transparent 70%),
    linear-gradient(180deg, var(--secondary) 0%, color-mix(in oklab, var(--secondary), #000 28%) 55%, var(--secondary-900) 100%);
  box-shadow: 0 2px 4px color-mix(in oklab, var(--ink) 6%, transparent), 0 30px 60px -20px color-mix(in oklab, var(--secondary-900) 45%, transparent);
  color: #fff;
}
.news-logo { stroke: color-mix(in oklab, var(--primary), #fff 22%); opacity: 0.35; }
.news-inner h2 { color: #fff; }
.news-text { color: rgb(255 255 255 / 0.7); }
.news .sub-form { border-color: transparent; box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.5); }
.news .sub-form:focus-within { border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18), 0 10px 30px -10px rgb(0 0 0 / 0.5); }
.news .sub-error { color: #f8b4a6; }
.news .sub-done { background: rgb(255 255 255 / 0.12); color: #fff; }
@media (width < 560px) {
  .news .sub-form, .news .sub-form:focus-within { box-shadow: none; }
  .news .sub-form input { border-color: transparent; }
  .news .sub-form input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18); }
}

/* =========================================================
   Article page (one template for every article, rendered by the Worker)
   Frame: breadcrumb · sticky sidebar (contents + newsletter) · header · cover · body · CTA · more articles
   ========================================================= */
.art { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; }
.art-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.art-crumbs li { display: flex; align-items: center; gap: 0.375rem; min-inline-size: 0; }
.art-crumbs li + li::before { content: "/"; color: var(--border-strong); }
.art-crumbs a { color: var(--muted); text-decoration: none; }
.art-crumbs a:hover { color: var(--ink); }
.art-crumbs [aria-current] { flex: 1 1 0; min-inline-size: 0; }
.art-crumbs [aria-current] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }

.art-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-block-start: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.art-main { min-inline-size: 0; }
.art-side { display: none; }
@media (width >= 1024px) {
  .art-layout { grid-template-columns: 17rem minmax(0, 46rem); column-gap: clamp(3rem, 1rem + 4vw, 5.5rem); align-items: start; }
  .art-side { display: grid; gap: 2rem; position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); max-block-size: calc(100dvh - var(--header-h) - 3rem); overflow-y: auto; scrollbar-width: none; padding-block-end: 1rem; }
  .art-side::-webkit-scrollbar { display: none; }
  .art-toc-mobile, .art-news-end { display: none; }
}

/* Contents */
.art-side-label { margin-block-end: 0.75rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.art-toc ol, .art-toc-mobile ol { display: grid; gap: 0.125rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.art-toc li, .art-toc-mobile li { counter-increment: toc; }
.art-toc a, .art-toc-mobile a {
  display: flex; gap: 0.625rem;
  padding: 0.4rem 0.75rem; border-radius: var(--radius-sm);
  border-inline-start: 2px solid transparent;
  font-size: 0.9375rem; line-height: 1.4; color: var(--muted); text-decoration: none;
  transition: color 150ms, background-color 150ms, border-color 150ms;
}
.art-toc a::before, .art-toc-mobile a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--border-strong); }
.art-toc a:hover { color: var(--ink); }
.art-toc a[aria-current="true"] { color: var(--primary); background: var(--primary-50); border-inline-start-color: var(--primary); font-weight: 500; }
.art-toc a[aria-current="true"]::before { color: var(--primary); }
.art-toc-mobile { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.art-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; min-block-size: 52px; padding-inline: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.art-toc-mobile summary::-webkit-details-marker { display: none; }
.art-toc-mobile summary::after { content: ""; inline-size: 8px; block-size: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; transition: rotate 200ms var(--ease-out); }
.art-toc-mobile[open] summary::after { rotate: -135deg; translate: 0 2px; }
.art-toc-mobile nav { padding: 0 0.5rem 0.75rem; }

/* Newsletter card (sidebar, inline block, end of article on phones) */
.art-news { display: grid; gap: 0.625rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.art-news-logo { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: calc(12px * var(--r)); background: var(--primary-50); color: var(--primary); }
.art-news-logo svg { inline-size: 22px; block-size: 22px; }
.art-news-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.art-news-text { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.art-news .sub { inline-size: 100%; justify-items: stretch; margin-block-start: 0.25rem; }
.art-news .sub-form, .art-news .sub-form:focus-within, .art-news .sub-form.is-invalid {
  flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.art-news .sub-form input {
  min-block-size: 44px; padding-inline: 0.875rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 150ms, box-shadow 150ms;
}
.art-news .sub-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.art-news .sub-form input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-50); }
.art-news .sub-divider { display: none; }
.art-news .sub-btn { margin: 0; min-block-size: 44px; border-radius: var(--radius-sm); padding-inline: 1rem; }
.art-news .sub-error { margin-block-start: 0.5rem; }
.art-news .sub-done { inline-size: 100%; border-radius: var(--radius-sm); font-size: var(--fs-sm); }

/* Header */
.art-head { display: grid; gap: 1rem; }
.art-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.art-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-block-size: 30px; padding-inline: 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); font-size: 0.8125rem; font-weight: 500; color: var(--text); text-decoration: none;
}
.art-pill svg { inline-size: 16px; block-size: auto; }
.art-pill--link:hover { border-color: var(--border-strong); color: var(--ink); }
.art-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.04em; line-height: 1.08; max-inline-size: 22ch; }
.art-byline { display: flex; align-items: center; gap: 0.75rem; }
.art-byline img { inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--primary-gradient); object-fit: cover; }
.art-byline div { display: grid; gap: 0.125rem; }
.art-byline strong { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.art-byline span { font-size: var(--fs-sm); color: var(--muted); }

/* Cover and shared image placeholder */
.art-cover { margin-block: clamp(1.5rem, 1rem + 2vw, 2.25rem) 0; }
.art-cover, .blk-image, .blk-compare figure { overflow: hidden; border-radius: calc(clamp(14px, 10px + 0.8vw, 20px) * var(--r)); border: 1px solid var(--border); background: var(--surface-2); }
.art-cover img, .blk-image img, .blk-compare img { display: block; inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blk-ph {
  display: grid; place-items: center; inline-size: 100%; aspect-ratio: 16 / 9;
  color: var(--border-strong);
  background: repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in oklab, var(--ink) 2.5%, transparent) 14px 15px), var(--surface-2);
}
.blk-ph svg { inline-size: clamp(28px, 20px + 1.5vw, 40px); block-size: auto; }
.post-thumb .blk-ph { block-size: 100%; aspect-ratio: auto; background: none; }
.art-toc-mobile { margin-block-start: 1.5rem; }

/* Body typography */
.art-body { margin-block-start: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); color: var(--text); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: 1.75; }
.art-body > * + * { margin-block-start: 1.25rem; }
.art-body h2, .art-body h3, .art-body h4 { color: var(--ink); scroll-margin-block-start: calc(var(--header-h) + 1.25rem); }
.art-body h2 { margin-block-start: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.03em; line-height: 1.2; }
.art-body h3 { margin-block-start: 2rem; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); letter-spacing: -0.02em; line-height: 1.3; }
.art-body h4 { margin-block-start: 1.75rem; font-size: 1.0625rem; }
.art-body h2 + *, .art-body h3 + *, .art-body h4 + * { margin-block-start: 0.75rem; }
.art-body strong { color: var(--ink); font-weight: 600; }
.art-body a:not(.btn) { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-body a:not(.btn):hover { text-decoration-thickness: 2px; }
.art-body :is(ul, ol):not([role="list"]), .blk-takeaways ul { padding-inline-start: 1.25rem; }
.art-body ul:not([role="list"]), .blk-takeaways ul { list-style: disc; }
.art-body ol:not([role="list"]) { list-style: decimal; }
.art-body :is(ul, ol):not([role="list"]) li + li { margin-block-start: 0.375rem; }
.art-body li::marker { color: var(--primary); }
.art-body > :is([class^="blk-"], [class*=" blk-"]) { margin-block: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.art-body :is(figcaption, .blk-caption) { margin-block-start: 0.625rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); text-align: center; }
.blk-image figcaption { padding: 0 1rem 0.75rem; background: var(--surface); }
.blk-image--inset { max-inline-size: 32rem; margin-inline: auto; }
.blk-label { margin-block-end: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }

/* Key takeaways */
.blk-takeaways { padding: clamp(1.125rem, 0.9rem + 1vw, 1.5rem); border-radius: var(--radius-lg); background: var(--primary-50); border: 1px solid color-mix(in oklab, var(--primary) 12%, transparent); }
.blk-takeaways ul { margin: 0; padding-inline-start: 1.25rem; }
.blk-takeaways li + li { margin-block-start: 0.375rem; }

/* Two images */
.blk-compare { display: grid; gap: 1rem; }
@media (width >= 560px) { .blk-compare { grid-template-columns: 1fr 1fr; } }
.blk-compare figure { position: relative; margin: 0; }
.blk-compare-tag { position: absolute; inset: 0.75rem auto auto 0.75rem; z-index: 1; padding: 0.25rem 0.625rem; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.blk-compare figure:last-child .blk-compare-tag { background: var(--primary); color: #fff; }
.art-body .blk-compare + .blk-caption { margin-block-start: -1rem; }

/* Video: a poster that turns into the YouTube player on click */
.blk-video { margin-inline: 0; }
.blk-video-btn, .blk-video iframe { display: block; inline-size: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: calc(clamp(14px, 10px + 0.8vw, 20px) * var(--r)); }
.blk-video-btn { position: relative; padding: 0; overflow: hidden; background: var(--secondary-900); cursor: pointer; }
.blk-video-btn[disabled] { cursor: default; }
.blk-video-btn img, .blk-video-btn .blk-ph { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.blk-video-play {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%;
  display: grid; place-items: center; inline-size: 68px; block-size: 68px; border-radius: 50%;
  background: var(--primary-gradient); color: #fff; box-shadow: 0 10px 30px -8px color-mix(in oklab, var(--secondary-900) 50%, transparent);
  transition: scale 160ms var(--ease-out);
}
.blk-video-play svg { inline-size: 26px; block-size: 26px; translate: 2px 0; }
.blk-video-btn:not([disabled]):active .blk-video-play { scale: 0.95; }
@media (hover: hover) and (pointer: fine) { .blk-video-btn:not([disabled]):hover .blk-video-play { scale: 1.06; } }

/* Label → value */
.blk-kv { margin-inline: 0; border-block-start: 1px solid var(--border); }
.blk-kv div { display: grid; gap: 0.25rem; padding-block: 0.875rem; border-block-end: 1px solid var(--border); }
@media (width >= 560px) { .blk-kv div { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1.5rem; } }
.blk-kv dt { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.6; }
.blk-kv dd { margin: 0; font-size: 1rem; line-height: 1.6; }

/* Stat tiles */
.blk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-inline: 0; padding: 0; list-style: none; }
@media (width >= 640px) { .blk-stats { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.blk-stats li { display: grid; align-content: start; gap: 0.25rem; padding: 1.125rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.blk-stats strong { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.blk-stats span { font-size: 0.9375rem; line-height: 1.4; color: var(--text); }
.blk-stats small { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }

/* Steps */
.blk-steps { display: grid; gap: 0.75rem; margin-inline: 0; padding: 0; list-style: none; }
@media (width >= 640px) { .blk-steps { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } }
.blk-steps li { display: flex; gap: 0.875rem; padding: 1.125rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
@media (width >= 640px) { .blk-steps li { flex-direction: column; } }
.blk-step-n { display: grid; place-items: center; flex-shrink: 0; inline-size: 32px; block-size: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.875rem; font-weight: 600; }
.blk-steps strong { display: block; font-size: 1rem; line-height: 1.35; }
.blk-steps p { margin-block-start: 0.25rem; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }

/* Checklist */
.blk-check { display: grid; gap: 0.625rem; margin-inline: 0; padding: 0; list-style: none; }
.blk-check li { display: flex; gap: 0.75rem; line-height: 1.55; }
.blk-check svg { flex-shrink: 0; inline-size: 22px; block-size: 22px; margin-block-start: 0.15em; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; }

/* Quote */
.blk-quote { margin-inline: 0; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.blk-quote > svg { inline-size: 28px; block-size: 28px; color: var(--primary); opacity: 0.85; }
.blk-quote blockquote { margin: 0.75rem 0 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); }
.art-body .blk-quote figcaption { display: grid; margin-block-start: 1rem; text-align: start; font-size: var(--fs-sm); }
.blk-quote figcaption strong { color: var(--ink); }

/* Callout: tip / note / warning */
.blk-callout { display: flex; gap: 0.875rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid; font-size: 1rem; line-height: 1.6; }
.blk-callout > svg { flex-shrink: 0; inline-size: 22px; block-size: 22px; margin-block-start: 0.1em; }
.blk-callout p + p { margin-block-start: 0.5rem; }
.blk-callout-title { font-weight: 600; color: var(--ink); }
.blk-callout--tip { background: var(--primary-50); border-color: color-mix(in oklab, var(--primary) 16%, transparent); }
.blk-callout--tip > svg { color: var(--primary); }
.blk-callout--note { background: var(--surface-2); border-color: var(--border); }
.blk-callout--note > svg { color: var(--muted); }
.blk-callout--warning { background: #fff8eb; border-color: #f3dfb5; }
.blk-callout--warning > svg { color: #b7791f; }

/* FAQ uses the site's FAQ accordion */
.blk-faq { font-size: 1rem; }

/* Table */
.blk-table { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.blk-table table { inline-size: 100%; min-inline-size: 30rem; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.blk-table th, .blk-table td { padding: 0.75rem 1rem; text-align: start; border-block-end: 1px solid var(--border); }
.blk-table th { background: var(--surface-2); font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.blk-table tr:last-child td { border-block-end: 0; }

/* Booking CTA (anywhere in the article and at the end) */
.blk-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse 70% 90% at 0% 0%, color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 25%) 35%, transparent), transparent 70%), linear-gradient(160deg, var(--secondary) 0%, var(--secondary-900) 100%);
  color: rgb(255 255 255 / 0.72); font-size: 0.9375rem; line-height: 1.5;
}
.blk-cta-title { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; margin-block-end: 0.25rem; }
.blk-cta-btn { background: var(--surface); color: var(--primary); font-weight: 600; text-decoration: none; }
.blk-cta-btn:hover { filter: brightness(0.96); }
@media (width < 560px) { .blk-cta-btn { inline-size: 100%; } }
.art-body .blk-cta { margin-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.art-body .blk-cta a { color: var(--primary); text-decoration: none; }

/* Inline newsletter and the phone-only one at the end */
.blk-news .art-news, .art-news-end .art-news { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
@media (width >= 560px) {
  .blk-news .art-news .sub-form { flex-direction: row; }
  .blk-news .art-news .sub-form input { flex: 1 1 0; }
}
.art-news-end { margin-block-start: 1.5rem; }

/* More articles */
.art-more { margin-block-start: clamp(3rem, 2rem + 4vw, 5rem); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--surface-2); }
.art-more h2 { margin-block-end: clamp(1.25rem, 1rem + 1vw, 2rem); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.03em; }
@media (width >= 640px) { .art-more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 900px) { .art-more-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-inline-size: none; } }
.art-more .post, .art-more .post:hover { translate: none; transition: none; }

.art-404 { display: grid; justify-items: start; gap: 1rem; }

/* ---------- Article: centred layout, reading progress, sharing, section links ---------- */
@media (width >= 1024px) {   /* contents + article, centred together on the page */
  .art-layout { grid-template-columns: 15rem minmax(0, 46rem); justify-content: center; column-gap: clamp(3rem, 1rem + 4vw, 5rem); }
}

/* Thin reading bar under the header */
.art-progressbar { position: fixed; inset: var(--header-h) 0 auto; z-index: 40; block-size: 3px; pointer-events: none; }
.art-progressbar span { display: block; block-size: 100%; inline-size: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }

/* Progress ring + minutes left (wide screens) */
.art-progress { display: flex; align-items: center; gap: 0.875rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.art-ring { position: relative; flex-shrink: 0; inline-size: 44px; block-size: 44px; }
.art-ring svg { inline-size: 100%; block-size: 100%; rotate: -90deg; }
.art-ring circle { fill: none; stroke: var(--surface-2); stroke-width: 4; }
.art-ring .art-ring-bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--read, 0) * 100); }
.art-progress div { display: grid; gap: 0.125rem; }
.art-progress strong { font-size: 0.9375rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.art-progress span:not(.art-ring) { font-size: var(--fs-sm); color: var(--muted); }

/* Header meta: author + date, read time pill */
.art-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; }
.art-byline time { font-size: var(--fs-sm); color: var(--muted); }
.art-readtime { display: inline-flex; align-items: center; gap: 0.4rem; min-block-size: 32px; padding-inline: 0.75rem; border-radius: var(--radius-pill); background: var(--primary-50); color: var(--primary); font-size: 0.875rem; font-weight: 600; }
.art-readtime svg { inline-size: 16px; block-size: 16px; }

/* Small confirmation toast */
.art-toast {
  position: fixed; inset-inline-start: 50%; inset-block-end: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  translate: -50% 0; padding: 0.625rem 1rem; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.art-toast.is-on { opacity: 1; transform: none; }
@media (width < 768px) { .art-toast { inset-block-end: calc(var(--mobile-cta-h, 72px) + 1rem + env(safe-area-inset-bottom, 0px)); } }

/* Easier reading: calmer rhythm and a clear end to each section */
.art-head { gap: 1.125rem; }
.art-head h1 { max-inline-size: 20ch; }
.art-body p { max-inline-size: 68ch; }
.art-body > p + p { margin-block-start: 1.125rem; }
.art-body h2 { padding-block-start: clamp(1.5rem, 1rem + 1vw, 2rem); border-block-start: 1px solid var(--border); }
.art-body > h2:first-child { padding-block-start: 0; border: 0; }

/* Sidebar cards never grow wider than their column */
.art-side > *, .art-news, .art-news .sub, .art-news .sub-form { min-inline-size: 0; }
.art-news .sub, .art-news .sub-form input { inline-size: 100%; }
.art-toc a, .art-toc-mobile a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.625rem; text-wrap: wrap; }
.art-toc a { font-size: 0.875rem; padding-inline: 0.625rem; }

/* Sidebar newsletter: your logo as a 1px outline, soft in the card's corner */
.art-news { position: relative; isolation: isolate; overflow: hidden; }
.art-news-mark {
  position: absolute; z-index: -1; inset-block-start: -2.5rem; inset-inline-end: -2.5rem;
  inline-size: 9.5rem; block-size: 9.5rem; color: var(--primary); opacity: 0.22; pointer-events: none;
}
.art-news-mark svg { inline-size: 100%; block-size: 100%; fill: none; stroke: currentColor; stroke-width: 1; }
.art-news-mark svg path { vector-effect: non-scaling-stroke; }
.art-news-title { padding-inline-end: 3rem; }
/* Progress card sits at the top of the sidebar */
.art-side .art-progress { padding: 0.875rem 1rem; }
/* Tella (or any iframe) video */
.blk-video iframe { background: var(--secondary-900); }

/* Phones/tablets: the articles-page newsletter card closes the article (the sidebar box is desktop only) */
.art-news-end { margin: 0; }
.art-news-end .news { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
@media (width >= 1024px) { .art-news-end { display: none; } }

/* ---------- Article header: one clear order — back · label · title · subtitle · author ---------- */
.art { padding-block-start: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.art-layout { margin-block-start: 0; }
.art-head { gap: 0; }
.art-back {
  display: inline-flex; align-items: center; gap: 0.25rem; justify-self: start;
  margin-block-end: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); margin-inline-start: -0.25rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color 150ms, background-color 150ms;
}
.art-back svg { inline-size: 16px; block-size: 16px; transition: translate 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .art-back:hover { color: var(--ink); background: var(--surface-2); }
  .art-back:hover svg { translate: -2px 0; }
}
.art-label {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  margin-block-end: 0.875rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary);
}
.art-label span { color: var(--border-strong); }
.art-head h1 { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.25rem); line-height: 1.06; letter-spacing: -0.045em; max-inline-size: 18ch; }
.art-dek { margin-block-start: 1rem; max-inline-size: 38rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.5; color: var(--muted); }
.art-meta {
  margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  padding-block: 1rem; border-block: 1px solid var(--border);
}
.art-actions { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.art-action {
  display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 36px;
  font-size: 0.875rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: color 150ms;
}
.art-action svg { inline-size: 20px; block-size: auto; }
.art-action:hover { color: var(--ink); }
.art-action:hover span { text-decoration: underline; text-underline-offset: 3px; }
.art-cover { margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2rem); }
@media (width >= 1024px) { .art-side { padding-block-start: 0.25rem; } }

/* ---------- Article: simplified (label · title · subtitle · one meta line) ---------- */
.art-label { margin-block-end: 0.75rem; font-size: 0.75rem; letter-spacing: 0.08em; }
.art-head h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); line-height: 1.08; }
.art-dek { margin-block-start: 0.875rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; max-inline-size: 36rem; }
.art-meta {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 0.625rem;
  margin-block-start: 1.5rem; padding: 0; border: 0;
}
.art-meta img { flex-shrink: 0; inline-size: 32px; block-size: 32px; border-radius: 50%; background: var(--primary-gradient); object-fit: cover; }
.art-meta p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.4rem; min-inline-size: 0; font-size: var(--fs-sm); color: var(--muted); }
.art-meta p > span[aria-hidden] { color: var(--border-strong); }
.art-author { font-weight: 600; color: var(--ink); }
.art-icons { display: flex; gap: 0.125rem; margin-inline-start: auto; }
.art-icon { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: var(--radius-sm); transition: background-color 150ms; }
.art-icon svg { inline-size: 20px; block-size: auto; }
@media (hover: hover) and (pointer: fine) { .art-icon:hover { background: var(--surface-2); } }
.art-cover { margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2rem); }

/* Sidebar: "On this page" with the minutes left on the same line */
.art-toc .art-side-label { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.art-left { font-size: 0.75rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--primary); font-variant-numeric: tabular-nums; }
@media (width >= 1024px) { .art-side { gap: 1.75rem; } }

/* Body: space separates sections, no divider lines */
.art-body h2 { padding-block-start: 0; border: 0; }

/* Meta line: "Name · date · read time" on wide screens, two calm lines on phones */
.art-meta p { gap: 0 0.5rem; }
.art-meta-sub::before { content: "·"; margin-inline-end: 0.5rem; color: var(--border-strong); }
.art-meta-sub span[aria-hidden] { color: var(--border-strong); }
@media (width < 560px) {
  .art-meta p { display: grid; gap: 0.125rem; line-height: 1.35; }
  .art-meta-sub::before { content: none; }
}

/* Sidebar: no inner scrolling or clipping, one even rhythm between its parts */
@media (width >= 1024px) {
  .art-side { max-block-size: none; overflow: visible; padding-block-end: 0; gap: 2rem; }
  .art-side .art-toc .art-side-label { margin-block-end: 0.625rem; }
}
@media (width >= 1024px) {   /* the sidebar always fits the screen: the sign-up always shows in full; a long contents list scrolls inside itself */
  .art-side { display: flex; flex-direction: column; max-block-size: calc(100dvh - var(--header-h) - 5rem); }   /* also fits before it pins (it starts a little lower) */
  .art-side > .art-news { flex: none; }
  .art-side > .art-toc { display: flex; flex-direction: column; flex: 0 1 auto; min-block-size: 7rem; }
  .art-side > .art-toc ol { flex: 0 1 auto; min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
@media (width >= 1024px) and (height < 760px) { .art-side .art-news-text { display: none; } }   /* laptops: a shorter sign-up card */
@media (width >= 1024px) and (height < 680px) {   /* short windows: the sidebar scrolls with the page so nothing is cut off */
  .art-side { position: static; max-block-size: none; }
}
/* Reading progress bar: above the header's bottom edge, never tucked under it */
.art-progressbar { z-index: 51; }

/* =========================================================
   Article blocks, simplified: fewer boxes, one accent, calm rhythm.
   Only the key-takeaways summary and the booking banner are filled boxes.
   ========================================================= */
/* Stats: big numbers on a thin rule, no cards */
.blk-stats { gap: 1.5rem 2rem; }
.blk-stats li { padding: 0.875rem 0 0; border: 0; border-block-start: 2px solid var(--primary); border-radius: 0; background: none; box-shadow: none; }
.blk-stats strong { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); }
.blk-stats span { font-size: 0.9375rem; color: var(--muted); }

/* Steps: one numbered process with a connecting line, no cards */
.blk-steps { display: grid; grid-template-columns: none; gap: 0; }
.blk-steps li { position: relative; flex-direction: row; gap: 1rem; padding: 0 0 1.5rem; border: 0; border-radius: 0; background: none; }
.blk-steps li:last-child { padding-block-end: 0; }
.blk-steps li:not(:last-child)::before { content: ""; position: absolute; inset-block: 2.25rem 0.25rem; inset-inline-start: 15px; inline-size: 2px; background: var(--border); }
.blk-steps strong { font-size: 1.0625rem; }
.blk-steps p { font-size: 1rem; }

/* Quote: a teal bar and larger text instead of a card */
.blk-quote { padding: 0.25rem 0 0.25rem 1.5rem; border: 0; border-inline-start: 3px solid var(--primary); border-radius: 0; background: none; box-shadow: none; }
.blk-quote > svg { display: none; }
.blk-quote blockquote { margin: 0; font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem); line-height: 1.5; letter-spacing: -0.015em; }
.art-body .blk-quote figcaption { margin-block-start: 0.75rem; }

/* Callouts: one calm style (soft grey), the icon tells tip from note */
.blk-callout, .blk-callout--tip, .blk-callout--note, .blk-callout--warning { background: var(--surface-2); border: 0; border-radius: var(--radius); }
.blk-callout > svg { color: var(--primary); }

/* FAQ: a plain list with dividers inside the article, not a card */
.art-body .blk-faq { border: 0; border-block: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; padding: 0; }
.art-body .blk-faq details { padding-inline: 0; }

/* Table: lighter frame */
.blk-table { border-color: var(--border); box-shadow: none; }

/* =========================================================
   Contact page: a profile, not a form — photo, who you are,
   every way to reach you (one tap each), socials
   ========================================================= */
.ct { padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(3.5rem, 2rem + 5vw, 7rem); }
.ct-grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); max-inline-size: min(100% - 2 * var(--gutter), var(--container)); }
@media (width >= 700px) {
  .ct-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; column-gap: clamp(3rem, 2rem + 4vw, 6rem); }
}
/* Phones: a small round photo above the name, so every contact option is visible quickly */
.ct-avatar { display: none; }
@media (width < 700px) {
  .ct-photo { display: none; }
  .ct-avatar { display: block; inline-size: 88px; block-size: 88px; margin-block-end: 1.25rem; border-radius: 50%; background: var(--primary-gradient); box-shadow: var(--shadow); }
  .ct-status { order: 0; }
}

.ct-info { display: grid; justify-items: start; }
.ct-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.625rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface);
  font-size: 0.875rem; font-weight: 500; color: var(--text);
}
.ct-status i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / 0.18); }
.ct h1 { margin-block-start: 1.25rem; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.05; max-inline-size: none; }
.ct-role { margin-block-start: 0.375rem; font-size: var(--fs-lg); font-weight: 500; color: var(--primary); }
.ct-intro { margin-block-start: 1rem; max-inline-size: 34rem; font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); }

.ct-list { inline-size: 100%; margin: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem) 0 0; padding: 0; list-style: none; border-block-start: 1px solid var(--border); }
.ct-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0.75rem; margin-inline: -0.75rem;
  border-block-end: 1px solid var(--border); border-radius: var(--radius-sm);
  color: inherit; text-decoration: none;
  transition: background-color 150ms;
}
.ct-list li:last-child .ct-row { border-block-end: 0; }
.ct-ico { display: grid; place-items: center; flex-shrink: 0; inline-size: 44px; block-size: 44px; border-radius: calc(12px * var(--r)); background: var(--surface-2); color: var(--ink); }
.ct-ico svg { inline-size: 22px; block-size: 22px; }
.ct-ico--wa { background: #e8f8ee; color: #1fa855; }
.ct-ico--teal { background: var(--primary-50); color: var(--primary); }
.ct-text { display: grid; gap: 0.125rem; min-inline-size: 0; }
.ct-label { font-size: 0.8125rem; color: var(--muted); }
.ct-value { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.ct-go { margin-inline-start: auto; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%; color: var(--border-strong); transition: color 150ms, background-color 150ms, transform 160ms var(--ease-out); }
.ct-go svg { inline-size: 18px; block-size: 18px; }
.ct-row:active .ct-go { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .ct-row:hover { background: var(--surface-2); }
  .ct-row:hover .ct-go { color: #fff; background: var(--primary); }
}
.ct-row:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.ct-social { margin-block-start: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem); }
.ct-social-label { margin-block-end: 0.75rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ct-social ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.ct-social a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 44px; padding-inline: 0.875rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface);
  font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: border-color 150ms, transform 160ms var(--ease-out);
}
.ct-social a:active { transform: scale(0.97); }
.ct-social svg { inline-size: 20px; block-size: auto; }
@media (hover: hover) and (pointer: fine) { .ct-social a:hover { border-color: var(--border-strong); } }
.ct-list li { border-block-end: 1px solid var(--border); }
.ct-list li:last-child { border-block-end: 0; }
.ct-row, .ct-list li:last-child .ct-row { border-block-end: 0; margin-block: 0.25rem; }

/* Contact: two profile images — you, and the company (white logo on the brand gradient) */
.ct-logo {
  display: grid; place-items: center; flex-shrink: 0;
  border-radius: 50%; background: var(--primary-gradient); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.ct-logo svg { inline-size: 50%; block-size: 50%; color: #fff; }
.ct-logo--badge {   /* desktop/tablet: sits on the photo card's corner */
  position: absolute; inset-inline-start: 1rem; inset-block-start: 1rem; z-index: 1;
  inline-size: 56px; block-size: 56px; border: 3px solid #fff; box-shadow: var(--shadow);
}
.ct-avatars { display: none; }
@media (width < 700px) {   /* phones: the two round images side by side, slightly overlapping */
  .ct-avatars { display: flex; align-items: center; margin-block-end: 1.25rem; }
  .ct-avatars .ct-avatar { display: block; margin: 0; inline-size: 80px; block-size: 80px; border: 3px solid #fff; }
  .ct-avatars .ct-logo { inline-size: 80px; block-size: 80px; margin-inline-start: -16px; border: 3px solid #fff; box-shadow: var(--shadow); }
}

/* ---------- Questions bar → Contact page: you + the company, one line, one button ---------- */
.ask-inner { flex-direction: row; text-align: start; }
.ask-who { display: flex; align-items: center; gap: 1.25rem; min-inline-size: 0; }
.ask-avatars { display: flex; flex-shrink: 0; }
.ask-avatars img, .ask-avatars .ct-logo { inline-size: 56px; block-size: 56px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.ask-avatars img { background: var(--primary-gradient); object-fit: cover; }
.ask-avatars .ct-logo { margin-inline-start: -14px; }
.ask-copy { display: grid; gap: 0.25rem; }
.ask-title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.2; }
.ask-text { font-size: 1rem; color: var(--muted); }
.ask-btn { flex-shrink: 0; min-block-size: 48px; padding-inline: 1.25rem 1rem; }
@media (width < 700px) {
  .ask-inner { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .ask-who { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ask-btn { inline-size: 100%; }
}
@media (width >= 700px) { .ask-inner { flex-wrap: nowrap; } .ask-who { flex: 1 1 auto; } }

/* =========================================================
   Comparison: one card, two sides — other agencies (plain, grey ✕)
   vs skbresults (teal frame, logo, dark ✓). Stacks on phones.
   ========================================================= */
.cmp2 { max-inline-size: min(100% - 2 * var(--gutter), var(--container)); }   /* shared site width */
.cmp2-card {
  display: grid; gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border); border-radius: calc(var(--radius-xl) + 0.5rem * var(--r));
  background: var(--surface); box-shadow: var(--shadow);
}
@media (width >= 768px) { .cmp2-card { grid-template-columns: 1fr 1fr; } }
.cmp2-side { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); }
.cmp2-side h3 { display: flex; align-items: center; gap: 0.75rem; margin-block-end: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 600; letter-spacing: -0.03em; }
.cmp2-side ul { display: grid; gap: clamp(0.875rem, 0.7rem + 0.5vw, 1.125rem); margin: 0; padding: 0; list-style: none; }
.cmp2-side li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.45; }
.cmp2-side li svg { flex-shrink: 0; inline-size: 20px; block-size: 20px; margin-block-start: 0.1em; }

.cmp2-them h3 { color: var(--ink); }
.cmp2-them li { color: var(--muted); }
.cmp2-them li svg { color: var(--border-strong); }

.cmp2-us {
  border: 2.5px solid var(--primary);
  box-shadow: 0 18px 40px -18px color-mix(in oklab, var(--primary) 35%, transparent);
  background: var(--surface);
}
.cmp2-us h3 { color: var(--ink); }
.cmp2-us li { color: var(--ink); font-weight: 500; }
.cmp2-us li svg { color: var(--primary); }
.cmp2-logo { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: calc(11px * var(--r)); background: var(--primary-gradient); color: #fff; }
.cmp2-logo svg { inline-size: 22px; block-size: 22px; color: #fff; }

/* ---------- Lead form: dark card with your logo in 1px, one input bar, four steps ---------- */
.lead {
  position: relative; isolation: isolate; overflow: hidden;
  margin-block-end: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.25rem, 0.5rem + 3vw, 3rem);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, color-mix(in oklab, color-mix(in oklab, var(--primary), #fff 25%) 32%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in oklab, var(--secondary), #000 8%) 0%, color-mix(in oklab, var(--secondary), #000 25%) 100%);
  color: #fff;
  text-align: center;
}
.lead-logo {   /* your logo drawn as a 1px outline, large and soft behind everything */
  position: absolute; z-index: -1;
  inset-inline-start: 50%; inset-block-start: 50%;
  translate: -50% -50%;
  inline-size: max(620px, 70%); block-size: auto; aspect-ratio: 1;
  fill: none; stroke: color-mix(in oklab, var(--primary), #fff 22%); stroke-width: 1;
  opacity: 0.4;
  pointer-events: none;
}
.lead-logo path { vector-effect: non-scaling-stroke; }

.lead-inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; max-inline-size: 36rem; margin-inline: auto; }
.lead-title {
  display: grid; margin-block-end: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em;
}
.lead-title span { font-weight: 400; }
.lead-title strong { font-weight: 400; }

.lead-form { display: grid; justify-items: center; inline-size: 100%; min-inline-size: 0; }
.lead-form[hidden] { display: none; }
.lead-bar {
  display: flex; align-items: stretch;
  inline-size: 100%; min-block-size: 56px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
  backdrop-filter: blur(6px);
  transition: border-color 160ms, box-shadow 160ms;
}
.lead-bar:focus-within { border-color: rgb(255 255 255 / 0.4); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.06); }
.lead-bar.is-invalid { border-color: #f59e8b; }
.lead-back {
  display: grid; place-items: center; flex-shrink: 0;
  inline-size: 44px; margin-inline-start: 4px;
  border: 0; background: none; color: rgb(255 255 255 / 0.6); cursor: pointer;
}
.lead-back[hidden] { display: none; }
.lead-back svg { inline-size: 20px; block-size: 20px; }
@media (hover: hover) and (pointer: fine) { .lead-back:hover { color: #fff; } }
.lead-back:not([hidden]) + .lead-field, .lead-back:not([hidden]) ~ .lead-field { padding-inline-start: 0.25rem; }
.lead-field {
  flex: 1; min-inline-size: 0;
  display: flex; align-items: center; gap: 0.625rem;
  padding-inline: 1rem 0.75rem;
  transition: opacity 240ms var(--ease-out), translate 240ms var(--ease-out);
}

.lead-field[hidden] { display: none; }
.lead-field svg { inline-size: 20px; block-size: 20px; flex-shrink: 0; color: rgb(255 255 255 / 0.55); }
.lead-field input {
  flex: 1; min-inline-size: 0; inline-size: 100%; block-size: 100%;
  border: 0; outline: 0; background: none;
  color: #fff; font: inherit; font-size: 1rem;   /* 16px: no zoom on iPhone */
  text-align: start;
}
.lead-country {   /* native select (accessible, phone-friendly) under a compact "flag +31" face */
  position: relative; flex-shrink: 0;
  display: grid; align-items: center;
  margin-inline-end: 0.25rem; padding-inline-end: 0.625rem;
  border-inline-end: 1px solid rgb(255 255 255 / 0.14);
}
.lead-country-face {
  display: inline-flex; align-items: center; gap: 0.375rem;
  color: #fff; font-size: 1rem; white-space: nowrap;
}
.lead-country-face svg { inline-size: 16px; block-size: 16px; color: rgb(255 255 255 / 0.55); }
.lead-country select {
  position: absolute; inset: 0 0.625rem 0 0; opacity: 0;
  inline-size: auto; font-size: 1rem; cursor: pointer;   /* 16px: no zoom on iPhone */
}
.lead-country:has(select:focus-visible) .lead-country-face { outline: 2px solid rgb(255 255 255 / 0.6); outline-offset: 3px; border-radius: calc(4px * var(--r)); }
.lead-field input::placeholder { color: rgb(255 255 255 / 0.45); }
.lead-next {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
  padding-inline: 1.125rem 1rem;
  border: 0; border-inline-start: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 0 calc(var(--radius) - calc(1px * var(--r))) calc(var(--radius) - calc(1px * var(--r))) 0;
  background: none; color: #fff; font: inherit; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms;
}
.lead-next svg { inline-size: 18px; block-size: 18px; }
.lead-next:active { background: rgb(255 255 255 / 0.08); }
.lead-next[disabled] { cursor: progress; opacity: 0.6; }
@media (hover: hover) and (pointer: fine) { .lead-next:hover { background: rgb(255 255 255 / 0.06); } }

.lead-trap { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.lead-error:empty { display: none; }
.lead-error { margin-block-start: 0.75rem; font-size: 0.875rem; color: #f8b4a6; }
.lead-note {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.625rem;
  margin-block-start: 1.25rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.55);
}
.lead-dot { inline-size: 4px; block-size: 4px; border-radius: 50%; background: currentColor; }
ul.lead-note { margin-block-end: 0; margin-inline: 0; padding: 0; list-style: none; }
ul.lead-note > li { display: inline-flex; align-items: center; gap: 0.625rem; }
ul.lead-note > li + li::before { content: ""; inline-size: 4px; block-size: 4px; border-radius: 50%; background: currentColor; }   /* a dot between the texts */

.lead-done { display: grid; justify-items: center; gap: 0.5rem; outline: 0; }
.lead-done[hidden] { display: none; }
.lead-done-icon {
  display: grid; place-items: center; inline-size: 48px; block-size: 48px; margin-block-end: 0.5rem;
  border-radius: 50%; background: rgb(255 255 255 / 0.12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
}
.lead-done-icon svg { inline-size: 22px; block-size: 22px; }
.lead-done-title { font-size: 1.25rem; font-weight: 600; color: #fff; }
.lead-done-text { color: rgb(255 255 255 / 0.62); }
@media (width < 480px) {   /* phones: a bit tighter so the field keeps room for typing */
  .lead { padding-inline: 1rem; border-radius: var(--radius-lg); }
  .lead-field { gap: 0.5rem; padding-inline: 0.875rem 0.5rem; }
  .lead-back { inline-size: 40px; margin-inline-start: 2px; }
}
@media (width < 560px) {   /* phones: Next / Send on its own row, so the whole input stays visible */
  .lead-bar { flex-wrap: wrap; }
  .lead-field { min-block-size: 54px; }
  .lead-next {
    flex: 1 0 100%; justify-content: center;
    min-block-size: 48px;
    border-inline-start: 0; border-block-start: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 0 0 calc(var(--radius) - calc(1px * var(--r))) calc(var(--radius) - calc(1px * var(--r)));
  }
}


/* ---------- Audit hero: the lead form, light version (sits in the white hero) ---------- */
.lead--hero {
  margin-block-start: clamp(2rem, 1.5rem + 2vw, 2.75rem); padding: 0; overflow: visible;
  border: 0; border-radius: 0; background: none; color: var(--ink); text-align: center;
  inline-size: min(100%, 36rem);
}
.lead--hero .lead-form { justify-items: stretch; }
.lead--hero .lead-bar {
  min-block-size: 60px; padding: 6px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); box-shadow: var(--shadow); backdrop-filter: none;
}
.lead--hero .lead-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50), var(--shadow); }
.lead--hero .lead-bar.is-invalid { border-color: var(--danger); }
.lead--hero .lead-field { padding-inline: 0.75rem 0.5rem; }
.lead--hero .lead-field svg, .lead--hero .lead-back { color: var(--muted); }
.lead--hero .lead-field input { color: var(--ink); }
.lead--hero .lead-field input::placeholder { color: color-mix(in oklab, var(--muted), var(--bg) 25%); }
.lead--hero .lead-country { border-inline-end-color: var(--border); }
.lead--hero .lead-country-face { color: var(--ink); }
.lead--hero .lead-country-face svg { color: var(--muted); }
.lead--hero .lead-next {
  border: 0; border-radius: var(--radius-pill);
  padding-inline: 1.375rem 1.125rem;
  background: var(--primary-gradient); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
}
@media (hover: hover) and (pointer: fine) { .lead--hero .lead-next:hover { background: var(--primary-gradient); filter: brightness(1.12); } .lead--hero .lead-back:hover { color: var(--ink); } }
.lead--hero .lead-error { color: var(--danger); }
.lead--hero .lead-note { color: var(--muted); }
.lead--hero .lead-done-icon { background: var(--primary-50); color: var(--primary); box-shadow: none; }
.lead--hero .lead-done-title { color: var(--ink); }
.lead--hero .lead-done-text { color: var(--muted); }
@media (width < 560px) {   /* phones: field on top, full-width button below, inside one rounded box */
  .lead--hero .lead-bar { border-radius: var(--radius-lg); padding: 4px; }
  .lead--hero .lead-next { border-block-start: 0; border-radius: calc(var(--radius-lg) - 4px * var(--r)); margin-block-start: 4px; }
}
.audit-hero { padding-block-end: clamp(3rem, 2rem + 4vw, 6rem); }

/* ---------- Audit: four equal cards, 2×2 on tablet and desktop ---------- */
.audit-cards { display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
@media (width >= 640px) { .audit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audit-card {
  display: grid; align-content: start; gap: 0.625rem;
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-sm);
}
.audit-card-ico { display: grid; place-items: center; inline-size: 48px; block-size: 48px; margin-block-end: 0.5rem; border-radius: calc(14px * var(--r)); background: var(--primary-50); color: var(--primary); }
.audit-card-ico svg { inline-size: 24px; block-size: 24px; }
.audit-card h3 { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); letter-spacing: -0.02em; }
.audit-card p { font-size: 1rem; line-height: 1.6; color: var(--muted); }

/* ---------- Second CTA: desktop nav, phone menu, phone bottom bar ---------- */
.site-header.is-wide .header-cta--audit { margin-inline-end: -0.5rem; }
@media (width < 768px) { .mobile-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; } }
.mobile-cta .btn { padding-inline: 0.75rem; font-size: 1rem; }
.mobile-cta .btn svg { display: none; }
.btn-ghost.mobile-cta-audit, .site-menu .menu-cta-audit { background: var(--surface); }
.site-menu .menu-cta { display: grid; gap: 0.5rem; }

/* ---------- Before/After: audit nudge inside the section ---------- */
.ba-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.25rem;
  margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); text-align: center;
}
.ba-cta p { font-size: var(--fs-lg); font-weight: 500; color: var(--ink); }
@media (width < 560px) { .ba-cta .btn { inline-size: 100%; } }

/* ---------- Contact: the contact rows sit on a solid white card ---------- */
.ct-list { padding-inline: 1rem; border: 1px solid var(--border); border-block-start: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.ct-row { margin-inline: -0.5rem; padding-inline: 0.5rem; }

/* Long CTA labels: nav links a bit tighter so the full row (links + both buttons) still fits on desktop */
.site-header.is-wide .site-menu a:not(.btn, .brand) { padding-inline: 0.6rem; font-size: 0.9375rem; }
.site-header.is-wide .header-cta { padding-inline: 1rem; font-size: 0.9375rem; }
.header-inner { gap: 0.75rem; }
/* Phone bar: labels may wrap to two lines instead of spilling out */
.mobile-cta .btn { white-space: normal; text-align: center; line-height: 1.2; font-size: 0.9375rem; padding-inline: 0.625rem; }
.mobile-cta .btn { text-wrap: balance; }

/* ---------- Hero eyebrow (replaces the socials pill): who this is for ---------- */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4375rem 0.875rem 0.4375rem 0.625rem;
  border: 1px solid color-mix(in oklab, var(--primary) 18%, transparent); border-radius: var(--radius-pill);
  background: var(--primary-50); color: var(--primary);
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.005em;
}
.eyebrow-pill svg { inline-size: 16px; block-size: 16px; flex-shrink: 0; }

/* ---------- Socials in the nav: inline on desktop, a row inside the phone menu ---------- */
.menu-social ul { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.menu-social a { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: var(--radius-sm); border: 0 !important; min-block-size: 0 !important; padding: 0 !important; transition: background-color 150ms; }
.menu-social svg { inline-size: 20px; block-size: auto; }
@media (hover: hover) and (pointer: fine) { .menu-social a:hover { background: var(--surface-2); } }
.site-header.is-wide .menu-social { display: flex; align-items: center; margin-inline-start: 0.5rem; padding-inline-start: 0.75rem; border-inline-start: 1px solid var(--border); }
.site-menu:not(.is-wide-menu) .menu-social { padding-block: 1rem 0.5rem; }
.site-menu .menu-social a svg { inline-size: 24px; }

/* ---------- Audit: homepage card design in an equal 2×2 grid ---------- */
@media (width >= 1024px) {
  .audit-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-bento .bento-card:nth-child(n) { grid-column: auto; }
}

/* ---------- Audit FAQ: heading on top, questions below (stacked, not side by side) ---------- */
.faq--stacked .faq-grid { grid-template-columns: minmax(0, 1fr); row-gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.faq--stacked .faq-head { justify-items: center; text-align: center; }

/* Desktop nav: no social icons (they stay in the phone menu); the two buttons sit together */
.site-header.is-wide .menu-social { display: none; }
.site-header.is-wide .site-nav { margin-inline-start: auto; margin-inline-end: 0.75rem; }
.site-header.is-wide .header-cta--audit { margin-inline: 0; }
.site-header.is-wide .header-inner { gap: 0.5rem; }

/* Eyebrow: a small dot instead of an icon */
.eyebrow-pill { gap: 0.5rem; padding-inline-start: 0.75rem; }
.eyebrow-dot { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent); flex-shrink: 0; }

/* Phone bar: both labels on one line — the audit button takes only what it needs, booking gets the rest */
@media (width < 768px) {
  .mobile-cta { grid-template-columns: auto minmax(0, 1fr); }
  .mobile-cta .btn { white-space: nowrap; font-size: 0.9375rem; padding-inline: 0.875rem; text-wrap: nowrap; }
}
@media (width < 380px) { .mobile-cta .btn { font-size: 0.8125rem; padding-inline: 0.625rem; } }

/* Secondary (audit) button: white with a teal outline and teal text */
.btn.header-cta--audit, .btn.menu-cta-audit, .btn.mobile-cta-audit {
  background: var(--surface); color: var(--primary); border: 1.5px solid var(--primary); font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .btn.header-cta--audit:hover, .btn.menu-cta-audit:hover { background: var(--surface-2); border-color: var(--primary); }
}

/* About: social icons under the signature */
.about-social { display: flex; gap: 0.5rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.about-social a { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color 150ms, transform 160ms var(--ease-out); }
.about-social a:active { transform: scale(0.95); }
.about-social svg { inline-size: 22px; block-size: 22px; }
@media (hover: hover) and (pointer: fine) { .about-social a:hover { border-color: var(--border-strong); } }
@media (width < 700px) { .about-copy .about-social { order: 5; } }

/* The two CTA buttons share one size: equal halves in the phone bar, equal widths in the desktop nav */
@media (width < 768px) {
  .mobile-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mobile-cta .btn { font-size: 0.8125rem; padding-inline: 0.375rem; letter-spacing: -0.01em; }
}
.site-header.is-wide .header-cta { min-inline-size: 13.75rem; justify-content: center; }
@media (width < 360px) { .mobile-cta { gap: 0.375rem; } .mobile-cta .btn { font-size: 0.75rem; padding-inline: 0.25rem; letter-spacing: -0.015em; } }
/* Audit button height matches the booking button everywhere */
.site-menu .menu-cta .btn { min-block-size: 56px; }
.site-header.is-wide .header-cta { min-block-size: 46px; }
.ba-cta .btn { min-block-size: 52px; padding-inline: 1.5rem 1.25rem; }
.faq--stacked .faq-head { position: static; justify-items: center; text-align: center; }


/* =========================================================
   Round of fixes (phone bar, steps, menu, form, homepage, articles)
   ========================================================= */

/* Phone bar: solid white, equal halves, normal-size labels */
.mobile-cta { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (width < 768px) {
  .mobile-cta .btn { font-size: 0.9375rem; padding-inline: 0.5rem; letter-spacing: 0; }
  /* While typing in a form, the bar steps aside so it never covers the field or jumps with the keyboard */
  body:has(input:focus, select:focus, textarea:focus) .mobile-cta { display: none; }
}
@media (width < 360px) { .mobile-cta .btn { font-size: 0.8125rem; } }
/* Secondary button in the phone bar: raised white (no icon) */
.btn.mobile-cta-audit { background: var(--surface); color: var(--ink); border: 1px solid var(--border); box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 6%, transparent), 0 4px 12px color-mix(in oklab, var(--ink) 8%, transparent); font-weight: 600; }

/* Process: values follow --a (eased in main.js), so there are no CSS transitions to fight it */
.step-card::before { opacity: calc(1 - var(--a)); transition: none; }
.step-tag { border-color: color-mix(in srgb, rgb(255 255 255 / 0.18) calc(var(--a) * 100%), color-mix(in oklab, var(--ink) 10%, transparent)); color: color-mix(in srgb, rgb(255 255 255 / 0.85) calc(var(--a) * 100%), var(--muted)); transition: none; }
.step-card h3 { color: color-mix(in srgb, #fff calc(var(--a) * 100%), color-mix(in oklab, var(--ink) 40%, transparent)); transition: none; }
.step-text { color: color-mix(in srgb, rgb(255 255 255 / 0.78) calc(var(--a) * 100%), color-mix(in oklab, var(--ink) 34%, transparent)); transition: none; }
.step-line span { transition: none; }

/* Phone menu: one calm fade. The panel itself never moves, because its top row sits exactly on
   the header (logo + close button) — moving it made the logo jump. Only the links drift in, together. */
@media (prefers-reduced-motion: no-preference) {
  .site-header.ready .site-menu {
    transition: opacity 180ms var(--ease-out), display 180ms allow-discrete, overlay 180ms allow-discrete;
  }
  .site-header.ready .site-menu:popover-open { transition-duration: 240ms; }
  .site-menu:not(:popover-open) { opacity: 0; }
  .site-menu:popover-open { opacity: 1; }
  @starting-style { .site-menu:popover-open { opacity: 0; } }
  .site-menu:popover-open > li:not(.menu-top) { transition: translate 260ms var(--ease-out); }
  @starting-style { .site-menu:popover-open > li:not(.menu-top) { translate: 0 -6px; } }
}
.site-header.is-wide .site-menu { opacity: 1; translate: none; }
.site-header.is-wide .site-menu > li { transition: none !important; translate: none; }

/* Audit form: more room between the button and the box around it */
.lead--hero .lead-bar { padding: 8px; }
.lead--hero .lead-field input { font-size: 1rem; }   /* 16px: phones never zoom in when you tap the field */
@media (width < 560px) {
  .lead--hero .lead-bar { padding: 8px; }
  .lead--hero .lead-next { margin-block-start: 8px; }
}

/* Hero: three selling points, each with its own icon */
.usps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem 1.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.usps li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.usps svg { inline-size: 20px; block-size: 20px; flex-shrink: 0; color: var(--primary); }
@media (width < 560px) { .usps { flex-direction: column; align-items: center; gap: 0.5rem; } }

/* About: social icons sit on the photo, at shoulder height */
.about-photo .about-social {
  position: absolute; z-index: 2; inset-block-end: 1rem; inset-inline-start: 50%; translate: -50% 0;
  margin: 0; padding: 0.375rem; gap: 0.375rem;
  border-radius: var(--radius); background: rgb(255 255 255 / 0.92); box-shadow: var(--shadow);
}
.about-photo .about-social a { inline-size: 40px; block-size: 40px; border: 0; background: var(--surface); }
.about-copy .signature { margin-inline-start: 0; }

/* Comparison: no teal glow under the skbresults side */
.cmp2-us { box-shadow: none; }

/* Before/After: the audit nudge as one tidy bar */
.ba-cta {
  justify-content: space-between; gap: 1rem 1.5rem;
  margin-block-start: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  padding: 1rem 1rem 1rem 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-sm);
  text-align: start;
}
.ba-cta p { font-size: 1.0625rem; }
@media (width < 560px) { .ba-cta { flex-direction: column; align-items: stretch; padding: 1.25rem; text-align: center; } }

/* Articles: plain video embed (or a placeholder), View all, image viewer */
.blk-video-ph { display: grid; place-items: center; inline-size: 100%; aspect-ratio: 16 / 9; border-radius: calc(clamp(14px, 10px + 0.8vw, 20px) * var(--r)); background: var(--ink); color: rgb(255 255 255 / 0.6); font-size: 0.9375rem; font-weight: 500; }
.art-all { display: flex; justify-content: center; margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
img.is-zoomable { cursor: zoom-in; }
img.is-zoomable:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.lightbox { inline-size: 100vw; max-inline-size: 100vw; block-size: 100dvh; max-block-size: 100dvh; margin: 0; padding: clamp(1rem, 4vw, 3rem); border: 0; background: transparent; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: color-mix(in oklab, var(--secondary-900) 90%, transparent); }
.lightbox img { max-inline-size: 100%; max-block-size: 100%; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: fixed; inset-block-start: max(1rem, env(safe-area-inset-top)); inset-inline-end: 1rem; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.lightbox-close svg { inline-size: 20px; block-size: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] img { animation: lb-in 200ms var(--ease-out); }
  @keyframes lb-in { from { opacity: 0; scale: 0.97; } }
}

/* Legal pages (privacy policy, imprint): plain readable text */
.legal-wrap { max-inline-size: min(100% - 2 * var(--gutter), var(--container)); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.04em; margin-block-end: 0.5rem; }
.legal-lead { color: var(--muted); }
.legal h2 { margin-block: 2rem 0.5rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.legal p { max-inline-size: 68ch; line-height: 1.7; color: var(--text); }

/* USPs: the group stays centred on the page, the items line up on the left (icons in one column on phones) */
@media (width < 560px) { .usps { inline-size: fit-content; margin-inline: auto; align-items: flex-start; } }

/* Homepage articles: centred heading and text, "View all" centred below the cards */
.posts:not(.posts--page) .posts-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "all"; }
.posts:not(.posts--page) .posts-head { justify-items: center; text-align: center; }
.posts:not(.posts--page) .posts-head p { margin-inline: auto; }
.posts:not(.posts--page) .posts-all { justify-self: center; }
@media (width < 900px) { .posts:not(.posts--page) .posts-all { justify-self: stretch; } }

/* Audit band: full width, dark brand teal, after the Before/After section */
.audit-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
  background: var(--dark-bg);
  color: rgb(255 255 255 / 0.72);
}
.audit-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; max-inline-size: min(100% - 2 * var(--gutter), var(--container)); }
.audit-band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.03em; }
.audit-band p { margin-block-start: 0.375rem; font-size: var(--fs-lg); }
.audit-band-btn { min-block-size: 52px; padding-inline: 1.5rem 1.25rem; background: var(--surface); color: var(--primary); font-weight: 600; }
.audit-band-btn:hover { filter: brightness(0.96); }
@media (width < 700px) { .audit-band-inner { flex-direction: column; align-items: stretch; text-align: center; } .audit-band-btn { inline-size: 100%; } }

/* Link preview card (desktop hover) */
.link-preview {
  position: absolute; z-index: 70; padding: 6px;
  border-radius: calc(14px * var(--r)); background: var(--surface); box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 6%, transparent), 0 12px 32px -8px color-mix(in oklab, var(--ink) 28%, transparent);
  opacity: 0; scale: 0.8; pointer-events: none;
  transition: opacity 180ms ease, scale 380ms cubic-bezier(0.34, 1.45, 0.64, 1);   /* a spring that overshoots a little */
}
.link-preview.is-open { opacity: 1; scale: 1; pointer-events: auto; }
.link-preview img { display: block; inline-size: 240px; block-size: 135px; border-radius: calc(9px * var(--r)); object-fit: cover; object-position: top; background: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { .link-preview { scale: 1; transition: opacity 180ms ease; } }

/* Both CTA buttons use the same type: same size and weight in the nav, phone menu and phone bar */
.site-header .header-cta, .site-menu .menu-cta .btn, .mobile-cta .btn { font-weight: 600; letter-spacing: -0.005em; }



/* Contact rows: no grey hover block; the arrow becomes the secondary button (white, teal outline) */
@media (hover: hover) and (pointer: fine) {
  .ct-row:hover { background: none; }
  .ct-go { border: 1.5px solid transparent; }
  .ct-row:hover .ct-go { color: var(--primary); background: var(--surface); border-color: var(--primary); }
  .ct-row:hover .ct-value { color: var(--primary); }
}
.ct-row { border-radius: 0; }

/* Phones: selling points start on the left, and they and the button span the full width */
@media (width < 560px) {
  .hero-cta { justify-items: stretch; }
  .hero-btn { inline-size: 100%; }
}

/* Tapping a card or a dropdown header never selects its text */
summary, .post, .bento-card, .audit-band-btn, .ct-row, .step-card { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.art-body, .faq-answer, .post-text { -webkit-user-select: text; user-select: text; }
.art-toc-mobile > nav { overflow: clip; }

/* FAQ: stacked everywhere — heading on top, questions below */
.faq .faq-grid { grid-template-columns: minmax(0, 1fr); row-gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.faq .faq-head { position: static; justify-items: center; text-align: center; }
.faq .faq-list { inline-size: 100%; max-inline-size: 52rem; margin-inline: auto; }


/* Phones: the three selling points sit side by side, centered, and share the full width */
@media (width < 560px) {
  .usps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); inline-size: 100%; margin-inline: 0; gap: 0; align-items: start; }
  .usps li { display: grid; justify-items: center; gap: 0.4rem; padding-inline: 0.375rem; text-align: center; font-size: 0.8125rem; line-height: 1.3; text-wrap: balance; }
  .usps li + li { border-inline-start: 1px solid var(--line, color-mix(in oklab, var(--ink) 10%, transparent)); }
  .usps svg { inline-size: 22px; block-size: 22px; }
}

/* Comparison: point 1 lines up with point 1, point 2 with point 2… even when one wraps to two lines.
   Both sides share the card's rows (subgrid). --cmp-rows = 1 heading + the number of points on the longer side,
   counted here so a point added or removed in the dashboard gets its own row (up to 15). */
@media (width >= 768px) {
  .cmp2-card { --cmp-rows: 2; row-gap: 0; }
  .cmp2-card:has(li:nth-child(2)) { --cmp-rows: 3; }
  .cmp2-card:has(li:nth-child(3)) { --cmp-rows: 4; }
  .cmp2-card:has(li:nth-child(4)) { --cmp-rows: 5; }
  .cmp2-card:has(li:nth-child(5)) { --cmp-rows: 6; }
  .cmp2-card:has(li:nth-child(6)) { --cmp-rows: 7; }
  .cmp2-card:has(li:nth-child(7)) { --cmp-rows: 8; }
  .cmp2-card:has(li:nth-child(8)) { --cmp-rows: 9; }
  .cmp2-card:has(li:nth-child(9)) { --cmp-rows: 10; }
  .cmp2-card:has(li:nth-child(10)) { --cmp-rows: 11; }
  .cmp2-card:has(li:nth-child(11)) { --cmp-rows: 12; }
  .cmp2-card:has(li:nth-child(12)) { --cmp-rows: 13; }
  .cmp2-card:has(li:nth-child(13)) { --cmp-rows: 14; }
  .cmp2-card:has(li:nth-child(14)) { --cmp-rows: 15; }
  .cmp2-card:has(li:nth-child(15)) { --cmp-rows: 16; }
  .cmp2-side { display: grid; grid-row: span var(--cmp-rows); grid-template-rows: subgrid; row-gap: clamp(0.875rem, 0.7rem + 0.5vw, 1.125rem); align-content: start; }
  .cmp2-side ul { display: contents; }
  .cmp2-side h3 { margin-block-end: clamp(0.375rem, 0.25rem + 0.5vw, 0.625rem); }
}

/* ---------- 404: "This page isn't on the map" ---------- */
.nf { display: grid; align-items: center; min-block-size: calc(100svh - var(--header-h) - 4rem); }
.nf-wrap { display: grid; justify-items: center; text-align: center; max-inline-size: 40rem; }
.nf-map {
  display: grid; grid-template-columns: repeat(7, 2.25rem); gap: 0.625rem;
  margin-block-end: clamp(2rem, 1.5rem + 2vw, 3rem);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.nf-dot {
  display: grid; place-items: center; inline-size: 2.25rem; aspect-ratio: 1; border-radius: 50%;
  font-size: 0.6875rem; font-weight: 600; color: var(--muted);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border);
}
.nf-dot:empty { background: none; box-shadow: none; }
.nf-dot--404 {
  grid-column: 4; grid-row: 2; place-self: center; z-index: 1;
  inline-size: 4.5rem; margin: -1.125rem;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: #fff;
  background: var(--danger); box-shadow: 0 0 0 6px rgb(200 68 59 / 0.14), 0 12px 24px -10px rgb(200 68 59 / 0.6);
}
.nf h1 { margin: 0 0 0.875rem; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.nf-text { margin: 0 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem); color: var(--muted); font-size: var(--fs-lg); text-wrap: pretty; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
@media (width < 560px) {
  .nf-map { grid-template-columns: repeat(7, 1.875rem); gap: 0.5rem; }
  .nf-dot { inline-size: 1.875rem; font-size: 0.625rem; }
  .nf-dot--404 { inline-size: 4rem; margin: -1.0625rem; font-size: 0.9375rem; }
  .nf-actions { display: grid; inline-size: 100%; }
}


/* Hero: more room between the selling points and the "Book your strategy call" button */
.hero-cta .usps { margin-block-end: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }

/* Logo uploaded in the dashboard replaces the drawn mark */
.brand-mark img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }

/* ---------- Dashboard: images placed into placeholders ---------- */
.has-img { padding: 0 !important; overflow: hidden; }
.has-img > img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.img-placeholder.has-img { background: none; }

/* ---------- Dashboard: dark / light switch per section ----------
   A light section switched to dark gets the deep brand-teal background; text and cards follow
   through the tokens. The two sections that are dark by design (audit band, book a call) get a
   calm light version. Everything is derived from --primary, so it follows the brand colour. */
[data-theme="dark"] {
  --ink: #fff;
  --text: rgb(255 255 255 / 0.78);
  --muted: rgb(255 255 255 / 0.6);
  --border: rgb(255 255 255 / 0.12);
  --border-strong: rgb(255 255 255 / 0.22);
  --surface: rgb(255 255 255 / 0.06);
  --surface-2: rgb(255 255 255 / 0.06);
  --shadow-sm: none;
  --shadow: none;
  position: relative;
  isolation: isolate;
  color: var(--text);
  /* same recipe as the site's own dark sections (book a call): secondary colour + a soft accent glow */
  background:
    var(--dark-bg);
}

.audit-band[data-theme="light"], .book[data-theme="light"] { background: var(--surface-2); color: var(--text); }
.audit-band[data-theme="light"] h2, .book[data-theme="light"] .section-head h2 { color: var(--ink); }
.book[data-theme="light"] .section-head p { color: var(--muted); }
.audit-band[data-theme="light"] .audit-band-btn { background: var(--primary-gradient); color: #fff; }
.book[data-theme="light"] .book-logo { opacity: 0.25; filter: invert(1); }

/* Hero video from YouTube, Vimeo or Tella (set in the dashboard) */
.vsl-embed { position: relative; aspect-ratio: 16 / 9; border-radius: calc(20px * var(--r)); overflow: hidden; background: var(--surface-2); }
.vsl-embed iframe { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; }


/* Dark section = dark background with light text; cards stay white with their normal dark text */
[data-theme="dark"] :where(.bento-card, .step-card, .cmp2-card, .pg-card, .ba-card, .post, .faq-list, .ct-list, .blk-faq) {
  --ink: var(--ink-l); --text: var(--text-l); --muted: var(--muted-l); --border: var(--border-l);
  --border-strong: var(--border-strong-l); --surface: var(--surface-l); --surface-2: var(--surface-2-l);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.2); --shadow: 0 2px 6px rgb(0 0 0 / 0.18), 0 16px 40px -12px rgb(0 0 0 / 0.45);
  color: var(--text);
}
[data-theme="dark"] .hl { text-decoration-color: rgb(255 255 255 / 0.55); }
/* buttons sitting directly on the dark background invert; buttons inside white cards stay as they are */
[data-theme="dark"] .btn-primary:not(:is(.bento-card, .cmp2-card, .pg-card, .ba-card, .post, .faq-list) *) { background: #fff; color: var(--primary); }
[data-theme="dark"] .btn-ghost:not(:is(.bento-card, .cmp2-card, .pg-card, .ba-card, .post, .faq-list) *) { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.32); }

/* Edited content always fits: long words and emails break, the hero headline never gets wider than the screen */
body { overflow-wrap: break-word; }
.hero h1 { max-inline-size: min(15ch, 100%); }
@media (width < 560px) { .hero h1 { font-size: min(var(--fs-h1), 10.5vw); } }
.ct-value, .foot-col a, .post-title, .blk-kv dd, .faq-list summary { overflow-wrap: anywhere; }

/* Article blocks: button, pros & cons, divider */
.blk-btn { margin-block: 1.5rem; }
.blk-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (width < 640px) { .blk-proscons { grid-template-columns: 1fr; } }
.blk-pc { padding: 1.125rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.blk-pc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.blk-pc li { position: relative; padding-inline-start: 1.5rem; line-height: 1.55; }
.blk-pc li::before { position: absolute; inset-inline-start: 0; font-weight: 700; }
.blk-pc.is-pro li::before { content: "+"; color: var(--success); }
.blk-pc.is-con li::before { content: "–"; color: var(--danger); }
.blk-pc.is-pro .blk-label { color: var(--success); }
.blk-pc.is-con .blk-label { color: var(--danger); }
.art-body hr { margin-block: 2.5rem; border: 0; border-block-start: 1px solid var(--border); }

/* Header: the nav sits exactly in the middle of the page (logo left, buttons right) */
.header-ctas { display: contents; }
.site-header.is-wide .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; }
.site-header.is-wide .brand { justify-self: start; }
.site-header.is-wide .site-nav { justify-self: center; margin: 0; }
.site-header.is-wide .header-ctas { display: flex; justify-self: end; align-items: center; gap: 0.5rem; }

/* Balanced lines: headlines and intros wrap into lines of similar length (no single word on its own line) */
.hero h1 { max-inline-size: min(22ch, 100%); text-wrap: balance; }
.section-head h2 { max-inline-size: min(26ch, 100%); text-wrap: balance; }
.hero-sub, .section-head p, .posts-head p, .faq-head p { text-wrap: balance; }
p, li, dd, blockquote { text-wrap: pretty; }

/* ---------- Sections from the dashboard library ---------- */
.tpl-grid { display: grid; gap: 1rem; margin-inline: auto; padding: 0; list-style: none; }
.tpl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (width < 900px) { .tpl-grid-3, .tpl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 600px) { .tpl-grid-3 { grid-template-columns: 1fr; } }
.tpl-card { display: grid; align-content: start; gap: 0.75rem; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.tpl-quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.tpl-quote figcaption { display: grid; gap: 0.125rem; margin-block-start: 0.25rem; }
.tpl-quote figcaption strong { color: var(--ink); }
.tpl-quote figcaption span { font-size: var(--fs-sm); color: var(--muted); }
.tpl-stars { margin: 0; color: #e8a33d; letter-spacing: 0.1em; }
.tpl-kicker { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tpl-logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin: 0 auto; padding: 0; list-style: none; }
.tpl-logo { inline-size: 140px; block-size: 56px; border-radius: var(--radius); aspect-ratio: auto; }
.tpl-logo.has-img img { object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.tpl-stat { justify-items: start; }
.tpl-stat strong { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--primary); }
.tpl-stat span { color: var(--text); }
.tpl-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); background: var(--primary-50); }
.tpl-cta-inner h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -0.03em; }
.tpl-cta-inner p { margin-block-start: 0.375rem; color: var(--muted); }
@media (width < 700px) { .tpl-cta-inner { flex-direction: column; align-items: stretch; text-align: center; } }
.tpl-split-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.tpl-split-copy { display: grid; justify-items: start; gap: 1rem; }
.tpl-split-copy h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -0.03em; text-wrap: balance; }
.tpl-split-copy p { color: var(--text); font-size: var(--fs-lg); }
.tpl-split-img { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); }
@media (width < 800px) { .tpl-split-inner { grid-template-columns: 1fr; } }
.tpl-photo { aspect-ratio: 1; border-radius: var(--radius-lg); }
.tpl-plan { gap: 0.5rem; }
.tpl-plan.is-featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.tpl-plan-name { font-weight: 600; color: var(--ink); }
.tpl-price { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.tpl-plan > p:nth-of-type(3) { color: var(--muted); font-size: var(--fs-sm); }
.tpl-ticks { display: grid; gap: 0.5rem; margin: 0.75rem 0 1rem; padding: 0; list-style: none; }
.tpl-ticks li { display: flex; gap: 0.5rem; align-items: flex-start; }
.tpl-ticks svg { inline-size: 18px; block-size: 18px; flex-shrink: 0; color: var(--primary); margin-block-start: 0.15em; }
.tpl-guarantee-card { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.25rem; max-inline-size: 52rem; margin-inline: auto; }
.tpl-guarantee-card h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -0.03em; }
.tpl-guarantee-card p { margin-block-start: 0.375rem; color: var(--text); }
.tpl-badge { display: grid; place-items: center; inline-size: 64px; block-size: 64px; border-radius: 50%; background: var(--primary-50); color: var(--primary); }
.tpl-badge svg { inline-size: 32px; block-size: 32px; }
@media (width < 560px) { .tpl-guarantee-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.tpl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 auto; padding: 0; list-style: none; max-inline-size: 52rem; }
.tpl-chips li { padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font-weight: 500; color: var(--ink); }
[data-theme="dark"] :where(.tpl-card, .tpl-chips li) { --ink: var(--ink-l); --text: var(--text-l); --muted: var(--muted-l); --border: var(--border-l); --surface: var(--surface-l); --surface-2: var(--surface-2-l); color: var(--text); }
[data-theme="dark"] .tpl-cta-inner { background: rgb(255 255 255 / 0.06); }

/* =========================================================
   Desktop header (v5): logo left · links centred in a soft pill · buttons right.
   Side columns never shrink below their content, so nothing can overlap; when the row
   doesn't fit, the header script switches to the menu button instead.
   ========================================================= */
.site-header.is-wide .header-inner {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center; gap: 1.25rem;
}
.site-header.is-wide .site-nav { justify-self: center; margin: 0; }
.site-header.is-wide .site-menu {
  gap: 2px; padding: 4px;
  background: color-mix(in oklab, var(--surface-2), var(--ink) 3%);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.site-header.is-wide .site-menu a:not(.btn, .brand) {
  min-block-size: 34px; padding-inline: 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--text); font-size: 0.9375rem; font-weight: 500; white-space: nowrap;
  transition: color 150ms, background-color 150ms;
}
.site-header.is-wide .site-menu a[aria-current="page"] {
  color: var(--ink); background: var(--surface);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 8%, transparent), 0 0 0 1px color-mix(in oklab, var(--ink) 5%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .site-header.is-wide .site-menu a:not(.btn, .brand, [aria-current="page"]):hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, transparent); }
}
.site-header.is-wide .header-ctas { justify-self: end; gap: 0.5rem; }
.site-header.is-wide .header-cta { min-block-size: 40px; padding-inline: 1rem; font-size: 0.9375rem; white-space: nowrap; }
.site-header.is-wide .brand { justify-self: start; }
/* "Free ranking audit" is already a nav link, so the desktop row shows only the main button (no duplicate) */
.site-header.is-wide .header-cta--audit { display: none; }

/* Article: copyable text (scripts, message templates) */
.blk-template { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.blk-template figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.625rem 0.625rem 0.625rem 1.125rem; border-block-end: 1px solid var(--border); background: var(--surface); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.blk-template pre { margin: 0; padding: 1rem 1.125rem 1.125rem; white-space: pre-wrap; overflow-wrap: anywhere; font: 0.9875rem/1.65 var(--font-body, inherit); color: var(--text); }
.blk-copy { flex-shrink: 0; min-block-size: 32px; padding-inline: 0.875rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: 600 0.8125rem/1 inherit; font-family: inherit; cursor: pointer; transition: transform 120ms var(--ease-out), background-color 150ms; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.blk-copy:active { transform: scale(0.97); }
.blk-copy.is-done { color: var(--primary); border-color: color-mix(in oklab, var(--primary) 35%, transparent); }
@media (hover: hover) and (pointer: fine) { .blk-copy:hover { background: var(--surface-2); } }

/* Article: one big number with a sentence */
.blk-bigstat { display: flex; align-items: center; gap: 1.25rem 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--primary-50); border: 1px solid color-mix(in oklab, var(--primary) 14%, transparent); }
.blk-bigstat > strong { flex-shrink: 0; font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--primary); font-variant-numeric: tabular-nums; }
.blk-bigstat p { margin: 0; color: var(--ink); font-size: 1.0625rem; line-height: 1.5; }
@media (width < 480px) { .blk-bigstat { flex-direction: column; align-items: flex-start; gap: 0.5rem; } }

/* Moving between pages: a soft cross-fade instead of a hard cut. The header stays put,
   and the white "current page" chip in the nav slides to the new link. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .site-header.is-wide .site-menu a[aria-current="page"] { view-transition-name: nav-current; }
  ::view-transition-group(root) { animation-duration: 220ms; animation-timing-function: var(--ease-out); }
  ::view-transition-group(nav-current) { animation-duration: 320ms; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
  ::view-transition-old(nav-current), ::view-transition-new(nav-current) { animation-duration: 200ms; block-size: 100%; }
}
/* Numbers block: never a lonely last card. 3 numbers stay in one row on phones, 4 make a 2×2 grid */
.blk-stats:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.blk-stats:has(> li:nth-child(5):last-child) > li:last-child { grid-column: 1 / -1; }
@media (width < 640px) { .blk-stats:has(> li:nth-child(3):last-child) strong { font-size: 1.625rem; } }
/* tablets: two per row, and a third card doesn't hang on its own */
@media (640px <= width < 900px) { .art-more-list > li:nth-child(3) { display: none; } }
/* Email on the contact card: always one line, never split mid-address; it shrinks a little on very narrow phones */
.ct-text { container-type: inline-size; min-inline-size: 0; flex: 1 1 0; }   /* flex: the text takes the free width (size containment would otherwise collapse it) */
.ct-value[data-e="text.email"] { white-space: nowrap; overflow-wrap: normal; font-size: min(1.0625rem, 9.4cqi); }

/* Article text styles (set in the editor's format bar): underline, marker and text colours.
   The colours follow the brand where it makes sense. */
:is(.art-body, .nb-doc) u { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
:is(.art-body, .nb-doc) mark {
  color: inherit; padding-inline: 0.12em; margin-inline: -0.06em; border-radius: 0.2em;
  background: linear-gradient(transparent 12%, color-mix(in oklab, var(--primary) 20%, #fff) 12%, color-mix(in oklab, var(--primary) 20%, #fff) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tc-accent { color: var(--primary); }
.tc-dark { color: var(--secondary); }
.tc-red { color: #c8443b; }
.tc-green { color: #1f8a5b; }
.tc-amber { color: #b86e0a; }
:is(.art-body, .nb-doc) [class^="tc-"] strong { color: inherit; }

/* Headline stays truly centred: the Maps tile hangs just after the last word without taking up
   line width, and the headline keeps the same space free on both sides so the tile always fits. */
.hero h1:has(.h1-icon) { padding-inline: 0.98em; box-sizing: border-box; max-inline-size: min(calc(22ch + 1.96em), 100%); }
.h1-keep { position: relative; }
.h1-keep .h1-icon { position: absolute; inset-inline-start: calc(100% + 0.14em); inset-block-start: 50%; translate: calc(var(--mi-x, 0) * 1em) calc(-46% + var(--mi-y, 0) * 1em); margin: 0; vertical-align: baseline; }
/* marker colours (the default marker follows the brand) */
:is(.art-body, .nb-doc, .nb-colors) mark.mk-yellow { background: linear-gradient(transparent 12%, #fdeb8b 12%, #fdeb8b 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-green { background: linear-gradient(transparent 12%, #c9efd3 12%, #c9efd3 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-pink { background: linear-gradient(transparent 12%, #fbd3e3 12%, #fbd3e3 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-orange { background: linear-gradient(transparent 12%, #fde0bf 12%, #fde0bf 92%, transparent 92%); }
.nb-colors mark:not([class]), .nb-colors mark[class=""] { background: color-mix(in oklab, var(--primary) 20%, #fff); }

/* Article diagram: boxes joined by arrows. A row on wide screens, a column on phones. The last box is the result. */
.blk-flow { --gap: 2.25rem; display: grid; grid-auto-flow: row; gap: var(--gap); margin-inline: 0; padding: 0; list-style: none; counter-reset: flow; }
@media (width >= 640px) { .blk-flow { grid-template-columns: repeat(min(var(--n, 3), 4), minmax(0, 1fr)); } }
.blk-flow li { position: relative; display: grid; align-content: start; gap: 0.25rem; padding: 1rem 1.125rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.blk-flow strong { color: var(--ink); font-size: 1rem; line-height: 1.35; font-weight: 600; }
.blk-flow span { color: var(--text); font-size: 0.9375rem; line-height: 1.45; }
.blk-flow li.is-result { border-color: transparent; background: var(--primary-gradient); box-shadow: var(--shadow); }
.blk-flow li.is-result :is(strong, span) { color: #fff; }
.blk-flow li.is-result span { opacity: 0.85; }
/* the arrow sits in the gap after every box but the last (down on phones, right on wider screens) */
.blk-flow li:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: calc(100% + var(--gap) / 2); translate: -50% -50%;
  inline-size: 22px; block-size: 22px; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (width >= 640px) {
  .blk-flow li:not(:last-child)::after { inset-inline-start: calc(100% + var(--gap) / 2); inset-block-start: 50%; rotate: -90deg; }
  .blk-flow li:nth-child(4n):not(:last-child)::after { display: none; }   /* no arrow off the edge when a 5th box wraps */
}

/* Performance: paused when off screen; the step overlay fades on its own layer */
:is(.bento-card, .ba-card, .vsl).is-off, :is(.bento-card, .ba-card, .vsl).is-off * { animation-play-state: paused !important; }
.step-card::before { will-change: opacity; }
/* Phones: the Maps tile may use the page margin, so the headline keeps nearly its full width
   (it was squeezed into 5 short lines); slightly more air between lines */
@media (width < 640px) {
  .hero h1:has(.h1-icon) { padding-inline: max(0px, calc(0.86em - var(--gutter))); max-inline-size: none; line-height: 1.12; }
  .hero h1 .h1-icon { inline-size: 0.7em; }
}
/* Footer email: one line, never split mid-address; shrinks a little when the column is narrow */
.foot-col ul { container-type: inline-size; }
.foot-col [data-e="text.email"] { white-space: nowrap; overflow-wrap: normal; font-size: min(1em, calc((100cqi - 30px) / 10.6)); }
/* Phones: "Contact us" gets the full width (below Links and Social), so the email shows at normal size */
@media (width < 560px) { .foot-col[aria-labelledby="foot-contact"] { grid-column: 1 / -1; order: 3; } }
/* Phones: a slightly smaller headline so it sets in 3 calm lines instead of 4–5 cramped ones */
@media (width < 560px) { .hero h1 { font-size: min(var(--fs-h1), 9.4vw); } }

/* Booking banner inside articles: the same brand gradient as every coloured section, light text
   (article text rules made the paragraph dark on dark before) */
.blk-cta { background: var(--dark-bg); color: rgb(255 255 255 / 0.82); }
.art-body .blk-cta :is(p, span, li) { color: rgb(255 255 255 / 0.82); }
.art-body .blk-cta .blk-cta-title, .art-body .blk-cta strong { color: #fff; }
.art-body .blk-cta .blk-cta-btn { background: #fff; color: var(--primary); }
/* Bigger Maps tile in the headline (about the height of the capital letters), space reserved to match */
.hero h1 .h1-icon { display: var(--mi-d, inline-grid); inline-size: calc(1em * var(--mi-s, 1)); border-radius: 0.22em; }
.hero h1:has(.h1-icon) { padding-inline: 1.2em; max-inline-size: min(calc(22ch + 2.4em), 100%); }
@media (width < 640px) {
  .hero h1 .h1-icon { inline-size: calc(0.84em * var(--mi-s, 1)); }
  .hero h1:has(.h1-icon) { padding-inline: max(0px, calc(1.06em - var(--gutter))); max-inline-size: none; }
}

/* Text and marker colours: the familiar Notion / Google Docs set, tuned for contrast on white.
   (Older classes tc-dark / tc-amber and the brand marker keep working.) */
.tc-gray { color: #6f6e69; }
.tc-red { color: #d44c47; }
.tc-orange { color: #c9690c; }
.tc-green { color: #3f7f5c; }
.tc-blue { color: #2f73a3; }
.tc-purple { color: #8a5cab; }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-yellow { background: linear-gradient(transparent 12%, #fcefb4 12%, #fcefb4 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-green { background: linear-gradient(transparent 12%, #d7f0db 12%, #d7f0db 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-blue { background: linear-gradient(transparent 12%, #d6eaf8 12%, #d6eaf8 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-pink { background: linear-gradient(transparent 12%, #f9d9e8 12%, #f9d9e8 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-orange { background: linear-gradient(transparent 12%, #fbe0c8 12%, #fbe0c8 92%, transparent 92%); }
:is(.art-body, .nb-doc, .nb-colors) mark.mk-purple { background: linear-gradient(transparent 12%, #e8def5 12%, #e8def5 92%, transparent 92%); }

/* Newsletter card: a line-drawn laurel around the logo, fading out towards the text */
.art-news-art { position: relative; display: grid; place-items: center; margin: -0.25rem auto 0.25rem; inline-size: min(100%, 240px); }
.art-news-art .laurel { inline-size: 100%; block-size: auto; color: color-mix(in oklab, var(--ink) 38%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 96%); mask-image: linear-gradient(180deg, #000 35%, transparent 96%); }
.art-news-art .laurel path { stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.art-news-art .art-news-mark { position: absolute; inset-block-start: 30%; inset-inline-start: 50%; translate: -50% -50%; margin: 0; }
.art-news-art .art-news-mark { z-index: 1; inset-block-start: 40%; inset-inline-end: auto; inline-size: 2.75rem; block-size: 2.75rem; opacity: 1; color: var(--primary); }
.art-news-art .art-news-mark svg { stroke-width: 1.4; }
.art-news-art ~ .art-news-title { padding-inline-end: 0; }
.art-news-art { inline-size: min(100%, 260px); }
.art-news-art .art-news-mark { inset-block-start: 46%; inline-size: 2.25rem; block-size: 2.25rem; }
/* Newsletter card: your own logo as a large line drawing that fades out towards the text (inspired by LeadArc) */
.art-news-art { display: grid; place-items: center; inline-size: 100%; margin: 0 0 -0.75rem; }
.art-news-art .art-news-mark {
  position: static; translate: none; inline-size: 8.5rem; block-size: 8.5rem; opacity: 1;
  color: color-mix(in oklab, var(--ink) 42%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.art-news-art .art-news-mark svg { fill: none; stroke: currentColor; stroke-width: 1.2; }

/* Sitemap page */
.sitemap h2 { margin-block: 2rem 0.75rem; font-size: 1.25rem; }
.sitemap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0.25rem 2rem; margin: 0; padding: 0; list-style: none; }
.sitemap-list a { display: inline-block; padding-block: 0.4rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .sitemap-list a:hover { color: var(--primary); text-decoration-color: currentColor; } }

/* Newsletter card logo sits a little lower */
.art-news-art { margin-block-start: 0.75rem; }

/* ===== Article blocks: colour style, alignment and hidden parts (set per block in the editor's ⋮⋮ panel) =====
   Every rule is scoped to the block's own boxes, so buttons and controls around them keep their colours. */
.blk-dress { display: block; }
.art-body .blk-dress > * { margin-block: 0; }
:is(.blk-dress, .nb-body)[class*="blk-look-"] :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) { transition: none; }

/* boxes that are open lines by default get padding and corners once they have a colour */
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-soft, .blk-look-dark) :is(.blk-stats > li, .blk-quote, .blk-check, .nb-check, .blk-kv, .blk-faq, .nb-faq, .blk-steps > li) {
  padding: clamp(1rem, 0.85rem + 0.6vw, 1.375rem) clamp(1.125rem, 0.95rem + 0.7vw, 1.5rem);
  border: 1px solid transparent; border-radius: var(--radius-lg);
}
.nb-body:is(.blk-look-brand, .blk-look-soft, .blk-look-dark) ul.nb-check { padding-inline-start: clamp(1.125rem, 0.95rem + 0.7vw, 1.5rem) !important; }

/* Brand colour */
:is(.blk-dress, .nb-body).blk-look-brand :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) { background: var(--primary-gradient); border-color: transparent; box-shadow: none; color: rgb(255 255 255 / 0.86); }
:is(.blk-dress, .nb-body).blk-look-brand :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) :is(strong, b, h3, dt, summary, blockquote, .blk-label, .blk-callout-title, .blk-cta-title, .blk-bigstat > strong, .blk-step-n):not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: #fff; }
:is(.blk-dress, .nb-body).blk-look-brand :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) :is(p, span:not(.blk-step-n), li, dd, small, figcaption, figcaption span, pre):not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: rgb(255 255 255 / 0.86); }
:is(.blk-dress, .nb-body).blk-look-brand :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) svg:not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: #fff; }
/* Dark */
:is(.blk-dress, .nb-body).blk-look-dark :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) { background: var(--secondary); border-color: transparent; box-shadow: none; color: rgb(255 255 255 / 0.82); }
:is(.blk-dress, .nb-body).blk-look-dark :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) :is(strong, b, h3, dt, summary, blockquote, .blk-label, .blk-callout-title, .blk-cta-title, .blk-bigstat > strong, .blk-step-n):not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: #fff; }
:is(.blk-dress, .nb-body).blk-look-dark :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) :is(p, span:not(.blk-step-n), li, dd, small, figcaption, figcaption span, pre):not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: rgb(255 255 255 / 0.82); }
:is(.blk-dress, .nb-body).blk-look-dark :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) svg:not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: color-mix(in oklab, var(--primary), #fff 55%); }
/* shared details on coloured boxes */
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-step-n { background: rgb(255 255 255 / 0.18); color: #fff; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) :is(.blk-template pre, .blk-template figcaption) { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.16); }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) :is(.blk-kv div, .blk-kv .nb-row, .blk-faq details, .nb-faq .nb-row) { border-color: rgb(255 255 255 / 0.16); }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-faq summary::before { background: #fff; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-check svg { background: rgb(255 255 255 / 0.18); }
.nb-body:is(.blk-look-brand, .blk-look-dark) .nb-check li::before { background: #fff; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-pc li::before { color: #fff; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-flow > li:not(:last-child)::after { background: var(--primary); }
/* editor: placeholders and small fields stay readable on colour */
.nb-body:is(.blk-look-brand, .blk-look-dark) :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) :is([contenteditable]:empty, li:only-child:empty)::before { color: rgb(255 255 255 / 0.55) !important; }
.nb-body:is(.blk-look-brand, .blk-look-dark) :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) .nb-in { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.22); color: #fff; }
.nb-body:is(.blk-look-brand, .blk-look-dark) :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) .nb-in::placeholder { color: rgb(255 255 255 / 0.55); }

/* Soft tint */
:is(.blk-dress, .nb-body).blk-look-soft :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) { background: var(--primary-50); border-color: color-mix(in oklab, var(--primary) 16%, transparent); box-shadow: none; }
/* Plain: no box */
:is(.blk-dress, .nb-body).blk-look-plain :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-template, .blk-bigstat, .blk-cta, .blk-pc, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-kv, .blk-faq, .nb-faq, .blk-check, .nb-check) { background: none; border-color: transparent; box-shadow: none; padding-inline: 0; }
:is(.blk-dress, .nb-body):is(.blk-look-soft, .blk-look-plain) .blk-cta { color: var(--text); }
:is(.blk-dress, .nb-body):is(.blk-look-soft, .blk-look-plain) .blk-cta :is(p, span):not(.blk-copy, .blk-copy *, .blk-cta-btn, .blk-cta-btn *, .nb-in, .nb-row-del, .nb-row-del *) { color: var(--text); }
:is(.blk-dress, .nb-body):is(.blk-look-soft, .blk-look-plain) .blk-cta .blk-cta-title { color: var(--ink); }
:is(.blk-dress, .nb-body):is(.blk-look-soft, .blk-look-plain) .blk-cta .blk-cta-btn { background: var(--primary-gradient); color: #fff; }
.nb-body:is(.blk-look-soft, .blk-look-plain) .blk-cta .nb-in { background: var(--surface); border-color: var(--border); color: var(--ink); }
.nb-body:is(.blk-look-soft, .blk-look-plain) .blk-cta .nb-in::placeholder, .nb-body:is(.blk-look-soft, .blk-look-plain) .blk-cta [contenteditable]:empty::before { color: var(--muted); }

/* Centred */
:is(.blk-dress, .nb-body).blk-align-center :is(.blk-takeaways, .blk-callout, .blk-quote, .blk-bigstat, .blk-cta, .blk-steps > li, .blk-stats > li, .blk-flow > li, .blk-pc, .blk-btn, .blk-check, .nb-check) { text-align: center; justify-content: center; justify-items: center; align-items: center; }
:is(.blk-dress, .nb-body).blk-align-center :is(.blk-cta, .blk-bigstat, .blk-callout) { flex-direction: column; }
:is(.blk-dress, .nb-body).blk-align-center :is(.blk-check, .nb-check) li { justify-content: center; }
:is(.blk-dress, .nb-body).blk-align-center .blk-takeaways ul { list-style-position: inside; padding-inline-start: 0; }

/* Hidden parts (only the ones each block offers) */
:is(.blk-dress, .nb-body).blk-hide-icon :is(.blk-callout > svg, .nb-callout-ico) { display: none; }
:is(.blk-dress, .nb-body).blk-hide-title :is(.blk-takeaways > .blk-label, .blk-callout-title, .blk-template figcaption > span, .nb-tpl-title) { display: none; }

/* =====================================================================
   Article block options (set in the ⋮⋮ panel; same classes in the editor and on the page)
   ===================================================================== */
/* Highlight box types: calm tints, each with its own icon colour */
.blk-callout.blk-callout--tip { background: var(--primary-50); border: 1px solid color-mix(in oklab, var(--primary) 14%, transparent); }
.blk-callout.blk-callout--tip > svg, .blk-callout--tip .nb-callout-ico { color: var(--primary); }
.blk-callout.blk-callout--note { background: var(--surface-2); border: 1px solid var(--border); }
.blk-callout.blk-callout--note > svg, .blk-callout--note .nb-callout-ico { color: var(--muted); }
.blk-callout.blk-callout--warning { background: #fff7e8; border: 1px solid #f1dcae; }
.blk-callout.blk-callout--warning > svg, .blk-callout--warning .nb-callout-ico { color: #b7791f; }
.blk-callout.blk-callout--success { background: #ecf7f0; border: 1px solid #cfe9d9; }
.blk-callout.blk-callout--success > svg, .blk-callout--success .nb-callout-ico { color: #1f8a5b; }
.nb-callout-ico { flex-shrink: 0; display: grid; place-items: start; padding-block-start: 0.1em; }
.nb-callout-ico svg { inline-size: 22px; block-size: 22px; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .nb-callout-ico { color: #fff; }
:is(.blk-dress, .nb-body).blk-hide-icon .nb-callout-ico { display: none; }

/* Key takeaways: markers */
:is(.blk-dress, .nb-body).o-marker-ticks .blk-takeaways ul, :is(.blk-dress, .nb-body).o-marker-numbers .blk-takeaways ul { padding-inline-start: 0; }
:is(.blk-dress, .nb-body).o-marker-ticks .blk-takeaways ul { list-style: none; }
:is(.blk-dress, .nb-body).o-marker-ticks .blk-takeaways li { position: relative; padding-inline-start: 1.75rem; }
:is(.blk-dress, .nb-body).o-marker-ticks .blk-takeaways li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.3em; inline-size: 1.15rem; block-size: 1.15rem; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 0.75rem no-repeat; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark).o-marker-ticks .blk-takeaways li::before { background-color: rgb(255 255 255 / 0.22); }
:is(.blk-dress, .nb-body).o-marker-numbers .blk-takeaways ul { list-style: decimal; padding-inline-start: 1.4rem; }
:is(.blk-dress, .nb-body).o-marker-numbers .blk-takeaways li::marker { font-weight: 600; color: var(--primary); }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-takeaways li::marker { color: #fff; }

/* Steps */
:is(.blk-dress, .nb-body).o-layout-list .blk-steps { grid-template-columns: minmax(0, 1fr) !important; }
:is(.blk-dress, .nb-body).o-layout-list .blk-steps > li { flex-direction: row !important; }
:is(.blk-dress, .nb-body).blk-hide-numbers .blk-step-n { display: none; }

/* Numbers */
:is(.blk-dress, .nb-body).o-cols-2 .blk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
:is(.blk-dress, .nb-body).o-cols-3 .blk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
:is(.blk-dress, .nb-body).o-cols-4 .blk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (width >= 640px) { :is(.blk-dress, .nb-body).o-cols-4 .blk-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
:is(.blk-dress, .nb-body).o-size-large .blk-stats strong { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); letter-spacing: -0.04em; }
:is(.blk-dress, .nb-body).blk-hide-labels .blk-stats > li > span { display: none; }

/* Diagram */
:is(.blk-dress, .nb-body).o-layout-column .blk-flow { grid-template-columns: minmax(0, 1fr) !important; }
:is(.blk-dress, .nb-body).o-layout-column .blk-flow > li:not(:last-child)::after { display: block; inset-inline-start: 50%; inset-block-start: calc(100% + var(--gap) / 2); rotate: 0deg; }
:is(.blk-dress, .nb-body).o-highlight-none:not([class*="blk-look-"]) .blk-flow > li:is(.is-result, :last-child) { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
:is(.blk-dress, .nb-body).o-highlight-none:not([class*="blk-look-"]) .blk-flow > li:is(.is-result, :last-child) strong { color: var(--ink); }
:is(.blk-dress, .nb-body).o-highlight-none:not([class*="blk-look-"]) .blk-flow > li:is(.is-result, :last-child) span { color: var(--text); opacity: 1; }
:is(.blk-dress, .nb-body).blk-hide-text .blk-flow span { display: none; }

/* Checklist markers */
.blk-dress:is(.o-marker-cross, .o-marker-arrow, .o-marker-dot) .blk-check svg { display: none; }
.blk-dress:is(.o-marker-cross, .o-marker-arrow, .o-marker-dot) .blk-check li::before { content: ""; flex-shrink: 0; inline-size: 22px; block-size: 22px; margin-block-start: 0.15em; border-radius: 50%; }
:is(.blk-dress, .nb-body).o-marker-cross :is(.blk-check, .nb-check) li::before { -webkit-mask: none; mask: none; background: #d44c47 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
:is(.blk-dress, .nb-body).o-marker-arrow :is(.blk-check, .nb-check) li::before { -webkit-mask: none; mask: none; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 12px no-repeat; }
:is(.blk-dress, .nb-body).o-marker-dot :is(.blk-check, .nb-check) li::before { -webkit-mask: none; mask: none; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 12px no-repeat; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark):is(.o-marker-arrow, .o-marker-dot) :is(.blk-check, .nb-check) li::before { background-color: rgb(255 255 255 / 0.22); }

/* Testimonial */
:is(.blk-dress, .nb-body).blk-hide-name :is(.blk-quote figcaption strong, .blk-quote [data-a="name"]) { display: none; }
:is(.blk-dress, .nb-body).blk-hide-role :is(.blk-quote figcaption span, .blk-quote [data-a="role"]) { display: none; }

/* Pros & cons */
:is(.blk-dress, .nb-body).o-layout-list .blk-proscons { grid-template-columns: minmax(0, 1fr) !important; }
:is(.blk-dress, .nb-body).blk-hide-labels .blk-pc > .blk-label { display: none; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-pc :is(.blk-label, li::before) { color: #fff; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-pc li::before { color: #fff; }

/* Copyable text */
:is(.blk-dress, .nb-body).blk-hide-copy .blk-copy { display: none; }
:is(.blk-dress, .nb-body).blk-hide-title .nb-tpl-title { display: none; }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-template figcaption { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.16); }

/* Highlight number */
:is(.blk-dress, .nb-body).o-layout-list .blk-bigstat { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
:is(.blk-dress, .nb-body).o-layout-list.blk-align-center .blk-bigstat { align-items: center; }

/* Booking banner */
:is(.blk-dress, .nb-body).blk-hide-text :is(.blk-cta > div > p:not(.blk-cta-title), .nb-cta-text) { display: none; }
:is(.blk-dress, .nb-body).blk-hide-arrow .blk-cta-btn svg { display: none; }

/* Facts */
:is(.blk-dress, .nb-body).o-lines-none .blk-kv :is(div, .nb-row) { border-block-end: 0; }

/* Image / video / before-after */
:is(.blk-dress, .nb-body).o-width-medium :is(.blk-image, .blk-video, .nb-media) { max-inline-size: 75%; margin-inline: auto; }
:is(.blk-dress, .nb-body).o-width-small :is(.blk-image, .nb-media) { max-inline-size: 50%; margin-inline: auto; }
@media (width < 640px) { :is(.blk-dress, .nb-body):is(.o-width-medium, .o-width-small) :is(.blk-image, .blk-video, .nb-media) { max-inline-size: 100%; } }
:is(.blk-dress, .nb-body).o-corners-square :is(.blk-image, .blk-image img, .nb-media .drop, .nb-media .drop-img img) { border-radius: 0; }
:is(.blk-dress, .nb-body).o-frame-none .blk-image { border: 0; background: none; }
:is(.blk-dress, .nb-body).o-frame-none .blk-image figcaption { padding-inline: 0; background: none; }
:is(.blk-dress, .nb-body).blk-hide-caption :is(.blk-image figcaption, .blk-video figcaption, .nb-media figcaption, .blk-caption, .nb-caption) { display: none; }
:is(.blk-dress, .nb-body).blk-hide-labels :is(.blk-compare-tag, .nb-cmp-label) { display: none; }

/* Button */
:is(.blk-dress, .nb-body).o-btn-secondary :is(.blk-btn .btn, .nb-btnblock .btn) { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); box-shadow: none; }
:is(.blk-dress, .nb-body).o-width-full :is(.blk-btn .btn, .nb-btnblock .btn) { display: flex; inline-size: 100%; justify-content: center; }
:is(.blk-dress, .nb-body).blk-align-center .nb-btnblock { justify-items: center; text-align: center; }

/* Table */
:is(.blk-dress, .nb-body).o-header-plain :is(.blk-table th, .nb-table tr:first-child > *) { background: none; font-size: inherit; font-weight: 400; color: var(--text); }
:is(.blk-dress, .nb-body).o-stripes-on :is(.blk-table tbody tr:nth-child(even), .nb-table tr:nth-child(odd):not(:first-child)) { background: var(--surface-2); }
.art-body .blk-cta .blk-cta-btn :is(span, svg) { color: inherit; }   /* button text keeps the button colour */
/* Steps with a colour: separate boxes (no timeline line), a small gap between them */
:is(.blk-dress, .nb-body)[class*="blk-look-"]:not(.blk-look-plain) .blk-steps { gap: 0.625rem; }
:is(.blk-dress, .nb-body)[class*="blk-look-"]:not(.blk-look-plain) .blk-steps > li::before { display: none; }
:is(.blk-dress, .nb-body)[class*="blk-look-"]:not(.blk-look-plain) .blk-steps > li:last-child { padding-block-end: clamp(1rem, 0.85rem + 0.6vw, 1.375rem); }
/* Pros & cons: only the + and – markers, never a bullet dot as well */
.art-body .blk-pc ul { list-style: none; padding-inline-start: 0; }
.art-body .blk-template > figcaption, .blk-template > figcaption { margin: 0; }   /* the title row sits flush at the top */

/* Cookie banner (only when analytics are switched on in the dashboard) */
.cookie {
  position: fixed; z-index: 60; inset-inline: max(1rem, env(safe-area-inset-left)) auto; inset-block-end: max(1rem, env(safe-area-inset-bottom));
  display: grid; gap: 0.875rem; inline-size: min(26rem, calc(100vw - 2rem)); padding: 1.125rem 1.25rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg, 0 20px 50px -20px rgb(0 0 0 / 0.3));
  font-size: 0.9375rem; line-height: 1.5; color: var(--text);
}
@media (prefers-reduced-motion: no-preference) { .cookie { animation: cookie-in 280ms var(--ease-out) both; } @keyframes cookie-in { from { opacity: 0; translate: 0 12px; } } }
.cookie p { margin: 0; }
.cookie strong { display: block; margin-block-end: 0.25rem; color: var(--ink); }
.cookie a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cookie-btns .btn { min-block-size: 44px; }
@media (width < 768px) { .cookie { inset-inline: 0.75rem; inline-size: auto; inset-block-end: calc(var(--mobile-cta-h, 76px) + env(safe-area-inset-bottom, 0px) + 0.5rem); } }
.foot-cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: inherit; }
@media (hover: hover) and (pointer: fine) { .foot-cookie:hover { color: #fff; } }


/* =========================================================
   Booking calendar (our own; talks to Cal.com only through this website's server)
   ========================================================= */
.book-cal.bk { min-block-size: 0; overflow: visible; }
.bk-card {
  --ink: var(--ink-l); --text: var(--text-l); --muted: var(--muted-l); --border: var(--border-l); --surface: var(--surface-l); --surface-2: var(--surface-2-l);
  display: grid; grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr);
  overflow: hidden; border-radius: var(--radius-xl); background: var(--surface); color: var(--text);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.45);
}
.bk-card > * { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.bk-info { display: grid; align-content: start; gap: 0.75rem; border-inline-end: 1px solid var(--border); }
.bk-who img { inline-size: 40px; block-size: 40px; border-radius: 50%; object-fit: cover; background: var(--primary-gradient); }
.bk-title { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.bk-meta { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.bk-meta li { display: flex; align-items: center; gap: 0.5rem; min-inline-size: 0; }
.bk-meta svg { inline-size: 18px; block-size: 18px; color: var(--muted); flex-shrink: 0; }
.bk-tz label { position: relative; display: flex; align-items: center; gap: 0.25rem; min-inline-size: 0; cursor: pointer; }
.bk-tz select { appearance: none; min-inline-size: 0; max-inline-size: 100%; padding: 0.125rem 1.25rem 0.125rem 0; border: 0; background: none; color: var(--text); font: inherit; text-overflow: ellipsis; cursor: pointer; }
.bk-tz label svg { position: absolute; inset-inline-end: 0; inline-size: 14px; block-size: 14px; pointer-events: none; }
.bk-tz select:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.bk-chosen { display: grid; gap: 0.125rem; margin: 0.25rem 0 0; padding: 0.75rem 0.875rem; border-radius: var(--radius); background: var(--primary-50); color: var(--ink); font-size: 0.9375rem; }
.bk-chosen span { color: var(--primary); font-weight: 600; }

/* step 1: month + times */
.bk-view-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 14.5rem); gap: 0; padding: 0; }
.bk-view-pick > * { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.bk-times { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0.875rem; border-inline-start: 1px solid var(--border); min-block-size: 0; }
.bk-month { display: flex; align-items: center; justify-content: space-between; margin-block-end: 0.875rem; }
.bk-month p { margin: 0; font-weight: 600; color: var(--ink); }
.bk-month div { display: flex; gap: 0.25rem; }
.bk-nav { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; touch-action: manipulation; transition: background-color 150ms; }
.bk-nav svg { inline-size: 18px; block-size: 18px; }
.bk-nav:disabled { color: var(--border-strong); cursor: default; }
@media (hover: hover) and (pointer: fine) { .bk-nav:not(:disabled):hover { background: var(--surface-2); } }
.bk-week, .bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-week span { padding-block: 0.25rem; font-size: 0.6875rem; font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.bk-day { block-size: clamp(40px, 2.3rem + 0.6vw, 46px); display: grid; place-items: center; border: 0; border-radius: calc(10px * var(--r, 1) + 2px); background: none; color: color-mix(in oklab, var(--muted), transparent 30%); font: 500 0.9375rem var(--font); cursor: default; touch-action: manipulation; transition: background-color 160ms, color 160ms, transform 120ms var(--ease-out); }
.bk-day.is-free { background: var(--surface-2); color: var(--ink); font-weight: 600; cursor: pointer; }
.bk-day.is-today:not(.is-on) { box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.bk-day.is-on { background: var(--primary-gradient); color: #fff; }
.bk-day.is-free:active { transform: scale(0.94); }
.bk-day:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .bk-day.is-free:not(.is-on):hover { background: var(--primary-50); color: var(--primary); } }
.bk-grid { transition: opacity 160ms; }
.bk-grid.is-loading { opacity: 0.45; pointer-events: none; }
.bk-times-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-block-size: 38px; }
.bk-times-head p { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.bk-seg { display: flex; flex-shrink: 0; padding: 2px; border-radius: 9px; background: var(--surface-2); }
.bk-seg button { min-block-size: 28px; padding: 0 0.5rem; border: 0; border-radius: 7px; background: none; color: var(--muted); font: 600 0.75rem var(--font); cursor: pointer; touch-action: manipulation; }
.bk-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.1); }
.bk-slots { display: grid; align-content: start; gap: 0.5rem; max-block-size: 22.5rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px; margin: -2px; }
.bk-slots.has-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 3rem), transparent); mask-image: linear-gradient(#000 calc(100% - 3rem), transparent); }
.bk-slot { min-block-size: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 600 0.9375rem var(--font); cursor: pointer; touch-action: manipulation; transition: border-color 150ms, background-color 150ms, color 150ms, transform 120ms var(--ease-out); }
.bk-slot:active { transform: scale(0.98); }
.bk-slot.is-on { border-color: transparent; background: var(--primary-gradient); color: #fff; }
.bk-slot:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .bk-slot:not(.is-on):hover { border-color: var(--primary); color: var(--primary); } }
.bk-sk { display: block; block-size: 44px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2) 0%, color-mix(in oklab, var(--surface-2), #fff 60%) 50%, var(--surface-2) 100%) 0 0 / 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .bk-sk { animation: bk-sk 1.2s linear infinite; } @keyframes bk-sk { to { background-position: -200% 0; } } }
.bk-empty { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.bk-warn { padding: 0.625rem 0.75rem; border-radius: var(--radius); background: #fff7e8; color: #8a5a10; }
.bk-retry { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* step 2: details */
.bk-form { display: grid; align-content: start; gap: 0.875rem; max-inline-size: 34rem; }
.bk-form-head { margin-block-end: 0.125rem; }
.bk-back { display: inline-flex; align-items: center; gap: 0.375rem; margin-inline-start: -0.5rem; padding: 0.375rem 0.625rem 0.375rem 0.375rem; border: 0; border-radius: 10px; background: none; color: var(--text); font: 600 0.875rem var(--font); cursor: pointer; }
.bk-back svg { inline-size: 18px; block-size: 18px; }
@media (hover: hover) and (pointer: fine) { .bk-back:hover { background: var(--surface-2); color: var(--ink); } }
.bk-form label, .bk-field { display: grid; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.bk-form label em { font-style: normal; font-weight: 400; color: var(--muted); }
.bk-form input, .bk-form textarea { inline-size: 100%; min-block-size: 48px; padding: 0.625rem 0.875rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 400 1rem var(--font); transition: border-color 150ms, box-shadow 150ms; }
.bk-form textarea { resize: vertical; min-block-size: 5rem; }
.bk-form :is(input, textarea):focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.bk-phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem; }
.bk-cc { position: relative; display: block !important; }
.bk-cc-face { display: flex; align-items: center; gap: 0.375rem; block-size: 100%; min-block-size: 48px; padding: 0 0.625rem 0 0.75rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 500; pointer-events: none; }
.bk-cc-face svg { inline-size: 14px; block-size: 14px; color: var(--muted); }
.bk-cc select { position: absolute; inset: 0; inline-size: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.bk-cc:has(select:focus-visible) .bk-cc-face { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.bk-error { margin: 0; min-block-size: 1.25rem; color: var(--danger); font-size: 0.875rem; }
.bk-error:empty { min-block-size: 0; }
.bk-submit { min-block-size: 50px; inline-size: 100%; justify-content: center; }
.bk-submit.is-busy { opacity: 0.8; cursor: progress; }

/* step 3: booked */
.bk-done { display: grid; align-content: center; justify-items: start; gap: 0.625rem; min-block-size: 18rem; outline: none; }
.bk-done p { margin: 0; }
.bk-done-ico { display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 50%; background: var(--primary-gradient); color: #fff; }
.bk-done-ico svg { inline-size: 26px; block-size: 26px; }
.bk-note { color: var(--muted); line-height: 1.55; max-inline-size: 30rem; }
.bk-confetti { position: fixed; inset: 0; z-index: 100; inline-size: 100vw; block-size: 100vh; pointer-events: none; }

/* motion: steps fade in, new times slide in a little */
@media (prefers-reduced-motion: no-preference) {
  .bk-view.is-in { animation: bk-in 260ms var(--ease-out) both; }
  .bk-slots.is-in > * { animation: bk-in 220ms var(--ease-out) both; }
  .bk-slots.is-in > :nth-child(2) { animation-delay: 15ms; } .bk-slots.is-in > :nth-child(3) { animation-delay: 30ms; } .bk-slots.is-in > :nth-child(4) { animation-delay: 45ms; } .bk-slots.is-in > :nth-child(n + 5) { animation-delay: 60ms; }
  @keyframes bk-in { from { opacity: 0; translate: 0 6px; } }
  .bk-done-ico { animation: bk-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  @keyframes bk-pop { from { scale: 0.6; opacity: 0; } }
}

/* tablet: details on top, month and times side by side */
@media (width < 1000px) {
  .bk-card { grid-template-columns: minmax(0, 1fr); }
  .bk-info { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.875rem; row-gap: 0.375rem; border-inline-end: 0; border-block-end: 1px solid var(--border); }
  .bk-info .bk-who { grid-row: span 2; }
  .bk-meta { display: flex; flex-wrap: wrap; gap: 0.375rem 1.125rem; font-size: 0.875rem; }
  .bk-chosen { grid-column: 1 / -1; }
}
/* phones: everything stacked, times in a grid */
@media (width < 640px) {
  .bk-view-pick { grid-template-columns: minmax(0, 1fr); }
  .bk-times { border-inline-start: 0; border-block-start: 1px solid var(--border); scroll-margin-block-start: 5rem; }
  .bk-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); max-block-size: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .bk-card { scroll-margin-block-start: 5rem; }
  .bk-week span { font-size: 0.625rem; letter-spacing: 0.02em; }
}
.bk [hidden] { display: none !important; }   /* steps and the chosen-time box stay hidden until they are needed */
/* time zone: the arrow sits right next to the zone name */
.bk-tz label { display: inline-flex; inline-size: fit-content; max-inline-size: 100%; }
.bk-tz select { field-sizing: content; inline-size: auto; padding-inline-end: 0.125rem; }
.bk-tz label svg { position: static; flex-shrink: 0; }
/* Cookie box: small, bottom right (both choices equally easy, as the law requires) */
.cookie { inset-inline: auto max(1rem, env(safe-area-inset-right)); inset-block-end: max(1rem, env(safe-area-inset-bottom)); inline-size: min(19rem, calc(100vw - 2rem)); gap: 0.625rem; padding: 0.875rem 0.875rem 0.75rem; font-size: 0.8125rem; line-height: 1.45; border-radius: var(--radius); }
.cookie-btns { gap: 0.375rem; }
.cookie-btn { min-block-size: 36px; padding: 0 0.75rem; border: 1px solid var(--border-strong); border-radius: calc(var(--radius) - 4px); background: var(--surface); color: var(--ink); font: 600 0.8125rem var(--font); cursor: pointer; touch-action: manipulation; transition: background-color 150ms, transform 120ms var(--ease-out); }
.cookie-btn.is-yes { border-color: transparent; background: var(--primary-gradient); color: #fff; }
.cookie-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .cookie-btn:not(.is-yes):hover { background: var(--surface-2); } }
@media (width < 768px) { .cookie { inset-inline: auto 0.75rem; inline-size: min(17.5rem, calc(100vw - 1.5rem)); inset-block-end: calc(var(--mobile-cta-h, 76px) + env(safe-area-inset-bottom, 0px) + 0.5rem); } }

/* Booking: three day buttons (today + the next two days) above the free times */
.bk-view-pick { grid-template-columns: minmax(0, 1fr); }
.bk-view-pick > .bk-daytabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; padding-block-end: 0; }
.bk-daytab { display: grid; justify-items: start; gap: 0.125rem; padding: 0.75rem 0.875rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; text-align: start; cursor: pointer; touch-action: manipulation; transition: border-color 150ms, background-color 150ms, color 150ms, transform 120ms var(--ease-out); }
.bk-daytab strong { font-size: 1rem; }
.bk-daytab span { color: var(--text); font-size: 0.875rem; }
.bk-daytab small { color: var(--primary); font-size: 0.75rem; font-weight: 600; }
.bk-daytab.is-on { border-color: transparent; background: var(--primary-gradient); color: #fff; }
.bk-daytab.is-on :is(span, small) { color: rgb(255 255 255 / 0.85); }
.bk-daytab:disabled { cursor: default; opacity: 0.5; }
.bk-daytab:disabled small { color: var(--muted); }
.bk-daytab:not(:disabled):active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .bk-daytab:not(:disabled, .is-on):hover { border-color: var(--primary); } }
.bk-view-pick > .bk-times { border-inline-start: 0; }
.bk-slots { grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); max-block-size: 17rem; }
.bk-tz span { color: var(--text); }
@media (width < 640px) {
  .bk-daytab { padding: 0.625rem; }
  .bk-daytab strong { font-size: 0.9375rem; }
  .bk-times { border-block-start: 0; }
  .bk-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); max-block-size: none; }
}

/* Booking: calmer day buttons and times (no counts, regular weight) */
.bk-daytab strong { font-weight: 600; }
.bk-daytab small { display: none; }
.bk-slot { font-weight: 500; font-variant-numeric: tabular-nums; }

/* Booking form: room kept under each field for its message (the button never moves), summary on submit, autofill matched to the form */
.bk-form label, .bk-field { gap: 0.3125rem; }
.bk-msg { display: block; min-block-size: 1.125rem; margin-block-start: -0.125rem; color: var(--danger); font-size: 0.8125rem; font-weight: 500; line-height: 1.125rem; }
.bk-form { gap: 0.5rem; }
.bk-form [aria-invalid="true"] { border-color: var(--danger); }
.bk-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 18%, transparent); }
.bk-sum { padding: 0.75rem 0.875rem; border: 1px solid color-mix(in oklab, var(--danger) 35%, transparent); border-radius: var(--radius); background: color-mix(in oklab, var(--danger) 6%, var(--surface)); font-size: 0.875rem; color: var(--ink); }
.bk-sum p { margin: 0 0 0.25rem; font-weight: 600; }
.bk-sum ul { margin: 0; padding-inline-start: 1.1rem; }
.bk-sum a { color: var(--danger); font-weight: 600; }
.bk-error { min-block-size: 1.25rem; text-align: center; }
.bk-error:empty { min-block-size: 1.25rem; }

/* Booking: no day label above the times (the day buttons already say it); the 12h/24h switch sits on the right */
.bk-times-head { justify-content: flex-end; }
.bk-times-head > p { display: none; }

/* Booking done: the confirmation says the time once; the side panel's chosen time hides */
.bk-card[data-step="done"] .bk-chosen { display: none; }

/* =====================================================================
   Article blocks, v2 (designed from 21st.dev references: contentbit pros/cons,
   alwkala callout, ln-dev7 timeline, shadcnui-blocks stats grid, ghost accordion,
   ncdai testimonial, code block with copy bar). Same markup on the article page
   and in the dashboard editor (both use .art-body). Colour "looks" still apply on top.
   ===================================================================== */
.art-body {
  --ok: var(--success, #1f8a5b); --bad: var(--danger, #c0453a);
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  --ico-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h3M17 12h3M12 4v3M12 17v3M7 7l1.5 1.5M15.5 15.5L17 17M7 17l1.5-1.5M15.5 8.5L17 7'/%3E%3C/svg%3E");
  --ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.art-body :is(.blk-pc, .blk-takeaways) .blk-label::before, .art-body .blk-pc li::before, .art-body .blk-takeaways li::before {
  content: ""; flex-shrink: 0; inline-size: 1em; block-size: 1em; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}

/* Pros & cons: two cards, tinted header with a tick / cross, the same mark on every line */
.art-body .blk-proscons { display: grid; gap: 0.875rem; }
@media (width >= 600px) { .art-body .blk-proscons { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.art-body .blk-pc { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.art-body .blk-pc .blk-label { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.75rem 1.125rem; border-block-end: 1px solid var(--border); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.art-body .blk-pc.is-pro .blk-label { --m: var(--ico-check); color: var(--ok); background: color-mix(in oklab, var(--ok) 9%, var(--surface)); border-color: color-mix(in oklab, var(--ok) 16%, var(--border)); }
.art-body .blk-pc.is-con .blk-label { --m: var(--ico-x); color: var(--bad); background: color-mix(in oklab, var(--bad) 8%, var(--surface)); border-color: color-mix(in oklab, var(--bad) 15%, var(--border)); }
.art-body .blk-pc ul { display: grid; gap: 0.625rem; margin: 0; padding: 1rem 1.125rem 1.125rem; list-style: none; }
.art-body .blk-pc li { display: flex; gap: 0.625rem; line-height: 1.55; color: var(--ink); }
.art-body .blk-pc li::before { margin-block-start: 0.3em; inline-size: 0.95em; block-size: 0.95em; }
.art-body .blk-pc.is-pro li::before { --m: var(--ico-check); color: var(--ok); }
.art-body .blk-pc.is-con li::before { --m: var(--ico-x); color: var(--bad); }

/* Key takeaways: same card language, brand-tinted header */
.art-body .blk-takeaways { overflow: hidden; padding: 0; border: 1px solid color-mix(in oklab, var(--primary) 18%, var(--border)); border-radius: var(--radius-lg); background: var(--surface); }
.art-body .blk-takeaways .blk-label { --m: var(--ico-spark); display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.75rem 1.125rem; background: var(--primary-50); border-block-end: 1px solid color-mix(in oklab, var(--primary) 14%, var(--border)); color: var(--primary); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.art-body .blk-takeaways ul { display: grid; gap: 0.625rem; margin: 0; padding: 1rem 1.125rem 1.125rem; list-style: none; }
.art-body .blk-takeaways li { --m: var(--ico-check); display: flex; gap: 0.625rem; margin: 0; line-height: 1.55; }
.art-body .blk-takeaways li::before { margin-block-start: 0.3em; inline-size: 0.95em; block-size: 0.95em; color: var(--primary); }

/* Highlight box: soft surface with a coloured edge per kind */
.art-body .blk-callout { position: relative; display: flex; gap: 0.875rem; padding: 1rem 1.25rem 1rem 1.375rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-2); overflow: hidden; }
.art-body .blk-callout::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 4px; background: var(--edge, var(--primary)); }
.art-body .blk-callout > svg { color: var(--edge, var(--primary)); inline-size: 22px; block-size: 22px; }
.art-body .blk-callout--tip { --edge: var(--primary); }
.art-body .blk-callout--note { --edge: #3b7dd8; }
.art-body .blk-callout--warning { --edge: #d99a1e; }
.art-body .blk-callout--success { --edge: var(--ok); }
.art-body .blk-callout-title { margin: 0 0 0.25rem; font-weight: 600; color: var(--ink); }
.art-body .blk-callout p { color: var(--text); }

/* Steps: numbered nodes on a dashed rail, each step its own card */
.art-body .blk-steps { display: grid; gap: 0.875rem; margin-inline: 0; padding: 0; list-style: none; grid-template-columns: none; }
.art-body .blk-steps li { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem; padding: 0; border: 0; background: none; }
.art-body .blk-steps li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: calc(1.125rem - 1px); inset-block: 2.75rem -0.875rem; inline-size: 0; border-inline-start: 1.5px dashed color-mix(in oklab, var(--primary) 35%, var(--border)); }
.art-body .blk-step-n { display: grid; place-items: center; inline-size: 2.25rem; block-size: 2.25rem; margin-block-start: 0.75rem; border-radius: 50%; background: var(--surface); border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--border)); color: var(--primary); font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 4px var(--bg, #fff); }
.art-body .blk-steps li > div { padding: 0.875rem 1.125rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.art-body .blk-steps strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.art-body .blk-steps p { margin: 0.25rem 0 0; font-size: 0.9688rem; line-height: 1.55; color: var(--muted); }

/* Numbers: one bordered grid, big figure over a short label */
.art-body .blk-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-inline: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
@media (width >= 640px) { .art-body .blk-stats { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.art-body .blk-stats li { display: grid; align-content: start; gap: 0.375rem; padding: 1.25rem 1.375rem; border: 0; border-radius: 0; background: none; box-shadow: none; box-shadow: -1px -1px 0 var(--border); }
.art-body .blk-stats strong { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.art-body .blk-stats span { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }

/* Checklist: tick in a soft circle */
.art-body .blk-check { gap: 0.75rem; }
.art-body .blk-check svg { inline-size: 22px; block-size: 22px; padding: 4px; border-radius: 50%; background: var(--primary-50); color: var(--primary); }

/* Testimonial: card, the words carry it, name and role underneath */
.art-body .blk-quote { margin-inline: 0; padding: 0.125rem 0 0.125rem 1.25rem; border: 0; border-inline-start: 3px solid var(--primary); border-radius: 0; background: none; box-shadow: none; }
.art-body .blk-quote > svg { display: none; }
.art-body .blk-quote blockquote { margin: 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.6; letter-spacing: -0.01em; color: var(--text); }
.art-body .blk-quote figcaption { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-block-start: 0.625rem; padding: 0; border: 0; font-size: 0.9375rem; color: var(--muted); text-align: start; }
.art-body .blk-quote figcaption span { color: var(--muted); font-size: inherit; }

/* Copyable text: header bar with the title and a Copy button, then the text */
.art-body .blk-template { margin-inline: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.art-body .blk-template figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1.125rem; background: var(--surface-2); border-block-end: 1px solid var(--border); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.art-body .blk-template pre { margin: 0; padding: 1rem 1.125rem 1.125rem; white-space: pre-wrap; font: 0.9375rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: none; border: 0; }
.art-body .blk-copy { display: inline-flex; align-items: center; gap: 0.375rem; min-block-size: 32px; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font: 600 0.8125rem/1 inherit; color: var(--ink); cursor: pointer; transition: background-color 150ms, transform 120ms; }
.art-body .blk-copy:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .art-body .blk-copy:hover { background: var(--primary-50); } }

/* Key facts: rows in a card */
.art-body .blk-kv { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.art-body .blk-kv div { padding: 0.875rem 1.125rem; border-block-end: 1px solid var(--border); }
.art-body .blk-kv div:last-child { border: 0; }
.art-body .blk-kv dt { color: var(--muted); font-weight: 500; }
.art-body .blk-kv dd { color: var(--ink); font-weight: 500; }

/* Highlight number: big figure in the brand colour, the sentence beside it */
.art-body .blk-bigstat { display: grid; gap: 0.5rem 1.5rem; align-items: center; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border: 1px solid color-mix(in oklab, var(--primary) 18%, var(--border)); border-radius: var(--radius-lg); background: var(--primary-50); }
@media (width >= 560px) { .art-body .blk-bigstat { grid-template-columns: auto minmax(0, 1fr); } }
.art-body .blk-bigstat strong { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.art-body .blk-bigstat p { margin: 0; color: var(--ink); line-height: 1.5; }

/* Questions & answers: numbered rows, a plus that turns into a cross */
.art-body .blk-faq { counter-reset: faq; border: 0; border-block: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; padding: 0; }
.art-body .blk-faq details { counter-increment: faq; padding: 0; }
.art-body .blk-faq summary { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) 1.25rem; align-items: center; gap: 0.5rem; padding-block: 1.125rem; font-weight: 600; color: var(--ink); }
.art-body .blk-faq summary::before { content: counter(faq, decimal-leading-zero); order: 0; inline-size: auto; block-size: auto; rotate: none; background: none; -webkit-mask: none; mask: none; font: 500 0.8125rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.art-body .blk-faq summary::after { content: ""; inline-size: 1.125rem; block-size: 1.125rem; background: currentColor; -webkit-mask: var(--ico-plus) center / contain no-repeat; mask: var(--ico-plus) center / contain no-repeat; color: var(--muted); transition: rotate 200ms var(--ease-out, ease); }
.art-body .blk-faq details[open]:not(.is-closing) > summary::after { rotate: 45deg; color: var(--primary); }
.art-body .blk-faq .faq-answer { padding: 0 1.75rem 1.125rem 2.75rem; color: var(--text); }

/* Before / after: one image over the other with a handle you drag (set up by main.js) */
.art-body .blk-compare.is-slider { display: block; position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: calc(clamp(14px, 10px + 0.8vw, 20px) * var(--r)); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%; }
.art-body .blk-compare.is-slider figure { margin: 0; border: 0; border-radius: 0; }
.art-body .blk-compare.is-slider figure:last-child { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.art-body .blk-compare.is-slider img { pointer-events: none; }
.art-body .blk-compare.is-slider figure:last-child .blk-compare-tag { inset: 0.75rem 0.75rem auto auto; }
.blk-compare-handle { position: absolute; inset-block: 0; left: var(--pos); z-index: 2; inline-size: 0; border-inline-start: 2px solid #fff; translate: -1px 0; pointer-events: none; }
.blk-compare-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.125rem; box-shadow: 0 4px 14px rgb(0 0 0 / 0.18); }
.blk-compare-range { position: absolute; inset: 0; z-index: 3; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.art-body :is(.blk-takeaways, .blk-pc) .blk-label { inline-size: auto; max-inline-size: none; justify-self: stretch; }
.art-body .blk-pc { padding: 0; }
.art-body .blk-steps li:not(:last-child)::before { background: none; inline-size: 0; }
/* quote after Astryx Blockquote: accent line, secondary text colour, attribution underneath */
.blk-quote blockquote { color: var(--text); font-weight: 400; }
.art-body .blk-quote figcaption strong { color: var(--ink); font-weight: 500; }
.art-body .blk-quote figcaption strong::before { content: "— "; }

/* Phone: the hero eyebrow sits smaller so the headline leads */
@media (width < 640px) {
  .eyebrow-pill { gap: 0.4375rem; padding: 0.3125rem 0.75rem 0.3125rem 0.625rem; font-size: 0.75rem; }
  .eyebrow-dot { inline-size: 6px; block-size: 6px; box-shadow: 0 0 0 2.5px color-mix(in oklab, var(--primary) 18%, transparent); }
}

/* =========================================================
   Consistency pass (2026-11-20): calmer rhythm, one heading scale, readable grey text
   ========================================================= */
:root { --muted: #5d6c71; }   /* secondary text ≈ 5.3:1 on white (was ≈ 4.1:1) */
.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }   /* less empty air between sections */
.news-inner h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.1; }   /* same size as every other section title */

/* Booking: smooth selection. A gradient can't fade, so the selected day/time gets its gradient
   from a layer that fades in (quick ease-out), instead of the background snapping. */
.bk-daytab, .bk-slot { position: relative; isolation: isolate; }
.bk-daytab::before, .bk-slot::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--primary-gradient); opacity: 0; pointer-events: none;
}
.bk-daytab.is-on, .bk-slot.is-on { background: var(--surface); }
.bk-daytab.is-on::before, .bk-slot.is-on::before { opacity: 1; }
.bk-daytab :is(strong, span) { transition: color 180ms var(--ease-out); }
.bk-seg button { transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .bk-daytab::before, .bk-slot::before { transition: opacity 180ms var(--ease-out); }
  .bk-daytab, .bk-slot { transition-duration: 180ms; transition-timing-function: var(--ease-out); }
}

/* Article breadcrumb: Home / Articles / title, one quiet line above the label */
.art-crumbs { margin-block-end: clamp(1rem, 0.75rem + 1vw, 1.5rem); }
.art-crumbs ol { flex-wrap: nowrap; }
.art-crumbs li { flex-shrink: 0; }
.art-crumbs [aria-current] { flex: 1 1 0; }
.art-crumbs a { transition: color 150ms var(--ease-out); }
.art-crumbs a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* Contents as a tree: sections with their parts (sub-headings) behind a small arrow */
.art-toc-row { display: flex; align-items: flex-start; gap: 0.125rem; }
.art-toc-row > a { flex: 1 1 auto; min-inline-size: 0; }
.art-toc-toggle {
  flex: none; display: grid; place-items: center; inline-size: 28px; block-size: 28px; margin-block-start: 0.125rem;
  border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); cursor: pointer; touch-action: manipulation;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.art-toc-toggle svg { inline-size: 16px; block-size: 16px; transition: rotate 200ms var(--ease-out); }
.has-kids.is-open > .art-toc-row .art-toc-toggle svg { rotate: 180deg; }
.art-toc-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .art-toc-toggle:hover { background: var(--surface-2); color: var(--ink); } }
@media (pointer: coarse) { .art-toc-toggle { inline-size: 40px; block-size: 40px; margin-block: -0.25rem; } }
/* opening and closing: the height eases (no jump) */
.art-toc-kids { display: grid; grid-template-rows: 0fr; }
.has-kids.is-open > .art-toc-kids { grid-template-rows: 1fr; }
.art-toc-kids > .art-toc-sub { min-block-size: 0; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .art-toc-kids { transition: grid-template-rows 220ms var(--ease-out); } }
/* the parts: indented under a thin guide line, no numbers */
.art-toc .art-toc-sub, .art-toc-mobile .art-toc-sub { display: grid; gap: 0; margin: 0 0 0 1.75rem; padding: 0; list-style: none; border-inline-start: 1px solid var(--border); }
.art-toc-sub li { counter-increment: none; }
.art-toc-sub li:first-child { padding-block-start: 0.125rem; }
.art-toc-sub li:last-child { padding-block-end: 0.25rem; }
.art-toc .art-toc-sub a, .art-toc-mobile .art-toc-sub a { display: block; padding-block: 0.3rem; padding-inline: 0.75rem 0.5rem; margin-inline-start: -1px; font-size: 0.8125rem; }
.art-toc .art-toc-sub a::before, .art-toc-mobile .art-toc-sub a::before { content: none; }
/* reading inside a part: its section stays marked in the brand colour (no fill) */
.art-toc li.is-trail > .art-toc-row > a { color: var(--primary); }
.art-toc li.is-trail > .art-toc-row > a::before { color: var(--primary); }
.art-toc-sub a { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }   /* the highlight meets the guide line squarely */

/* Browser autofill never recolours a field (no blue or yellow), anywhere on the site:
   the browser's own colours are held off, so each field keeps its own background, border and focus ring. */
:is(input, textarea, select):-webkit-autofill,
:is(input, textarea, select):-webkit-autofill:hover,
:is(input, textarea, select):-webkit-autofill:focus,
:is(input, textarea, select):-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink) !important; caret-color: var(--ink) !important;
  transition: background-color 600000s 0s, color 600000s 0s !important;
}

/* Legal pages: links inside the text are underlined */
.legal p a { text-decoration: underline; text-underline-offset: 0.15em; }

/* The page stays put: it only scrolls up and down, never sideways, and doesn't stretch past its top or bottom
   into an empty area (the elastic bounce on Mac trackpads and phones). The browser's swipe back/forward still works. */
html, body { overflow-x: clip; overscroll-behavior-y: none; }

/* Before/After fixes: never cut. Two columns only when each pill has room for its whole text, otherwise one full-width column; long lines wrap. */
.ba-fixes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)) !important; }
.ba-fixes li { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
.ba-toggle button { white-space: nowrap; }   /* "After 90 days" stays on one line */
@media (width < 360px) { .ba-toggle button { padding-inline: 0.5rem; font-size: 0.875rem; } }

/* Bento cards: the title and text line up with the image above (a few px inside its edges), full card width on phones */
.bento-card h3, .bento-card p { margin-inline: 0.375rem; }
/* the card text uses the card's full width on every screen, so it takes fewer lines (owner's wish) */
.bento-card p { max-inline-size: none; text-wrap: wrap; }   /* plain wrapping: each line runs to the edge ("pretty" evens the lines out and leaves a gap on the right in Safari) */

/* ---------------------------------------------------------
   Bento illustration: AI searches. ChatGPT, Claude, Gemini and Grok sit on soft
   half rings around "your business"; a small light runs from each one to it.
   Sizes follow the panel (container units), so it fits every card size.
   --------------------------------------------------------- */
.aiw {
  --aiw-r: min(82cqh, 41cqw);                        /* where the logos sit */
  --aiw-chip: clamp(40px, 22cqh, 60px);
  --aiw-cx: 50cqw; --aiw-cy: 93cqh;                   /* centre of the rings: the "your business" pill */
  background:
    radial-gradient(circle at 50% 100%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 62%),
    var(--ill-panel);
}
/* the hero's square grid (same line colour), centred on the pill and fading out toward the edges */
.aiw::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --g: 28px;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: var(--g) var(--g);
  background-position: calc(50% - var(--g) / 2) 100%;
  mask-image: radial-gradient(ellipse 85% 95% at 50% 70%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 85% 95% at 50% 70%, #000 35%, transparent 90%);
}
/* three soft half rings, the widest one carries the logos */
.aiw-ring {
  position: absolute; left: var(--aiw-cx); top: var(--aiw-cy);
  inline-size: calc(var(--d) * 2); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  background: color-mix(in oklab, #fff var(--a), var(--ill-panel));   /* solid: the grid stays outside the rings */
  border: 1px solid color-mix(in oklab, var(--ill-card-edge) 80%, transparent);
  box-shadow: 0 -8px 30px -18px color-mix(in oklab, var(--primary) 30%, transparent);
}
.aiw-ring:nth-of-type(1) { --d: calc(var(--aiw-r) * 1.18); --a: 45%; }
.aiw-ring:nth-of-type(2) { --d: calc(var(--aiw-r) * 0.84); --a: 65%; }
.aiw-ring:nth-of-type(3) { --d: calc(var(--aiw-r) * 0.52); --a: 90%; }

/* a thin line from each logo to the centre, with a small light travelling in */
.aiw-line {
  position: absolute; left: var(--aiw-cx); top: var(--aiw-cy);
  inline-size: var(--aiw-r); block-size: 1px;
  transform-origin: 0 50%; rotate: calc(var(--t) * -1deg);
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 28%, transparent) 40%, color-mix(in oklab, var(--primary) 10%, transparent));
}
.aiw-line::after {
  content: ""; position: absolute; top: -2px; left: 0;
  inline-size: 5px; block-size: 5px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 8px 1px color-mix(in oklab, var(--primary) 55%, transparent);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .aiw-line::after { animation: aiw-in 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: calc(var(--i) * 0.8s); }
}
@keyframes aiw-in {
  0% { left: calc(100% - 30px); opacity: 0; }
  15% { opacity: 1; }
  55% { left: 10%; opacity: 0; }
  100% { left: 10%; opacity: 0; }
}

/* the logos: white chips on the outer ring */
.aiw-chip {
  position: absolute;
  left: calc(var(--aiw-cx) + cos(calc(var(--t) * 1deg)) * var(--aiw-r));
  top: calc(var(--aiw-cy) - sin(calc(var(--t) * 1deg)) * var(--aiw-r));
  inline-size: var(--aiw-chip); aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ill-card);
  border: 1px solid var(--ill-card-edge);
  box-shadow: var(--ill-card-shadow), 0 0 0 6px color-mix(in oklab, #fff 55%, transparent);
}
.aiw-chip svg { inline-size: 46%; block-size: 46%; display: block; }
.aiw-chip--gpt, .aiw-chip--grok { color: #0d0d0d; }

/* the centre: your business, in the brand gradient */
.aiw-you {
  position: absolute; left: var(--aiw-cx); top: var(--aiw-cy); translate: -50% -88%;
  display: inline-flex; align-items: center;
  padding: 0.55em 1.15em; border-radius: var(--radius-pill);
  background: var(--primary-gradient); color: #fff;
  font-size: clamp(0.75rem, 0.6rem + 3cqh, 0.9375rem); font-weight: 600; white-space: nowrap;
  box-shadow: 0 0 0 6px color-mix(in oklab, #fff 70%, transparent), 0 0 0 7px var(--ill-card-edge), 0 10px 24px -8px color-mix(in oklab, var(--primary) 55%, transparent);
}
/* AI card: a softer "Your business" pill (lighter brand teal, gentler shadow) so it doesn't outshine the logos */
.aiw-you {
  background: linear-gradient(160deg, color-mix(in oklab, var(--primary), #fff 34%), color-mix(in oklab, var(--primary), #fff 16%));
  box-shadow: 0 0 0 6px color-mix(in oklab, #fff 70%, transparent), 0 0 0 7px var(--ill-card-edge), 0 8px 18px -10px color-mix(in oklab, var(--primary) 40%, transparent);
}
/* AI card: "Your business" pill in the pale brand tint (owner's colour), teal text */
.aiw-you {
  background: var(--primary-50); color: var(--primary);
  box-shadow: 0 0 0 6px color-mix(in oklab, #fff 70%, transparent), 0 0 0 7px var(--ill-card-edge), 0 6px 16px -10px color-mix(in oklab, var(--primary) 30%, transparent);
}
/* AI card: same proportions on every screen as on phones (rings never reach the top edge) */
.aiw { --aiw-r: min(62cqh, 41cqw); --aiw-chip: clamp(40px, 20cqh, 54px); }

/* ---------------------------------------------------------
   Bento illustration: Citations. Your logo in the middle, linked to four listing sites
   (Apple, Bing, Yelp, Facebook). Same panel, grid, chips and teal lines as the AI card.
   --------------------------------------------------------- */
.cit { background: radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--primary) 12%, transparent), transparent 60%), var(--ill-panel); }
.cit::before { mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 35%, transparent 92%); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 35%, transparent 92%); }
.cit-lines { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.cit-lines path { fill: none; stroke: color-mix(in oklab, var(--primary) 26%, transparent); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.cit-lines .cit-pulse { stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 100; }
@media (prefers-reduced-motion: no-preference) {
  .cit-lines .cit-pulse { stroke-dasharray: 8 92; stroke-dashoffset: 8; opacity: 0; animation: cit-in 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .cit-lines .cit-pulse:nth-of-type(6) { animation-delay: 0.8s; }
  .cit-lines .cit-pulse:nth-of-type(7) { animation-delay: 1.6s; }
  .cit-lines .cit-pulse:nth-of-type(8) { animation-delay: 2.4s; }
}
@keyframes cit-in { 0% { stroke-dashoffset: 8; opacity: 0; } 10% { opacity: 1; } 50% { stroke-dashoffset: -92; opacity: 1; } 55%, 100% { stroke-dashoffset: -92; opacity: 0; } }
.cit-chip {
  position: absolute; inline-size: clamp(40px, 20cqh, 54px); aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ill-card); border: 1px solid var(--ill-card-edge);
  box-shadow: var(--ill-card-shadow), 0 0 0 6px color-mix(in oklab, #fff 55%, transparent);
}
.cit-chip svg { inline-size: 46%; block-size: 46%; display: block; }
.cit-lt { left: 17%; top: 26%; } .cit-rt { left: 83%; top: 26%; }
.cit-lb { left: 17%; top: 76%; } .cit-rb { left: 83%; top: 76%; }
.cit-hub {
  position: absolute; left: 50%; top: 51%; translate: -50% -50%;
  inline-size: clamp(56px, 30cqh, 78px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: calc(18px * var(--r));
  background: var(--ill-card); border: 1px solid var(--ill-card-edge); color: var(--primary);
  box-shadow: var(--ill-card-shadow), 0 0 0 6px color-mix(in oklab, #fff 70%, transparent), 0 0 0 7px var(--ill-card-edge), 0 0 32px -4px color-mix(in oklab, var(--primary) 35%, transparent);
}
.cit-mark { display: grid; place-items: center; inline-size: 50%; block-size: 50%; }
.cit-mark :is(svg, img) { inline-size: 100%; block-size: 100%; object-fit: contain; }
/* Citations: a smaller centre, no teal glow */
.cit { background: var(--ill-panel); }
.cit-hub { inline-size: clamp(46px, 23cqh, 60px); box-shadow: var(--ill-card-shadow), 0 0 0 6px color-mix(in oklab, #fff 70%, transparent), 0 0 0 7px var(--ill-card-edge); }

/* ---------------------------------------------------------
   Card pictures, dark teal (owner's choice): the button's gradient, a faint white grid,
   solid rings (no grid inside them), white lines with a clear white light running in,
   white logo circles, the pale "Your business" pill with teal text.
   --------------------------------------------------------- */
.aiw, .cit { background: var(--primary-gradient); }
.aiw::before {
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.07) 1px, transparent 1px);
}
/* rings: solid steps of teal, lighter towards the middle; the logos sit on the outer ring's edge */
.aiw-ring { border: 1px solid rgb(255 255 255 / 0.16); box-shadow: none; }
.aiw-ring:nth-of-type(1) { --d: var(--aiw-r); background: color-mix(in oklab, var(--primary), #fff 9%); }
.aiw-ring:nth-of-type(2) { --d: calc(var(--aiw-r) * 0.72); background: color-mix(in oklab, var(--primary), #fff 16%); }
.aiw-ring:nth-of-type(3) { --d: calc(var(--aiw-r) * 0.46); background: color-mix(in oklab, var(--primary), #fff 23%); }
.aiw-line { background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.45) 35%, rgb(255 255 255 / 0.25)); }
.aiw-line::after { inline-size: 7px; block-size: 7px; top: -3px; background: #fff; box-shadow: 0 0 10px 3px rgb(255 255 255 / 0.75); }
.cit-lines path { stroke: rgb(255 255 255 / 0.4); }
.cit-lines .cit-pulse { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 3px #fff); }
.aiw-chip, .cit-chip, .cit-hub { border-color: transparent; box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(255 255 255 / 0.1); }
.cit-hub { box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(255 255 255 / 0.12), 0 0 0 7px rgb(255 255 255 / 0.18); }
.aiw-you { background: var(--primary-50); color: var(--primary); box-shadow: 0 0 0 6px rgb(255 255 255 / 0.12), 0 8px 20px -10px rgb(0 0 0 / 0.45); }
/* Citations lights: all four leave together, move at one even pace and reach the logo at the same moment.
   No glow filter on the moving line: it redraws every frame and makes the motion stutter. */
.cit-lines .cit-pulse { filter: none; stroke-width: 2.5; animation-delay: 0s !important; }
@media (prefers-reduced-motion: no-preference) {
  .cit-lines .cit-pulse { animation: cit-in2 2.8s cubic-bezier(0.45, 0, 0.55, 1) infinite; will-change: stroke-dashoffset, opacity; }
}
@keyframes cit-in2 {
  0% { stroke-dashoffset: 10; opacity: 0; }
  12% { opacity: 1; }
  70% { stroke-dashoffset: -88; opacity: 1; }
  80%, 100% { stroke-dashoffset: -88; opacity: 0; }
}

/* AI card centre: your logo in a white circle (owner's choice); the rings and lines centre on it */
.aiw:has(.aiw-hub) { --aiw-hub: clamp(46px, 23cqh, 60px); --aiw-cy: calc(100cqh - var(--aiw-hub) / 2 - 12px); }
.aiw-you.aiw-hub {
  inline-size: var(--aiw-hub); aspect-ratio: 1; padding: 0; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ill-card); color: var(--primary);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(255 255 255 / 0.12), 0 0 0 7px rgb(255 255 255 / 0.18);
}
/* Citations: a full line draws itself from each site to your logo (all four together), holds, then fades */
.cit-lines .cit-pulse { stroke-dasharray: 100 100; stroke-dashoffset: 100; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .cit-lines .cit-pulse { animation: cit-draw 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
}
@media (prefers-reduced-motion: reduce) { .cit-lines .cit-pulse { stroke-dashoffset: 0; opacity: 0.9; } }
@keyframes cit-draw {
  0% { stroke-dashoffset: 100; opacity: 1; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  75% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ---------------------------------------------------------
   Bento illustration: Google Business Profile. A jigsaw in faint white lines on the dark teal,
   one piece missing; the white Google piece sits tilted beside its gap, slides in and clicks into place.
   --------------------------------------------------------- */
.pzl { background: var(--primary-gradient); }
.pzl-svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.pzl-grid { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pzl-hole { fill: rgb(255 255 255 / 0.07); stroke: rgb(255 255 255 / 0.22); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.pzl-shape { fill: #fff; stroke: rgb(255 255 255 / 0.9); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pzl-piece {
  transform-box: fill-box; transform-origin: 50% 50%;
  transform: translate(46px, 26px) rotate(-16deg);
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.35));
}
@media (prefers-reduced-motion: no-preference) {
  .pzl-piece { animation: pzl-fit 5s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
}
@keyframes pzl-fit {
  0%, 18% { transform: translate(46px, 26px) rotate(-16deg); }
  48% { transform: translate(0, 0) rotate(0deg) scale(1.03); }
  54%, 80% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(46px, 26px) rotate(-16deg); }
}
/* Puzzle, softer: the piece in the pale brand tint with a lighter shadow, floating higher (clear of the bottom edge) */
.pzl-shape { fill: color-mix(in oklab, var(--primary-50), var(--primary) 6%); stroke: rgb(255 255 255 / 0.5); }
.pzl-piece { transform: translate(44px, -18px) rotate(-14deg); filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.22)); }
@keyframes pzl-fit {
  0%, 18% { transform: translate(44px, -18px) rotate(-14deg); }
  48% { transform: translate(0, 0) rotate(0deg) scale(1.03); }
  54%, 80% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(44px, -18px) rotate(-14deg); }
}

/* Citations: one line flowing steadily (linear) from each site into the logo; round centre like the AI card */
.cit-lines { --len: 200px; }
.cit-lines .cit-pulse { stroke-dasharray: calc(var(--len) * 0.35) calc(var(--len) * 0.65); stroke-dashoffset: calc(var(--len) * 0.35); opacity: 1; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .cit-lines .cit-pulse { animation: cit-flow 2.4s linear infinite; }
}
@keyframes cit-flow { from { stroke-dashoffset: calc(var(--len) * 0.35); } to { stroke-dashoffset: calc(var(--len) * -0.65); } }
.cit-hub { border-radius: 50%; }
/* Puzzle piece white again (owner's choice); the softer shadow and higher position stay */
.pzl-shape { fill: #fff; stroke: rgb(255 255 255 / 0.9); }

/* Citations: ONE flash at a time. A short bright line runs from one site, through the logo, to the opposite site,
   once, at an even pace; then the other diagonal. --len = the measured on-screen length of one crossing path. */
.cit-lines .cit-flash {
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: calc(var(--len) * 0.2) calc(var(--len) * 3); stroke-dashoffset: calc(var(--len) * 0.2); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .cit-lines .cit-flash { opacity: 1; animation: cit-flash 4.4s linear infinite; }
  .cit-lines .cit-flash + .cit-flash { animation-delay: 2.2s; }
}
@keyframes cit-flash {
  0% { stroke-dashoffset: calc(var(--len) * 0.2); }
  40%, 100% { stroke-dashoffset: calc(var(--len) * -1); }
}

/* Puzzle: the Google piece stays still (owner's wish); the empty spot in the middle glows with a heartbeat
   (two quick pulses, then a rest). Only opacity animates, so it stays smooth. */
.pzl-piece { animation: none !important; }
.pzl-glow {
  fill: rgb(255 255 255 / 0.22); stroke: rgb(255 255 255 / 0.55); stroke-width: 10; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; opacity: 0.15; filter: blur(6px);
}
@media (prefers-reduced-motion: no-preference) {
  .pzl-glow { animation: pzl-beat 1.8s ease-out infinite; }
}
@keyframes pzl-beat {
  0% { opacity: 0.15; }
  12% { opacity: 1; }
  24% { opacity: 0.3; }
  36% { opacity: 0.85; }
  60%, 100% { opacity: 0.15; }
}

/* Puzzle gap: a calm glow, the colour just lights up a little and settles (no blur, only opacity: smooth) */
.pzl-glow { fill: rgb(255 255 255 / 0.14); stroke: none; filter: none; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pzl-glow { animation: pzl-soft 3.2s ease-in-out infinite alternate; }
}
@keyframes pzl-soft { from { opacity: 0; } to { opacity: 1; } }

/* Citations: from all four sites at once, a soft line travels slowly into the logo, fades in and out on the way */
.cit-lines .cit-pulse {
  stroke: rgb(255 255 255 / 0.85); stroke-width: 2; stroke-linecap: round; opacity: 0;
  stroke-dasharray: calc(var(--len) * 0.3) calc(var(--len) * 1.4); stroke-dashoffset: calc(var(--len) * 0.3);
  animation-delay: 0s !important;
}
@media (prefers-reduced-motion: no-preference) {
  .cit-lines .cit-pulse { animation: cit-soft 4.2s linear infinite; }
}
@keyframes cit-soft {
  0% { stroke-dashoffset: calc(var(--len) * 0.3); opacity: 0; }
  20% { opacity: 0.9; }
  75% { opacity: 0.9; }
  100% { stroke-dashoffset: calc(var(--len) * -1); opacity: 0; }
}

/* AI card: quieter rings, so the card reads in the same teal as the others */
.aiw-ring { border-color: rgb(255 255 255 / 0.1); }
.aiw-ring:nth-of-type(1) { background: color-mix(in oklab, var(--primary), #fff 3%); }
.aiw-ring:nth-of-type(2) { background: color-mix(in oklab, var(--primary), #fff 6%); }
.aiw-ring:nth-of-type(3) { background: color-mix(in oklab, var(--primary), #fff 10%); }
/* Puzzle gap: a clearer light-up */
.pzl-glow { fill: rgb(255 255 255 / 0.32); }
.aiw-ring:nth-of-type(1) { background: color-mix(in oklab, var(--primary), #000 16%); }
.aiw-ring:nth-of-type(2) { background: color-mix(in oklab, var(--primary), #000 10%); }
.aiw-ring:nth-of-type(3) { background: color-mix(in oklab, var(--primary), #000 4%); }
/* AI card: rings in soft white over the teal (more white, less green). The grid stops at the outer ring, so it never shows inside. */
.aiw:has(.aiw-hub)::before {
  mask-image: radial-gradient(circle var(--aiw-r) at var(--aiw-cx) var(--aiw-cy), transparent calc(100% - 1px), #000 100%);
  -webkit-mask-image: radial-gradient(circle var(--aiw-r) at var(--aiw-cx) var(--aiw-cy), transparent calc(100% - 1px), #000 100%);
}
.aiw-ring { border-color: rgb(255 255 255 / 0.2); }
.aiw-ring:nth-of-type(1) { background: rgb(255 255 255 / 0.07); }
.aiw-ring:nth-of-type(2) { background: rgb(255 255 255 / 0.1); }
.aiw-ring:nth-of-type(3) { background: rgb(255 255 255 / 0.14); }

/* ---------------------------------------------------------
   Bento illustration: Website. Your site (a browser window) peeks up from the bottom; white tiles with people and
   dollar signs fan out above it in an arc, bigger in the middle, smaller and fainter at the edges. Soft white rings
   and the grid behind, like the AI card. The tiles float gently.
   --------------------------------------------------------- */
.wpk { --aiw-cy: 100cqh; --aiw-r: min(74cqh, 40cqw); --tile: clamp(30px, 19cqh, 50px); }
.wpk::before {   /* grid only outside the rings */
  mask-image: radial-gradient(circle calc(var(--aiw-r) * 1.18) at var(--aiw-cx) var(--aiw-cy), transparent calc(100% - 1px), #000 100%);
  -webkit-mask-image: radial-gradient(circle calc(var(--aiw-r) * 1.18) at var(--aiw-cx) var(--aiw-cy), transparent calc(100% - 1px), #000 100%);
}
.wpk .aiw-ring:nth-of-type(1) { --d: calc(var(--aiw-r) * 1.18); }
.wpk .aiw-ring:nth-of-type(2) { --d: calc(var(--aiw-r) * 0.92); }
.wpk .aiw-ring:nth-of-type(3) { --d: calc(var(--aiw-r) * 0.62); }
.wpk-tile {
  position: absolute;
  left: calc(var(--aiw-cx) + cos(calc(var(--t) * 1deg)) * var(--aiw-r) * var(--k));
  top: calc(var(--aiw-cy) - 6cqh - sin(calc(var(--t) * 1deg)) * var(--aiw-r) * var(--k));
  inline-size: calc(var(--tile) * var(--s)); aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 28%;
  background: #fff; color: var(--primary);
  box-shadow: 0 10px 22px -10px rgb(0 0 0 / 0.5), 0 0 0 4px rgb(255 255 255 / 0.08);
}
.wpk-tile.is-far { opacity: 0.45; }
.wpk-tile svg { inline-size: 56%; block-size: 56%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .wpk-tile { animation: wpk-float 4.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.55s); }
}
@keyframes wpk-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
/* the site, peeking up from the bottom edge */
.wpk-win {
  position: absolute; left: 50%; bottom: -10cqh; translate: -50% 0;
  inline-size: min(34cqw, 70cqh); block-size: 38cqh; container-type: size;
  display: grid; align-content: start; gap: 9cqh;
  background: #fff; border-radius: calc(10px * var(--r)); overflow: hidden;
  box-shadow: 0 -10px 30px -12px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(255 255 255 / 0.1);
}
.wpk-bar { display: flex; align-items: center; gap: 4cqw; block-size: 22cqh; padding-inline: 6%; background: color-mix(in oklab, var(--primary-50), #fff 30%); }
.wpk-bar i { inline-size: 8cqh; aspect-ratio: 1; border-radius: 50%; background: color-mix(in oklab, var(--ink) 18%, #fff); }
.wpk-bar span { flex: 1; block-size: 9cqh; margin-inline-start: 4%; border-radius: 99px; background: #fff; }
.wpk-h, .wpk-btn { margin-inline: 9%; border-radius: 99px; }
.wpk-h { block-size: 9cqh; inline-size: 60%; background: color-mix(in oklab, var(--ink) 20%, #fff); }
.wpk-h2 { inline-size: 42%; background: var(--ill-filler); }
.wpk-btn { block-size: 14cqh; inline-size: 30%; background: var(--primary-gradient); }
/* Website card, calmer: five smaller tiles, softer shadows, quieter rings */
.wpk { --tile: clamp(26px, 16cqh, 42px); }
.wpk-tile { box-shadow: 0 8px 16px -10px rgb(0 0 0 / 0.4); }
.wpk-tile svg { stroke-width: 1.8; }
.wpk .aiw-ring { border-color: rgb(255 255 255 / 0.12); }

/* ---------------------------------------------------------
   "Is this even worth it?" cards, same dark teal family.
   Become visible: a crowd of faint see-through circles; the three in front are the white circles used on the
   other cards, with teal 1, 2, 3 badges. They light up one after another.
   --------------------------------------------------------- */
.vis { --c: clamp(26px, 16cqh, 42px); }
.vis-c {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  inline-size: calc(var(--c) * var(--s)); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); color: rgb(255 255 255 / 0.45);
}
.vis-top {
  position: absolute; left: var(--x); top: 70%; translate: -50% -50%;
  inline-size: calc(var(--c) * 1.3); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--primary);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(255 255 255 / 0.1);
}
.vis-c svg, .vis-top svg { inline-size: 56%; block-size: 56%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vis-top b {
  position: absolute; top: -8%; right: -10%; inline-size: 42%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: #fff; font: 700 clamp(9px, 5.5cqh, 13px)/1 var(--font); box-shadow: 0 0 0 2px #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .vis-top { animation: vis-on 4.8s ease-out infinite; animation-delay: calc(var(--i) * 0.35s); }
}
@keyframes vis-on { 0% { opacity: 0.35; } 12%, 80% { opacity: 1; } 100% { opacity: 0.35; } }


/* typing: the text grows letter by letter, so the cursor follows it */
.ask-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .ask-type { clip-path: none; max-inline-size: 0; animation: ask-grow 6s steps(20, end) infinite; }
}
@keyframes ask-grow { 0%, 6% { max-inline-size: 0; } 40%, 88% { max-inline-size: 10.6em; } 100% { max-inline-size: 10.6em; } }

/* ---------------------------------------------------------
   Steady results: a clock in white on the dark teal. The minute hand turns at an even pace and a thin white arc
   fills around the rim with it; the hour hand creeps along. Calm and constant: steady.
   --------------------------------------------------------- */
.clk-svg { position: absolute; inset: 7cqh 0; inline-size: 100%; block-size: 86cqh; overflow: visible; }
.clk-face { fill: rgb(255 255 255 / 0.07); stroke: rgb(255 255 255 / 0.22); stroke-width: 1; }
.clk-track { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-width: 2.5; }
.clk-fill { fill: none; stroke: rgb(255 255 255 / 0.85); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 25; }
.clk-ticks { fill: none; stroke: rgb(255 255 255 / 0.8); stroke-width: 2; stroke-linecap: round; }
.clk-hour line { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.clk-min line { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.clk-hour, .clk-min { transform-box: view-box; transform-origin: 100px 100px; }
.clk-min { rotate: 270deg; } .clk-hour { rotate: 300deg; }
.clk-hub { fill: color-mix(in oklab, var(--primary), #000 30%); stroke: #fff; stroke-width: 2; }
.clk-hub-dot { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .clk-min { animation: clk-turn 8s linear infinite; }
  .clk-hour { animation: clk-turn 96s linear infinite; }
  .clk-fill { animation: clk-fill 8s linear infinite; }
}
@keyframes clk-turn { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes clk-fill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* Steady results: the clock sits on the bottom edge (top part visible); a thin second hand ticks once a second */
.clk-svg { inset: auto 0 0; block-size: 92cqh; }
.clk-hour { rotate: -60deg; } .clk-min { rotate: 60deg; }
.clk-sec line { stroke: color-mix(in oklab, var(--primary-50), #fff 20%); stroke-width: 1.4; stroke-linecap: round; }
.clk-sec { transform-box: view-box; transform-origin: 100px 100px; rotate: -30deg; }
@media (prefers-reduced-motion: no-preference) {
  .clk-min, .clk-hour { animation: none; }
  .clk-sec { animation: clk-tick 60s steps(60, end) infinite; }
}
@keyframes clk-tick { from { rotate: -30deg; } to { rotate: 330deg; } }

/* Website: smaller rings, the tiles move in with them */
.wpk { --aiw-r: min(60cqh, 33cqw); }

/* The new AI wave: one white wave across the card (two fainter ones beside it); the AI logos travel along it, left to right,
   rising and falling with the line. Sideways movement is linear, up and down follows a sine, so each logo stays on the wave. */
.wvf-svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; }
.wvf-line { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wvf-l0 { stroke: rgb(255 255 255 / 0.14); stroke-width: 1.2; }
.wvf-l1 { stroke: rgb(255 255 255 / 0.5); stroke-width: 2; }
.wvf-tile {
  position: absolute; inline-size: clamp(36px, 21cqh, 52px); aspect-ratio: 1; translate: -50% -50%;
  left: calc(14cqw + var(--i) * 24cqw);
  top: calc(52cqh - 12cqh * cos((26 + var(--i) * 24) / 62 * 360deg));
}
.wvf-chip {
  display: grid; place-items: center; inline-size: 100%; block-size: 100%; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45), 0 0 0 6px rgb(255 255 255 / 0.1);
}
.wvf-chip svg { inline-size: 46%; block-size: 46%; display: block; }
.wvf-chip--gpt, .wvf-chip--grok { color: #0d0d0d; }
@media (prefers-reduced-motion: no-preference) {
  .wvf-tile { left: -12cqw; top: 52cqh; animation: wvf-go 28s linear infinite; animation-delay: calc(var(--i) * -7s); }
  .wvf-chip { animation: wvf-ride 7s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate; animation-delay: calc(var(--i) * -7s); }
}
@keyframes wvf-go { from { transform: translateX(0); } to { transform: translateX(124cqw); } }
@keyframes wvf-ride { from { transform: translateY(-12cqh); } to { transform: translateY(12cqh); } }


/* Website: a soft ring spreads out from the site every few seconds, and the tiles float a little further */
.wpk-pulse {
  position: absolute; left: var(--aiw-cx); top: var(--aiw-cy); inline-size: calc(var(--aiw-r) * 2.36); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.45); opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .wpk-pulse { animation: wpk-pulse 5.2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; animation-delay: var(--d, 0s); }
  .wpk-tile { animation-name: wpk-float-2; }
}
@keyframes wpk-pulse { 0% { transform: scale(0.35); opacity: 0; } 20% { opacity: 0.7; } 100% { transform: scale(1); opacity: 0; } }
@keyframes wpk-float-2 { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
/* Website: a bigger browser */
.wpk-win { inline-size: min(44cqw, 92cqh); block-size: 46cqh; }
.wpk-tile { top: calc(var(--aiw-cy) - 24cqh - sin(calc(var(--t) * 1deg)) * var(--aiw-r) * var(--k)); }   /* tiles sit clear of it */

/* Become visible: people on a grid, linked by thin lines and fading toward the edges; your logo is the white tile in the
   middle with soft rings around it. A ring spreads out from it; the people stay still. */
.net { --g: min(30cqh, 19cqw); }
.aiw.net::before {   /* the card's grid becomes the lines that link the people */
  background-image:
    linear-gradient(to right, transparent calc(50% - 0.5px), rgb(255 255 255 / 0.1) calc(50% - 0.5px), rgb(255 255 255 / 0.1) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgb(255 255 255 / 0.1) calc(50% - 0.5px), rgb(255 255 255 / 0.1) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  background-size: var(--g) var(--g); background-position: 50% 50%;
  mask-image: radial-gradient(ellipse 60% 75% at 50% 50%, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 50%, #000 30%, transparent 95%);
}
.net-glow, .net-ring, .net-wave, .net-dot, .net-you { position: absolute; left: 50cqw; top: 50cqh; translate: -50% -50%; aspect-ratio: 1; }
.net-glow { inline-size: calc(var(--g) * 4.4); border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.05) 40%, transparent 68%); }
.net-ring { border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.1); }
.net-ring:nth-of-type(2) { inline-size: calc(var(--g) * 1.3); }
.net-ring:nth-of-type(3) { inline-size: calc(var(--g) * 2.1); border-color: rgb(255 255 255 / 0.08); }
.net-ring:nth-of-type(4) { inline-size: calc(var(--g) * 2.9); border-color: rgb(255 255 255 / 0.05); }
.net-wave { inline-size: calc(var(--g) * 1.42); border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.4); opacity: 0; }
.net-dot {
  left: calc(50cqw + var(--x) * var(--g)); top: calc(50cqh + var(--y) * var(--g));
  inline-size: calc(var(--g) * 0.52); display: grid; place-items: center; border-radius: 50%; opacity: var(--o);
  background: color-mix(in oklab, var(--primary) 84%, #fff); border: 1px solid rgb(255 255 255 / 0.22); color: rgb(255 255 255 / 0.7);
}
.net-dot svg { inline-size: 58%; block-size: 58%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.net-you {
  inline-size: calc(var(--g) * 0.62); display: grid; place-items: center; border-radius: 26%;
  background: #fff; color: var(--primary);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5), 0 0 0 6px rgb(255 255 255 / 0.12), 0 0 30px rgb(255 255 255 / 0.25);
}
.net-you .brand-mark { inline-size: 58%; block-size: 58%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .net-wave { animation: net-wave 4.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; animation-delay: var(--w, 0s); }
}
@keyframes net-wave { 0% { transform: scale(0.45); opacity: 0; } 20% { opacity: 0.6; } 100% { transform: scale(1); opacity: 0; } }

/* No grid on any of the illustration cards (owner's wish) */
.bento-media.ill.aiw::before { content: none; }

/* AI searches: quieter rings, thin outlines only, no filled discs */
.aiw:has(.aiw-hub) .aiw-ring { background: none; border-color: rgb(255 255 255 / 0.1); }
.aiw:has(.aiw-hub) .aiw-ring:nth-of-type(3) { display: none; }
.aiw:has(.aiw-hub) .aiw-line { background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.3) 35%, rgb(255 255 255 / 0.16)); }

/* Website: no rings; a thin white line runs from every tile to the site, the same lines as on the Citations card */
.wpk .aiw-ring { display: none; }
.wpk-line {
  position: absolute; left: var(--aiw-cx); top: calc(var(--aiw-cy) - 24cqh);
  inline-size: calc(var(--aiw-r) * var(--k)); block-size: 1.25px; transform-origin: 0 50%; rotate: calc(var(--t) * -1deg);
  background: rgb(255 255 255 / 0.4);
}

/* Website: a wider browser on every screen */
.wpk-win { inline-size: min(58cqw, 130cqh); }

/* No monthly ad budget: a fan of five dollar bills peeking up from the bottom edge, in the clock's colours: a see-through
   face with a thin light edge, and white for the mark in the middle. A bill is hidden where one in front covers it. */
.fan-svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; }
.fan-paper { fill: rgb(255 255 255 / 0.07); stroke: rgb(255 255 255 / 0.22); stroke-width: 1; }
.fan-inner { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-width: 1; }
.fan-seal { fill: none; stroke: rgb(255 255 255 / 0.8); stroke-width: 1.6; }
.fan-icon { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fan-dot { fill: rgb(255 255 255 / 0.5); }

/* Website: the tiles sit further out with more room between them */
.wpk { --aiw-r: min(66cqh, 38cqw); }

/* Bottom bar with a single button (audit page): it takes the full width */
@media (width < 768px) { .mobile-cta:has(> :only-child) { grid-template-columns: minmax(0, 1fr); } }
.mobile-cta:has(> :only-child) .btn svg { display: block; }   /* room for the arrow again */

/* ---------------------------------------------------------
   "You're booked" page (/booked): a calm confirmation at the top, the video to watch before the call, then questions.
   --------------------------------------------------------- */
body.page-booked .site-header .header-ctas .btn, body.page-booked .site-menu .menu-cta { visibility: hidden; }   /* nothing left to book; the space stays so the header keeps its shape */
.bkd-head { display: grid; justify-items: center; text-align: center; }
.bkd { --bkd-w: min(880px, calc((100svh - var(--header-h) - 7rem) * 16 / 9)); }   /* the video's own width: the boxes below match it */
.bkd h1 { max-inline-size: 20ch; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem); overflow-wrap: anywhere; }
.bkd .preview-stage { margin-block-start: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
/* Under the video: three cards in one column (the call, check your email, reschedule), all with the same type sizes:
   card title 17px/600, text 16px, small labels 14px muted, values 17px/600. */
.bkd-cards { display: grid; gap: 1.25rem; inline-size: 100%; max-inline-size: var(--bkd-w); margin: 1.25rem auto 0; padding: 0; list-style: none; }
.bkd-card {
  display: block; min-inline-size: 0; padding: 1.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.bkd-card-copy { display: grid; gap: 0.375rem; min-inline-size: 0; }
.bkd-card-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); }
.bkd-card-text { font-size: 1rem; line-height: 1.55; color: var(--text); }
.bkd-strong { color: var(--ink); font-weight: 400; overflow-wrap: anywhere; }   /* no bold inside the cards (owner's wish); only card titles carry weight */
.bkd-call { inline-size: 100%; max-inline-size: var(--bkd-w); margin: clamp(1.25rem, 1rem + 1.5vw, 2rem) auto 0; }   /* right under the video */
.bkd-call[hidden] { display: none; }
/* Meeting details: one row each. Label, a thin vertical line, then the value, all in one text size (16px). */
.bkd-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.bkd-rows > div { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); align-items: baseline; gap: 0.875rem; min-inline-size: 0; padding-block: 0.625rem; border-block-start: 1px solid var(--border); }
.bkd-rows > div:first-child { border-block-start: 0; padding-block-start: 0; }
.bkd-rows > div:last-child { padding-block-end: 0; }
.bkd-rows dt { font-size: 1rem; line-height: 1.4; color: var(--muted); border-inline-end: 1px solid var(--border-strong); }
.bkd-rows dd { margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.bkd-rows dd small { font: inherit; color: inherit; }   /* "Berlin time" reads like the time itself */
.bkd-contact .ct-label { font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.bkd-contact .ct-value { font-size: 1rem; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
}
/* Contact: the same card, with the WhatsApp and email rows inside it */
.bkd-contact { padding-block: 0.5rem; }
.bkd-contact { inline-size: 100%; max-inline-size: var(--bkd-w); margin: 1.25rem auto 0; }
.bkd-contact .bkd-card-text { margin-block-start: 0.375rem; }
.bkd-contact .ct-list { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.bkd-contact .ct-row { margin-inline: 0; padding-inline: 0; }
.bkd-contact .ct-list li:last-child .ct-row { margin-block-end: 0; padding-block-end: 0; }

/* Home, Before / after: the numbers panel is white with a thin edge like every other card (no grey fill) */
.ba-sheet { background: var(--surface); border: 1px solid var(--border); }

/* Tablet and desktop: the boxes are as wide as the video, so the details and the two contact rows sit two per line */
@media (width >= 720px) {
  .bkd-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
  .bkd-rows > div:nth-child(2) { border-block-start: 0; padding-block-start: 0; }
  .bkd-rows > div:nth-last-child(2) { padding-block-end: 0; }
  .bkd-contact .ct-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .bkd-contact .ct-list li { border-block-end: 0; }
}

/* No movement on any illustration card (owner's wish): everything rests in its still position */
.bento-media.ill, .bento-media.ill *, .bento-media.ill::before, .bento-media.ill::after, .bento-media.ill *::before, .bento-media.ill *::after { animation: none !important; }
.cit-lines .cit-pulse, .wpk-pulse, .net-wave { display: none; }
.wvf-tile {
  left: calc(14cqw + var(--i) * 24cqw);
  top: calc(52cqh - 12cqh * cos((26 + var(--i) * 24) / 62 * 360deg));
}

/* Audit page → What you get: taller picture area so a whole image fits (shown complete, never cropped),
   on the same brand gradient as the service cards on the homepage */
.audit-bento .bento-media { block-size: auto; aspect-ratio: 10 / 7; background: var(--primary-gradient); color: rgb(255 255 255 / 0.5); }
.audit-bento .bento-media img { object-fit: contain; padding: 4%; }

/* =========================================================
   Articles: fixes + two blocks (Conversation, Scrolling cards)
   ========================================================= */
/* Highlight number: only the number is big; bold words in its sentence stay the size of the sentence */
.blk-bigstat :is(p, div) strong, .art-body .blk-bigstat :is(p, div) strong { font: inherit; font-weight: 600; letter-spacing: inherit; line-height: inherit; color: inherit; }
/* Before / after: the caption sits centred under both images */
.art-body p.blk-caption { max-inline-size: none; }
/* Questions & answers: every question is its own card (like the site's FAQ), with its number inside the card */
.art-body .blk-faq { border: 0; }
.art-body .blk-faq details { padding: 0; }
.art-body .blk-faq summary { padding-inline: clamp(1rem, 0.8rem + 0.8vw, 1.375rem); }
.art-body .blk-faq .faq-answer { padding-inline: calc(clamp(1rem, 0.8rem + 0.8vw, 1.375rem) + 2.75rem) clamp(1rem, 0.8rem + 0.8vw, 1.375rem); }
.art-body .blk-faq .faq-answer > * { padding-inline: 0; }   /* the answer starts under the question's first letter */

/* ---------- Conversation: port of chatcn "Conversation" (21st.dev @aadixc0de/conversation) ----------
   A chat thread in a box: the author's messages are bubbles on the right with the author's picture,
   the other person's are plain text on the left with a neutral picture. Brand colours only. */
.blk-convo { --cv-border: var(--border); --cv-fill: var(--surface-2); --cv-card: var(--surface); --cv-fg: var(--ink); --cv-muted: var(--muted); --cv-r: calc(16px * var(--r, 1));
  position: relative; display: flex; flex-direction: column; min-block-size: 0; overflow: hidden; border: 1px solid var(--cv-border); border-radius: var(--cv-r); background: var(--surface); }
.blk-convo-view { flex: 1; min-block-size: 0; max-block-size: 24rem; overflow-y: auto; overflow-anchor: auto; outline: none; scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--ink) 14%, transparent) transparent; }
.blk-convo-view:hover { scrollbar-color: color-mix(in oklab, var(--ink) 20%, transparent) transparent; }
.blk-convo-view:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
@supports (animation-timeline: scroll()) {
  .blk-convo-view { -webkit-mask-size: 100% calc(100% + 24px); mask-size: 100% calc(100% + 24px); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: blk-convo-fade linear both; animation-timeline: scroll(self); animation-range: 0 48px; }
}
@keyframes blk-convo-fade {
  from { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24px); mask-image: linear-gradient(to bottom, transparent, #000 24px); -webkit-mask-position: 0 -24px; mask-position: 0 -24px; }
  to { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24px); mask-image: linear-gradient(to bottom, transparent, #000 24px); -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.blk-convo-content { display: flex; flex-direction: column; gap: 1.5rem; inline-size: 100%; max-inline-size: 720px; margin-inline: auto; padding: 1.25rem; }
.blk-convo[data-scrollable] .blk-convo-content { padding-block-end: 3.5rem; }   /* room for the "jump to latest" pill */
.blk-convo .blk-msg { position: relative; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; min-inline-size: 0; margin: 0; padding-inline: 2.25rem 0; }
.blk-convo .blk-msg[data-layout="bubble"] { align-items: flex-end; padding-inline: 0 2.25rem; }
.blk-convo .blk-msg[data-grouped] { margin-block-start: -1rem; }
.blk-convo .blk-msg-content { min-inline-size: 0; max-inline-size: none; margin: 0; overflow-wrap: anywhere; color: var(--cv-fg); font-size: 0.9375rem; line-height: 1.5rem; letter-spacing: -0.006em; }
.blk-convo .blk-msg[data-layout="flat"] .blk-msg-content { inline-size: 100%; max-inline-size: 68ch; text-wrap: pretty; }
.blk-convo .blk-msg[data-layout="bubble"] .blk-msg-content { max-inline-size: 80%; padding: 0.625rem 1rem; border-radius: var(--cv-r); background: var(--cv-fill); text-align: start; }
.blk-convo .blk-msg-av { position: absolute; inset-block-start: -2px; inset-inline-start: 0; display: block; inline-size: 28px; block-size: 28px; margin: 0; padding: 0; border: 0; border-radius: 50%; overflow: hidden; object-fit: cover; aspect-ratio: 1; background: var(--cv-fill); }
.blk-convo .blk-msg[data-layout="bubble"] .blk-msg-av { inset-block-start: 8px; inset-inline: auto 0; }
.blk-convo .blk-msg-av.is-default { color: color-mix(in oklab, var(--muted) 60%, var(--surface)); box-shadow: inset 0 0 0 1px var(--cv-border); }
.blk-convo .blk-msg-av :is(svg, img) { display: block; inline-size: 100%; block-size: 100%; border-radius: 50%; object-fit: cover; }
.blk-convo-jump { position: absolute; inset-inline: 0; inset-block-end: 1rem; z-index: 10; display: flex; align-items: center; inline-size: fit-content; block-size: 2rem; margin-inline: auto; padding: 0 0.5rem; border: 0; border-radius: 999px;
  background: var(--cv-card); color: var(--cv-muted); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 2px 4px -1px rgb(0 0 0 / 0.06), 0 8px 16px -4px rgb(0 0 0 / 0.08); font: 500 0.8125rem/1.25rem var(--font); cursor: pointer; user-select: none;
  pointer-events: none; opacity: 0; translate: 0 4px; transition: opacity 110ms cubic-bezier(0.23, 1, 0.32, 1), translate 110ms cubic-bezier(0.23, 1, 0.32, 1), color 150ms cubic-bezier(0.23, 1, 0.32, 1), scale 150ms cubic-bezier(0.23, 1, 0.32, 1); }
.blk-convo-jump[data-visible] { pointer-events: auto; opacity: 1; translate: 0 0; transition-duration: 150ms; }
.blk-convo-jump svg { flex-shrink: 0; inline-size: 1rem; block-size: 1rem; }
.blk-convo-jump:active { scale: 0.97; }
.blk-convo-jump:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .blk-convo-jump:hover { color: var(--cv-fg); } }
@media (pointer: coarse) { .blk-convo-jump::after { content: ""; position: absolute; inset: -6px; } }
@media (prefers-reduced-motion: reduce) { .blk-convo-jump { translate: none; transition-property: opacity; } .blk-convo-jump:active { scale: 1; } }

/* ---------- Scrolling cards: port of diceui "Scroller" (21st.dev @diceui/scroller) ----------
   The edges fade where there is more to scroll; arrows show on the sides that can still scroll. */
.blk-scroller-wrap { position: relative; inline-size: 100%; }
.blk-scroller { display: flex; gap: 0.625rem; margin: 0; padding: 1rem; list-style: none; outline-offset: 2px; }
.blk-scroller[data-orientation="horizontal"] { overflow-x: auto; }
.blk-scroller[data-orientation="vertical"] { flex-direction: column; block-size: 20rem; overflow-y: auto; }
.blk-scroller[data-top-scroll="true"] { -webkit-mask-image: linear-gradient(0deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); mask-image: linear-gradient(0deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); }
.blk-scroller[data-bottom-scroll="true"] { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); }
.blk-scroller[data-top-bottom-scroll="true"] { -webkit-mask-image: linear-gradient(#000, #000, transparent 0, #000 var(--scroll-shadow-size), #000 calc(100% - var(--scroll-shadow-size)), transparent); mask-image: linear-gradient(#000, #000, transparent 0, #000 var(--scroll-shadow-size), #000 calc(100% - var(--scroll-shadow-size)), transparent); }
.blk-scroller[data-left-scroll="true"] { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); }
.blk-scroller[data-right-scroll="true"] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--scroll-shadow-size)), transparent); }
.blk-scroller[data-left-right-scroll="true"] { -webkit-mask-image: linear-gradient(to right, #000, #000, transparent 0, #000 var(--scroll-shadow-size), #000 calc(100% - var(--scroll-shadow-size)), transparent); mask-image: linear-gradient(to right, #000, #000, transparent 0, #000 var(--scroll-shadow-size), #000 calc(100% - var(--scroll-shadow-size)), transparent); }
.blk-scroller > li { display: flex; flex: none; flex-direction: column; margin: 0; padding: 1rem; border-radius: calc(6px * var(--r, 1)); background: var(--surface-2); }
.blk-scroller[data-orientation="horizontal"] > li { inline-size: min(16rem, 78%); min-block-size: 10rem; }
.blk-scroller[data-orientation="vertical"] > li { min-block-size: 6rem; }
.blk-scroller > li > strong { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); }
.blk-scroller > li > span { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }
.blk-scroller-btn { position: absolute; z-index: 10; display: grid; place-items: center; inline-size: 1.5rem; block-size: 1.5rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: opacity 150ms ease-out; touch-action: none; }
.blk-scroller-btn[hidden] { display: none; }
.blk-scroller-btn svg { inline-size: 1rem; block-size: 1rem; opacity: 0.8; }
.blk-scroller-btn[data-direction="up"] { inset-block-start: 0.5rem; inset-inline-start: 50%; translate: -50% 0; }
.blk-scroller-btn[data-direction="down"] { inset-block-end: 0.5rem; inset-inline-start: 50%; translate: -50% 0; }
.blk-scroller-btn[data-direction="left"] { inset-block-start: 50%; inset-inline-start: 0.5rem; translate: 0 -50%; }
.blk-scroller-btn[data-direction="right"] { inset-block-start: 50%; inset-inline-end: 0.5rem; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) { .blk-scroller-btn:hover svg { opacity: 1; } }
:is(.blk-dress, .nb-body).o-arrows-none .blk-scroller-btn { display: none; }

/* ---------- Block colours: every block stays readable in every colour (Brand, Soft, Plain, Dark) ---------- */
/* Key takeaways / Pros & cons: the title strip and the marks follow the colour */
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) :is(.blk-takeaways, .blk-pc) > .blk-label { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.16); color: #fff; }
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) :is(.blk-takeaways, .blk-pc) li::before { color: rgb(255 255 255 / 0.9); }
.art-body :is(.blk-dress, .nb-body).blk-look-soft .blk-pc > .blk-label { background: none; }
.art-body :is(.blk-dress, .nb-body).blk-look-plain :is(.blk-takeaways, .blk-pc) > .blk-label { padding-inline: 0; background: none; }
.art-body :is(.blk-dress, .nb-body).blk-look-plain :is(.blk-takeaways, .blk-pc) > ul { padding-inline: 0; }
/* Steps: the colour goes on each step's card (the row itself has no box) */
.art-body :is(.blk-dress, .nb-body)[class*="blk-look-"] .blk-steps > li { padding: 0; border: 0; border-radius: 0; background: none; }
.art-body :is(.blk-dress, .nb-body).blk-look-brand .blk-steps > li > div { border-color: transparent; background: var(--primary-gradient); }
.art-body :is(.blk-dress, .nb-body).blk-look-dark .blk-steps > li > div { border-color: transparent; background: var(--secondary); }
.art-body :is(.blk-dress, .nb-body).blk-look-soft .blk-steps > li > div { border-color: color-mix(in oklab, var(--primary) 16%, transparent); background: var(--primary-50); }
.art-body :is(.blk-dress, .nb-body).blk-look-plain .blk-steps > li > div { padding-inline: 0; border-color: transparent; background: none; }
.art-body :is(.blk-dress, .nb-body).blk-look-brand .blk-steps .blk-step-n { border-color: transparent; background: var(--primary); color: #fff; }
.art-body :is(.blk-dress, .nb-body).blk-look-dark .blk-steps .blk-step-n { border-color: transparent; background: var(--secondary); color: #fff; }
/* Diagram: the last box (the result) stays highlighted on Soft, and readable on Plain */
.art-body :is(.blk-dress, .nb-body).blk-look-soft:not(.o-highlight-none) .blk-flow > li:is(.is-result, .nb-row:last-child:not(:only-child)) { border-color: transparent; background: var(--primary-gradient); }
.art-body :is(.blk-dress, .nb-body).blk-look-plain .blk-flow > li:is(.is-result, .nb-row:last-child:not(:only-child)) strong { color: var(--ink); }
.art-body :is(.blk-dress, .nb-body).blk-look-plain .blk-flow > li:is(.is-result, .nb-row:last-child:not(:only-child)) span { color: var(--muted); }
/* Questions & answers on Brand / Dark: see-through cards instead of white ones */
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) :is(.blk-faq details, .nb-faq .nb-row) { border-color: rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.08); box-shadow: none; }
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) :is(.blk-faq summary, .nb-faq .nb-row)::before { background: none; color: rgb(255 255 255 / 0.6); }
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-faq summary::after { color: rgb(255 255 255 / 0.8); }
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-faq .faq-answer :is(p, li) { color: rgb(255 255 255 / 0.82); }
.art-body :is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-faq details[open]:not(.is-closing) > summary::after { color: #fff; }

/* ---------- Block options: the ones that did nothing or broke the block ---------- */
/* Key takeaways markers: ticks (as it comes), dots or numbers */
.art-body :is(.blk-dress, .nb-body):is(.o-marker-ticks, .o-marker-dots, .o-marker-numbers) .blk-takeaways ul { padding-inline-start: 1.125rem; list-style: none; counter-reset: tk; }
.art-body :is(.blk-dress, .nb-body):is(.o-marker-ticks, .o-marker-dots, .o-marker-numbers) .blk-takeaways li { position: static; padding-inline-start: 0; counter-increment: tk; }
.art-body :is(.blk-dress, .nb-body).o-marker-ticks .blk-takeaways li::before { position: static; flex: none; inline-size: 0.95em; block-size: 0.95em; margin-block-start: 0.3em; border-radius: 0; background: currentColor; }
.art-body :is(.blk-dress, .nb-body).o-marker-dots .blk-takeaways li::before { content: ""; flex: none; inline-size: 0.375em; block-size: 0.375em; margin-block-start: 0.6em; margin-inline: 0.2875em; border-radius: 50%; background: currentColor; -webkit-mask: none; mask: none; }
.art-body :is(.blk-dress, .nb-body).o-marker-numbers .blk-takeaways li::before { content: counter(tk) "."; flex: none; inline-size: auto; block-size: auto; min-inline-size: 0.95em; margin: 0; background: none; -webkit-mask: none; mask: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.art-body :is(.blk-dress, .nb-body).o-marker-numbers .blk-takeaways li::marker { content: none; }
/* Highlight number, "Number on top": the number sits above its sentence */
.art-body :is(.blk-dress, .nb-body).o-layout-list .blk-bigstat { grid-template-columns: minmax(0, 1fr); }
.art-body :is(.blk-dress, .nb-body).o-layout-list.blk-align-center .blk-bigstat { justify-items: center; }
/* Steps without numbers: the cards take the full width, no connecting line */
.art-body :is(.blk-dress, .nb-body).blk-hide-numbers .blk-steps li { grid-template-columns: minmax(0, 1fr); }
.art-body :is(.blk-dress, .nb-body).blk-hide-numbers .blk-steps li::before { content: none; }
/* Copyable text without a title: Copy stays on the right */
.art-body :is(.blk-dress, .nb-body).blk-hide-title .blk-template figcaption { justify-content: flex-end; }
/* Before / after with options: the caption sits under the pictures, not on them */
.art-body .blk-dress > .blk-compare + .blk-caption { margin-block-start: 0.625rem; }
/* Image: the whole picture in its own shape (it used to be cut to 16:9); very tall ones are capped */
.art-body .blk-image img { aspect-ratio: auto; block-size: auto; max-block-size: 42rem; object-fit: contain; }
.art-body :is(.blk-dress, .nb-body).blk-look-soft.o-highlight-none .blk-flow > li:is(.is-result, .nb-row:last-child:not(:only-child)) { border-color: color-mix(in oklab, var(--primary) 16%, transparent); background: var(--primary-50); }
.art-body :is(.blk-dress, .nb-body).blk-look-soft.o-highlight-none .blk-flow > li:is(.is-result, .nb-row:last-child:not(:only-child)) strong { color: var(--ink); }
.art-body :is(.blk-dress, .nb-body).blk-look-soft.o-highlight-none .blk-flow > li:is(.is-result, .nb-row:last-child:not(:only-child)) span { color: var(--text); }

/* ---------- AI prompt: port of edwinvakayil "Code Block" (21st.dev) ----------
   The prompt as a Markdown file: filename tab, Copy, numbered lines, language and line count below.
   The whole prompt is in the page; three lines of text show, then a "…" row that shows three more per click. Copy gives the whole prompt.
   No hover effects (owner's wish). Brand colours only. */
.blk-prompt { --pr-line: color-mix(in oklab, var(--border) 80%, transparent); --pr-bg: var(--surface); --pr-muted: var(--surface-2);
  position: relative; margin-inline: 0; overflow: hidden; border: 1px solid var(--pr-line); border-radius: calc(12px * var(--r, 1)); background: var(--pr-bg);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 16px 40px -20px rgb(15 23 42 / 0.22); }
.blk-prompt-tabs { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0.375rem 0 0.625rem; border-block-end: 1px solid var(--pr-line);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--pr-muted) 70%, transparent), color-mix(in oklab, var(--pr-muted) 40%, transparent)); }
.blk-prompt-tab { position: relative; display: flex; align-items: center; gap: 0.5rem; min-inline-size: 0; margin-block-end: -1px; padding: 0.375rem 0.875rem; border: 1px solid var(--pr-line); border-block-end: 0; border-radius: calc(8px * var(--r, 1)) calc(8px * var(--r, 1)) 0 0; background: var(--pr-bg); }
.blk-prompt-tab > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: color-mix(in oklab, var(--ink) 80%, transparent); }
.blk-prompt-copy { display: flex; flex: none; align-items: center; gap: 0.375rem; block-size: 1.75rem; margin-block-end: 0.25rem; padding: 0 0.5rem; border: 0; border-radius: calc(6px * var(--r, 1)); background: none; color: var(--muted); font: 500 0.75rem/1 var(--font); cursor: pointer; transition: background-color 200ms ease-out, color 200ms ease-out, scale 120ms ease-out; }
.blk-prompt-copy:active { scale: 0.96; }
.blk-prompt-copy:focus-visible { outline: 2px solid color-mix(in oklab, var(--primary) 60%, transparent); outline-offset: 1px; }
.blk-prompt[data-copied] .blk-prompt-copy { background: color-mix(in oklab, var(--ok, #1f8a5b) 10%, transparent); color: var(--ok, #1f8a5b); }
.blk-prompt-ico { position: relative; inline-size: 0.875rem; block-size: 0.875rem; }
.blk-prompt-ico svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; transition: opacity 150ms ease-out, scale 150ms ease-out; }
.blk-prompt-ico svg + svg, .blk-prompt[data-copied] .blk-prompt-ico svg:first-child { opacity: 0; scale: 0.95; }
.blk-prompt[data-copied] .blk-prompt-ico svg + svg { opacity: 1; scale: 1; }
.blk-prompt-lbl { position: relative; }
.blk-prompt-lbl > span:first-child { visibility: hidden; }   /* keeps the width of the longer word, so the swap never shifts anything */
.blk-prompt-lbl > span + span { position: absolute; inset: 0; text-align: start; transition: opacity 200ms ease-out; }
.blk-prompt-lbl > span:last-child, .blk-prompt[data-copied] .blk-prompt-lbl > span:nth-child(2) { opacity: 0; }
.blk-prompt[data-copied] .blk-prompt-lbl > span:last-child { opacity: 1; }
.blk-prompt-body { position: relative; overflow: hidden; }
.blk-prompt pre { margin: 0; padding: 0.875rem 0; border: 0; border-radius: 0; background: none; font: 13px/1.5rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.blk-prompt code { display: block; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.blk-prompt-line { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; padding-inline-end: 1.25rem; }
/* the fold: every line is there, the box is only as tall as the lines shown so far (the script sets the exact height;
   --rows is the height before it has measured). "…" is a row of its own under it and shows three more lines per click. */
.blk-prompt-fold { position: relative; overflow: hidden; max-block-size: calc(0.875rem + var(--rows, 3) * 1.5rem); }
.blk-prompt-fold.is-ready { transition: max-block-size 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.blk-prompt-more { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; inline-size: 100%; margin: 0; padding: 0 1.25rem 0.625rem 0; border: 0; border-radius: 0; background: none; color: var(--ink); text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.blk-prompt-more[hidden] { display: none; }
.blk-prompt-more .blk-prompt-n { block-size: 1.75rem; }
.blk-prompt-dots { display: flex; align-items: center; gap: 5px; block-size: 1.75rem; }
.blk-prompt-dots i { flex: none; inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--ink); }   /* three clear dots, drawn (a typed … is too faint in this font) */
.blk-prompt-more:focus-visible { outline: 2px solid color-mix(in oklab, var(--primary) 60%, transparent); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .blk-prompt-fold.is-ready { transition: none; } }
.blk-prompt-full { display: none; }
.blk-prompt-n { padding-inline-end: 0.75rem; border-inline-end: 1px solid color-mix(in oklab, var(--border) 60%, transparent); color: color-mix(in oklab, var(--muted) 50%, transparent); font-size: 0.75rem; line-height: 1.5rem; text-align: end; font-variant-numeric: tabular-nums; user-select: none; }
.blk-prompt-t { min-inline-size: 0; }
.blk-prompt .tok-h { color: var(--primary); font-weight: 600; }
.blk-prompt .tok-m { color: var(--muted); }
.blk-prompt .tok-v { color: var(--primary); background: var(--primary-50); border-radius: 3px; }
.blk-prompt .tok-b { color: var(--ink); font-weight: 600; }
.blk-prompt-status { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.375rem 1rem; border-block-start: 1px solid var(--pr-line); background: color-mix(in oklab, var(--pr-muted) 60%, transparent); color: var(--muted); font-size: 11px; line-height: 1.5; text-align: start; }
.art-body .blk-prompt .blk-prompt-status { margin-block-start: 0; font-size: 11px; text-align: start; }
.blk-prompt-lang { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.blk-prompt-status > span:last-child { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .blk-prompt-copy, .blk-prompt-ico svg { transition: none; } .blk-prompt-copy:active { scale: 1; } }

/* ---------- "?" note in a sentence: port of educalvolpz "AI Citation" (21st.dev), a question mark where the number was ----------
   A small round "?" raised next to a word. Pointing at it, focusing it or tapping it opens a card that grows out of the "?":
   the site's name with a link (only when a link is set), a title and a short explanation. Brand colours only.
   The card is placed by assets/js/article-blocks.js (on the page itself, so no box around the text can cut it off). */
/* the "?" keeps its own shape wherever it sits (a table cell, a card, a number's label, a coloured box): the values that
   blocks set on every span inside them are pinned here. Its colours come from the text around it (a little lighter, with a
   faint fill and edge of the same colour), so it reads on white, on the soft tint and on the brand and dark boxes alike. */
.blk-q { position: relative; display: inline-block !important; vertical-align: super; margin: 0 !important; padding: 0 !important; border: 0; background: none; line-height: 1 !important; opacity: 1 !important; }
.blk-q-pill { position: relative; display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; block-size: 1rem; min-inline-size: 1rem; margin: 0 !important; padding: 0 0.25rem !important; border-radius: 999px;
  color: color-mix(in oklab, currentColor 74%, transparent) !important; border: 1px solid color-mix(in oklab, currentColor 30%, transparent) !important; background: color-mix(in oklab, currentColor 9%, transparent) !important;
  font: 500 10px/1 var(--font) !important; letter-spacing: 0; text-decoration: none; text-transform: none; cursor: pointer; appearance: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; transition: color 150ms ease-out, border-color 150ms ease-out; }
.blk-q-pill:empty::before { content: "?"; }
.blk-q-pill::after { content: ""; position: absolute; inset: -0.625rem -0.375rem; }   /* a finger-sized target around the small "?" */
.blk-q-pill[aria-expanded="true"] { color: inherit !important; }
@media (hover: hover) and (pointer: fine) { .blk-q-pill:hover { color: inherit !important; } }
.blk-q-pill:focus-visible { outline: 2px solid color-mix(in oklab, var(--primary) 60%, transparent); outline-offset: 2px; }
.blk-q-card { position: fixed; inset: 0 auto auto 0; z-index: 1200; display: block; box-sizing: border-box; inline-size: min(18rem, calc(100vw - 1rem)); padding: 0.75rem; border: 1px solid var(--border); border-radius: calc(12px * var(--r, 1)); background: var(--surface); color: var(--ink); font-family: var(--font); text-align: start;
  box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.1), 0 4px 6px -4px rgb(15 23 42 / 0.1);
  opacity: 0; transform: translateY(4px) scale(0.94); pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1), transform 250ms cubic-bezier(0.25, 1.1, 0.4, 1); }
.blk-q-card[data-side="bottom"] { transform: translateY(-4px) scale(0.94); }
.blk-q-card[data-open] { opacity: 1; transform: none; pointer-events: auto; }
.blk-q-src { display: flex; align-items: center; gap: 0.375rem; margin-block-end: 0.25rem; color: var(--muted); font-size: 0.75rem; line-height: 1rem; text-decoration: none; }
.blk-q-src:focus-visible { outline: 2px solid color-mix(in oklab, var(--primary) 60%, transparent); outline-offset: 2px; border-radius: 4px; }
.blk-q-fav { display: flex; flex: none; align-items: center; justify-content: center; inline-size: 0.875rem; block-size: 0.875rem; }
.blk-q-fav svg { inline-size: 11px; block-size: 11px; }
.blk-q-host { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blk-q-arrow { display: flex; flex: none; margin-inline-start: auto; }
.blk-q-arrow svg { inline-size: 12px; block-size: 12px; }
.blk-q-title { display: block; color: var(--ink); font-size: 0.875rem; font-weight: 500; line-height: 1.375; overflow-wrap: anywhere; }
.blk-q-text { display: block; margin-block-start: 0.25rem; color: var(--muted); font-size: 0.75rem; line-height: 1.625; overflow-wrap: anywhere; }
.blk-q-text:first-child { margin-block-start: 0; color: var(--text); }   /* an explanation without a title */
@media (prefers-reduced-motion: reduce) { .blk-q-card, .blk-q-card[data-side="bottom"] { transform: none; transition: none; } .blk-q-pill { transition: none; } }
/* rows with a mark in front (takeaways, pros and cons): the text is one piece next to the mark, whatever is inside it */
.blk-li { min-inline-size: 0; }
/* Highlight box: the coloured line is a short rounded bar inside the box (it was a hard strip, cut off by the round corners), and lighter */
.art-body .blk-callout { padding-inline-start: 1.75rem; }
.art-body .blk-callout::before { inset-block: 0.875rem; inset-inline-start: 0.75rem; inline-size: 3px; border-radius: 3px; background: color-mix(in oklab, var(--edge, var(--primary)) 50%, transparent); }
:is(.blk-dress, .nb-body):is(.blk-look-brand, .blk-look-dark) .blk-callout::before { background: rgb(255 255 255 / 0.4); }
/* Conversation: the other person's message is a bubble too (without a background it was hard to tell it is a message) */
.blk-convo .blk-msg[data-layout="flat"] .blk-msg-content { inline-size: auto; max-inline-size: 80%; padding: 0.625rem 1rem; border-radius: var(--cv-r); background: var(--cv-fill); }
.blk-convo .blk-msg[data-layout="flat"] .blk-msg-av { inset-block-start: 8px; }

/* Contact page and the home page's "Still have a question?" bar: the company logo only, no picture of the owner (owner's wish) */
.ct-photo .ct-logo--big { place-self: center; inline-size: 38%; aspect-ratio: 1; border-radius: 0; background: none; box-shadow: none; }
.ct-photo .ct-logo--big svg { inline-size: 100%; block-size: 100%; }
.ct-avatars .ct-logo, .ask-avatars .ct-logo { margin-inline-start: 0; }
/* Article header: name · date · reading time sit above the title; the title uses the column's width */
.art-head .art-meta { margin-block: 0 clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.art-head h1 { max-inline-size: none; text-wrap: balance; }

/* Articles page: one line above the newsletter fields (editable in Pages) */
.sub-title { margin-block-end: 0.875rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); text-align: center; text-wrap: balance; }

/* Newsletter card: the brand's own dark recipe (the same as booking, the audit band and the article banner), not the near-black one */
.news-card { background: var(--dark-bg); box-shadow: 0 2px 4px color-mix(in oklab, var(--ink) 6%, transparent), 0 30px 60px -20px color-mix(in oklab, var(--primary) 40%, transparent); }
.news-logo { stroke: #fff; opacity: 0.16; }

/* Booking: one question per step (four short questions, then the calendar, then name / email / phone one at a time) */
.bk-q { display: grid; align-content: start; gap: 0.75rem; max-inline-size: 34rem; }
.bk-form-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-block-size: 2rem; }
.bk-count { margin: 0 0 0 auto; font-size: 0.8125rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-q-step { display: grid; gap: 0.5rem; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.bk-q-title, .bk-form .bk-d-step > span:first-child {
  display: block; padding: 0; margin-block-end: 0.5rem;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink);
}
.bk-q-step > .bk-opt + .bk-opt { margin-block-start: 0.5rem; }   /* a fieldset is no grid in every browser: space the answers by hand */
.bk-select { position: relative; display: block; }
.bk-select select {
  appearance: none; inline-size: 100%; min-block-size: 52px; padding: 0.625rem 2.75rem 0.625rem 0.875rem;
  border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  font: 500 1rem var(--font); cursor: pointer; transition: border-color 150ms, box-shadow 150ms;
}
.bk-select select:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.bk-select svg { position: absolute; inset-inline-end: 0.875rem; inset-block-start: 50%; translate: 0 -50%; inline-size: 18px; block-size: 18px; color: var(--muted); pointer-events: none; }
.bk-opt {
  display: flex; align-items: center; gap: 0.75rem; min-block-size: 52px; padding: 0.625rem 0.875rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  font-size: 1rem; font-weight: 500; line-height: 1.35; cursor: pointer; touch-action: manipulation;
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out);
}
.bk-opt input {
  appearance: none; flex-shrink: 0; inline-size: 20px; block-size: 20px; margin: 0;
  border: 1.5px solid var(--border-strong); border-radius: 50%; background: var(--surface);
  transition: border-color 150ms var(--ease-out), border-width 150ms var(--ease-out);
}
.bk-opt input:checked { border: 6px solid var(--primary); }
.bk-opt input:focus { outline: none; }
.bk-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.bk-opt:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.bk-q .bk-msg { margin: 0; }
.bk-view-pick > .bk-pick-note { margin: 0; padding-block-end: 0; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.bk-q textarea {
  inline-size: 100%; min-block-size: 7rem; padding: 0.75rem 0.875rem; resize: vertical;
  border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  font: 400 1rem/1.5 var(--font); transition: border-color 150ms, box-shadow 150ms;
}
.bk-q textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.bk-view-pick > .bk-pick-head { padding-block-end: 0; }
.bk-view-pick > .bk-pick-head + .bk-pick-note { padding-block-start: 0.5rem; }
.bk-final { display: grid; align-content: start; gap: 0.75rem; max-inline-size: 34rem; }
.bk-card[data-step="confirm"] .bk-chosen { display: none; }   /* the last step says the day and time itself */

/* Numbered points: an empty line between one number and the next (owner's wish) */
:is(.art-body, .nb-body) > ol:not([class]):not([role="list"]) > li + li { margin-block-start: 1.75em; margin-block-start: 1lh; }
.art-body > ol:not([class]):not([role="list"]) > li > p { margin-block: 0; }
.art-body > ol:not([class]):not([role="list"]) > li > p + p { margin-block-start: 1.75em; margin-block-start: 1lh; }
/* "View all articles" is as wide as the banner above it */
.art-all .btn { inline-size: 100%; justify-content: center; }

/* "View all articles" (home, the booked page, under an article): the same look as "Get my free audit" in the phone's bottom bar,
   white, 56px tall, soft shadow, semibold (owner's wish). In a dark section it stays the see-through ghost button. */
.btn.posts-all:not([data-theme="dark"] *), .art-all .btn:not([data-theme="dark"] *) {
  min-block-size: 56px; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); border: 1px solid var(--border);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 6%, transparent), 0 4px 12px color-mix(in oklab, var(--ink) 8%, transparent);
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em;
}
.bk-need { justify-self: end; margin-block-start: -0.125rem; font-size: 0.8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-need.is-ok { color: var(--primary); }
.bk-noq { outline: none; }
.bk-noq .bk-note { margin: 0; }
.bk-noq .bk-submit { text-decoration: none; }

/* Article, "On this page" in a short window: the list follows what you read (main.js); where it is cut off it fades out, no scrollbar */
@media (width >= 1024px) {
  .art-side > .art-toc > ol { scrollbar-width: none; --toc-up: 0px; --toc-down: 0px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--toc-up), #000 calc(100% - var(--toc-down)), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 var(--toc-up), #000 calc(100% - var(--toc-down)), transparent); }
  .art-side > .art-toc > ol::-webkit-scrollbar { display: none; }
  .art-side > .art-toc > ol[data-up] { --toc-up: 1.5rem; }
  .art-side > .art-toc > ol[data-down] { --toc-down: 1.5rem; }
}
/* laptops: the sign-up card drops its drawing, so the list gets that room */
@media (width >= 1024px) and (height < 860px) { .art-side .art-news-art { display: none; } }

/* Header: both buttons on desktop and tablet (owner's wish). The audit button reads "Get my free ranking audit" where the
   row has room for it and "Get my free audit" where it hasn't. On phones the two buttons live in the bottom bar. */
.site-header.is-wide .header-cta--audit { display: inline-flex; }
.site-header.is-wide .header-cta { min-inline-size: 0; }   /* each button is as wide as its words, so two fit */
.header-cta--audit .hc-long { display: none; }
/* Room for the long name: on tablets below 900px (the nav is always behind the menu button there) and on wide screens.
   In between the nav row is full, or about to fold away, so the short name stays. */
@media (768px <= width < 900px), (width >= 1040px) {
  .header-cta--audit .hc-long { display: inline; }
  .header-cta--audit .hc-short { display: none; }
}
/* Tablet (the row with the menu button): the two buttons sit between the logo and the menu button */
@media (width >= 768px) {
  .site-header:not(.is-wide) .header-ctas { display: flex; align-items: center; gap: 0.5rem; margin-inline-start: auto; }
  .site-header:not(.is-wide) .header-cta { display: inline-flex; min-block-size: 40px; padding-inline: 1rem; font-size: 0.9375rem; white-space: nowrap; }
}

/* Picture caption: more air between the picture and its caption (owner's wish), in the writer too */
/* the space is inside the caption (padding): a gap above it would show the picture frame's grey as a band */
.art-body .blk-image figcaption { margin-block-start: 0; padding-block: 1rem; }
.nb-body .nb-media figcaption { margin-block-start: 1rem; }

/* Page builder only: the "+ Add category" button next to the categories on the Articles page */
.posts-cats button.posts-cat-add { border-style: dashed; border-color: var(--border-strong); background: none; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .posts-cats button.posts-cat-add:hover { border-color: var(--primary); color: var(--primary); background: none; } }

/* A picture dragged to its own width in the writer (--w, % of the text column). On phones it never gets smaller than 18rem (or the column). */
.art-body :is(.blk-image, .nb-media)[style*="--w"] { max-inline-size: var(--w); margin-inline: auto; }
@media (width < 640px) { .art-body .blk-image[style*="--w"] { max-inline-size: max(var(--w), min(100%, 18rem)); } }

/* A picture's place when it is narrower than the text: in the middle (default), on the left or on the right */
:is(.blk-dress, .nb-body).o-side-left :is(.blk-image, .nb-media) { margin-inline: 0 auto !important; }
:is(.blk-dress, .nb-body).o-side-right :is(.blk-image, .nb-media) { margin-inline: auto 0 !important; }

/* Articles page, the three pictures at the top: the front one casts its shadow only onto the two pictures behind it,
   where it overlaps them. Nothing above or below it (owner's wish). The shadow is a band inside each side picture, turned
   back upright so it runs along the front picture's edge, and cut off by the side picture's own shape. */
.art-fan-card--front { box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent); }
.art-fan-card--left, .art-fan-card--right { box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 6%, transparent); }   /* no drop shadow of their own: it showed under the front picture's bottom edge */
.art-fan-card--left::after, .art-fan-card--right::after {
  content: ""; position: absolute; inset-block: -40% 0; inline-size: 16%; pointer-events: none;
  /* The band starts a little way under the front picture (its first quarter is covered), so the front picture's rounded
     corner shows shadow behind it and not a light notch. Then a soft, short falloff. */
  --fan-shade: color-mix(in oklab, var(--ink) 24%, transparent) 0 25%, color-mix(in oklab, var(--ink) 11%, transparent) 42%, color-mix(in oklab, var(--ink) 4%, transparent) 68%, transparent;
}
.art-fan-card--left::after  { inset-inline-end: 58.8%; transform-origin: 100% 100%; rotate: 6deg;  background: linear-gradient(to left,  var(--fan-shade)); }
.art-fan-card--right::after { inset-inline-start: 58.8%; transform-origin: 0% 100%;  rotate: -6deg; background: linear-gradient(to right, var(--fan-shade)); }
@media (width < 900px) {
  .art-fan-card--left::after  { inset-inline-end: 68.3%; rotate: 5deg; }
  .art-fan-card--right::after { inset-inline-start: 68.3%; rotate: -5deg; }
}

/* Entrance: the three pictures move as one, in the same time and with the same curve. The front one is solid from
   the first frame and settles into place; the two behind it start hidden under it and fan out while it settles. */
@media (prefers-reduced-motion: no-preference) {
  .art-fan-card--front, .art-fan-card--left, .art-fan-card--right { animation-duration: 800ms; animation-delay: 0ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); animation-fill-mode: both; }
}
@keyframes art-fan-front { from { translate: 0 14px; scale: 0.97; } }
@keyframes art-fan-left  { from { translate: 40% -14%; rotate: 0deg; scale: 0.97; } }
@keyframes art-fan-right { from { translate: -40% -14%; rotate: 0deg; scale: 0.97; } }

/* Phones: moving between pages is one plain cross-fade. The header no longer travels as its own layer: on a phone it is
   measured anew on every page, and that layer made the change flicker. */
@media (width < 900px) { .site-header { view-transition-name: none; } }
/* Booking form: fields never trigger the phone's zoom (16px at least) */
.bk-q textarea, .bk-select select, .bk-field input { font-size: max(1rem, 16px); }

/* Booking form: a field that has the cursor only changes its line colour. No bright glow around it (owner's wish). */
.bk-form :is(input, textarea):focus, .bk-select select:focus-visible, .bk-q textarea:focus, .bk-cc:has(select:focus-visible) .bk-cc-face, .bk-form [aria-invalid="true"]:focus { box-shadow: none; }

/* Phones: the bar at the bottom is really gone while hidden, and a thin strip in the dark section's colour sits on the
   bottom edge while a dark section is there (see main.js): the browser's own bar area then matches the page. */
.mobile-cta[hidden] { display: none !important; }
.edge-tint { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 39; block-size: 6px; pointer-events: none; display: none; }
@media (width < 768px) { .edge-tint.is-on { display: block; } }

/* No line between the last section and the footer: the footer's faint top line is gone, and the footer starts one pixel
   early, so the page's white can never show through as a hairline while the booking card changes its height. */
.site-footer { border-block-start: 0; margin-block-start: -1px; position: relative; }
/* A video uploaded into an article: the browser's own player, with the article's corners */
.blk-video-file { display: block; margin-inline: auto; block-size: auto; max-inline-size: 100%; border-radius: calc(clamp(14px, 10px + 0.8vw, 20px) * var(--r)); background: var(--secondary-900); }
