/* ==========================================================================
   improveFX theme v0.1
   Tokens → base → layout → components → UI fragments → sections → motion
   Every section class maps 1:1 to an ACF Flexible Content layout later.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces: one warm ground, tone steps instead of lines */
  --ground: #F4F4F1;
  --tile: #EAEAE5;
  --tile-2: #DEDED8;
  --raised: #FFFFFF;

  /* Ink */
  --ink: #0A1430;
  --muted: #3E475C;

  /* Navy field (brand dark) */
  --navy: #0A1430;
  --navy-2: #111D42;
  --navy-3: #1A2A5A;
  --on-navy: #F3F5FA;
  --on-navy-muted: #AAB4CE;

  /* Accent: the logo blue, used on actions and one highlight per section */
  --blue: #2563EB;
  --blue-press: #1D4ED8;
  --blue-soft: #E0E8FC;
  --blue-ink: #1E3FAE;
  --on-blue: #FFFFFF;

  /* Nabhaya only */
  --teal: #0E7C72;
  --teal-press: #0A665E;
  --teal-soft: #D8EEEA;

  /* Status only */
  --green: #157A3C;
  --green-soft: #DDF0E3;
  --amber: #8F4808;
  --amber-soft: #F8E9D6;

  /* Lines live only inside UI fragments and tables */
  --ui-line: rgba(10, 20, 48, .09);
  --ui-line-dark: rgba(245, 244, 240, .10);

  /* Type */
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(56px, 8.4vw, 132px);
  --fs-h2: clamp(38px, 4.6vw, 72px);
  --fs-h3: clamp(22px, 1.75vw, 27px);
  --fs-lead: clamp(18px, 1.35vw, 21px);
  --fs-body: 17px;
  --fs-small: 14px;

  /* Shape */
  --r: 20px;
  --r-ui: 12px;
  --r-sm: 8px;
  --pill: 999px;

  /* Space */
  --gutter: clamp(16px, 2.6vw, 36px);
  --maxw: 1376px;
  --gap: 10px;
  --section: clamp(96px, 11vw, 168px);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 220ms;
  --t-mid: 420ms;
  --t-slow: 900ms;

  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.footer__office :focus-visible, .cta__side :focus-visible, .aband__copy :focus-visible:not(.aband__field *), .cband--blue :focus-visible, .cband--teal :focus-visible, .hb-nabhaya :focus-visible, .mega__feature--teal :focus-visible { outline-color: #fff; }
::selection { background: var(--blue); color: var(--on-blue); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* Type roles */
.t-display, .t-h2, .t-h3, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.035em;
  line-height: .98;
  text-wrap: balance;
}
.t-display { font-size: var(--fs-display); letter-spacing: -0.045em; line-height: .9; }
.t-h2 { font-size: var(--fs-h2); }
.t-h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; font-variation-settings: "opsz" 32; }
.t-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.t-body { font-size: var(--fs-body); }
.t-small { font-size: var(--fs-small); line-height: 1.5; }
.t-muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.field-navy { background: var(--navy); color: var(--on-navy); }
.field-tile { background: var(--tile); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head > h2 { grid-column: 1 / span 7; }
.section-head > p { grid-column: 9 / span 4; color: var(--muted); }
.field-navy .section-head > p { color: var(--on-navy-muted); }

/* ---------- 4. Components ---------- */

/* Buttons: one shape (pill), flat fills */
.btn {
  --btn-bg: var(--blue); --btn-fg: var(--on-blue); --btn-chip: rgba(255,255,255,.18); --btn-hover: var(--blue-press);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 6px 6px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--pill);
  font-family: var(--font-text); font-size: 16px; font-weight: 550; letter-spacing: -0.005em; line-height: 1;
  white-space: nowrap;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn .btn__chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-chip);
  transition: transform var(--t-mid) var(--ease-out);
}
.btn .btn__chip svg { width: 18px; height: 18px; }
.btn:hover { background: var(--btn-hover); }
.btn:hover .btn__chip { transform: rotate(-45deg); }
.btn:active { transform: scale(.97); }
.btn--plain { padding: 0 24px; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--ground); --btn-hover: var(--navy-3); --btn-chip: rgba(255,255,255,.14); }
.btn--soft { --btn-bg: var(--tile); --btn-fg: var(--ink); --btn-hover: var(--tile-2); --btn-chip: var(--raised); }
.btn--light { --btn-bg: var(--ground); --btn-fg: var(--ink); --btn-hover: #fff; --btn-chip: var(--blue); }
.btn--light .btn__chip { color: #fff; }
.btn--ghost-dark { --btn-bg: var(--navy-3); --btn-fg: var(--on-navy); --btn-hover: #24376f; --btn-chip: rgba(255,255,255,.12); }
.btn--teal { --btn-bg: var(--teal); --btn-hover: var(--teal-press); }
.btn--sm { min-height: 42px; padding: 4px 4px 4px 18px; font-size: 15px; }
.btn--sm .btn__chip { width: 34px; height: 34px; }
.btn--sm.btn--plain { padding: 0 18px; }

/* Text link with arrow */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 550; color: var(--blue-ink);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast) ease;
}
.link svg { flex: none; width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease-out); }
.link:hover { text-decoration-color: currentColor; }
.link:hover svg { transform: translateX(3px); }
.field-navy .link { color: #9DBBFF; }

/* Status marker: dot + word, no pill */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 550; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--green); }
.status--next { color: var(--blue-ink); }
.status--dev { color: var(--amber); }
.field-navy .status--live { color: #5ED38B; }
.field-navy .status--next { color: #9DBBFF; }
.field-navy .status--dev { color: #F2B266; }

/* Ratings */
.stars { display: inline-flex; gap: 2px; color: var(--blue); }
.stars svg { width: 15px; height: 15px; }

/* Form fields */
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-small); font-weight: 550; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 18px;
  background: var(--raised); color: var(--ink);
  border: 1.5px solid transparent; border-radius: 14px;
  font: inherit; font-size: 16px;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.textarea { min-height: 128px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #7A8195; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--tile-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); }
.field--error .input { border-color: #B91C1C; }
.field__hint { font-size: 13px; color: var(--muted); }
.field--error .field__hint { color: #B91C1C; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; background: var(--raised); border: 1.5px solid var(--tile-2); display: grid; place-items: center; margin: 0; transition: background-color var(--t-fast); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

/* Choice chips (form "what do you need") */
.choice { display: inline-flex; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); background: var(--raised); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.choice span:hover { background: var(--tile-2); }
.choice input:checked + span { background: var(--ink); color: var(--ground); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Icon tile (used sparingly, inside service lists only) */
.ico { width: 22px; height: 22px; flex: none; }

/* Tiles */
.tile { background: var(--tile); border-radius: var(--r); padding: clamp(22px, 2.2vw, 32px); position: relative; overflow: hidden; }
.tile--raised { background: var(--raised); }
.tile--navy { background: var(--navy); color: var(--on-navy); }
.tile--blue { background: var(--blue); color: var(--on-blue); }
.tile--teal { background: var(--teal); color: #fff; }
.tile--soft-blue { background: var(--blue-soft); }
.tile--soft-teal { background: var(--teal-soft); }

/* ---------- 5. Header + mega menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  transition: background-color var(--t-mid) ease;
}
.site-header.is-scrolled { background: var(--ground); }
.site-header__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: auto; }
.nav__item { position: static; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color var(--t-fast) ease;
}
.nav__link svg { width: 14px; height: 14px; transition: transform var(--t-mid) var(--ease-out); }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--tile); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-actions .phone { font-size: 15px; font-weight: 500; padding: 0 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--tile); place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }

.mega {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 6px);
  padding-inline: var(--gutter);
}
.nav__item.is-open .mega { display: block; animation: mega-in .38s var(--ease-out) both; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } }
.mega__panel {
  max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto;
  background: var(--raised); border-radius: 24px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(10, 20, 48, .25), 0 0 0 1px rgba(10, 20, 48, .04); /* taste-skill-ignore: mega menu overlay */
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 1.25fr; gap: 4px;
}
.mega__col { padding: 18px 16px 20px; border-radius: 16px; }
.mega__col h3 { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.mega__col h3 a:hover { color: var(--blue-ink); }
.mega__col ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.mega__col li a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted); transition: color var(--t-fast); }
.mega__col li a:hover { color: var(--blue-ink); }
.mega__feature { background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.mega__feature p { font-size: 15px; color: var(--on-navy-muted); }
.mega__feature strong { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; font-weight: 600; color: var(--on-navy); margin-bottom: 8px; line-height: 1.1; }

.mega__panel--tabs { grid-template-columns: 260px minmax(0, 1fr) 300px; gap: 12px; }
.mega__cats { list-style: none; padding: 6px; margin: 0; background: var(--ground); border-radius: 16px; display: grid; align-content: start; gap: 2px; }
.mega__cat { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color var(--t-fast), color var(--t-fast); }
.mega__cat::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: 0; transition: opacity var(--t-fast); }
.mega__cat:hover { color: var(--ink); }
.mega__cat.is-active { background: var(--raised); color: var(--ink); }
.mega__cat.is-active::after { opacity: 1; }
.mega__panes { padding: 18px 12px 12px; }
.mega__pane { display: none; flex-direction: column; gap: 14px; height: 100%; }
.mega__pane.is-active { display: flex; animation: rise .45s var(--ease-out) both; }
.mega__hub { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.025em; align-self: flex-start; }
.mega__hub svg { width: 20px; height: 20px; color: var(--blue); transition: transform var(--t-mid) var(--ease-out); }
.mega__hub:hover svg { transform: translateX(4px); }
.mega__links { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega__links a { display: block; padding: 14px 16px; border-radius: 14px; background: var(--ground); transition: background-color var(--t-fast); }
.mega__links a:hover { background: var(--blue-soft); }
.mega__links b { display: block; font-size: 15.5px; font-weight: 600; }
.mega__links span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.mega__stack { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.mega__panel--products { grid-template-columns: repeat(4, minmax(0, 1fr)) 1.2fr; }
.prod-link { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--ground); transition: background-color var(--t-fast); min-height: 168px; }
.prod-link:hover { background: var(--teal-soft); }
.prod-link strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.prod-link p { font-size: 14px; color: var(--muted); }
.prod-link .status { margin-top: auto; }
.mega__panel--simple { grid-template-columns: repeat(3, minmax(0, 1fr)) 1.2fr; max-width: 980px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--ground); display: flex; flex-direction: column; transform: translateY(-100%); transition: transform 600ms var(--ease-out); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); flex: none; }
.drawer__body { overflow-y: auto; padding: 8px var(--gutter) 32px; flex: 1; }
.drawer details { border-radius: 16px; background: var(--tile); margin-bottom: 6px; }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease-out); }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { list-style: none; padding: 0 20px 18px; display: grid; gap: 4px; }
.drawer details li a { display: block; padding: 8px 0; font-size: 16px; color: var(--muted); }
.drawer .drawer__link { display: block; padding: 18px 20px; border-radius: 16px; background: var(--tile); margin-bottom: 6px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.drawer__foot { padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 8px; flex: none; }
.drawer__foot .btn { justify-content: space-between; }

/* ---------- 6. UI fragments (data-ui) ---------- */
[data-ui] { font-family: var(--font-text); }
.ui { background: var(--raised); border-radius: var(--r-ui); color: var(--ink); font-size: 13.5px; line-height: 1.4; }
.ui--pad { padding: 16px; }
.ui__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ui__title { font-weight: 600; font-size: 14px; }
.ui__sub { color: var(--muted); font-size: 13px; }
.ui__big { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ui__delta { color: var(--green); font-weight: 600; font-size: 13px; }
.ui__rows { display: grid; }
.ui__row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--ui-line); font-size: 13px; } /* taste-skill-ignore: table rows inside UI fragment */
.ui__row:first-child { border-top: 0; }
.ui__pos { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 26px; text-align: right; }
.ui__up { color: var(--green); font-size: 13px; font-weight: 600; }
.ui__tag { font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-ink); }
.ui__tag--green { background: var(--green-soft); color: var(--green); }
.ui__tag--amber { background: var(--amber-soft); color: var(--amber); }
.ui__tag--teal { background: var(--teal-soft); color: var(--teal-press); }
.ui__bar { height: 8px; border-radius: 4px; background: var(--tile); overflow: hidden; }
.ui__bar i { display: block; height: 100%; border-radius: 4px; background: var(--blue); transform-origin: left; }
.ui__dots { display: flex; gap: 6px; }
.ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--tile-2); }
.ui--dark { background: var(--navy-2); color: var(--on-navy); }
.ui--dark .ui__sub { color: var(--on-navy-muted); }
.ui--dark .ui__row { border-color: var(--ui-line-dark); }
.ui--dark .ui__bar { background: var(--navy-3); }
.ui--dark .ui__bar i { background: #6F9BFF; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; background: var(--blue-soft); color: var(--blue-ink); }
.avatar--teal { background: var(--teal-soft); color: var(--teal); }
.avatar--lg { width: 44px; height: 44px; font-size: 15px; }

/* Browser frame */
.browser { background: var(--raised); border-radius: var(--r-ui); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--tile); }
.browser__url { flex: 1; background: var(--raised); border-radius: 6px; padding: 5px 10px; font-size: 13px; color: var(--muted); }

/* Phone frame */
.phone-ui { width: 100%; max-width: 230px; aspect-ratio: 9 / 18.5; background: var(--navy); border-radius: 34px; padding: 9px; }
.phone-ui__screen { width: 100%; height: 100%; background: var(--ground); border-radius: 26px; overflow: hidden; padding: 30px 12px 12px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.phone-ui__screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 62px; height: 16px; border-radius: 10px; background: var(--navy); transform: translateX(-50%); }

/* Score ring */
.ring { --v: 98; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--v) * 1%), var(--green-soft) 0); position: relative; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: score ring inside UI fragment */
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--raised); }
.ring span { position: relative; color: var(--green); }

/* Chart helpers */
.spark { width: 100%; height: auto; overflow: visible; }
.spark .area { fill: var(--blue-soft); }
.spark .line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark .dot { fill: var(--raised); stroke: var(--blue); stroke-width: 2.5; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.bars i { flex: 1; background: var(--tile); border-radius: 5px 5px 2px 2px; transform-origin: bottom; }
.bars i.is-hi { background: var(--blue); }

/* ---------- 7. Sections ---------- */

/* 7.1 Hero (layout: hero_board) */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.hero__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(8px, 1.5vw, 24px) clamp(0px, 2vw, 32px) 8px 0; }
.hero__copy h1 { font-size: var(--fs-display); letter-spacing: -0.05em; line-height: .88; }
.hero__copy h1 span { display: block; animation: rise .8s var(--ease-out) both; }
.hero__copy h1 span:nth-child(2) { animation-delay: 70ms; }
.hero__copy h1 span:nth-child(3) { animation-delay: 140ms; }
.hero__lead { max-width: 33em; margin-top: 32px; font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px; }
.proof-chip { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 16px; background: var(--tile); }
.proof-chip b { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-chip span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.proof-chip .stars svg { width: 12px; height: 12px; }
.proof-chip__logo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--raised); }
.proof-chip__logo img { width: 22px; height: 22px; object-fit: contain; }
.proof-chip--rating span:last-child { line-height: 1.5; }

.hero-board { grid-column: 7 / span 6; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: var(--gap); }
.hero-board .tile { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.hero-board__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero-board__cap strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.hero-board__cap span { font-size: 13px; opacity: .8; }
.hb-seo { grid-row: span 2; background: var(--blue-soft); }
.hb-seo .ui { flex: 1; display: flex; flex-direction: column; }
.hb-ads { background: var(--tile); }
.hb-build { background: var(--navy); color: var(--on-navy); }
.hb-nabhaya { grid-column: 1 / -1; background: var(--teal); color: #fff; flex-direction: row !important; align-items: stretch; }
.hb-nabhaya > div:first-child { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.hb-nabhaya .ui { flex: 1.25; }
.hb-nabhaya p { font-size: 15px; opacity: .92; max-width: 22em; }
.code-lines { font-family: var(--font-text); font-size: 13px; display: grid; gap: 7px; }
.code-lines div { display: flex; gap: 10px; align-items: center; color: var(--on-navy-muted); }
.code-lines div b { color: var(--on-navy); font-weight: 500; }
.code-lines svg { width: 15px; height: 15px; color: #5ED38B; flex: none; }
.code-lines--light div { color: var(--muted); }
.code-lines--light div b { color: var(--ink); font-weight: 600; }
.code-lines--light svg { color: var(--green); }

/* 7.2 Client strip (layout: logo_strip) */
.clients { padding-block: 8px clamp(64px, 8vw, 112px); }
.clients__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.clients__row h2 { grid-column: 1 / span 3; font-family: var(--font-text); font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--muted); }
.marquee { grid-column: 4 / span 9; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); } /* taste-skill-ignore: marquee edge fade mask */
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.logo-tile { width: 168px; height: 84px; flex: none; border-radius: 14px; background: var(--raised); display: grid; place-items: center; padding: 14px 20px; }
.logo-tile img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; mix-blend-mode: multiply; transition: filter var(--t-mid), opacity var(--t-mid); }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }

/* 7.3 Intro (layout: intro_columns) */
.intro__lead { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 48; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.025em; line-height: 1.16; max-width: 30em; text-wrap: pretty; }
.intro__lead em { font-style: normal; color: var(--muted); }
.intro__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); margin-top: clamp(48px, 6vw, 88px); }
.intro__cols h3 { font-family: var(--font-text); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; }
.intro__cols p { font-size: 16px; color: var(--muted); padding-right: 16px; }

/* 7.4 Services board (layout: services_board) */
.svc-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.svc { display: flex; flex-direction: column; gap: 24px; min-height: 560px; }
.svc--seo { grid-column: span 7; background: var(--blue-soft); }
.svc--mkt { grid-column: span 5; }
.svc--web { grid-column: span 4; }
.svc--app { grid-column: span 4; background: var(--tile); }
.svc--sw { grid-column: span 4; background: var(--navy); color: var(--on-navy); }
.svc__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.svc__top h3 { font-size: clamp(28px, 2.6vw, 40px); }
.svc__top h3 a:hover { color: var(--blue-ink); }
.svc--sw .svc__top h3 a:hover { color: #9DBBFF; }
.svc__top h3 a { display: inline-flex; align-items: center; gap: 10px; }
.svc__top h3 svg { width: .7em; height: .7em; color: var(--blue); transition: transform var(--t-mid) var(--ease-out); }
.svc--sw .svc__top h3 svg { color: #6F9BFF; }
.svc:hover .svc__top h3 svg { transform: translate(3px, -3px); }
.svc__desc { font-size: 16px; color: var(--muted); max-width: 34em; }
.svc--sw .svc__desc { color: var(--on-navy-muted); }
.svc__visual { flex: 1; display: flex; align-items: flex-end; min-height: 180px; }
.svc__list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.svc--web .svc__list, .svc--app .svc__list, .svc--sw .svc__list, .svc--sm .svc__list { grid-template-columns: 1fr; }
.svc__list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 15.5px; font-weight: 500; transition: color var(--t-fast); }
.svc__list a svg { width: 15px; height: 15px; opacity: 0; transform: translateX(-6px); transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out); }
.svc__list a:hover { color: var(--blue-ink); }
.svc--sw .svc__list a:hover { color: #9DBBFF; }
.svc__list a:hover svg { opacity: 1; transform: none; }

.svc--sm { grid-column: span 3; min-height: 0; gap: 18px; }
.svc--sm .svc__top h3 { font-size: clamp(24px, 2vw, 30px); }
.mini { padding: 14px; display: grid; gap: 6px; font-size: 13px; }
.mini > span { color: var(--muted); }
.mini > b { font-size: 15px; font-weight: 600; }
.tile--raised .mini { background: var(--ground); }
.mini--flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mini--flow svg { width: 14px; height: 14px; color: var(--muted); }
.mini--swatch { display: flex; align-items: center; gap: 6px; }
.mini--swatch i { width: 34px; height: 34px; border-radius: 8px; }
.mini--swatch span { margin-left: auto; font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink) !important; letter-spacing: -0.03em; line-height: 1; }

/* Fragments used inside service tiles */
.serp { width: 100%; display: grid; gap: 8px; }
.serp__q { display: flex; align-items: center; gap: 10px; background: var(--raised); border-radius: var(--pill); padding: 12px 18px; font-size: 14px; }
.serp__q svg { width: 16px; height: 16px; color: var(--muted); }
.serp__res { background: var(--raised); border-radius: var(--r-ui); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.serp__res.is-you { outline: 2px solid var(--blue); outline-offset: -2px; }
.serp__fav { width: 28px; height: 28px; border-radius: 8px; background: var(--tile); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.serp__res.is-you .serp__fav { background: var(--blue); color: #fff; }
.serp__res b { display: block; font-size: 14px; font-weight: 600; color: var(--blue-ink); }
.serp__res small { font-size: 12.5px; color: var(--muted); }
.serp__ai { background: var(--navy); color: var(--on-navy); border-radius: var(--r-ui); padding: 14px 16px; font-size: 13px; display: flex; gap: 12px; align-items: flex-start; }
.serp__ai svg { width: 18px; height: 18px; color: #9DBBFF; flex: none; margin-top: 1px; }
.serp__ai mark { background: none; color: #9DBBFF; font-weight: 600; }

.channels { width: 100%; display: grid; gap: 8px; }
.channel { background: var(--raised); border-radius: var(--r-ui); padding: 12px 14px; display: grid; grid-template-columns: 110px 1fr 56px; gap: 14px; align-items: center; font-size: 13.5px; }
.channel b { font-weight: 600; }
.channel .num { text-align: right; font-weight: 600; }

.app-pair { display: flex; gap: 14px; align-items: flex-end; justify-content: center; width: 100%; }
.app-pair .phone-ui { max-width: 150px; }
.app-pair .phone-ui:last-child { transform: translateY(-24px); }

/* 7.5 Products (layout: product_tabs) */
.products__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--gap); }
.ptab { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 16px; background: var(--tile); text-align: left; transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
.ptab:hover { background: var(--tile-2); }
.ptab[aria-selected="true"] { background: var(--teal); color: #fff; }
.ptab[aria-selected="true"] .status { color: #fff; }
.ptab__mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--raised); color: var(--teal); flex: none; }
.ptab__mark svg { width: 20px; height: 20px; }
.ptab strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ptab .status { font-size: 13px; }
.ppanel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.ppanel[hidden] { display: none; }
.ppanel__stage { grid-column: 1 / span 8; background: var(--teal-soft); border-radius: var(--r); padding: clamp(20px, 3vw, 44px); min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.ppanel__info { grid-column: 9 / span 4; background: var(--tile); border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.ppanel__info h3 { font-size: clamp(30px, 2.8vw, 42px); }
.ppanel__info p { color: var(--muted); font-size: 16px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.ticks svg { width: 20px; height: 20px; color: var(--teal); margin-top: 1px; }
.ticks--blue svg { color: var(--blue); }
.field-navy .ticks svg { color: #6F9BFF; }
.ppanel__info .btn { align-self: flex-start; margin-top: auto; }

/* Clinic app mock */
.app { width: 100%; background: var(--raised); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; min-height: 440px; }
.app__side { background: #0B3B37; color: #D8EEEA; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.app__logo { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; letter-spacing: -0.02em; margin: 0 8px 16px; }
.app__nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.app__nav svg { width: 16px; height: 16px; opacity: .8; }
.app__nav.is-on { background: rgba(255, 255, 255, .12); color: #fff; }
.app__main { padding: 20px; display: grid; gap: 14px; align-content: start; }
.app__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--ground); border-radius: 10px; padding: 12px 14px; }
.kpi small { display: block; font-size: 13px; color: var(--muted); }
.kpi b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.queue { display: grid; }
.queue__row { display: grid; grid-template-columns: 54px 30px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--ui-line); font-size: 13px; } /* taste-skill-ignore: table rows inside UI fragment */
.queue__row:first-child { border-top: 0; }
.queue__row time { font-variant-numeric: tabular-nums; color: var(--muted); }
.queue__row b { font-weight: 600; display: block; }
.queue__row small { color: var(--muted); }

/* 7.6 Process (layout: process_steps) on navy */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; list-style: none; padding: 0; }
.step { background: var(--navy-2); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 440px; }
.step h3 { font-size: var(--fs-h3); }
.step p { font-size: 15.5px; color: var(--on-navy-muted); }
.step .ui { margin-top: auto; }
.step__time { font-size: 13px; color: #9DBBFF; font-weight: 550; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(64px, 8vw, 120px); }
.figure { padding: 4px 0; }
.figure b { display: block; font-family: var(--font-display); font-size: clamp(56px, 6.4vw, 104px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.figure b sup { font-size: .45em; vertical-align: top; position: relative; top: .15em; margin-left: 2px; color: #6F9BFF; }
.figure span { display: block; margin-top: 14px; font-size: 16px; color: var(--on-navy-muted); max-width: 16em; }

/* 7.7 Industries (layout: sticky_list) */
.ind { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.ind__nav { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 28px; }
.ind__list { list-style: none; padding: 0; display: grid; gap: 2px; }
.ind__list a { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: var(--muted); transition: color var(--t-fast); }
.ind__list a::before { content: ""; width: 0; height: 3px; border-radius: 2px; background: var(--blue); transition: width var(--t-mid) var(--ease-out); }
.ind__list a:hover { color: var(--ink); }
.ind__list a.is-active { color: var(--ink); }
.ind__list a.is-active::before { width: 22px; }
.ind__panels { grid-column: 6 / span 7; display: grid; gap: var(--gap); }
.ind-card { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; min-height: 300px; }
.ind-card__text { display: flex; flex-direction: column; gap: 14px; }
.ind-card__text h3 { font-size: clamp(26px, 2.2vw, 34px); }
.ind-card__text p { font-size: 16px; color: var(--muted); }
.ind-card__text .link { margin-top: auto; }
.ind-card .ui { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }

/* 7.8 Comparison (layout: comparison_table) */
.compare { max-width: 1040px; margin-inline: auto; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: middle; }
.compare thead th { font-family: var(--font-text); font-size: 15px; font-weight: 600; color: var(--muted); padding-bottom: 14px; }
.compare thead th.is-us { background: var(--navy); color: var(--on-navy); border-radius: 16px 16px 0 0; }
.compare thead th.is-us img { height: 26px; width: auto; }
.compare tbody th { font-weight: 500; }
.compare tbody tr:nth-child(odd) th, .compare tbody tr:nth-child(odd) td:not(.is-us) { background: var(--tile); }
.compare tbody tr:nth-child(odd) th { border-radius: 12px 0 0 12px; }
.compare tbody tr:nth-child(odd) td:last-child:not(.is-us) { border-radius: 0 12px 12px 0; }
.compare td { width: 180px; text-align: center; }
.compare td.is-us { background: var(--navy); color: var(--on-navy); }
.compare tbody tr:last-child td.is-us { border-radius: 0 0 16px 16px; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.mark svg { width: 15px; height: 15px; }
.mark--yes { background: var(--blue); color: #fff; }
.mark--no { background: var(--tile-2); color: var(--muted); }
.mark--part { background: var(--amber-soft); color: var(--amber); }
.compare__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* 7.9 Testimonials (layout: testimonial_grid) */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.quote { display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.quote__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quote__metrics div { background: var(--raised); border-radius: 12px; padding: 12px 14px; }
.quote__metrics b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.quote__metrics span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__by > span:last-child { display: block; }
.quote__by b { display: block; font-size: 15px; font-weight: 600; }
.quote__by > span:last-child > span { display: block; font-size: 14px; color: var(--muted); }

/* 7.10 FAQ (layout: faq) */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 20px; padding-right: 24px; }
.faq__head p { color: var(--muted); }
.faq__list { grid-column: 6 / span 7; display: grid; gap: 8px; }
.qa { background: var(--tile); border-radius: 16px; transition: background-color var(--t-mid) ease, color var(--t-mid) ease; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; cursor: pointer; font-size: 19px; font-weight: 550; letter-spacing: -0.01em; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa__pm { position: relative; width: 18px; height: 18px; flex: none; }
.qa__pm::before, .qa__pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: currentColor; transition: transform var(--t-mid) var(--ease-out); }
.qa__pm::after { transform: rotate(90deg); }
.qa[open] { background: var(--navy); color: var(--on-navy); }
.qa[open] .qa__pm::after { transform: rotate(0deg); }
.qa__a { padding: 0 24px 24px; max-width: 60ch; color: var(--on-navy-muted); font-size: 16.5px; }
.qa summary:hover .qa__pm { color: var(--blue); }
.qa[open] summary:hover .qa__pm { color: #9DBBFF; }

/* 7.11 CTA (layout: cta_board) */

/* 7.12 Footer (layout: global footer) */
.site-footer { background: var(--navy); color: var(--on-navy); padding-top: clamp(72px, 8vw, 120px); overflow: hidden; }
.footer__contact { display: grid; gap: 10px; font-size: 15px; color: var(--on-navy-muted); }
.footer__contact > a, .footer__contact > span, .footer__contact > .copy-email { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #9DBBFF; }
.footer__contact a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a:hover { color: #fff; }
.socials { display: flex; gap: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-2); color: var(--on-navy); transition: background-color var(--t-fast); }
.socials a:hover { background: var(--blue); }
.socials svg { width: 17px; height: 17px; }

/* ---------- 7b. Inner page layouts ---------- */
.t-h2.is-long { font-size: clamp(30px, 3.3vw, 52px); letter-spacing: -0.03em; line-height: 1.02; }
.section-head > h2.is-long { grid-column: 1 / span 8; }
.slist__head h2.is-long, .faq__head h2.is-long, .ind__nav h2.is-long { font-size: clamp(28px, 2.6vw, 42px); }

/* Shared bits */
.section-head__side { grid-column: 9 / span 4; display: grid; gap: 14px; justify-items: start; color: var(--muted); }
.field-navy .section-head__side { color: var(--on-navy-muted); }
.section-head--center { display: block; text-align: center; max-width: 860px; margin-inline: auto; }
.section-head--center .section-head__side { justify-items: center; margin-top: 20px; }
.section-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link--on-dark { color: #fff; }
.nav__link[data-current] { background: var(--tile); }
.mega__feature--teal { background: var(--teal); }
.mega__feature--teal p { color: #fff; }
.mega__feature--teal .btn__chip { background: var(--teal); }
.menu-toggle.is-close { display: grid; }
.prose a:not(.btn), .ftile__text a, .slist__row p a, .tmedia__text p a, .trio__card p a, .rel p a, .qa__a a, .phero__intro a, .intro__cols p a, .msplit__text p a, .value p a, .card__body p a, .ind-card__text p a, .plans__note a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.field-navy .qa__a a, .qa[open] .qa__a a, .tile--navy a:not(.btn):not(.link) { color: #9DBBFF; }

/* UI fragment helpers used by the library */
.ui__row--2 { grid-template-columns: 1fr auto; }
.ui__row--bar { grid-template-columns: 112px 1fr 48px; }
.queue__row--mini { grid-template-columns: 48px 1fr auto; }
.queue__row--lab { grid-template-columns: 74px 1fr auto; }
.queue__row--rx { grid-template-columns: 1fr auto auto; }
.browser__rings { display: flex; gap: 10px; justify-content: space-between; padding: 16px 14px; background: var(--ground); }
.browser__rings > div { text-align: center; }
.browser { width: 100%; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; font-size: 13px; }
.slots span { padding: 7px; text-align: center; }
.slots .is-on, .slots--3 .is-on, .week .is-on { background: var(--blue); color: #fff; }
.slots--3 { grid-template-columns: repeat(3, 1fr); }
.bk__card { display: grid; gap: 2px; padding: 10px; font-size: 13px; line-height: 1.3; }
.bk__teal { color: var(--teal); }
.bk .slots .is-on, .bk .phone-ui__cta { background: var(--teal); }
.bk__done { background: var(--teal-soft); }
.bk__big { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
.bk__note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.bk__note svg { width: 14px; height: 14px; flex: none; color: var(--teal); }
.phone-ui__cta { margin-top: auto; padding: 9px; text-align: center; background: var(--ink); color: #fff; font-size: 13px; border-radius: 20px; }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.flow svg { width: 14px; height: 14px; color: var(--muted); }
.swatchrow { display: flex; align-items: center; gap: 6px; }
.swatchrow i { width: 38px; height: 38px; border-radius: 9px; }
.swatchrow span { margin-left: auto; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.roadmap { display: grid; gap: 10px; }
.roadmap .ui__sub { margin-bottom: 5px; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; text-align: center; font-size: 13px; }
.week .kpi { padding: 10px 0; }
.bars--navy i { background: var(--navy-3); }
.bars--navy i.is-hi { background: #6F9BFF; }
.channel--flat { background: var(--ground); grid-template-columns: 96px 1fr 48px; }
.serp__q--flat, .serp__res--flat { background: var(--ground); }
.tile--raised .ui:where(:not(.ui--dark, .is-on, .phone-ui__cta)), .phero__visual .ui:where(:not(.ui--dark, .is-on, .phone-ui__cta)) { background: var(--raised); }

/* Page hero (layout: page_hero) */
.phero { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(48px, 6vw, 88px); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tile-2); }
.crumbs a:hover { color: var(--blue-ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.phero__copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 24px; padding-right: clamp(0px, 3vw, 48px); }
.phero__copy h1 { font-size: clamp(38px, 4.3vw, 66px); letter-spacing: -0.04em; line-height: 1; }
.phero--text .phero__copy { grid-column: 1 / span 10; }
.phero--text .phero__copy h1 { font-size: clamp(42px, 5.6vw, 88px); }
.phero__intro { display: grid; gap: 14px; font-size: var(--fs-lead); max-width: 40em; }
.phero__meta { font-size: 15px; color: var(--muted); }
.phero .hero__actions { margin-top: 4px; }
.phero .hero__proof { margin-top: 8px; }
.phero__visual { grid-column: 8 / span 5; border-radius: var(--r); overflow: hidden; display: flex; }
.phero__visual > div { width: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 2.6vw, 40px); }
.phero__visual--blue { background: var(--blue-soft); }
.phero__visual--teal { background: var(--teal-soft); }
.phero__visual--photo > div { padding: 0; }
.phero__visual--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.phero__visual .serp, .phero__visual .channels, .phero__visual .ui, .phero__visual .browser, .phero__visual .app-pair { width: 100%; }
.phero__visual .app { min-height: 380px; grid-template-columns: 140px 1fr; }
.phero__visual .app__main { padding: 16px; }
.phero__visual .queue__row { grid-template-columns: 44px 1fr auto; }
.phero__visual .queue__row .avatar { display: none; }
.phero__visual .queue__row--rx, .ppanel__stage .queue__row--rx { grid-template-columns: 1fr auto; }
.phero__visual .queue__row--rx .num { display: none; }
.phero__visual .queue__row--lab { grid-template-columns: 64px 1fr auto; }
.phero--article .phero__copy h1 { font-size: clamp(36px, 4vw, 60px); }
.phero .status { align-self: flex-start; }

/* Feature tiles (layout: feature_tiles) */
.ftiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.ftiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ftile { display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.ftile h3 { font-size: clamp(24px, 2.2vw, 34px); max-width: 16em; }
.ftile__text { display: grid; gap: 12px; font-size: 16.5px; margin-top: auto; max-width: 42em; }
.ftile:not(.tile--navy) .ftile__text { color: var(--muted); }
.tile--navy .ftile__text { color: var(--on-navy-muted); }
.ftile__img img { max-height: 72px; width: auto; }

/* Split list (layout: split_list) */
.slist { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.slist__head h2 { font-size: clamp(32px, 3.2vw, 50px); }
.slist__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; justify-items: start; padding-right: clamp(0px, 3vw, 48px); }
.slist__head p { color: var(--muted); }
.slist__rows { grid-column: 6 / span 7; display: grid; gap: var(--gap); }
.slist__row { background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2.2vw, 32px); display: grid; gap: 18px; }
.slist__row > div { display: grid; gap: 10px; }
.slist__row h3 { font-size: clamp(22px, 1.9vw, 28px); }
.slist__row p { color: var(--muted); font-size: 16.5px; }
.slist__img { background: var(--blue-soft); border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 6; display: grid; place-items: center; }
.slist__img img { width: 100%; height: 100%; object-fit: contain; }

/* CTA band (layout: cta_band) */
.section--band { padding-block: clamp(24px, 3vw, 40px); }
.cband { background: var(--navy); color: var(--on-navy); border-radius: var(--r); padding: clamp(32px, 4.4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: end; }
.cband h2 { grid-column: 1 / span 6; font-size: clamp(34px, 3.8vw, 58px); }
.cband__side { grid-column: 8 / span 5; display: grid; gap: 22px; color: var(--on-navy-muted); font-size: 17px; }
.cband--teal { background: var(--teal); }
.cband--teal .cband__side { color: #fff; }
.cband--blue { background: var(--blue); }
.cband--blue .cband__side { color: rgba(255, 255, 255, .9); }
.cband--blue .btn--ghost-dark { --btn-bg: var(--blue-press); --btn-hover: var(--navy); }

/* Process steps extensions */
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--3 .step { min-height: 0; }
.step__bar { display: flex; gap: 4px; margin-bottom: 6px; }
.step__bar i { height: 4px; flex: 1; border-radius: 2px; background: var(--navy-3); }
.step__bar i.is-on { background: #6F9BFF; }
.step__list { list-style: none; padding: 0; margin-top: 6px; display: grid; gap: 8px; font-size: 15px; color: var(--on-navy); }
.step__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.step__list svg { width: 16px; height: 16px; color: #6F9BFF; margin-top: 3px; }
.step__out { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; color: #5ED38B; }
.step__out svg { width: 16px; height: 16px; }
.step > p + p { margin-top: -4px; }

/* Tabs with media (layout: tabs_media) */
.tmedia { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.tmedia__tabs { grid-column: 1 / span 4; display: grid; gap: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
.tmedia__tab { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; border-radius: 16px; background: var(--tile); font-size: 16.5px; font-weight: 550; line-height: 1.3; transition: background-color var(--t-fast), color var(--t-fast); }
.tmedia__tab svg { width: 18px; height: 18px; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out); }
.tmedia__tab:hover { background: var(--tile-2); }
.tmedia__tab[aria-selected="true"] { background: var(--navy); color: var(--on-navy); }
.tmedia__tab[aria-selected="true"] svg { opacity: 1; transform: none; color: #6F9BFF; }
.tmedia__panels { grid-column: 5 / span 8; }
.tmedia__panel { background: var(--tile); border-radius: var(--r); overflow: hidden; display: grid; }
.tmedia__panel[hidden] { display: none; }
.tmedia__img { background: var(--blue-soft); aspect-ratio: 16 / 8; display: grid; place-items: center; padding: 16px; }
.tmedia__img img { max-height: 100%; width: auto; object-fit: contain; }
.tmedia__text { padding: clamp(24px, 2.6vw, 40px); display: grid; gap: 14px; justify-items: start; }
.tmedia__text p { color: var(--muted); font-size: 16.5px; max-width: 46em; }
.field-tile .tmedia__tab, .field-tile .tmedia__panel { background: var(--raised); }

/* Card trio (layout: card_trio) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.trio__card { display: flex; flex-direction: column; gap: 14px; }
.trio__card p { color: var(--muted); font-size: 16px; }
.trio__card.tile--navy p { color: var(--on-navy-muted); }
.trio__img { margin: calc(-1 * clamp(22px, 2.2vw, 32px)) calc(-1 * clamp(22px, 2.2vw, 32px)) 8px; background: var(--blue-soft); aspect-ratio: 620 / 300; display: grid; place-items: center; overflow: hidden; }
.trio__card.tile--navy .trio__img { background: #DCE6FB; }
.trio__img img { width: 100%; height: 100%; object-fit: contain; }
.trio__card .link { margin-top: auto; }

/* Related (layout: related) */
.rel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.rel__lead { grid-column: 1 / span 5; grid-row: span 3; display: flex; flex-direction: column; gap: 16px; }
.rel__lead p { color: var(--on-navy-muted); }
.rel__lead .btn { margin-top: auto; align-self: flex-start; }
.rel__card { grid-column: 6 / span 7; display: grid; gap: 10px; }
.rel__card h3 a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: inherit !important; }
.rel__card h3 svg { width: .7em; height: .7em; color: var(--blue); transition: transform var(--t-mid) var(--ease-out); }
.rel__card:hover h3 svg { transform: translate(3px, -3px); }
.rel__card p { color: var(--muted); font-size: 16px; }
.rel--no-lead .rel__card { grid-column: span 4; }
.rel__card:only-child, .rel > .rel__card:first-child { grid-column: span 12; }

/* Child grid (layout: child_grid) */
.kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.kids--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kids--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kid { display: flex; flex-direction: column; gap: 16px; min-height: 340px; }
.kid h3 { font-size: clamp(26px, 2.3vw, 36px); }
.kid h3 a:hover { color: var(--blue-ink); }
.kid p { color: var(--muted); font-size: 16.5px; }
.kid__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* Media split (layout: media_split) */
.msplit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.msplit__text { grid-column: 1 / span 5; display: grid; gap: 22px; padding-right: clamp(0px, 2vw, 32px); }
.msplit__text p { color: var(--muted); }
.msplit__text p + p { margin-top: 12px; }
.field-navy .msplit__text p { color: var(--on-navy-muted); }
.msplit__media { grid-column: 7 / span 6; border-radius: var(--r); overflow: hidden; }
.msplit__media img { width: 100%; height: auto; display: block; }
.msplit__media--ui { background: var(--blue-soft); }
.msplit__media--ui > div { padding: clamp(20px, 3vw, 44px); }
.msplit__cap { font-size: 14px; color: var(--muted); padding: 12px 4px 0; }
.msplit--rev .msplit__text { grid-column: 8 / span 5; grid-row: 1; padding-right: 0; padding-left: clamp(0px, 2vw, 32px); }
.msplit--rev .msplit__media { grid-column: 1 / span 6; grid-row: 1; }

/* Stats band (layout: stats_band) */
.figures--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sband__h { margin-bottom: clamp(32px, 4vw, 56px); max-width: 18em; }
.figures--band { margin-top: 0; }

/* Value grid (layout: value_grid) */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.values--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { background: var(--tile); border-radius: var(--r); padding: clamp(22px, 2.2vw, 32px); display: grid; gap: 10px; align-content: start; }
.field-tile .value { background: var(--raised); }
.value.tile--soft-blue { background: var(--blue-soft); }
.value h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.value p { color: var(--muted); font-size: 16px; }

/* Team (layout: team_grid) */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.person { padding: 0; display: flex; flex-direction: column; }
.person__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.03); }
.person__body { padding: clamp(22px, 2.2vw, 30px); display: grid; gap: 10px; }
.person__role { font-weight: 550; color: var(--blue-ink); font-size: 15px; }
.person__body p:not(.person__role) { color: var(--muted); font-size: 15.5px; }
.avatar--xl { width: 96px; height: 96px; font-size: 30px; margin: 28px 28px 0; }

/* Cards (layout: card_list) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cards--post { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--role { grid-template-columns: 1fr; }
.card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__body h3 a:hover { color: var(--blue-ink); }
.card__meta { font-size: 14px; color: var(--muted); }
.card__body > p:not(.card__meta) { color: var(--muted); font-size: 16px; }
.card__body .link { margin-top: auto; }
.cards--role .card__body { display: grid; grid-template-columns: 1.2fr 2fr auto; align-items: center; gap: 12px 32px; }
.cards--role .card__body .link { margin-top: 0; }
.cards--case .quote__metrics div { background: var(--ground); }

/* Contact (layout: contact_block) */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.contact__form { grid-column: 1 / span 7; display: grid; gap: 18px; }
.contact__form > p { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .input, .form .textarea { background: var(--ground); }
.form .field--wide, .form fieldset { grid-column: 1 / -1; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: var(--fs-small); font-weight: 550; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.form .choice span { background: var(--ground); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__done { grid-column: 1 / -1; padding: 16px 18px; border-radius: 14px; background: var(--green-soft); color: var(--green); font-weight: 550; }
.contact__side { grid-column: 8 / span 5; display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact__lines { font-size: 16px; }
.contact__side > p { color: var(--on-navy-muted); }

/* Pricing (layout: pricing_table) */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { display: flex; flex-direction: column; gap: 12px; }
.plan__for { font-size: 15px; color: var(--muted); }
.plan--featured .plan__for, .plan--featured .plan__note { color: var(--on-navy-muted); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan__price b { font-family: var(--font-display); font-size: clamp(40px, 3.6vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { font-size: 15px; color: var(--muted); }
.plan--featured .plan__price span { color: var(--on-navy-muted); }
.plan__note { font-size: 14px; color: var(--muted); min-height: 1.5em; }
.plan .ticks { margin: 8px 0 12px; font-size: 15px; }
.plan .ticks svg { color: var(--teal); }
.plan--featured .ticks svg { color: #6FD6C8; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans__note { margin-top: 24px; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); max-width: 70em; }

/* Long-form text (layout: rich_text) */
.section--prose { padding-top: clamp(24px, 3vw, 48px); }
.prose-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.prose { grid-column: 3 / span 8; font-size: 17.5px; line-height: 1.7; }
.prose-wrap--toc .prose { grid-column: 5 / span 8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 2.4vw, 38px); margin-top: 2em; line-height: 1.1; }
.prose h3 { font-size: clamp(21px, 1.6vw, 25px); margin-top: 1.6em; letter-spacing: -0.02em; line-height: 1.2; }
.prose h4 { font-family: var(--font-text); font-size: 18px; font-weight: 600; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--blue-soft); border-radius: 16px; font-family: var(--font-display); font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; }
.prose figure img { border-radius: 14px; }
.table-wrap { overflow-x: auto; border-radius: 14px; background: var(--raised); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ui-line); } /* taste-skill-ignore: real data table */
.prose th { background: var(--tile); font-weight: 600; }
.toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 32px); background: var(--tile); border-radius: var(--r); padding: 22px; font-size: 14.5px; }
.toc__h { font-weight: 600; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; max-height: 60vh; overflow-y: auto; }
.toc a { display: block; padding: 5px 0; color: var(--muted); transition: color var(--t-fast); }
.toc a:hover, .toc a.is-active { color: var(--blue-ink); }

/* Section spacing when two light sections meet */
.section + .section:not(.field-tile):not(.field-navy):not(.section--band):not(.section--cta) { padding-top: calc(var(--section) * .55); }
.section--band + .section { padding-top: calc(var(--section) * .7); }

@media (max-width: 1180px) {
  .phero__copy, .phero__visual { grid-column: 1 / -1; padding-right: 0; }
  .phero__visual { margin-top: 12px; }
  .section-head__side { grid-column: 1 / span 8; }
  .slist__head { grid-column: 1 / -1; position: static; padding-right: 0; }
  .slist__rows { grid-column: 1 / -1; }
  .cband h2, .cband__side { grid-column: 1 / -1; }
  .tmedia__tabs { grid-column: 1 / -1; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmedia__panels { grid-column: 1 / -1; }
  .trio, .team, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel__lead, .rel__card { grid-column: 1 / -1; grid-row: auto; }
  .kids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msplit__text, .msplit__media, .msplit--rev .msplit__text, .msplit--rev .msplit__media { grid-column: 1 / -1; grid-row: auto; padding: 0; }
  .msplit { gap: 32px; }
  .values--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__form, .contact__side { grid-column: 1 / -1; position: static; }
  .plans, .plans--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose, .prose-wrap--toc .prose { grid-column: 1 / -1; }
  .toc { grid-column: 1 / -1; position: static; }
  .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .phero__copy h1 { font-size: clamp(32px, 9vw, 44px); }
  .phero--text .phero__copy h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .phero__visual--photo img { min-height: 220px; }
  .section-head__side, .section-head > h2.is-long { grid-column: 1 / -1; }
  .phero .hero__proof .proof-chip { flex: 1 1 100%; }
  .ftiles, .ftiles--3, .trio, .team, .cards, .cards--post, .kids, .kids--2, .values, .values--3, .plans, .plans--3, .steps--3 { grid-template-columns: 1fr; }
  .ftile { min-height: 0; }
  .tmedia__tabs { display: none; }
  .tmedia__panels { display: grid; gap: var(--gap); }
  .tmedia__panel[hidden] { display: grid; }
  .slist__img { aspect-ratio: 16 / 8; }
  .form { grid-template-columns: 1fr; }
  .cards--role .card__body { grid-template-columns: 1fr; }
  .kid { min-height: 0; }
  .prose { font-size: 17px; }
}

/* ---------- 7c. Interactive sections ---------- */

/* Founder spotlight (layout: founder_note) */
.founder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.founder__photo { grid-column: 1 / span 5; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #5B616B; }
.founder__photo > div, .founder__photo img { width: 100%; height: 100%; }
.founder__photo img { object-fit: cover; object-position: center 20%; }
.founder__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 24px 22px; color: #fff; background: linear-gradient(transparent, rgba(10, 20, 48, .82)); display: grid; gap: 2px; } /* taste-skill-ignore: neutral scrim for legibility over a photo */
.founder__photo figcaption b { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.founder__photo figcaption span { font-size: 15px; opacity: .85; }
.founder__text { grid-column: 7 / span 6; display: grid; gap: 24px; }
.founder__quote { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 48; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; letter-spacing: -0.02em; margin: 0; padding: 0; }
.founder__body { display: grid; gap: 14px; color: var(--muted); }
.field-navy .founder__body { color: var(--on-navy-muted); }
.founder__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; }
.founder__stats div { background: var(--tile); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column-reverse; gap: 4px; }
.field-tile .founder__stats div { background: var(--raised); }
.founder__stats dd { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.founder__stats dt { font-size: 14px; color: var(--muted); }
.founder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.founder__actions .link svg:first-child { width: 16px; height: 16px; }

/* Service finder (layout: service_finder) */
.finder__goal { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 16px; background: var(--raised); text-align: left; font-size: 16.5px; font-weight: 550; line-height: 1.3; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.finder__goal svg { width: 18px; height: 18px; flex: none; opacity: .35; transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out); }
.finder__goal:hover { background: var(--blue-soft); }
.finder__goal:hover svg { opacity: 1; transform: translateX(3px); }
.finder__goal[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.finder__goal[aria-selected="true"] svg { opacity: 1; color: #6F9BFF; }
.field-ground .finder__goal, .l-service-finder:not(.field-tile) .finder__goal { background: var(--tile); }
.finder__panel { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--raised); border-radius: var(--r); overflow: hidden; min-height: 460px; }
.finder__panel.is-entering .finder__stage > *, .finder__panel.is-entering .finder__info > * { animation: rise .6s var(--ease-out) both; animation-delay: var(--d, 0ms); }
.finder__stage { background: var(--blue-soft); padding: clamp(20px, 2.6vw, 36px); display: flex; align-items: center; }
.finder__stage > * { width: 100%; }
.finder__stage .app { min-height: 0; grid-template-columns: 1fr; }
.finder__stage .app__side { display: none; }
.finder__info { padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.finder__info p { color: var(--muted); font-size: 16.5px; }
.finder__links { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; }
.finder__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ground); font-weight: 550; font-size: 15.5px; transition: background-color var(--t-fast), color var(--t-fast); }
.finder__links a svg { width: 16px; height: 16px; color: var(--blue); transition: transform var(--t-mid) var(--ease-out); }
.finder__links a:hover { background: var(--blue-soft); color: var(--blue-ink); }
.finder__links a:hover svg { transform: translate(2px, -2px); }
.finder__info .btn { margin-top: auto; align-self: flex-start; }

/* Results (layout: results_showcase) */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.result { background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; transition: transform var(--t-mid) var(--ease-out); }
.field-ground .result, .l-results-showcase:not(.field-tile):not(.field-navy) .result { background: var(--tile); }
.result:hover { transform: translateY(-4px); }
.result--lead { background: var(--navy) !important; color: var(--on-navy); }
.result__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.result__logo { width: 88px; height: 44px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 6px 8px; flex: none; }
.result__logo img { max-height: 32px; width: auto; mix-blend-mode: multiply; }
.result__who b { display: block; font-size: 15px; font-weight: 600; }
.result__who span { display: block; font-size: 13.5px; color: var(--muted); }
.result--lead .result__who span { color: var(--on-navy-muted); }
.result__big { font-family: var(--font-display); font-size: clamp(56px, 5.6vw, 88px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--blue); }
.result--lead .result__big { color: #fff; }
.result__big-label { font-size: 15px; font-weight: 550; }
.result__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 14px; }
.result__more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 14px; }
.result__more div { background: var(--ground); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column-reverse; gap: 2px; }
.result--lead .result__more div { background: var(--navy-2); }
.result__more dd { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.result__more dt { font-size: 13px; color: var(--muted); line-height: 1.3; }
.result--lead .result__more dt { color: var(--on-navy-muted); }
.result .link { margin-top: auto; }

/* World map (layout: world_map) */
.wmap__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.wmap__head h2 { grid-column: 1 / span 6; }
.wmap__head > div { grid-column: 8 / span 5; color: var(--on-navy-muted); }
.wmap__stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.wmap__stats div { background: var(--navy-2); border-radius: 16px; padding: 14px 20px; display: flex; align-items: baseline; gap: 10px; }
.wmap__stats dd { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.wmap__stats dt { font-size: 14px; color: var(--on-navy-muted); }
.wmap__figure { position: relative; }
.wmap__figure svg { width: 100%; height: auto; overflow: visible; }
.wmap__land { stroke: #2A3D78; stroke-width: 5.4; stroke-linecap: round; fill: none; }
.wmap__arc { fill: none; stroke: #6F9BFF; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.wmap__figure.is-in .wmap__arc, .no-motion .wmap__arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-io); transition-delay: var(--d); }
.wmap__pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #6F9BFF; box-shadow: 0 0 0 4px rgba(111, 155, 255, .25); cursor: pointer; z-index: 2; } /* taste-skill-ignore: map marker halo */
.wmap__pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #6F9BFF; animation: pin-pulse 2.4s var(--ease-out) infinite; } /* taste-skill-ignore: map marker pulse */
.wmap__pin.is-hq { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); } /* taste-skill-ignore: map marker halo */
.wmap__pin.is-hq::after { border-color: #fff; }
@keyframes pin-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.wmap__tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 18px)); background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; width: max-content; max-width: 240px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out); } /* taste-skill-ignore: floating tooltip */
.wmap__tip b { display: block; font-size: 14px; }
.wmap__tip--r { transform: translate(calc(-100% + 24px), calc(-100% - 18px)); }
.wmap__tip--l { transform: translate(-24px, calc(-100% - 18px)); }
.wmap__pin:hover + .wmap__tip--r, .wmap__pin:focus-visible + .wmap__tip--r { transform: translate(calc(-100% + 24px), calc(-100% - 22px)); }
.wmap__pin:hover + .wmap__tip--l, .wmap__pin:focus-visible + .wmap__tip--l { transform: translate(-24px, calc(-100% - 22px)); }
.l-world-map { overflow-x: clip; }
.wmap__tip span { color: var(--muted); }
.wmap__pin:hover + .wmap__tip, .wmap__pin:focus-visible + .wmap__tip, .wmap__pin.is-hq + .wmap__tip { opacity: 1; transform: translate(-50%, calc(-100% - 22px)); }
.wmap__list { list-style: none; padding: 0; margin: clamp(24px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.wmap__list li { background: var(--navy-2); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; font-size: 14px; color: var(--on-navy-muted); }
.wmap__list li b { color: var(--on-navy); font-size: 15px; }
.wmap__list li.is-hq { background: var(--blue); color: #fff; }
.wmap__list li.is-hq b { color: #fff; }

/* Plan picker (layout: plan_picker) */
.picker { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.picker__controls { grid-column: 1 / span 6; display: grid; gap: 10px; align-content: start; }
.picker__range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; padding: 6px 4px 18px; }
.picker__range label { font-weight: 600; font-size: 17px; }
.picker__range output { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--teal); }
.picker__range input { grid-column: 1 / -1; width: 100%; accent-color: var(--teal); height: 28px; cursor: pointer; }
.picker__scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.picker__opt { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 14px; background: var(--ground); cursor: pointer; transition: background-color var(--t-fast); }
.picker__opt:hover { background: var(--teal-soft); }
.picker__opt input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); }
.picker__opt b { display: block; font-size: 16px; font-weight: 600; }
.picker__opt small { display: block; font-size: 14px; color: var(--muted); }
.picker__result { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 12px; }
.picker__result h3 { font-size: clamp(26px, 2.4vw, 36px); }
.picker__result h3 span { color: #6FD6C8; }
.picker__price { display: flex; align-items: baseline; gap: 10px; }
.picker__price b { font-family: var(--font-display); font-size: clamp(48px, 4.6vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.picker__price span, .picker__note { color: var(--on-navy-muted); font-size: 15px; }
.picker__result .ticks { margin: 8px 0 16px; }
.picker__result .ticks svg { color: #6FD6C8; }
.picker__result .hero__actions { margin-top: auto; align-items: center; }
.picker__result.is-changing h3 span, .picker__result.is-changing .picker__price b { animation: rise .45s var(--ease-out) both; }

/* Leaders variant of the team grid */
.team--leaders { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.team--leaders .person:first-child { grid-column: 1 / span 5; grid-row: span 2; }
.team--leaders .person:first-child .person__photo { aspect-ratio: 4 / 5; }
.team--leaders .person:not(:first-child) { grid-column: 6 / span 7; flex-direction: row; }
.team--leaders .person:not(:first-child) .person__photo { flex: 0 0 38%; aspect-ratio: auto; }

/* Live interface motion */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.js .ring { background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--green-soft) 0); transition: --p 1.6s var(--ease-out); } /* taste-skill-ignore: score ring inside a UI fragment */
.js [data-anim].is-in .ring, .js .is-in .ring { --p: var(--v); }
.js .code-lines > div { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js .code-lines.is-in > div, .js .is-in .code-lines > div { opacity: 1; transform: none; }
.js .code-lines.is-in > div:nth-child(2), .js .is-in .code-lines > div:nth-child(2) { transition-delay: .45s; }
.js .code-lines.is-in > div:nth-child(3), .js .is-in .code-lines > div:nth-child(3) { transition-delay: .9s; }
.js .code-lines.is-in > div:nth-child(4), .js .is-in .code-lines > div:nth-child(4) { transition-delay: 1.35s; }
.serp__q.is-typing::after { content: ""; width: 2px; height: 1.1em; margin-left: 1px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.js .serp[data-type] > :not(.serp__q) { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.js .serp[data-type].is-typed > :not(.serp__q) { opacity: 1; transform: none; }
.js .serp[data-type].is-typed > :nth-child(3) { transition-delay: .25s; }
.js .serp[data-type].is-typed > :nth-child(4) { transition-delay: .5s; }
.flow .ui__tag { transition: background-color .35s ease, color .35s ease; }
.flow .ui__tag.is-on { background: var(--blue); color: #fff; }
.queue__row { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.queue__row.is-leaving { opacity: 0; transform: translateX(16px); }
.queue__row.is-new { animation: rise .5s var(--ease-out) both; }
.ui__tag.is-flip { animation: rise .4s var(--ease-out) both; }
.js .step__bar i.is-on { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.js .step.is-in .step__bar i.is-on { transform: none; }
.js .step.is-in .step__bar i:nth-child(2) { transition-delay: .1s; }
.js .step.is-in .step__bar i:nth-child(3) { transition-delay: .2s; }
.js .step.is-in .step__bar i:nth-child(4) { transition-delay: .3s; }
.js .step.is-in .step__bar i:nth-child(5) { transition-delay: .4s; }
.js .step.is-in .step__bar i:nth-child(6) { transition-delay: .5s; }
.hero-board { perspective: 1400px; }
.hero-board .tile { transition: transform .6s var(--ease-out); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; background: var(--blue); transform: scaleX(var(--read, 0)); transform-origin: left; pointer-events: none; }
.compare tbody tr .mark { transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.js .compare:not(.is-in) .mark--yes { transform: scale(.96); opacity: 0; }
.js .compare.is-in tbody tr:nth-child(2) .mark--yes { transition-delay: .08s; }
.js .compare.is-in tbody tr:nth-child(3) .mark--yes { transition-delay: .16s; }
.js .compare.is-in tbody tr:nth-child(4) .mark--yes { transition-delay: .24s; }
.js .compare.is-in tbody tr:nth-child(5) .mark--yes { transition-delay: .32s; }
.js .compare.is-in tbody tr:nth-child(6) .mark--yes { transition-delay: .4s; }

@media (max-width: 1180px) {
  .founder__photo { grid-column: 1 / span 5; }
  .founder__text { grid-column: 6 / span 7; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wmap__head h2, .wmap__head > div { grid-column: 1 / -1; }
  .wmap__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picker__controls, .picker__result { grid-column: 1 / -1; }
  .team--leaders .person:first-child, .team--leaders .person:not(:first-child) { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  .founder__photo, .founder__text { grid-column: 1 / -1; }
  .founder { row-gap: 28px; }
  .founder__photo { aspect-ratio: 4 / 4.4; }
  .founder__stats { grid-template-columns: 1fr 1fr 1fr; }
  .founder__stats dd { font-size: 26px; }
  .finder__panel { grid-template-columns: 1fr; min-height: 0; }
  .results { grid-template-columns: 1fr; }
  .wmap__list { grid-template-columns: 1fr 1fr; }
  .wmap__tip { display: none; }
  .wmap__land { stroke-width: 7; }
  .team--leaders .person:not(:first-child) { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .wmap__arc { stroke-dashoffset: 0; }
  .wmap__pin::after { display: none; }
  .js .serp[data-type] > :not(.serp__q), .js .code-lines > div, .js .step__bar i.is-on, .js .compare:not(.is-in) .mark--yes { opacity: 1; transform: none; }
  .js .ring { --p: var(--v); }
}

/* ---------- 7d. Service page components ---------- */

/* Byline (E-E-A-T) */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.byline__p { display: inline-flex; align-items: center; gap: 10px; }
.byline__p img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--tile); }
.byline a { color: var(--ink); font-weight: 600; }
.byline a:hover { color: var(--blue-ink); }
.byline__date { display: inline-flex; align-items: center; gap: 8px; }
.byline__date::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* At a glance (layout: answer_box) */
.section--glance { padding-top: 0; }
.glance { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.glance__main { grid-column: 1 / span 7; background: var(--blue-soft); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; align-content: start; }
.glance__h { font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.025em; line-height: 1.1; }
.glance__def { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 48; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty; }
.glance__list { list-style: none; padding: 0; display: grid; gap: 10px; }
.glance__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.glance__list svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.glance__facts { grid-column: 8 / span 5; margin: 0; display: grid; gap: var(--gap); align-content: stretch; }
.glance__facts div { background: var(--tile); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; align-content: center; }
.glance__facts dt { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.glance__facts dd { margin: 0; font-size: 16.5px; font-weight: 550; line-height: 1.4; }

/* Data table (layout: data_table) */
.dtable__scroll { overflow-x: auto; border-radius: var(--r); background: var(--raised); }
.dtable table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.dtable caption { caption-side: bottom; text-align: left; padding: 14px 4px 0; font-size: 14px; color: var(--muted); }
.dtable th, .dtable td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ui-line); } /* taste-skill-ignore: real data table */
.dtable thead th { background: var(--navy); color: var(--on-navy); font-size: 14.5px; font-weight: 600; }
.dtable thead th.is-hi { background: var(--blue); }
.dtable tbody th { font-weight: 600; width: 24%; }
.dtable td.is-hi { background: var(--blue-soft); font-weight: 550; }
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }
.dtable__note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 70em; }
.field-navy .dtable__note { color: var(--on-navy-muted); }

/* Service directory (layout: service_directory) */
.sdir { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.sdir__group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gap); }
.sdir__h { grid-column: 1 / span 3; font-size: clamp(22px, 1.8vw, 28px); padding-top: 14px; }
.sdir__list { grid-column: 4 / span 9; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.sdir__list a { position: relative; display: grid; gap: 4px; height: 100%; padding: 18px 44px 18px 20px; border-radius: 16px; background: var(--tile); transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.sdir__list a:hover { background: var(--blue-soft); transform: translateY(-2px); }
.sdir__list b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sdir__list span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.sdir__list svg { position: absolute; top: 18px; right: 16px; width: 16px; height: 16px; color: var(--blue); transition: transform var(--t-mid) var(--ease-out); }
.sdir__list a:hover svg { transform: translate(2px, -2px); }
.field-tile .sdir__list a { background: var(--raised); }

/* Tabs with a UI fragment instead of an image */
.tmedia__img--ui { padding: clamp(18px, 2.6vw, 36px); aspect-ratio: auto; min-height: 260px; }
.tmedia__img--ui > * { width: 100%; max-width: 520px; }

/* HTML sitemap (layout: site_index) */
.sitemap { columns: 3 300px; column-gap: var(--gap); }
.sitemap__block { break-inside: avoid; background: var(--tile); border-radius: var(--r); padding: 24px; margin-bottom: var(--gap); }
.sitemap__block h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 12px; }
.sitemap__block ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.sitemap__block a { display: block; padding: 5px 0; font-size: 15px; color: var(--muted); }
.sitemap__block a:hover { color: var(--blue-ink); }

/* Mega menu footer row */
.mega__stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }

@media (max-width: 1180px) {
  .glance__main, .glance__facts { grid-column: 1 / -1; }
  .glance__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sdir__h, .sdir__list { grid-column: 1 / -1; }
  .sdir__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .glance__facts, .sdir__list { grid-template-columns: 1fr; }
  .byline { gap: 10px 16px; }
}

/* ---------- 8. Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-shutter] { clip-path: inset(0 0 100% 0 round var(--r)); transition: clip-path 1.1s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-shutter] > * { transform: scale(1.06); transition: transform 1.4s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-shutter].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.js [data-shutter].is-in > * { transform: none; }
.js .bars i, .js .ui__bar i { transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .ui__bar i { transform: scaleX(0); }
.js .is-in .bars i { transform: scaleY(1); }
.js .is-in .ui__bar i { transform: scaleX(1); }
.js .spark .line { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.8s var(--ease-out) .3s; }
.js .is-in .spark .line { stroke-dashoffset: 0; }
.js .spark .area { opacity: 0; transition: opacity 1s ease .9s; }
.js .is-in .spark .area { opacity: 1; }
.ppanel.is-entering .ppanel__stage > *, .ppanel.is-entering .ppanel__info > * { animation: rise .7s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-shutter], .js [data-shutter] > * { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; }
}

/* ---------- 9. Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header-actions .phone, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .site-header__bar { justify-content: space-between; }
  .hero__copy { grid-column: 1 / -1; padding-right: 0; }
  .hero-board { grid-column: 1 / -1; margin-top: 16px; }
  .svc--seo, .svc--mkt { grid-column: span 12; }
  .svc--web, .svc--app, .svc--sw { grid-column: span 6; }
  .svc--sw { grid-column: span 12; }
  .svc--sm { grid-column: span 6; }
  .ppanel__stage { grid-column: 1 / -1; }
  .ppanel__info { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind__nav { grid-column: 1 / -1; position: static; }
  .ind__list { display: flex; flex-wrap: wrap; gap: 6px; }
  .ind__list a { font-size: 16px; padding: 10px 16px; border-radius: var(--pill); background: var(--tile); }
  .ind__list a::before { display: none; }
  .ind__list a.is-active { background: var(--ink); color: var(--ground); }
  .ind__panels { grid-column: 1 / -1; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__head { grid-column: 1 / -1; position: static; padding-right: 0; }
  .faq__list { grid-column: 1 / -1; }
  .section-head > h2 { grid-column: 1 / -1; }
  .section-head > p { grid-column: 1 / span 8; }
  .clients__row h2 { grid-column: 1 / -1; }
  .marquee { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gap: 8px; --header-h: 66px; --r: 18px; }
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .hero__copy h1 { font-size: clamp(60px, 21vw, 96px); }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero-board { grid-template-columns: 1fr 1fr; }
  .hb-seo { grid-column: 1 / -1; grid-row: auto; }
  .hb-nabhaya { flex-direction: column !important; }
  .hb-ads, .hb-build { grid-column: 1 / -1; }
  .intro__lead { font-size: 22px; }
  .queue__row { grid-template-columns: 48px 1fr auto; }
  .queue__row .avatar { display: none; }
  .t-h2 { font-size: clamp(32px, 9.4vw, 40px); }
  .proof-chip { flex: 1 1 calc(50% - 10px); }
  .intro__cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .intro__cols p { padding-right: 0; font-size: 15px; }
  .svc--web, .svc--app, .svc--sm { grid-column: span 12; }
  .svc { min-height: 0; }
  .svc__list { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi b { font-size: 20px; }
  .ppanel__stage { min-height: 0; padding: 12px; }
  .products__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .ptab { padding: 12px; gap: 10px; }
  .ptab__mark { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ind-card { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare th, .compare td { padding: 14px 12px; font-size: 15px; }
  .compare td { width: 76px; }
  .compare thead th.is-us img { height: 18px; }
  .section-head > p { grid-column: 1 / -1; }
  .channel { grid-template-columns: 84px 1fr 48px; }
}

/* ---------- 10. Homepage v0.3: conversion and interaction pass ---------- */

/* Buttons: a stretched button keeps its arrow at the far end */
.btn { justify-content: space-between; }
.btn--plain { justify-content: center; }
.mega__feature .btn { align-self: stretch; }
.founder__actions .hero__actions { margin-top: 0; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.hero__note svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* Intro: statement with its action beside it, then four reasons with icons */
.intro__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); align-items: end; }
.intro__top .intro__lead { grid-column: 1 / span 9; }
.intro__top .intro__btn { grid-column: 10 / span 3; justify-self: end; }
.intro__cols--icons { gap: var(--gap); }
.intro__col { display: flex; flex-direction: column; }
.intro__cols--icons .intro__col { background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2vw, 28px); gap: 10px; transition: transform var(--t-mid) var(--ease-out); }
.intro__cols--icons .intro__col:hover { transform: translateY(-4px); }
.intro__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 10px; transition: transform var(--t-mid) var(--ease-out); }
.intro__ico svg { width: 22px; height: 22px; }
.intro__col:hover .intro__ico { transform: rotate(-8deg); }
.intro__cols--icons h3 { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.02em; margin-bottom: 0; }
.intro__cols--icons p { padding-right: 0; font-size: 15.5px; }

/* Services board: every card carries a live fragment */
.svc__visual { align-items: center; }
.svc__top h3 a { display: inline; }
.svc__top h3 a svg { display: inline-block; margin-left: .18em; vertical-align: .02em; }
.svc__visual > * { width: 100%; }
.svc--sm .svc__desc { flex: 1; }
.svc--sm .svc__visual { flex: none; min-height: 0; height: 272px; align-items: stretch; }
.svc--sm .svc__visual > .ui { display: flex; flex-direction: column; }
.svc--sm.tile--raised .ui { background: var(--ground); }

.funnel__rows { display: grid; gap: 10px; }
.funnel__row { display: grid; grid-template-columns: 104px 1fr 28px; gap: 12px; align-items: center; font-size: 13.5px; }
.funnel__bar { height: 24px; border-radius: 6px; background: var(--navy-3); overflow: hidden; }
.funnel__bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: #6F9BFF; transform-origin: left; }
.funnel__row.is-won .funnel__bar i { background: #5ED38B; }
.funnel__row b { text-align: right; font-weight: 600; }
.funnel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ui-line-dark); font-size: 13px; color: var(--on-navy-muted); } /* taste-skill-ignore: row rule inside UI fragment */
.funnel__foot span { display: inline-flex; align-items: center; gap: 8px; }
.funnel__foot svg { width: 15px; height: 15px; color: #5ED38B; }
.funnel__foot b { color: #5ED38B; font-weight: 600; }
.js .funnel__bar i { transform: scaleX(0); transition: transform 1s var(--ease-out); }
.js .funnel.is-in .funnel__bar i { transform: none; }
.js .funnel.is-in .funnel__row:nth-child(2) i { transition-delay: .12s; }
.js .funnel.is-in .funnel__row:nth-child(3) i { transition-delay: .24s; }
.js .funnel.is-in .funnel__row:nth-child(4) i { transition-delay: .36s; }

.aichat { gap: 10px; padding: 14px; }
.aichat__asks { display: flex; flex-wrap: wrap; gap: 5px; }
.aichat__ask { font-size: 12.5px; font-weight: 550; line-height: 1.3; padding: 6px 10px; border-radius: 10px; background: var(--raised); color: var(--muted); text-align: left; transition: background-color var(--t-fast), color var(--t-fast); }
.aichat__ask:hover { background: var(--blue-soft); color: var(--blue-ink); }
.aichat__ask[aria-pressed="true"] { background: var(--ink); color: #fff; }
.aichat__reply { flex: 1; display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-content: start; background: var(--navy); color: var(--on-navy); border-radius: 10px; padding: 12px; }
.aichat__reply > svg { width: 16px; height: 16px; color: #9DBBFF; margin-top: 2px; }
.aichat__a { font-size: 13px; font-weight: 500; line-height: 1.4; margin-bottom: 10px; min-height: 2.8em; }
.aichat__a.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #9DBBFF; animation: caret 1s steps(1) infinite; }
.aichat__rows { display: grid; gap: 7px; transition: opacity .3s ease; }
.aichat__rows.is-hidden { opacity: 0; }
.aichat__row { display: grid; grid-template-columns: 62px 1fr 38px; gap: 8px; align-items: center; font-size: 12px; color: var(--on-navy-muted); }
.aichat__row b { color: #fff; text-align: right; font-weight: 600; }
.aichat .ui__bar { height: 6px; background: var(--navy-3); }
.aichat .ui__bar i { background: #6F9BFF; transition: width .7s var(--ease-out); }
.js .aichat__rows .ui__bar i { animation: barin .8s var(--ease-out) both; }
@keyframes barin { from { transform: scaleX(0); } }

.vflow { padding: 14px 16px; }
.vflow__steps { list-style: none; padding: 0; margin: 2px 0 0; display: grid; }
.vflow__steps li { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 13.5px; color: var(--muted); transition: color .3s ease; }
.vflow__steps li + li::before { content: ""; position: absolute; left: 12px; top: -9px; width: 2px; height: 18px; border-radius: 1px; background: var(--tile-2); transition: background-color .3s ease; }
.vflow__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: transparent; transition: background-color .3s ease, color .3s ease; }
.vflow__dot svg { width: 13px; height: 13px; }
.vflow__steps small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vflow__steps li.is-on { color: var(--ink); }
.vflow__steps li.is-on .vflow__dot { background: var(--green); color: #fff; }
.vflow__steps li.is-on::before { background: var(--green); }
.vflow__steps li.is-now .vflow__dot { background: var(--blue); color: #fff; }

.ccost { padding: 14px 16px; }
.ccost__seg { display: inline-flex; padding: 3px; border-radius: var(--pill); background: var(--tile); }
.tile--raised .ccost__seg, .svc--sm:not(.tile--raised) .ccost__seg { background: var(--ground); }
.ccost__seg button { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--pill); color: var(--muted); transition: background-color var(--t-fast), color var(--t-fast); }
.ccost__seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ccost__total { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 14px; }
.ccost__total b { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.ccost [data-after], .ccost.is-after [data-before] { display: none; }
.ccost.is-after [data-after] { display: inline; }
.ccost__total .ui__tag { transition: opacity .3s ease; }
.ccost:not(.is-after) .ccost__total .ui__tag { opacity: 0; }
.ccost__rows { display: grid; gap: 10px; }
.ccost__row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; font-size: 12.5px; }
.ccost__row .ui__bar { height: 10px; border-radius: 5px; }
.ccost__row .ui__bar i { width: var(--b); background: #8D96AC; transition: width .9s var(--ease-out), background-color .4s ease, transform 1s var(--ease-out); }
.ccost.is-after .ccost__row .ui__bar i { width: var(--a); background: var(--blue); }

.dcanvas { overflow: hidden; }
.dcanvas__bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--tile); font-size: 12px; }
.dcanvas__bar .ui__tag { margin-left: auto; font-size: 11.5px; padding: 2px 7px; }
.dcanvas__stage { position: relative; flex: 1; padding: 14px; background-color: var(--raised); background-image: radial-gradient(var(--tile-2) 1px, transparent 1.2px); background-size: 12px 12px; } /* taste-skill-ignore: canvas dot grid inside UI fragment */
.dcanvas__frame { display: grid; gap: 7px; justify-items: start; max-width: 190px; padding: 12px; border-radius: 10px; background: var(--raised); outline: 1.5px solid var(--acc); transition: outline-color .4s ease; }
.dcanvas__h { width: 72%; height: 10px; border-radius: 4px; background: var(--ink); }
.dcanvas__l { width: 92%; height: 6px; border-radius: 3px; background: var(--tile-2); }
.dcanvas__l--s { width: 62%; }
.dcanvas__btn { margin-top: 4px; padding: 6px 12px; border-radius: var(--pill); background: var(--acc); color: #fff; font-size: 11.5px; font-weight: 600; transition: background-color .4s ease; }
.dcanvas__cursor { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; color: var(--acc); pointer-events: none; animation: dcursor 7s var(--ease-io) infinite; transition: color .4s ease; }
.dcanvas__cursor svg { width: 16px; height: 16px; }
.dcanvas__cursor em { margin: 13px 0 0 -2px; padding: 2px 6px; border-radius: 5px; background: var(--acc); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 600; transition: background-color .4s ease; }
@keyframes dcursor { 0%, 100% { transform: translate(176px, 22px); } 30% { transform: translate(84px, 76px); } 45% { transform: translate(84px, 76px) scale(.92); } 70% { transform: translate(150px, 96px); } }
.dcanvas__swatches { display: flex; align-items: center; gap: 8px; padding: 10px; }
.dcanvas__swatches button { width: 26px; height: 26px; border-radius: 8px; background: var(--c); transition: transform var(--t-fast) var(--ease-out); }
.dcanvas__swatches button:hover { transform: scale(1.08); }
.dcanvas__swatches button[aria-pressed="true"] { outline: 2px solid var(--c); outline-offset: 2px; }
.dcanvas__swatches > span { margin-left: auto; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--acc); transition: color .4s ease; }

/* Service finder: pinned while scrolling on wide screens, tabs elsewhere */
.finder__pin { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.finder__goals { grid-column: 1 / span 4; display: grid; gap: 6px; }
.finder__panels { grid-column: 5 / span 8; display: grid; gap: var(--gap); }
.finder__goal { justify-content: flex-start; }
.finder__label { flex: 1; }
.finder__num { min-width: 22px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color var(--t-fast); }
.finder__goal[aria-selected="true"] .finder__num { color: #6F9BFF; }
.finder__goal-h { display: none; }
.finder__cue { display: none; }
html:not(.js) .finder__goals { display: none; }
html:not(.js) .finder__panels { grid-column: 1 / -1; }
html:not(.js) .finder__goal-h { display: block; font-weight: 600; color: var(--blue-ink); }
.js .finder:not(.is-pinned) .finder__panel:not(.is-active) { display: none; }
.finder.is-pinned .finder__pin { position: sticky; top: calc(var(--header-h) + 24px); }
.finder.is-pinned .finder__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(20px) scale(.985); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .45s; }
.finder.is-pinned .finder__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.finder.is-pinned .finder__goal { transition: background-color .35s ease, color .35s ease; }
.finder.is-pinned .finder__goal.is-done .finder__num { color: var(--blue); }
.finder.is-pinned .finder__cue { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.finder__rail { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--tile-2); overflow: hidden; }
.finder__rail i { display: block; height: 100%; border-radius: 2px; background: var(--blue); transform: scaleX(var(--fp, 0)); transform-origin: left; }
.finder__cue b { color: var(--ink); }
.finder__cue span:last-child { text-align: right; }

/* Results: a before and after chart for each percentage */
.result__chart { display: grid; gap: 14px; margin: 18px 0 4px; }
.result__bars { display: grid; gap: 8px; }
.result__bar { display: grid; grid-template-columns: 50px 1fr 76px; gap: 10px; align-items: center; font-size: 13px; }
.result__bar em { font-style: normal; color: var(--muted); }
.result__bar > span { height: 16px; border-radius: 8px; background: var(--ground); overflow: hidden; }
.result__bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: var(--tile-2); transition: width 1s var(--ease-out); }
.result__bar.is-after i { background: var(--blue); }
.result__bar b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--blue-ink); text-align: right; }
.js .result__chart:not(.is-in) .result__bar i { width: 0; }
.result__pick { display: flex; flex-wrap: wrap; gap: 6px; }
.result__chip { display: grid; gap: 1px; padding: 9px 12px; border-radius: 12px; background: var(--ground); color: var(--muted); font-size: 12.5px; line-height: 1.3; text-align: left; transition: background-color var(--t-fast), color var(--t-fast); }
.result__chip b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.result__chip:hover { background: var(--blue-soft); }
.result__chip[aria-pressed="true"] { background: var(--ink); color: rgba(255, 255, 255, .78); }
.result__chip[aria-pressed="true"] b { color: #fff; }
.result__only { font-size: 14px; color: var(--muted); }
.result__only b { color: var(--ink); font-weight: 650; }
.result--lead .result__bar em, .result--lead .result__only { color: var(--on-navy-muted); }
.result--lead .result__bar > span { background: var(--navy-2); }
.result--lead .result__bar i { background: var(--navy-3); }
.result--lead .result__bar.is-after i { background: #6F9BFF; }
.result--lead .result__bar b, .result--lead .result__only b { color: #fff; }
.result--lead .result__chip { background: var(--navy-2); color: var(--on-navy-muted); }
.result--lead .result__chip b { color: #fff; }
.result--lead .result__chip:hover { background: var(--navy-3); }
.result--lead .result__chip[aria-pressed="true"] { background: #fff; color: var(--muted); }
.result--lead .result__chip[aria-pressed="true"] b { color: var(--ink); }
.result__title { margin-top: 18px; }

/* Testimonials: a switchable spotlight beside the ratings */
.voices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.spot { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3vw, 44px); background: var(--navy); color: var(--on-navy); }
.spot__panels { flex: 1; display: grid; }
.spot__panel { display: flex; flex-direction: column; gap: 24px; }
html:not(.js) .spot__panel + .spot__panel { margin-top: 48px; }
.js .spot__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .45s; }
.js .spot__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.spot__quote { display: grid; gap: 18px; }
.spot .stars { color: #6F9BFF; }
.spot blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 31px); font-weight: 500; font-variation-settings: "opsz" 48; letter-spacing: -0.02em; line-height: 1.24; text-wrap: pretty; }
.spot .quote__metrics div { background: var(--navy-2); }
.spot .quote__metrics b { font-size: clamp(28px, 2.6vw, 40px); color: #fff; }
.spot .quote__metrics span { color: var(--on-navy-muted); font-size: 14px; }
.spot__by { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.spot__by .face { width: 56px; height: 56px; }
.spot__by b { display: block; font-size: 16.5px; font-weight: 600; }
.spot__by span span { display: block; font-size: 14.5px; color: var(--on-navy-muted); }
.spot__nav { display: flex; flex-wrap: wrap; gap: 6px; }
.spot__who { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: var(--pill); background: var(--navy-2); color: var(--on-navy-muted); font-size: 14.5px; font-weight: 550; transition: background-color var(--t-fast), color var(--t-fast); }
.spot__who .face { width: 36px; height: 36px; }
.spot__who:hover { background: var(--navy-3); color: #fff; }
.spot__who[aria-selected="true"] { background: #fff; color: var(--ink); }
.spot__who::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.spot.is-playing .spot__who[aria-selected="true"]::after { animation: spot-timer var(--rot-t, 7s) linear forwards; }
.spot__pause { margin-left: auto; width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy-2); color: var(--on-navy); transition: background-color var(--t-fast); }
.spot__pause:hover { background: var(--navy-3); }
.spot__pause svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.spot__pause svg + svg, .spot.is-stopped .spot__pause svg:first-child { display: none; }
.spot.is-stopped .spot__pause svg + svg { display: block; }
@keyframes spot-timer { to { transform: scaleX(1); } }
.face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 25%; flex: none; background: var(--tile); }
.face--ph { display: grid; place-items: center; overflow: hidden; background: #DCE4F6; color: #A7B6D9; }
.face--ph svg { width: 100%; height: 100%; fill: currentColor; }
.spot .face--ph { background: var(--navy-3); color: #51649A; }
.spot__who[aria-selected="true"] .face--ph { background: var(--blue-soft); color: #A7B6D9; }
.voices .rating-tile { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 36px); background: var(--blue); color: #fff; }
.rating-tile__h { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; font-variation-settings: "opsz" 32; }
.rating-tile__sum { display: flex; align-items: center; gap: 16px; }
.rating-tile__sum > b { font-family: var(--font-display); font-size: clamp(64px, 5.4vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: .85; }
.rating-tile__sum small { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; }
.rating-tile .stars { color: #fff; }
.rating-tile__list { list-style: none; padding: 0; margin-top: auto; display: grid; gap: 8px; }
.rating-tile__list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.rating-tile__logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; }
.rating-tile__logo img { width: 28px; height: 28px; object-fit: contain; }
.rating-tile__name b { display: block; font-size: 16px; font-weight: 600; }
.rating-tile__name small { font-size: 13px; }
.rating-tile__score { display: grid; justify-items: end; gap: 3px; }
.rating-tile__score .stars svg { width: 11px; height: 11px; }
.rating-tile__score strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.voices + .quotes { margin-top: var(--gap); }

/* Figures: each number with a picture of what it means */
.insights { margin-top: clamp(64px, 8vw, 120px); }
.insights__h { font-size: clamp(28px, 2.6vw, 40px); margin-bottom: clamp(20px, 2.4vw, 32px); }
.insights__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.insights__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insights__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.insight { min-width: 0; display: flex; flex-direction: column; gap: 8px; min-height: 320px; padding: clamp(20px, 2vw, 28px); border-radius: var(--r); background: var(--navy-2); transition: transform var(--t-mid) var(--ease-out); }
.insight:hover { transform: translateY(-4px); }
.insight__viz { min-height: 132px; display: flex; align-items: flex-end; }
.insight__viz > * { width: 100%; }
.insight > b { margin-top: auto; padding-top: 24px; font-family: var(--font-display); font-size: clamp(52px, 4.8vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; }
.insight > b sup { position: relative; top: .15em; margin-left: 2px; font-size: .45em; vertical-align: top; color: #6F9BFF; }
.insight > span { font-size: 15.5px; color: var(--on-navy-muted); }
.spark--dark .area { fill: rgba(111, 155, 255, .16); }
.spark--dark .line { stroke: #6F9BFF; }
.spark--dark .dot { fill: var(--navy-2); stroke: #6F9BFF; }
.insight .spark { height: 112px; }
.idots { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 4px; max-width: 236px; }
.idots i { aspect-ratio: 1; border-radius: 50%; background: #6F9BFF; }
.js .idots i { opacity: .16; transition: opacity .35s ease; transition-delay: calc(var(--k) * 6ms + 150ms); }
.js .is-in .idots i { opacity: 1; }
.ilogos { display: flex; align-items: center; }
.ilogos > span { width: 64px; height: 40px; margin-left: -10px; display: grid; place-items: center; padding: 6px 7px; border-radius: 10px; background: #fff; outline: 3px solid var(--navy-2); }
.ilogos > span:first-child { margin-left: 0; }
.ilogos img { max-height: 26px; width: auto; mix-blend-mode: multiply; }
.ilogos .ilogos__more { background: var(--blue); color: #fff; font-size: 14px; font-weight: 650; }
.js .ilogos > span { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--k) * 90ms + 150ms); }
.js .is-in .ilogos > span { opacity: 1; transform: none; }
.imonths > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.imonths i { height: 28px; border-radius: 4px; background: var(--navy-3); }
.imonths i.is-on { background: #6F9BFF; transform-origin: bottom; }
.js .imonths i.is-on { transform: scaleY(.15); transition: transform .5s var(--ease-out); transition-delay: calc(var(--k) * 35ms + 150ms); }
.js .is-in .imonths i.is-on { transform: none; }
.imonths small { display: block; margin-top: 10px; font-size: 13px; color: var(--on-navy-muted); }

/* Why choose us: bento of reasons */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.bento__card { display: flex; flex-direction: column; gap: 24px; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r); background: var(--tile); transition: transform var(--t-mid) var(--ease-out); }
.bento__card:hover { transform: translateY(-4px); }
.bento__text { display: grid; gap: 10px; align-content: start; }
.bento__text h3 { font-family: var(--font-display); font-size: clamp(21px, 1.7vw, 25px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.bento__text p { font-size: 16px; color: var(--muted); }
.bento__ico { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; display: grid; place-items: center; background: var(--raised); color: var(--blue); transition: transform var(--t-mid) var(--ease-out); }
.bento__ico svg { width: 22px; height: 22px; }
.bento__card:hover .bento__ico { transform: rotate(-8deg); }
.bento__viz { margin-top: auto; }
.bento__card--1 { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; background: var(--navy); color: var(--on-navy); }
.bento__card--1 .bento__text p { color: var(--on-navy-muted); }
.bento__card--1 .bento__ico { background: var(--navy-2); color: #9DBBFF; }
.bento__card--1 .bento__viz { margin-top: 0; display: flex; align-items: flex-end; }
.bento__card--1 .bento__viz > * { width: 100%; }
.bento__card--2 { grid-column: span 3; background: var(--raised); }
.bento__card--2 .bento__ico, .bento__card--6 .bento__ico { background: var(--blue-soft); }
.bento__card--3 { grid-column: span 3; }
.bento__card--4 { grid-column: span 3; }
.bento__card--5 { grid-column: span 4; background: var(--blue-soft); }
.bento__card--6 { grid-column: span 5; background: var(--raised); }
.bkpi__row { display: grid; grid-template-columns: minmax(0, 1fr) 48px auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ui-line-dark); font-size: 13px; } /* taste-skill-ignore: rows inside UI fragment */
.bkpi__row:nth-child(2) { border-top: 0; }
.bkpi__row small { display: block; font-size: 12px; color: var(--on-navy-muted); }
.bkpi__row b { font-weight: 600; }
.bkpi__row .ui__tag { font-size: 11.5px; padding: 2px 7px; }
.bchips { display: flex; flex-wrap: wrap; gap: 6px; }
.bchips span { padding: 8px 12px; border-radius: var(--pill); background: var(--ground); font-size: 13.5px; font-weight: 550; }
.bchips span:last-child { background: var(--ink); color: #fff; }
.js .bchips span { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--k) * 110ms + 200ms); }
.js .is-in .bchips span { opacity: 1; transform: none; }
.bswatch { display: flex; align-items: center; gap: 6px; }
.bswatch i { width: 40px; height: 40px; border-radius: 10px; outline: 1px solid var(--ui-line); }
.bswatch span { margin-left: auto; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.bspark { position: relative; }
.bspark .spark { height: 80px; }
.bspark__live { position: absolute; top: -4px; left: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.bspark__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
.bteam { display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.bteam b { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.bteam__faces { display: flex; align-items: center; }
.bteam__faces img, .bteam__more { width: 52px; height: 52px; margin-left: -12px; border-radius: 50%; object-fit: cover; object-position: center 20%; outline: 3px solid var(--blue-soft); background: #fff; transition: margin var(--t-mid) var(--ease-out); }
.bteam__faces img:first-child { margin-left: 0; }
.bento__card:hover .bteam__faces img + img, .bento__card:hover .bteam__more { margin-left: -4px; }
.bteam__more { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 650; }
.bstat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.bstat b { font-family: var(--font-display); font-size: clamp(52px, 4.6vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--blue); }
.bstat span { font-size: 15px; color: var(--muted); }

/* Closing call to action: three short steps */
.cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.cta__side { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3.4vw, 52px); border-radius: var(--r); background: var(--blue); color: #fff; }
.cta__side h2 { font-size: clamp(40px, 4.2vw, 64px); }
.cta__side > p { font-size: 17px; color: rgba(255, 255, 255, .9); }
.cta__gets { list-style: none; padding: 0; display: grid; gap: 10px; }
.cta__gets li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.45; }
.cta__gets svg { width: 20px; height: 20px; margin-top: 2px; }
.cta__team { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.cta__faces { display: flex; flex: none; }
.cta__faces img { width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; object-fit: cover; object-position: center 20%; outline: 3px solid var(--blue); background: #fff; }
.cta__faces img:first-child { margin-left: 0; }
.cta__team b { display: block; font-size: 15.5px; font-weight: 600; }
.cta__team small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; }
.cta__team .stars { color: #fff; }
.cta__team .stars svg { width: 12px; height: 12px; }
.cta__direct { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.cta__direct a, .cta__direct .copy-email { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t-fast); }
.cta__direct a:hover, .cta__direct .copy-email:hover { text-decoration-color: currentColor; }
.cta__direct svg { width: 17px; height: 17px; }
.cta__form { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 44px); }
.fsteps__head { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.fsteps__head b { color: var(--ink); }
.fsteps__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--tile); overflow: hidden; }
.fsteps__bar i { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--blue); transform: scaleX(calc(var(--step, 1) / 3)); transform-origin: left; transition: transform .5s var(--ease-out); }
html:not(.js) .fsteps__head { display: none; }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; align-content: start; }
.fstep[hidden] { display: none; }
.fstep.is-entering > * { animation: rise .5s var(--ease-out) both; }
.fstep__q { padding: 0; margin-bottom: 2px; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.fstep__hint { margin-top: -6px; font-size: 15px; color: var(--muted); }
.fstep__err { font-size: 14px; font-weight: 550; color: #B91C1C; }
.fstep__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fstep__grid .field--wide { grid-column: 1 / -1; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__label { font-size: var(--fs-small); font-weight: 550; }
.cta__form .input { background: var(--ground); }
.cta__form .choices .choice span { background: var(--ground); }
.cta__form .choices .choice span:hover { background: var(--tile); }
.cta__form .choices .choice input:checked + span { background: var(--ink); color: #fff; }
.cta__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cta__choices .choice span { width: 100%; min-height: 54px; gap: 10px; padding: 0 16px; border-radius: 14px; font-weight: 550; }
.cta__choices .choice span svg { width: 18px; height: 18px; flex: none; padding: 2px; border-radius: 5px; background: var(--raised); color: transparent; outline: 1.5px solid var(--tile-2); transition: background-color var(--t-fast), color var(--t-fast); }
.cta__choices .choice input:checked + span svg { background: var(--blue); color: #fff; outline-color: var(--blue); }
.fsteps__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: auto; }
.fsteps__nav [data-back] { margin-right: auto; }
.fsteps__nav [hidden] { display: none; }
.fsteps__alt { font-size: 14.5px; color: var(--muted); }
.cta__form.is-done .fstep, .cta__form.is-done .fsteps__nav, .cta__form.is-done .fsteps__head { display: none; }
.cta__form .form__done { margin-top: 0; }
.fsteps__alt a { color: var(--blue-ink); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }

/* Footer: links, then partners, ratings and Google preferred source */
.pbadges { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pbadges li { display: grid; place-items: center; padding: 8px; border-radius: 12px; background: #fff; }
.pbadges img { width: 100%; max-width: 96px; height: auto; }
.gps { margin-top: auto; }
.gps__link { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 12px; border-radius: var(--pill); background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; transition: background-color var(--t-fast); }
.gps__link:hover { background: var(--blue-soft); }
.gps__link img { width: 20px; height: 20px; }
.recog { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.recog li { width: 60px; height: 60px; padding: 4px; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.recog img { width: 100%; height: 100%; object-fit: contain; }
.footer__markets { display: inline-flex; align-items: center; gap: 8px; }
.footer__markets svg { width: 16px; height: 16px; color: #9DBBFF; }

@media (max-width: 1180px) {
  .header-actions .header-cta { display: inline-flex; }
  .site-header__bar { gap: 12px; }
  .brand { margin-right: auto; }
  .intro__top .intro__lead { grid-column: 1 / -1; }
  .intro__top .intro__btn { grid-column: 1 / -1; justify-self: start; }
  .intro__cols--icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot, .voices .rating-tile { grid-column: 1 / -1; }
  .rating-tile__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--1 { grid-column: 1 / -1; }
  .bento__card--2, .bento__card--3, .bento__card--4 { grid-column: span 4; }
  .bento__card--5, .bento__card--6 { grid-column: span 6; }
  .cta__side, .cta__form { grid-column: 1 / -1; }
  .finder__goals { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__panels { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .intro__cols--icons { grid-template-columns: 1fr; }
  .svc--sm .svc__visual { height: auto; min-height: 236px; }
  .finder__goals { display: flex; overflow-x: auto; gap: 6px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .finder__goal { flex: 0 0 auto; max-width: 78vw; scroll-snap-align: start; padding: 12px 16px; font-size: 15px; }
  .finder__goal > svg { display: none; }
  .finder__panel { grid-template-columns: 1fr; min-height: 0; }
  .spot { gap: 22px; }
  .spot__nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 0 4px 4px; scrollbar-width: none; }
  .spot__who { flex: none; }
  .rating-tile__list { grid-template-columns: 1fr; }
  .insights__grid, .insights__grid--2, .insights__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .ilogos > span { width: 54px; height: 36px; margin-left: -8px; }
  .insight { min-height: 0; }
  .bento__card--1 { grid-template-columns: 1fr; }
  .bento__card--2, .bento__card--3, .bento__card--4, .bento__card--5, .bento__card--6 { grid-column: 1 / -1; }
  .fstep__grid { grid-template-columns: 1fr; }
  .cta__choices { grid-template-columns: 1fr 1fr; }
  .cta__choices .choice span { min-height: 50px; padding: 0 12px; font-size: 14.5px; }
  .fsteps__nav .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .header-cta { padding: 0 16px; min-height: 40px; }
  .header-cta .btn__chip { display: none; }
  .brand img { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .dcanvas__cursor { animation: none; transform: translate(150px, 70px); }
  .js .funnel__bar i, .js .idots i, .js .ilogos > span, .js .imonths i.is-on, .js .bchips span { opacity: 1; transform: none; }
}

/* Leadership collage (layout: leadership) */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(8, 88px); gap: var(--gap); grid-template-areas: "text p1 p2" "text p1 p2" "text p1 p2" "text p1 p2" "team p1 p3" "team p1 p3" "team stat p3" "team stat p3"; }
.collage__text { grid-area: text; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-right: clamp(0px, 2vw, 28px); }
.collage__text h2 { font-size: clamp(36px, 3.6vw, 58px); }
.collage__text p { font-size: 17px; color: var(--muted); }
.collage__p, .collage__team { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: #5B616B; translate: 0 var(--drift, 0px); }
.collage__p img, .collage__team img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.collage__p--1 { grid-area: p1; }
.collage__p--1 img { object-position: 50% 18%; }
.collage__p--2 { grid-area: p2; }
.collage__p--2 img { object-position: 45% 22%; }
.collage__p--3 { grid-area: p3; }
.collage__p--3 img { object-position: 50% 24%; }
.collage__team { grid-area: team; }
.collage__team img { object-position: 50% 55%; }
.collage__team figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: var(--pill); background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 550; }
.collage__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 12px; padding: 64px 20px 18px; color: #fff; background: linear-gradient(transparent, rgba(10, 20, 48, .88)); } /* taste-skill-ignore: neutral scrim for legibility over a photo */
.collage__who b { display: block; font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.collage__who > span { display: block; margin-top: 3px; font-size: 14px; opacity: .85; }
.collage__focus { grid-column: 1 / -1; font-size: 14px; line-height: 1.45; opacity: .9; }
.collage__in { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 12px; border-radius: var(--pill); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; transition: background-color var(--t-fast), color var(--t-fast); }
.collage__in:hover { background: var(--blue); color: #fff; }
.collage__in svg { width: 15px; height: 15px; }
.collage__stat { grid-area: stat; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(20px, 2vw, 28px); border-radius: var(--r); background: var(--blue); color: #fff; translate: 0 var(--drift, 0px); }
.collage__stat b { font-family: var(--font-display); font-size: clamp(48px, 4.4vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; }
.collage__stat span { font-size: 15px; opacity: .9; }
@media (hover: hover) and (min-width: 1181px) {
  .collage__focus { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s ease; }
  .collage__p:hover .collage__focus, .collage__p:focus-within .collage__focus { max-height: 5em; opacity: .9; }
  .collage__p:hover img, .collage__team:hover img { transform: scale(1.04); }
}
@media (max-width: 1180px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto 240px 240px 300px auto; grid-template-areas: "text text" "p1 p2" "p1 p3" "team team" "stat stat"; }
  .collage__text { padding: 0 0 12px; }
}
@media (max-width: 760px) {
  .collage { grid-template-rows: auto 400px 250px 230px auto; grid-template-areas: "text text" "p1 p1" "p2 p3" "team team" "stat stat"; }
  .collage__cap { padding: 48px 14px 14px; }
  .collage__focus { display: none; }
  .collage__p--2 .collage__cap, .collage__p--3 .collage__cap { grid-template-columns: 1fr; }
  .collage__p--2 .collage__in span, .collage__p--3 .collage__in span { display: none; }
  .collage__p--2 .collage__in, .collage__p--3 .collage__in { justify-self: start; width: 38px; padding: 0; justify-content: center; }
  .collage__p--2 .collage__who b, .collage__p--3 .collage__who b { font-size: 17px; }
}

/* ---------- 11. Footer: talk-to-us panel, links, one proof bar ---------- */

.footer__cols h2 { margin-bottom: 14px; font-family: var(--font-text); font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--on-navy); }
.footer__cols ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer__cols a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--on-navy-muted); transition: color var(--t-fast); }
.footer__cols a:hover { color: #fff; }
.rinline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rinline li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-navy-muted); }
.rinline__logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.rinline__logo img { width: 20px; height: 20px; object-fit: contain; }
.rinline b { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }

.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.footer__office { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); background: var(--blue); color: #fff; }
.footer__status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .07); font-size: 14px; font-weight: 550; }
.footer__status[hidden] { display: none; }
.footer__status i { width: 8px; height: 8px; border-radius: 50%; background: #FFD27A; }
.footer__office.is-open .footer__status i { background: #5ED38B; animation: pulse 2s ease-in-out infinite; }
.footer__h { margin-top: 10px; font-size: clamp(30px, 2.8vw, 42px); }
.footer__phone { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.footer__links a, .footer__links .copy-email { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t-fast); }
.footer__links a:hover, .footer__links .copy-email:hover { text-decoration-color: currentColor; }
.footer__links svg { width: 17px; height: 17px; }
.footer__office .btn { align-self: flex-start; margin-top: 10px; }
.footer__addr { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.footer__addr svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.footer__main { grid-column: 5 / span 8; padding-left: clamp(0px, 2vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__brand img { height: 42px; width: auto; }
.footer__desc { max-width: 40em; font-size: 16px; color: var(--on-navy-muted); }
.footer__cols { margin-top: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px var(--gap); }
.footer__trust { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 24px 48px; padding: 24px 28px; border-radius: var(--r); background: var(--navy-2); }
.footer__group { display: grid; gap: 12px; }
.footer__group[data-gps] { justify-self: end; }
.footer__label { font-family: var(--font-text); font-size: 13.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--on-navy-muted); }
.site-footer .pbadges { grid-template-columns: repeat(4, 86px); gap: 6px; }
.site-footer .pbadges li { padding: 6px; }
.site-footer .rinline { padding-top: 6px; }
.footer__group .gps { margin-top: 0; }
.footer__recog { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.site-footer .recog li { width: 48px; height: 48px; padding: 3px; border-radius: 10px; }
.footer__base { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 24px 32px; font-size: 14px; color: var(--on-navy-muted); }

@media (max-width: 1180px) {
  .footer__office, .footer__main { grid-column: 1 / -1; }
  .footer__main { padding-left: 0; }
  .footer__main { margin-top: 32px; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__trust { grid-template-columns: 1fr 1fr; }
  .footer__group:first-child { grid-column: 1 / -1; }
  .footer__group[data-gps] { justify-self: start; }
}
@media (max-width: 760px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .footer__trust { grid-template-columns: 1fr; padding: 22px; }
  .site-footer .pbadges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Email addresses: copied on click instead of mailto links, and drawn from data attributes so the source never spells them out */
.eml::before { content: attr(data-u) "@" attr(data-d); }
.copy-email { position: relative; cursor: pointer; }
.copy-email:not(.btn):not(.link) { display: inline-flex; align-items: center; gap: 8px; padding: 0; font: inherit; color: inherit; text-align: left; }
.copy-email .copy-email__copy { width: 14px; height: 14px; flex: none; margin: 0; opacity: .7; transition: opacity var(--t-fast); }
.copy-email:hover .copy-email__copy, .copy-email:focus-visible .copy-email__copy { opacity: 1; }
.btn.copy-email .copy-email__copy { width: 16px; height: 16px; }
.copy-email__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 5; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out); }
.copy-email.is-copied .copy-email__tip { opacity: 1; transform: translate(-50%, 0); }
.field-navy .copy-email__tip, .tile--navy .copy-email__tip, .site-footer .copy-email__tip, .cta__side .copy-email__tip, .cband .copy-email__tip { background: #fff; color: var(--ink); }
p > .copy-email:not(.btn):not(.link), li > .copy-email:not(.btn):not(.link), td > .copy-email:not(.btn):not(.link) { display: inline; color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p > .copy-email:not(.btn):not(.link) .copy-email__copy, li > .copy-email:not(.btn):not(.link) .copy-email__copy, td > .copy-email:not(.btn):not(.link) .copy-email__copy { display: inline-block; margin-left: 4px; vertical-align: -2px; }
.tile--navy p > .copy-email:not(.btn):not(.link), .field-navy p > .copy-email:not(.btn):not(.link) { color: #9DBBFF; }
.footer__contact > .copy-email { display: inline-flex; justify-self: start; }
.tile--navy .copy-email:not(.btn):not(.link) { color: #9DBBFF; }

/* 404 (layout: not_found) */
.nf { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.nf__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.nf__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 22px; padding-right: clamp(0px, 3vw, 48px); }
.nf__code { font-family: var(--font-display); font-size: clamp(120px, 17vw, 260px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; }
.nf__code span { display: inline-block; color: var(--blue); animation: nf-bob 3.2s var(--ease-io) infinite; }
@keyframes nf-bob { 50% { transform: translateY(-10px) rotate(-6deg); } }
.nf__copy h1 { font-size: clamp(34px, 3.8vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.nf__path { font-size: 16px; color: var(--muted); }
.nf__path code { padding: 2px 8px; border-radius: 6px; background: var(--tile); color: var(--ink); font-family: var(--font-text); font-size: 15px; word-break: break-all; }
.nf__intro p { font-size: var(--fs-lead); }
.nf__copy .hero__actions { margin-top: 4px; }
.nf__search { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 36px); }
.nf__label { font-family: var(--font-display); font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.nf__field { position: relative; }
.nf__field svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.nf__field .input { padding-left: 48px; background: var(--ground); }
.nf__hint { font-size: 13.5px; font-weight: 600; color: var(--muted); min-height: 1.4em; }
.nf__list { list-style: none; padding: 0; display: grid; gap: 6px; max-height: 470px; overflow-y: auto; }
.nf__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--ground); transition: background-color var(--t-fast); }
.nf__list a:hover, .nf__list a:focus-visible { background: var(--blue-soft); }
.nf__list b { display: block; font-size: 15.5px; font-weight: 600; }
.nf__list small { display: block; font-size: 13px; color: var(--muted); }
.nf__list svg { width: 16px; height: 16px; flex: none; color: var(--blue); }
.nf__empty { font-size: 15px; color: var(--muted); }
.nf__empty a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Thank-you page */
.ty__needs { font-weight: 550; }
.phero__visual .vflow__steps li.is-now .vflow__dot { animation: pulse 2s ease-in-out infinite; }

@media (max-width: 1180px) {
  .nf__copy, .nf__search { grid-column: 1 / -1; padding-right: 0; }
  .nf__search { margin-top: 24px; }
}

/* Figure pictures added for the About page (gauge, on-time, ROI, team, years) */
.insight--plain { min-height: 0; }
.section--figures .insights { margin-top: 0; }
.igauge { display: flex; align-items: center; gap: 16px; }
.igauge svg { width: 112px; height: 112px; flex: none; rotate: -90deg; }
.igauge circle { fill: none; stroke-width: 12; }
.igauge__track { stroke: var(--navy-3); }
.igauge__val { stroke: #6F9BFF; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); }
.js .igauge__val { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
.js .is-in .igauge__val { stroke-dashoffset: calc(100 - var(--v)); }
.igauge small, .iontime small { font-size: 13px; color: var(--on-navy-muted); }
.iontime > div { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.iontime i { height: 30px; border-radius: 5px; background: #F2B266; }
.iontime i.is-on { background: #6F9BFF; }
.js .iontime i { opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); transition-delay: calc(var(--k) * 45ms + 150ms); }
.js .is-in .iontime i { opacity: 1; transform: none; }
.iontime small { display: block; margin-top: 10px; }
.iroi { display: grid; gap: 12px; }
.iroi span { display: grid; grid-template-columns: 58px 1fr 34px; gap: 10px; align-items: center; }
.iroi small { font-size: 13px; color: var(--on-navy-muted); }
.iroi i { display: block; height: 22px; width: var(--w); border-radius: 6px; background: var(--navy-3); transform-origin: left; }
.iroi i.is-hi { background: #6F9BFF; }
.iroi b { font-size: 14px; font-weight: 650; text-align: right; }
.js .iroi i { transform: scaleX(0); transition: transform 1.1s var(--ease-out) .2s; }
.js .is-in .iroi i { transform: none; }
.js .is-in .iroi i.is-hi { transition-delay: .5s; }
.iteam { display: flex; align-items: center; }
.iteam img, .iteam span { width: 60px; height: 60px; margin-left: -14px; border-radius: 50%; object-fit: cover; object-position: center 20%; outline: 3px solid var(--navy-2); background: #fff; }
.iteam img:first-child { margin-left: 0; }
.iteam span { display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 15px; font-weight: 650; }
.js .iteam > * { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--k) * 100ms + 150ms); }
.js .is-in .iteam > * { opacity: 1; transform: none; }
.iyears > div { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; align-items: end; }
.iyears i { position: relative; font-style: normal; height: 44px; border-radius: 6px; border: 1.5px dashed var(--navy-3); }
.iyears i.is-on { border: 0; background: #6F9BFF; }
.iyears i:nth-child(1) { height: 26px; } .iyears i:nth-child(2) { height: 32px; } .iyears i:nth-child(3) { height: 38px; } .iyears i:nth-child(4) { height: 44px; } .iyears i:nth-child(5) { height: 50px; } .iyears i:nth-child(6) { height: 56px; }
.iyears small { position: absolute; left: 0; right: 0; top: calc(100% + 6px); font-size: 11px; color: var(--on-navy-muted); text-align: center; white-space: nowrap; }
.iyears { padding-bottom: 22px; }
.js .iyears i.is-on { transform: scaleY(.2); transform-origin: bottom; transition: transform .6s var(--ease-out); transition-delay: calc(var(--k) * 90ms + 150ms); }
.js .is-in .iyears i.is-on { transform: none; }

/* Value cards with icons (layout: value_grid) */
.value { display: flex; flex-direction: column; gap: 10px; transition: transform var(--t-mid) var(--ease-out); }
.value:hover { transform: translateY(-4px); }
.value__ico { width: 48px; height: 48px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); transition: rotate var(--t-mid) var(--ease-out); }
.value__ico svg { width: 22px; height: 22px; }
.value.tile--soft-blue .value__ico { background: var(--raised); }
.value:hover .value__ico { rotate: -8deg; }
.value__practice { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink) !important; }
.value__practice svg { width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }

/* Process timeline (process_steps variant: timeline) */
.tline { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(28px, 4vw, 56px); --tp: 0; }
.tline::before, .tline::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--navy-3); }
.tline::after { background: #6F9BFF; transform: scaleY(var(--tp)); transform-origin: top; }
.tline__step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.tline__node { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-2); outline: 6px solid var(--navy); color: var(--on-navy-muted); font-family: var(--font-display); font-size: 18px; font-weight: 600; transition: background-color .4s ease, color .4s ease, transform .5s var(--ease-out); }
.tline__step.is-reached .tline__node { background: var(--blue); color: #fff; transform: scale(1.08); }
.tline__card { grid-column: 1; grid-row: 1; display: grid; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--navy-2); transition: background-color .5s ease; }
.tline__step.is-reached .tline__card { background: #142456; }
.tline__card h3 { font-size: var(--fs-h3); }
.tline__card p { font-size: 15.5px; color: var(--on-navy-muted); }
.tline__chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tline__chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--pill); background: var(--navy-3); font-size: 13.5px; color: var(--on-navy); }
.tline__chips svg { width: 13px; height: 13px; color: #6F9BFF; }
.tline__out { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #5ED38B !important; }
.tline__out svg { width: 16px; height: 16px; }
.tline__ui { grid-column: 3; grid-row: 1; }
.tline__step--alt .tline__card { grid-column: 3; }
.tline__step--alt .tline__ui { grid-column: 1; }
.tline__ui .ui { max-width: 460px; }
.tline__step:not(.tline__step--alt) .tline__ui .ui { margin-right: auto; }
.tline__step--alt .tline__ui .ui { margin-left: auto; }
.l-process-steps .tline + .insights { margin-top: clamp(64px, 8vw, 112px); }

@media (max-width: 1180px) {
  .tline::before, .tline::after { left: 28px; }
  .tline__step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: var(--gap); align-items: start; }
  .tline__node { grid-column: 1; grid-row: 1; }
  .tline__card, .tline__step--alt .tline__card { grid-column: 2; grid-row: 1; }
  .tline__ui, .tline__step--alt .tline__ui { grid-column: 2; grid-row: 2; }
  .tline__step--alt .tline__ui .ui { margin-left: 0; }
}
@media (max-width: 760px) {
  .tline::before, .tline::after { left: 20px; }
  .tline__step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .tline__node { width: 40px; height: 40px; font-size: 14px; outline-width: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .igauge__val { stroke-dashoffset: calc(100 - var(--v)); }
  .js .iontime i, .js .iteam > *, .js .iroi i, .js .iyears i.is-on { opacity: 1; transform: none; }
}

/* Feature tiles: text follows the heading instead of sinking to the bottom of a tall card */
.ftile { min-height: 0; }
.ftile__text { margin-top: 0; }
.ftile > .link { margin-top: auto; }

/* Figure pictures for the Careers page (roles, map, stars) */
.iroles { list-style: none; padding: 0; display: grid; gap: 6px; }
.iroles li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--navy-3); font-size: 13.5px; font-weight: 550; }
.iroles i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #5ED38B; }
.js .iroles li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--k) * 110ms + 150ms); }
.js .is-in .iroles li { opacity: 1; transform: none; }
.imap { width: 100%; height: auto; overflow: visible; }
.imap__land { fill: none; stroke: #2A3D78; stroke-width: 1.6; stroke-linecap: round; }
.imap__pin { fill: #6F9BFF; }
.imap__pin.is-hq { fill: #fff; }
.js .imap__pin { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--k) * 120ms + 300ms); }
.js .is-in .imap__pin { opacity: 1; }
.istars { position: relative; display: grid; gap: 10px; justify-items: start; }
.istars__row, .istars__fill { display: flex; gap: 4px; grid-area: 1 / 1; color: var(--navy-3); }
.istars__fill { color: #FFC24D; overflow: hidden; width: calc(var(--r) / 5 * 100%); }
.istars svg { width: 34px; height: 34px; flex: none; }
.istars small { font-size: 13px; color: var(--on-navy-muted); }
.js .istars__fill { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-out) .2s; }
.js .is-in .istars__fill { clip-path: inset(0 0 0 0); }

/* Perks (feature_tiles variant: perks) */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.perks__photo { position: relative; grid-column: span 2; margin: 0; overflow: hidden; border-radius: var(--r); min-height: 260px; background: var(--navy-3); }
.perks__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.perks__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: var(--pill); background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 550; }
.perk { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--raised); transition: transform var(--t-mid) var(--ease-out); }
.perk:hover { transform: translateY(-4px); }
.perk__ico { width: 48px; height: 48px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); transition: rotate var(--t-mid) var(--ease-out); }
.perk__ico svg { width: 22px; height: 22px; }
.perk:hover .perk__ico { rotate: -8deg; }
.perk h3 { font-family: var(--font-display); font-size: clamp(21px, 1.7vw, 25px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.perk p { font-size: 16px; color: var(--muted); }
.field-tile .perk { background: var(--raised); }
.perks__cta { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--blue); color: #fff; transition: background-color var(--t-fast); }
.perks__cta:hover { background: var(--blue-press); }
.perks__cta b { font-family: var(--font-display); font-size: clamp(56px, 5vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; }
.perks__cta > span:not(.perks__go) { font-size: 16px; opacity: .9; }
.perks__go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.perks__go svg { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease-out); }
.perks__cta:hover .perks__go svg { transform: translateX(4px); }
@media (max-width: 1180px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks__cta { grid-column: span 2; }
}
@media (max-width: 760px) {
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perks__photo, .perks__cta { grid-column: auto; }
  .perks__photo { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .iroles li, .js .imap__pin { opacity: 1; transform: none; }
  .js .istars__fill { clip-path: none; }
}

/* Icon cards in one colour (feature_tiles variant: icons) */
.icards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.icards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icards--3, .icards--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icard { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--raised); transition: transform var(--t-mid) var(--ease-out); }
.field-tile .icard { background: var(--raised); }
.icard:hover { transform: translateY(-4px); }
.icard__head { display: flex; align-items: center; gap: 14px; min-height: 58px; }
.icard__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); transition: rotate var(--t-mid) var(--ease-out); }
.icard__ico svg { width: 22px; height: 22px; }
.icard:hover .icard__ico { rotate: -8deg; }
.icard h3 { font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.icard p { font-size: 16px; color: var(--muted); }

/* Partner pipeline and model pictures */
.pipe__row { grid-template-columns: 1fr auto; }
.pipe__row b { display: block; font-size: 13.5px; font-weight: 600; }
.pipe__row small { font-size: 12px; color: var(--muted); }
.pipe__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ui-line); font-size: 12.5px; color: var(--muted); } /* taste-skill-ignore: rule inside UI fragment */
.pipe__foot b { color: var(--green); font-weight: 600; }
.wl__logo { padding: 5px 10px; border: 1.5px dashed var(--tile-2); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }

/* Partnership model chooser (layout: partner_models) */
.pm__picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.pm__pick { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px 44px 18px 18px; border-radius: var(--r); background: var(--raised); text-align: left; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.pm__pick:hover { transform: translateY(-3px); }
.pm__ico { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.pm__ico svg { width: 22px; height: 22px; }
.pm__who { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.pm__pick b { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.pm__go { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted); transition: transform var(--t-mid) var(--ease-out); }
.pm__pick[aria-selected="true"] { background: var(--ink); color: #fff; }
.pm__pick[aria-selected="true"] .pm__who { color: var(--on-navy-muted); }
.pm__pick[aria-selected="true"] .pm__ico { background: var(--blue); color: #fff; }
.pm__pick[aria-selected="true"] .pm__go { color: #6F9BFF; transform: rotate(90deg); }
.pm__panels { display: grid; }
.pm__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--raised); }
.js .pm__panel:not(.is-active) { display: none; }
html:not(.js) .pm__panel + .pm__panel { margin-top: var(--gap); }
.pm__panel.is-entering .pm__info > *, .pm__panel.is-entering .pm__art { animation: rise .5s var(--ease-out) both; }
.pm__info { display: grid; gap: 16px; justify-items: start; }
.pm__info h3 { font-size: clamp(28px, 2.6vw, 40px); }
.pm__info > p { font-size: 17px; color: var(--muted); }
.pm__how { list-style: none; padding: 0; display: grid; gap: 10px; }
.pm__how li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.pm__how .num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); font-size: 13.5px; font-weight: 650; }
.pm__gets { width: 100%; padding: 16px 18px; border-radius: 16px; background: var(--ground); }
.pm__label { margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pm__gets ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.pm__gets li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 550; }
.pm__gets svg { width: 15px; height: 15px; flex: none; color: var(--green); }
.pm__art .ui { background: var(--ground); max-width: 440px; margin-left: auto; }
.contact__ticks { gap: 10px; }
.contact__ticks li { color: var(--on-navy); font-size: 15px; }
.contact__ticks svg { color: #5ED38B; }

@media (max-width: 1180px) {
  .icards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm__picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm__panel { grid-template-columns: 1fr; }
  .pm__art .ui { margin-left: 0; }
}
@media (max-width: 760px) {
  .icards, .icards--3, .icards--4, .icards--6 { grid-template-columns: minmax(0, 1fr); }
  .pm__picks { grid-template-columns: minmax(0, 1fr); }
  .pm__pick { padding: 14px 40px 14px 14px; }
}

/* Process as a journey (process_steps variant: journey) */
.jrn { --n: 4; }
.jrn__track { position: relative; height: 16px; margin: 0 0 22px; }
.jrn__track::before, .jrn__track > i { content: ""; position: absolute; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--navy-3); }
.jrn__track > i { display: block; background: #6F9BFF; transform: scaleX(var(--jp, 0)); transform-origin: left; transition: transform .7s var(--ease-out); }
.jrn__dot { position: absolute; top: 50%; left: calc((var(--i) + .5) * 100% / var(--n)); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--navy-3); outline: 5px solid var(--navy); transition: background-color .4s ease, transform .4s var(--ease-out); }
.jrn__dot.is-on { background: #6F9BFF; }
.jrn__dot.is-now { background: #fff; transform: scale(1.25); }
.jrn__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); }
.jrn__step { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 26px); border-radius: var(--r); background: var(--navy-2); outline: 2px solid transparent; outline-offset: -2px; transition: background-color .4s ease, outline-color .4s ease, transform .5s var(--ease-out); }
.jrn__step.is-active { background: #142456; outline-color: #6F9BFF; transform: translateY(-4px); }
.jrn__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jrn__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--navy-3); color: #9DBBFF; transition: background-color .4s ease, color .4s ease; }
.jrn__ico svg { width: 21px; height: 21px; }
.jrn__step.is-active .jrn__ico { background: var(--blue); color: #fff; }
.jrn__num { font-size: 13px; font-weight: 600; color: var(--on-navy-muted); }
.jrn__step h3 { font-size: var(--fs-h3); }
.jrn__step p { font-size: 15px; color: var(--on-navy-muted); }
.jrn__out { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #5ED38B !important; }
.jrn__out svg { width: 16px; height: 16px; }
.jrn__ui { margin-top: auto; padding-top: 6px; }
.jrn__ui .ui { background: var(--navy); font-size: 12.5px; }
.jrn__ui .ui--pad { padding: 14px; }
.jrn__ui .ui__row { min-height: 39px; font-size: 12.5px; padding: 7px 0; }
.jrn__ui .code-lines { font-size: 12.5px; }
.jrn__ui .bars { height: 70px; }

/* Calm application form (contact_block variant: calm) */
.apply { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.apply__intro { grid-column: 1 / span 5; display: grid; gap: 22px; padding-right: clamp(0px, 3vw, 48px); position: sticky; top: calc(var(--header-h) + 32px); }
.apply__intro > p { font-size: 18px; color: var(--muted); }
.apply__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.apply__list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; font-size: 16.5px; }
.apply__list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.apply__talk { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 15px; color: var(--muted); }
.apply__talk a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.apply__faces { display: flex; flex: none; }
.apply__faces img { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; object-fit: cover; object-position: center 20%; outline: 3px solid var(--tile); background: #fff; }
.apply__faces img:first-child { margin-left: 0; }
.apply__form { grid-column: 7 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--raised); }
.apply__pick { min-inline-size: 0; min-width: 0; border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.apply__pick legend { margin-bottom: 12px; padding: 0; font-size: 15px; font-weight: 600; }
.apply__pick .choice span { background: var(--ground); }
.apply__pick .choice input:checked + span { background: var(--ink); color: #fff; }
.apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; }
.apply__grid .field--wide { grid-column: 1 / -1; }
.apply__form .input, .apply__form .textarea { background: var(--ground); }
.apply__form .textarea { min-height: 112px; }
.apply__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

@media (max-width: 1180px) {
  .jrn__track { display: none; }
  .jrn__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply__intro, .apply__form { grid-column: 1 / -1; }
  .apply__intro { position: static; padding-right: 0; }
  .apply__form { margin-top: 12px; }
}
@media (max-width: 760px) {
  .jrn__steps { grid-template-columns: minmax(0, 1fr); }
  .jrn__step.is-active { transform: none; }
  .apply__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Case study listing: results board, Search Console view, featured stories, filterable grid */
.rboard__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ui-line); } /* taste-skill-ignore: rows inside UI fragment */
.rboard__row:nth-of-type(2) { border-top: 0; }
.rboard__row b { display: block; font-size: 13.5px; font-weight: 600; }
.rboard__row small { font-size: 12px; color: var(--muted); }
.rboard__row > b { text-align: right; color: var(--green); font-size: 14px; }
.rboard .ui__bar i { transition-delay: var(--d, 0ms); }
.gsc__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.gsc__kpi { padding: 10px 12px; border-radius: 10px; background: #4285F4; color: #fff; }
.gsc__kpi--imp { background: #5E35B1; }
.gsc__kpi--pos { background: #E8710A; }
.gsc__kpi small { display: block; font-size: 11.5px; opacity: .9; }
.gsc__kpi b { font-size: 17px; font-weight: 650; }
.gsc__chart { width: 100%; height: 110px; overflow: visible; }
.gsc__chart path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.gsc__imp { stroke: #5E35B1; }
.gsc__clk { stroke: #4285F4; }
.js .gsc__chart path { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.8s var(--ease-out) .2s; }
.js .is-in .gsc__chart path, .js .gsc.is-in .gsc__chart path { stroke-dashoffset: 0; }
.gsc__foot { margin-top: 8px; font-size: 13px; color: var(--muted); }
.gsc__foot b { color: var(--ink); font-weight: 650; }
.cshot img { display: block; width: 100%; height: auto; }

.cfeat { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.cfeat__panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.cfeat__panel { grid-area: 1 / 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(22px, 2.6vw, 40px); border-radius: var(--r); background: var(--navy); color: var(--on-navy); }
.js .cfeat__panel { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .45s; }
.js .cfeat__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .cfeat__panel + .cfeat__panel { margin-top: var(--gap); }
.cfeat__shot { border-radius: 14px; overflow: hidden; }
.cfeat__shot .browser { border-radius: 14px; }
.cfeat__shot .ui { background: var(--raised); }
.cfeat__body { display: grid; gap: 16px; align-content: start; }
.cfeat__who { font-size: 14px; font-weight: 550; color: #9DBBFF; }
.cfeat__body h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; }
.cfeat__body h3 a:hover { color: #9DBBFF; }
.cfeat__story { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.cfeat__story dt { font-size: 13px; font-weight: 600; color: var(--on-navy); margin-bottom: 4px; }
.cfeat__story dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--on-navy-muted); }
.cfeat__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.cfeat__metrics div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--navy-2); }
.cfeat__metrics dd { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.cfeat__metrics dt { font-size: 12.5px; line-height: 1.3; color: var(--on-navy-muted); }
.cfeat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cfeat__actions .btn--ink { --btn-bg: #fff; --btn-fg: var(--ink); --btn-hover: var(--blue-soft); --btn-chip: var(--blue); }
.cfeat__actions .btn--ink .btn__chip { color: #fff; }
.cfeat__tags, .ccard__tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cfeat__tags li { padding: 5px 10px; border-radius: var(--pill); background: var(--navy-2); font-size: 12.5px; color: var(--on-navy-muted); }
.cfeat__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--gap); align-items: stretch; }
.cfeat__tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--raised); text-align: left; transition: background-color var(--t-fast); }
.cfeat__tab:hover { background: var(--blue-soft); }
.cfeat__tab[aria-selected="true"] { background: var(--blue-soft); outline: 2px solid var(--blue); outline-offset: -2px; }
.cfeat__logo { width: 64px; height: 40px; flex: none; display: grid; place-items: center; padding: 4px 6px; border-radius: 10px; background: #fff; }
.cfeat__logo img { max-height: 28px; width: auto; mix-blend-mode: multiply; }
.cfeat__tab b { display: block; font-size: 15px; font-weight: 600; }
.cfeat__tab small { display: block; font-size: 13px; color: var(--muted); }
.cfeat__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.cfeat.is-playing .cfeat__tab[aria-selected="true"] .cfeat__timer { animation: spot-timer var(--rot-t, 9s) linear forwards; }
.cfeat__pause { align-self: center; background: var(--raised); color: var(--ink); }
.cfeat__pause:hover { background: var(--tile-2); }
.cfeat.is-stopped .spot__pause svg:first-child { display: none; }
.cfeat.is-stopped .spot__pause svg + svg { display: block; }

.cgrid__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cgrid__filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--raised); font-size: 15px; font-weight: 550; transition: background-color var(--t-fast), color var(--t-fast); }
.cgrid__filters button span { min-width: 24px; padding: 2px 7px; border-radius: var(--pill); background: var(--tile); font-size: 12.5px; text-align: center; }
.cgrid__filters button:hover { background: var(--blue-soft); }
.cgrid__filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cgrid__filters button[aria-pressed="true"] span { background: var(--blue); color: #fff; }
.cgrid__count { margin: -6px 0 14px; font-size: 14px; font-weight: 550; color: var(--muted); }
.cgrid__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ccard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2vw, 28px); border-radius: var(--r); background: var(--raised); transition: transform var(--t-mid) var(--ease-out), opacity .3s ease; }
.ccard:hover { transform: translateY(-4px); }
.ccard[hidden] { display: none; }
.ccard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ccard__logo { width: 88px; height: 44px; display: grid; place-items: center; padding: 6px 8px; border-radius: 10px; background: var(--ground); }
.ccard__logo img { max-height: 30px; width: auto; mix-blend-mode: multiply; }
.ccard__type { padding: 5px 10px; border-radius: var(--pill); background: var(--tile); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ccard--case .ccard__type { background: var(--blue-soft); color: var(--blue-ink); }
.ccard__who { font-size: 14px; color: var(--muted); }
.ccard__who b { display: block; font-size: 15px; color: var(--ink); }
.ccard__big { margin-top: 10px; font-family: var(--font-display); font-size: clamp(48px, 4.2vw, 68px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--blue); }
.ccard__label { font-size: 14.5px; font-weight: 550; }
.ccard__title { margin-top: 10px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.ccard__more { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 4px; }
.ccard__more div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ground); }
.ccard__more dd { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ccard__more dt { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.ccard__foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ccard__tags li { padding: 4px 10px; border-radius: var(--pill); background: var(--ground); font-size: 12.5px; color: var(--muted); }
.ccard__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--blue-ink); }
.ccard__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.ccard__link svg { width: 15px; height: 15px; transition: transform var(--t-mid) var(--ease-out); }
.ccard:hover .ccard__link svg { transform: translate(2px, -2px); }
.cgrid__empty, .cgrid__note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.cgrid__empty a, .cgrid__note a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .cfeat__panel { grid-template-columns: minmax(0, 1fr); }
  .cfeat__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cfeat__pause { display: none; }
  .cgrid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cfeat__story { grid-template-columns: 1fr; }
  .cfeat__nav { display: flex; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .cfeat__tab { flex: 0 0 auto; }
  .cfeat__pause { display: grid; flex: none; }
  .cfeat__metrics { grid-template-columns: 1fr 1fr 1fr; }
  .cfeat__metrics dd { font-size: 22px; }
  .cgrid__list { grid-template-columns: minmax(0, 1fr); }
  .cgrid__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .cgrid__filters button { flex: none; }
}

/* Portfolio: hero stack and the work gallery */
.wstack { position: relative; width: 100%; aspect-ratio: 5 / 4; }
.wstack .browser { position: absolute; width: 78%; border-radius: 12px; overflow: hidden; outline: 1px solid var(--ui-line); }
.wstack img { display: block; width: 100%; height: auto; }
.wstack__a { left: 0; top: 0; rotate: -2deg; }
.wstack__b { right: 0; bottom: 6%; rotate: 2deg; }
.wstack__c { position: absolute; left: 6%; bottom: 0; width: 46%; }
.folio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.folio__item { padding: 0; gap: 0; overflow: hidden; }
.folio__item--wide { grid-column: span 2; }
.folio__open { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; padding: 0; text-align: left; cursor: zoom-in; }
.folio__visual { flex: 1 1 auto; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: clamp(18px, 2vw, 28px); overflow: hidden; background: var(--blue-soft); }
.folio__item--wide .folio__visual { aspect-ratio: 16 / 9; }
.folio__item--own .folio__visual { background: var(--teal-soft); }
.folio__visual > * { width: 100%; max-height: 100%; transition: transform .9s var(--ease-out); }
.folio__visual--shot .browser { border-radius: 12px; overflow: hidden; }
.folio__visual--shot img { display: block; width: 100%; height: auto; }
.folio__open:hover .folio__visual > *, .folio__open:focus-visible .folio__visual > * { transform: scale(1.03) translateY(-4px); }
.folio__visual .app { min-height: 0; grid-template-columns: 1fr; }
.folio__visual .app__side { display: none; }
.folio__visual .app__main { padding: 14px; }
.folio__visual .queue__row { grid-template-columns: 44px 1fr auto; }
.folio__visual .queue__row--lab { grid-template-columns: 64px 1fr auto; }
.folio__visual .queue__row--rx { grid-template-columns: 1fr auto; }
.folio__visual .queue__row--rx .num { display: none; }
.folio__visual .queue__row .avatar { display: none; }
.folio__visual--clinic_phone { place-items: start center; padding-bottom: 0; }
.folio__visual--clinic_phone > * { max-height: none; }
.folio__visual .app-pair .phone-ui { max-width: min(176px, 44%); }
.folio__zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; opacity: 0; transform: scale(.8); transition: opacity var(--t-fast), transform var(--t-mid) var(--ease-out); }
.folio__zoom svg { width: 16px; height: 16px; }
.folio__open:hover .folio__zoom, .folio__open:focus-visible .folio__zoom { opacity: 1; transform: none; }
.folio__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 16px 20px 18px; }
.folio__cap b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.folio__cap small { display: block; font-size: 13.5px; color: var(--muted); }
.ccard__tags li.is-own { background: var(--teal-soft); color: var(--teal-press); font-weight: 600; }
.folio__cta { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 280px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--blue); color: #fff; transition: background-color var(--t-fast); }
.folio__cta:hover { background: var(--blue-press); }
.folio__cta b { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.folio__cta > span:not(.folio__go) { font-size: 16px; opacity: .9; }
.folio__go { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.folio__go svg { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease-out); }
.folio__cta:hover .folio__go svg { transform: translateX(4px); }
.folio__box { width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--r); background: var(--raised); color: var(--ink); }
.folio__box::backdrop { background: rgba(10, 20, 48, .72); }
.folio__box[open] { animation: rise .4s var(--ease-out) both; }
.folio__box-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.folio__box-visual { display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); background: var(--blue-soft); }
.folio__box-visual > * { width: 100%; }
.folio__box-visual img { display: block; width: 100%; height: auto; }
.folio__box-visual .app { min-height: 0; }
.folio__box-visual .app-pair .phone-ui { max-width: 210px; }
.folio__box-text { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(24px, 3vw, 40px); }
.folio__box-text h3 { font-size: clamp(26px, 2.4vw, 36px); }
.folio__box-text p { color: var(--muted); }
.folio__kind { font-size: 14px; font-weight: 600; color: var(--blue-ink) !important; }
.folio__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.folio__close svg { width: 18px; height: 18px; }
.bcard .icard__head h3 a:hover { color: var(--blue-ink); }
.bcard__stack { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bcard__stack li { padding: 4px 10px; border-radius: var(--pill); background: var(--ground); font-size: 12.5px; color: var(--muted); }
.bcard .link { margin-top: auto; }
@media (max-width: 1180px) {
  .folio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .folio { grid-template-columns: minmax(0, 1fr); }
  .folio__item--wide { grid-column: auto; }
  .folio__item--wide .folio__visual { aspect-ratio: 4 / 3; }
  .folio__box-in { grid-template-columns: minmax(0, 1fr); }
  .folio__zoom { opacity: 1; transform: none; }
}

/* Testimonials: hero stack of client quotes, buyer questions, the review wall */
.rstack { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.rstack__q { position: absolute; width: 78%; display: grid; gap: 10px; }
.rstack__q blockquote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-display); font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.32; text-wrap: pretty; }
.rstack__q figcaption { display: flex; align-items: center; gap: 10px; }
.rstack__q img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.rstack__q b { display: block; font-size: 14px; font-weight: 600; }
.rstack__q small { display: block; font-size: 12.5px; color: var(--muted); }
.rstack__q--0 { left: 0; top: 0; rotate: -2deg; }
.rstack__q--1 { right: 0; top: 40%; rotate: 1.5deg; }
.rstack__sum { position: absolute; left: 6%; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.rstack__sum > b { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.rstack__sum > span:not(.rstack__logos) { display: grid; gap: 4px; }
.rstack__sum small { font-size: 12.5px; color: var(--muted); max-width: 19ch; line-height: 1.3; }
.rstack__logos { display: flex; }
.rstack__logos img { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: var(--raised); outline: 2px solid var(--raised); box-shadow: 0 0 0 1px var(--ui-line); object-fit: contain; }
.rstack__logos img + img { margin-left: -6px; }
.ranswers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ranswer { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--raised); }
.ranswer__q { display: flex; align-items: center; gap: 14px; }
.ranswer__q h3 { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.02em; line-height: 1.2; }
.ranswer blockquote { font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.ranswer__by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ranswer__by .face { width: 40px; height: 40px; }
.ranswer__by b { display: block; font-size: 14.5px; font-weight: 600; }
.ranswer__by span span { display: block; font-size: 13.5px; color: var(--muted); }
.rwall { columns: 3; column-gap: var(--gap); }
.rwall > * { break-inside: avoid; margin-bottom: var(--gap); }
.rcard { gap: 16px; }
.rcard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.rcard blockquote { font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.rcard__metrics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.rcard__metrics div { flex: 1 1 0; min-width: 96px; padding: 10px 12px; border-radius: 12px; background: var(--ground); }
.rcard__metrics dd { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.rcard__metrics dt { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.rcard__by { display: flex; align-items: center; gap: 12px; }
.rcard__by b { display: block; font-size: 15px; font-weight: 600; }
.rcard__by span span { display: block; font-size: 13.5px; color: var(--muted); }
.rwall__cta { display: flex; min-height: 0; padding-top: clamp(40px, 5vw, 72px); }
.l-review-wall .cgrid__note { max-width: 72ch; }
.nw { white-space: nowrap; }
@media (max-width: 1180px) {
  .ranswers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rwall { columns: 2; }
}
@media (max-width: 760px) {
  .ranswers { grid-template-columns: minmax(0, 1fr); }
  .rwall { columns: 1; }
  .rstack { aspect-ratio: auto; display: grid; gap: 12px; }
  .rstack__q, .rstack__sum { position: static; width: auto; rotate: none; }
  .rstack__q--1 { display: none; }
  .rstack__q blockquote { -webkit-line-clamp: unset; }
}

/* Contact: the form in the first screen, next steps and other ways to reach us beside it */
.cstart { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(48px, 6vw, 88px); }
.cstart__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; grid-template-areas: "copy copy copy copy copy main main main main main main main" "team team team team team main main main main main main main" "next next next next next main main main main main main main"; gap: 0 var(--gap); align-items: start; }
.cstart__copy { grid-area: copy; display: flex; flex-direction: column; gap: 20px; padding-right: clamp(0px, 3vw, 40px); }
.cstart__copy h1 { font-size: clamp(38px, 4.3vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.cstart__intro { display: grid; gap: 12px; font-size: var(--fs-lead); }
.cstart__team { grid-area: team; align-self: start; margin-top: 28px; padding-right: clamp(0px, 3vw, 40px); }
.cstart__team .bteam__faces img, .cstart__team .bteam__more { outline-color: var(--ground); }
.cstart__next { grid-area: next; display: grid; gap: 18px; padding: clamp(28px, 3vw, 40px) clamp(0px, 3vw, 40px) 0 0; }
.cstart__h { font-size: 20px; letter-spacing: -0.02em; }
.cstart__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cstart__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.cstart__steps li > .num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); font-size: 15px; font-weight: 650; }
.cstart__steps b { display: block; font-size: 16.5px; font-weight: 600; }
.cstart__steps p { margin-top: 2px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.cstart__rating { justify-self: start; display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 12px 18px 12px 14px; border-radius: 16px; background: var(--tile); }
.cstart__rating > b { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.cstart__rating > span:last-child { display: grid; gap: 3px; }
.cstart__rating small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.cstart__rating .rstack__logos { flex: none; }
.cstart__rating .rstack__logos img { outline-color: var(--tile); }
.cstart__main { grid-area: main; display: grid; gap: 14px; }
.cform__offer { margin: 0 0 4px; padding: 12px 16px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); font-size: 15px; font-weight: 550; }
.cform__offer[hidden] { display: none; }
.cform { grid-column: auto; box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(10, 20, 48, .25); }
.cform .apply__pick legend .field__opt { margin-left: 6px; font-size: 13.5px; }
.cform .choices { gap: 8px; }
.cform .choice span { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.cform .textarea { min-height: 96px; }
.cform .apply__grid .field { align-content: start; }
.cform__budget { min-width: 0; margin: 0; padding: 16px; border: 0; border-radius: 16px; background: var(--ground); display: grid; gap: 12px; animation: rise .35s var(--ease-out) both; }
.cform__budget legend { float: left; width: 100%; padding: 0; font-size: 15px; font-weight: 600; }
.cform__budget[hidden] { display: none; }
.form .cform__budget, .cta__form .cform__budget { padding: 16px; }
.form .cform__budget legend { margin-bottom: 0; }
.cta__form .cform__budget .choice span, .form .cform__budget .choice span { background: var(--raised); }
.fstep__q + .fstep__grid { margin-top: 10px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply__pick.field--error legend, .fstep.field--error .fstep__q { color: #B91C1C; }
.cform__budget legend + .choices { clear: both; }
.cform__budget .choices { display: flex; flex-wrap: wrap; gap: 6px; }
.cform__budget .choice { flex: 1 1 auto; display: flex; }
.cform__budget .choice span { width: 100%; justify-content: center; text-align: center; white-space: nowrap; }
.cform .cform__budget .choice span { min-height: 40px; padding: 0 8px; font-size: 14px; background: var(--raised); font-variant-numeric: tabular-nums; }
.cform__budget .choice input:checked + span { background: var(--ink); color: #fff; }
.telfield { display: flex; align-items: stretch; min-height: 52px; border: 1.5px solid transparent; border-radius: 14px; background: var(--ground); transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease; }
.telfield:hover { border-color: var(--tile-2); }
.telfield:focus-within { border-color: var(--blue); }
.telfield__cc { position: relative; flex: none; display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 0 12px 0 16px; border-right: 1px solid var(--tile-2); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.telfield__cc::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; opacity: .6; }
.telfield__cc select { position: absolute; inset: -10px 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.field .telfield .input { flex: 1; min-width: 0; min-height: 0; padding-left: 12px; border: 0; background: transparent; }
.field--error .telfield { border-color: #B91C1C; background: #FDF3F3; }
.field.field--error .telfield .input { border: 0; background: transparent; }
.cform .btn { min-height: 54px; }
.field__err:empty { display: none; }
.field__err { color: #B91C1C; font-weight: 550; }
.cform .field--error .input { border-color: #B91C1C; background: #FDF3F3; }
.field__fix { justify-self: start; padding: 4px 10px; border-radius: var(--pill); background: var(--blue-soft); color: var(--blue-ink); font-size: 13.5px; font-weight: 600; }
.cform__legal { font-size: 13px; color: var(--muted); }
.cform__legal a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.cstart__alt { display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r); background: var(--tile); }
.cstart__alt > p { font-size: 15px; font-weight: 600; }
.cstart__alt ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cstart__alt li > a, .cstart__alt li > button { width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--raised); text-align: left; transition: background-color var(--t-fast); position: relative; }
.cstart__alt li > a:hover, .cstart__alt li > button:hover { background: var(--blue-soft); }
.cstart__alt svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.cstart__alt b { display: block; font-size: 14.5px; font-weight: 600; }
.cstart__alt small { display: block; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.cstart__alt li > .copy-email:not(.btn):not(.link) { display: flex; align-items: center; gap: 10px; padding: 12px; color: inherit; text-decoration: none; }
.cstart__alt .copy-email .copy-email__copy { position: absolute; top: 10px; right: 10px; margin: 0; width: 14px; height: 14px; color: var(--muted); }
@media (max-width: 1180px) {
  .cstart__alt ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .cstart__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "main" "next" "team"; gap: 24px; }
  .cstart__team { margin-top: 0; padding-right: 0; }
  .cform__budget { padding: 14px 12px; }
  .cform .cform__budget .choice span { padding: 0 12px; }
  .cstart__copy, .cstart__next { padding-right: 0; }
  .cstart__next { padding-top: 12px; }
}
@media (max-width: 760px) {
  .cstart__copy h1 { font-size: clamp(32px, 9vw, 44px); }
  .cstart__copy { gap: 14px; }
  .cform { padding: 20px 16px; }
  .cform .apply__grid { grid-template-columns: minmax(0, 1fr); }
  .cform .choices { gap: 6px; }
  .cform .choice span { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .cstart__alt ul { grid-template-columns: minmax(0, 1fr); }
}

/* Book a call: pick a day and a time in your own time zone, add your details, see it confirmed */
.cbook__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cbook__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: var(--tile); font-size: 14.5px; font-weight: 550; }
.cbook__facts svg { width: 18px; height: 18px; color: var(--blue); }
.book { grid-column: auto; scroll-margin-top: calc(var(--header-h) + 16px); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(10, 20, 48, .25); }
.book__time, .book__form, .book__done { display: grid; }
.book__time[hidden], .book__form[hidden], .book__done[hidden] { display: none; }
.book__time { gap: 16px; }
.js [data-book]:not(.is-ready) [data-book-step="time"] { display: grid; }
.js [data-book]:not(.is-ready) [data-book-soonest] { display: inline-flex; visibility: hidden; }
.js [data-book]:not(.is-ready) [data-book-form], .js [data-book]:not(.is-ready) [data-book-fallback] { display: none; }
.js [data-book]:not(.is-ready) [data-book-cal]::before { content: ""; display: block; padding-top: calc(74.172px + 4 * min(46px, (100% - 24px) / 7)); } /* month line, weekday row, 4 week rows */
.js [data-book]:not(.is-ready) [data-book-times] { min-height: 372px; }
.book__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.book__h { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; }
.book__tz { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--pill); background: var(--ground); font-size: 14px; font-weight: 550; }
.book__tz svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.book__tz select { max-width: 230px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.book__tz:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.book__tz select:focus { outline: none; }
.book__soon { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); font-size: 14.5px; text-align: left; transition: background-color var(--t-fast), color var(--t-fast); }
.book__soon[hidden] { display: none; }
.book__soon svg { width: 16px; height: 16px; flex: none; }
.book__soon:hover { background: var(--blue); color: #fff; }
.book__pick { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.book__month { margin-bottom: 10px; font-size: 16px; }
.book__day small { display: block; margin-bottom: -2px; font-size: 10px; font-weight: 600; line-height: 1; }
.book__day.is-first { line-height: 1; align-content: center; }
.book__nav { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ground); transition: background-color var(--t-fast); }
.book__nav:not(:disabled):hover { background: var(--tile); }
.book__nav svg { width: 16px; height: 16px; }
.book__nav--prev svg { rotate: 180deg; }
.book__nav:disabled { opacity: .35; cursor: default; }
.book__wk, .book__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.book__wk span { padding: 4px 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.book__day { position: relative; aspect-ratio: 1; max-height: 46px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-variant-numeric: tabular-nums; }
button.book__day { background: var(--blue-soft); color: var(--blue-ink); font-weight: 650; transition: background-color var(--t-fast), color var(--t-fast); }
button.book__day:hover { background: #CFDCFB; }
.book__day.is-off { color: #A3A9B8; }
.book__day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
button.book__day.is-on { background: var(--ink); color: #fff; }
.book__times { max-height: 372px; overflow: auto; display: grid; gap: 14px; align-content: start; padding-right: 4px; overscroll-behavior: contain; }
.book__day-h { font-size: 15.5px; font-weight: 600; }
.book__group { display: grid; gap: 8px; }
.book__group > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.book__slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.book__slot { min-height: 44px; border: 1.5px solid #CBD7F5; border-radius: 12px; background: var(--raised); color: var(--blue-ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.book__slot:hover { border-color: var(--blue); background: var(--blue-soft); }
.book__slot.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.book__none { color: var(--muted); }
.book__gone { padding: 12px 16px; border-radius: 14px; background: var(--amber-soft); color: var(--amber); font-size: 14.5px; font-weight: 550; }
.book__none a, .book__done-note a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.book__form { gap: 22px; }
.book__chosen { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--blue-soft); }
.book__chosen[hidden] { display: none; }
.book__chosen > svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.book__chosen b { display: block; font-size: 16px; }
.book__chosen small { display: block; font-size: 13.5px; color: var(--muted); }
.book__change { margin-left: auto; padding: 8px 14px; border-radius: var(--pill); background: var(--raised); font-size: 14px; font-weight: 600; transition: background-color var(--t-fast); }
.book__change:hover { background: var(--tile); }
.book__done { gap: 14px; justify-items: start; outline: none; }
.book__tick { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.book__tick svg { width: 28px; height: 28px; }
.book__done-when { font-size: 18px; font-weight: 600; }
.book__done > p:not(.book__done-when) { color: var(--muted); }
.book__add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.book__add .btn--soft { padding-inline: 22px; }
.cstart__alt[hidden] { display: none; }
.book__done-note { font-size: 14.5px; }
@media (max-width: 1180px) {
  .book__pick { grid-template-columns: minmax(0, 1fr); }
  .book__times { max-height: none; overflow: visible; }
  .js [data-book]:not(.is-ready) [data-book-times] { min-height: 296.3px; }
  .book__slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .book { padding: 20px 16px; }
  .book__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book__tz { width: 100%; }
  .book__tz select { max-width: none; flex: 1; }
  .book__day { max-height: none; }
  .js [data-book]:not(.is-ready) [data-book-cal]::before { padding-top: calc(74.172px + 4 * (100% - 24px) / 7); }
}

/* Blog: topic chips, a wide featured article, then cards and topic tiles */
.bhero { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(48px, 6vw, 88px); }
.bhero__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gap); align-items: end; margin-bottom: clamp(24px, 3vw, 36px); }
.bhero__head h1 { grid-column: 1 / span 7; font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.04em; line-height: 1; }
.bhero__intro { grid-column: 8 / span 5; font-size: var(--fs-lead); }
.bnav { display: flex; gap: 8px; margin-bottom: clamp(20px, 2.4vw, 32px); padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.bnav::-webkit-scrollbar { display: none; }
.bnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); background: var(--raised); font-size: 15px; font-weight: 550; transition: background-color var(--t-fast), color var(--t-fast); }
.bnav a:hover { background: var(--blue-soft); }
.bnav a[aria-current] { background: var(--ink); color: #fff; }
.bpost { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--raised); transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.bpost:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -34px rgba(10, 20, 48, .4); }
.bpost__img { overflow: hidden; aspect-ratio: 16 / 9; background: var(--blue-soft); }
.bpost__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.bpost:hover .bpost__img img { transform: scale(1.04); }
.bpost__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 26px); }
.bpost__cat { position: relative; z-index: 1; align-self: flex-start; font-size: 13.5px; font-weight: 650; color: var(--blue-ink); }
.bpost__cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.bpost__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.25; letter-spacing: -0.015em; }
.bpost__title a::after { content: ""; position: absolute; inset: 0; }
.bpost__title a { transition: color var(--t-fast); }
.bpost:hover .bpost__title a { color: var(--blue-ink); }
.bpost__ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.bpost__by { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.bpost__by img { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.bpost__by b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bpost__by span span { display: block; }
.bpost__go { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue-ink); }
.bpost__go svg { width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease-out); }
.bpost:hover .bpost__go svg, .btile:hover .bpost__go svg { transform: translateX(4px); }
.bpost--feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.bpost--feature .bpost__img { aspect-ratio: auto; min-height: 380px; }
.bpost--feature .bpost__body { justify-content: center; gap: 16px; padding: clamp(24px, 3vw, 44px); }
.bpost--feature .bpost__title { -webkit-line-clamp: 4; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -0.03em; }
.bpost--feature .bpost__ex { font-size: 17px; }
.bpost--feature .bpost__by { margin-top: 4px; }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.bgrid--next { margin-top: var(--gap); }
.btile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 240px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--blue-soft); transition: transform var(--t-mid) var(--ease-out), background-color var(--t-fast); }
.btile:hover { transform: translateY(-4px); }
.btile__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--raised); color: var(--blue); }
.btile__ico svg { width: 22px; height: 22px; }
.btile--dark .btile__ico { background: var(--navy-2); color: #9DBBFF; }
.btile__latest { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(10, 20, 48, .1); font-size: 14px; color: var(--muted); }
.btile .btile__latest b { display: block; margin-top: 2px; font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--ink); }
.btile__latest + .bpost__go { margin-top: 0; }
.btile b { font-family: var(--font-display); font-size: clamp(21px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.btile p { color: var(--muted); }
.btile .bpost__go { margin-top: auto; }
.btile--dark { background: var(--navy); color: #fff; }
.btile--dark p { color: var(--on-navy-muted); }
.btile--dark .bpost__go { color: #9DBBFF; }
.blead__none a { color: var(--blue-ink); text-decoration: underline; }
.bwriters__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--tile); }
.bwriters__intro p { margin-top: 8px; color: var(--muted); }
.bwriters__intro .link { margin-top: 14px; }
.bwriters__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bwriters__list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--raised); }
.bwriters__list img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.bwriters__list b { display: block; font-size: 16px; }
.bwriters__list small { display: block; font-size: 13.5px; color: var(--muted); }
.bwriters__list .link { margin-left: auto; white-space: nowrap; }
@media (max-width: 1180px) {
  .bpost--feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bhero__head h1, .bhero__intro { grid-column: 1 / -1; }
  .bhero__head h1 { font-size: clamp(36px, 10vw, 52px); }
  .bnav { margin-inline: -16px; padding-inline: 16px; }
  .bpost--feature { grid-template-columns: minmax(0, 1fr); }
  .bpost--feature .bpost__img { aspect-ratio: 16 / 9; min-height: 0; }
  .bpost--feature .bpost__title { font-size: clamp(24px, 7vw, 30px); }
  .bgrid { grid-template-columns: minmax(0, 1fr); }
  .btile { min-height: 0; }
  .bwriters__in { grid-template-columns: minmax(0, 1fr); }
  .bwriters__list li { flex-wrap: wrap; }
  .bwriters__list .link { margin-left: 70px; margin-top: -4px; }
}

/* Industries hero: jump straight to an industry */
.igrid { width: 100%; }
.igrid ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.igrid a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: var(--ground); font-size: 15px; font-weight: 600; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.igrid a svg { width: 34px; height: 34px; flex: none; padding: 8px; border-radius: 10px; background: var(--raised); color: var(--blue); }
.igrid a:hover { background: var(--blue-soft); color: var(--blue-ink); transform: translateY(-2px); }
@media (max-width: 760px) {
  .igrid a { min-height: 50px; padding: 8px 10px; gap: 10px; font-size: 14px; }
  .igrid a svg { width: 30px; height: 30px; padding: 7px; }
}

/* Blog article: header with byline and share, contents list, body, callouts, author box */
.ahero { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(20px, 2.4vw, 32px); }
.ahero__head { max-width: 940px; display: grid; gap: 18px; }
.ahero__cat { justify-self: start; font-size: 14.5px; font-weight: 650; color: var(--blue-ink); }
.ahero__cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.ahero h1 { font-size: clamp(36px, 4.2vw, 62px); letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
.ahero__dek { max-width: 62ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); }
.ahero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.ahero__people { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.ahero__by { display: flex; align-items: center; gap: 12px; }
.ahero__by img { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.ahero__by > span { display: grid; line-height: 1.3; }
.ahero__by small { font-size: 13px; color: var(--muted); }
.ahero__by b { font-size: 15.5px; font-weight: 600; transition: color var(--t-fast); }
.ahero__by:hover b { color: var(--blue-ink); }
.ahero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.ahero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.ahero__facts svg { width: 16px; height: 16px; flex: none; color: var(--blue); }
.ahero__meta .share { margin-left: auto; }
.ahero__img { margin: clamp(24px, 3vw, 40px) 0 0; overflow: hidden; border-radius: var(--r); background: var(--blue-soft); }
.ahero__img img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.share { display: flex; gap: 6px; }
.share a, .share button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--tile); color: var(--ink); transition: background-color var(--t-fast), color var(--t-fast); }
.share a:hover, .share button:hover { background: var(--blue-soft); color: var(--blue-ink); }
.share svg { width: 17px; height: 17px; }
.share__tip { position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast); }
.share button.is-copied .share__tip { opacity: 1; }
.prose .share a { color: var(--ink); text-decoration: none; }
.aart { padding-top: clamp(24px, 3vw, 44px); }
.aart .prose-wrap--toc .prose { grid-column: 5 / span 7; }
.aart .prose { font-size: 18px; line-height: 1.75; }
.aart .prose img { border-radius: 14px; }
.aart .prose table { display: block; overflow-x: auto; }
.aart .toc { padding: 0; background: none; }
.aart .toc details { padding: 20px 22px; border-radius: var(--r); background: var(--tile); }
.aart .toc summary { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 600; cursor: pointer; list-style: none; }
.aart .toc summary::-webkit-details-marker { display: none; }
.aart .toc summary small { font-size: 13px; font-weight: 500; color: var(--muted); }
.aart .toc ol { max-height: calc(100vh - var(--header-h) - 170px); margin-top: 12px; gap: 0; border-left: 2px solid var(--tile-2); }
.aart .toc a { margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; line-height: 1.35; }
.aart .toc a.is-active { border-left-color: var(--blue); color: var(--blue-ink); font-weight: 600; }
.akeys { padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--raised); }
.akeys__h { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.akeys ul { margin-top: 10px; }
.prose blockquote.callout { padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: var(--blue-soft); font-family: var(--font-text); font-size: 17px; line-height: 1.65; letter-spacing: 0; }
.prose blockquote.callout strong:first-child { display: block; margin-bottom: 4px; color: var(--blue-ink); }
.prose blockquote.callout--note { border-left-color: #E0A33A; background: #FBF3E4; }
.prose blockquote.callout--note strong:first-child { color: #8A5A10; }
.prose blockquote.callout--from-our-work { border-left-color: var(--green); background: var(--green-soft); }
.prose blockquote.callout--from-our-work strong:first-child { color: var(--green); }
.acta { margin: 2.4em 0; padding: 26px 28px; display: grid; gap: 10px; border-radius: 20px; background: var(--navy); color: #fff; }
.acta__h { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.acta p:not(.acta__h) { font-size: 16.5px; line-height: 1.6; color: var(--on-navy-muted); }
.acta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.prose .acta a.link { color: #9DBBFF; text-decoration: none; font-size: 16px; }
.aend { margin-top: 2.6em; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.aend p { font-size: 16px; font-weight: 600; }
.aauthor .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.aauthor__in { grid-column: 3 / span 8; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--tile); }
.aauthor__img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.aauthor__text { display: grid; gap: 10px; }
.aauthor__k { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.aauthor__text h2 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.02em; }
.aauthor__text h2 a:hover { color: var(--blue-ink); }
.aauthor__role { margin-top: -6px; font-weight: 600; color: var(--blue-ink); }
.aauthor__text > p:not(.aauthor__k):not(.aauthor__role) { color: var(--muted); }
.aauthor__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.achips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.achips li { padding: 5px 12px; border-radius: var(--pill); background: var(--raised); font-size: 13.5px; font-weight: 550; }

/* Author pages and the authors directory */
.auth { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(40px, 5vw, 72px); }
.auth__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.auth__photo { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--tile); }
.auth__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.auth__info { display: grid; gap: 18px; align-content: start; }
.auth__info h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1; }
.auth__role { font-size: 18px; font-weight: 600; color: var(--blue-ink); }
.auth__bio { display: grid; gap: 12px; max-width: 62ch; font-size: var(--fs-lead); }
.auth__creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.auth__creds li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; }
.auth__creds svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green); }
.auth__topics { display: grid; gap: 8px; }
.auth__topics > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.auth .achips li { background: var(--tile); }
.auth__links { display: flex; flex-wrap: wrap; gap: 10px; }
.auth__links svg { width: 16px; height: 16px; }
.auth__stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.auth__stats div { min-width: 140px; display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--tile); }
.auth__stats dt { font-size: 13.5px; color: var(--muted); }
.auth__stats dd { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.aguides { display: grid; gap: 10px; }
.aguides__g { border-radius: 18px; background: var(--tile); }
.aguides__g summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-size: 17px; cursor: pointer; list-style: none; }
.aguides__g summary::-webkit-details-marker { display: none; }
.aguides__g summary span { margin-left: auto; font-size: 14px; color: var(--muted); }
.aguides__g summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; transition: rotate var(--t-fast); }
.aguides__g[open] summary::after { rotate: -135deg; margin-top: 4px; }
.aguides__g ul { list-style: none; margin: 0; padding: 0 22px 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 24px; }
.aguides__g a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.35; transition: color var(--t-fast); }
.aguides__g a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.adir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.adir__card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--raised); transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.adir__card:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -34px rgba(10, 20, 48, .4); }
.adir__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.adir__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease-out); }
.adir__card:hover .adir__photo img { transform: scale(1.04); }
.adir__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.adir__body h2 { font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -0.02em; }
.adir__body h2 a::after { content: ""; position: absolute; inset: 0; }
.adir__role { font-size: 14.5px; font-weight: 600; color: var(--blue-ink); }
.adir__body > p:not(.adir__role):not(.adir__counts) { color: var(--muted); }
.adir .achips li { background: var(--tile); }
.adir__counts { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 1180px) {
  .aart .prose-wrap--toc .prose { grid-column: 5 / span 8; }
  .aauthor__in { grid-column: 1 / -1; }
  .aguides__g ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .aart .prose-wrap--toc .prose { grid-column: 1 / -1; }
  .auth__grid { grid-template-columns: minmax(0, 1fr); }
  .auth__photo { position: static; max-width: 340px; aspect-ratio: 1; }
}
@media (max-width: 760px) {
  .ahero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .ahero__meta .share { margin-left: 0; }
  .aart .prose { font-size: 17px; }
  .aauthor__in { grid-template-columns: minmax(0, 1fr); }
  .aauthor__img { width: 80px; height: 80px; }
  .aguides__g ul { grid-template-columns: minmax(0, 1fr); }
  .adir { grid-template-columns: minmax(0, 1fr); }
  .auth__stats div { min-width: 0; flex: 1 1 40%; }
}

/* LinkedIn profile button: the LinkedIn mark in its own blue square, then the label */
.inbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 6px; border-radius: var(--pill); background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.inbtn:hover { background: #EAF2FB; box-shadow: inset 0 0 0 1px #0A66C2; }
.inbtn__mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #0A66C2; color: #fff; }
.inbtn__mark svg { width: 15px; height: 15px; }
.aauthor__links { align-items: center; }

/* Case study: hero, chapter bar, before and after, client's words, next story */
.chero { padding-top: clamp(20px, 2.6vw, 36px); padding-bottom: clamp(32px, 4vw, 56px); }
.chero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.chero__copy { display: grid; gap: 18px; align-content: start; }
.chero__client { display: flex; align-items: center; gap: 12px; }
.chero__logo { width: 88px; height: 48px; flex: none; display: grid; place-items: center; padding: 6px 10px; border-radius: 12px; background: var(--raised); }
.chero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.chero__client b { display: block; font-size: 16px; }
.chero__client small { display: block; font-size: 13px; color: var(--muted); }
.chero h1 { font-size: clamp(34px, 3.8vw, 56px); letter-spacing: -0.04em; line-height: 1.05; text-wrap: balance; }
.chero__dek { max-width: 60ch; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.5; color: var(--muted); }
.chero__svc a { display: inline-flex; align-items: center; gap: 6px; }
.chero__svc li { padding: 0; }
.chero__svc a { padding: 6px 12px; border-radius: var(--pill); background: var(--raised); transition: background-color var(--t-fast); }
.chero__svc a:hover { background: var(--blue-soft); color: var(--blue-ink); }
.chero__svc svg { width: 15px; height: 15px; color: var(--blue); }
.chero .achips li { background: none; }
.chero__by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14.5px; }
.chero__by > img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.chero__by > span a { font-weight: 600; }
.chero__by > span a:hover { color: var(--blue-ink); }
.chero__by small { display: block; font-size: 13px; color: var(--muted); }
.chero__copy > .share { margin-bottom: 18px; }
.chero__visual { padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r); background: var(--blue-soft); }
.chero__visual > * { width: 100%; }
.chero__visual img { display: block; width: 100%; height: auto; }
.chero__nums { margin: clamp(28px, 3.4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.chero__nums div { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--r); background: var(--navy); color: #fff; }
.chero__nums dd { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.chero__nums dt { font-size: 14.5px; color: var(--on-navy-muted); }
.chero__facts { margin: var(--gap) 0 0; display: flex; flex-wrap: wrap; border-radius: var(--r); background: var(--tile); }
.chero__facts div { flex: 1 1 160px; padding: 16px 22px; }
.chero__facts div + div { box-shadow: inset 1px 0 0 var(--tile-2); }
.chero__facts dt { font-size: 13px; color: var(--muted); }
.chero__facts dd { margin: 2px 0 0; font-size: 15.5px; font-weight: 600; }
.cnav { position: sticky; top: var(--header-h); z-index: 40; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.cnav__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.cnav ol { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cnav ol::-webkit-scrollbar { display: none; }
.cnav a:not(.btn) { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--pill); font-size: 14.5px; font-weight: 550; color: var(--muted); white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast); }
.cnav a:not(.btn):hover { color: var(--ink); background: var(--tile); }
.cnav a.is-active { background: var(--ink); color: #fff; }
.cnav__cta { flex: none; }
.cnum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cnum__card { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2vw, 26px); border-radius: var(--r); background: var(--raised); }
.cnum__big { font-family: var(--font-display); font-size: clamp(38px, 3.4vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.cnum__label { font-family: var(--font-text); font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.cnum__ba { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cnum__ba svg { width: 16px; height: 16px; color: var(--blue); }
.cnum__ba b { color: var(--ink); }
.cnum__bars { display: grid; gap: 8px; margin-top: auto; padding-top: 8px; }
.cnum__bars span { display: grid; grid-template-columns: 1fr 44px; align-items: center; gap: 8px; }
.cnum__bars i { display: block; height: 10px; width: var(--w); border-radius: var(--pill); background: var(--tile-2); }
.cnum__bars i.is-after { background: var(--blue); }
.cnum__bars small { font-size: 12.5px; color: var(--muted); }
.cnum__note { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.cnum__bars + .cnum__note { margin-top: 4px; }
.cquote { margin: 0 auto; max-width: 980px; display: grid; gap: 22px; justify-items: start; }
.cquote .stars { color: #6F9BFF; }
.cquote blockquote { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; text-wrap: pretty; color: #fff; }
.cquote figcaption { display: flex; align-items: center; gap: 14px; }
.cquote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.cquote b { display: block; font-size: 17px; color: #fff; }
.cquote figcaption span span { display: block; font-size: 14.5px; color: var(--on-navy-muted); }
.cnext__big { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); overflow: hidden; border-radius: var(--r); background: var(--raised); transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.cnext__big:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -34px rgba(10, 20, 48, .4); }
.cnext__shot { display: grid; place-items: center; padding: clamp(20px, 2.6vw, 36px); background: var(--blue-soft); }
.cnext__shot > * { width: 100%; transition: transform .8s var(--ease-out); }
.cnext__big:hover .cnext__shot > * { transform: scale(1.03); }
.cnext__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 3vw, 44px); }
.cnext__body small { font-size: 14px; font-weight: 600; color: var(--blue-ink); }
.cnext__body b { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.cnext__num { display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.cnext__num em { font-style: normal; font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--blue); }
.cnext__more { margin-top: var(--gap); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.cnext__mini { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--raised); transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.cnext__mini:hover { transform: translateY(-2px); background: var(--blue-soft); }
.cnext__mlogo { width: 72px; height: 48px; flex: none; display: grid; place-items: center; padding: 6px; border-radius: 12px; background: var(--ground); color: var(--blue); }
.cnext__mlogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cnext__mlogo svg { width: 22px; height: 22px; }
.cnext__mini > span:not(.cnext__mlogo) { flex: 1; min-width: 0; display: grid; gap: 3px; }
.cnext__mini small { font-size: 13px; color: var(--muted); }
.cnext__mini b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.cnext__mini em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--blue-ink); }
.cnext__mini > svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
@media (max-width: 1180px) {
  .chero__nums, .cnum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cnav__cta { display: none; }
}
@media (max-width: 960px) {
  .chero__grid, .cnext__big { grid-template-columns: minmax(0, 1fr); }
  .cnext__more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .chero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .chero__nums div { padding: 18px; }
  .chero__facts div { flex-basis: 50%; }
  .chero__facts div + div { box-shadow: none; }
  .cnav__in { min-height: 52px; }
}
.chero__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--blue-ink); }
.chero__more svg { width: 15px; height: 15px; rotate: 90deg; }
.chero__glance { margin-top: var(--gap); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.chero__glance div { padding: 20px 22px; border-radius: var(--r); background: var(--raised); }
.chero__glance h2 { font-family: var(--font-text); font-size: 13.5px; font-weight: 650; letter-spacing: 0; color: var(--blue-ink); }
.chero__glance p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; }
.cgrow svg { display: block; width: 100%; height: 150px; margin-top: 10px; }
.cgrow__area { fill: var(--blue-soft); }
.cgrow__line { fill: none; stroke: var(--blue); stroke-width: 3; vector-effect: non-scaling-stroke; }
.cgrow__ends { display: flex; justify-content: space-between; margin-top: 10px; }
.cgrow__ends span { display: grid; }
.cgrow__ends span:last-child { text-align: right; }
.cgrow__ends small { font-size: 12.5px; color: var(--muted); }
.cgrow__ends b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.cnum__next { margin-top: clamp(20px, 2.4vw, 32px); font-size: 16px; color: var(--muted); }
.cnum__next a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cnext__count { align-self: end; font-size: 14.5px; font-weight: 600; color: var(--muted); }
@media (max-width: 960px) {
  .chero__glance { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- SEO service template ---------- */
/* A section head with a long introduction: heading and text start on the same line, side by side */
.section-head--long { align-items: start; }
.section-head--long > h2, .section-head--long > h2.is-long { grid-column: 1 / span 6; padding-right: clamp(0px, 2vw, 32px); font-size: clamp(32px, 3.5vw, 56px); }
.section-head--long .section-head__side { grid-column: 7 / span 6; font-size: 16.5px; }
.section-head--btn { align-items: end; }
.section-head--btn .section-head__side { justify-self: end; }
.g { display: block; }

/* Hero: the first paragraph leads, the buttons and ratings follow it, then the rest of the introduction */
.phero--svc .phero__grid { align-items: start; }
.phero--svc .phero__copy { gap: 22px; }
.phero--svc .hero__proof { margin-top: 0; }
.phero--svc .phero__visual { position: sticky; top: calc(var(--header-h) + 24px); min-height: 460px; }

/* What's included: one card colour, the icon leads each heading */
.stiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.stiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stile { background: var(--raised); border-radius: var(--r); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 16px; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.stile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(10, 20, 48, .35); }
.stile__head { display: flex; align-items: center; gap: 16px; min-height: 52px; }
.stile__ico, .reason__ico, .srel__ico, .istack__ico { flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.stile__ico { width: 52px; height: 52px; }
.stile__ico .g, .reason__ico .g, .srel__ico .g { width: 24px; height: 24px; }
.stile h3 { font-size: clamp(20px, 1.55vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.stile__text { display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.stile__text a, .reason__text a, .istack__text a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Benefits: every row carries its own illustration, drawn to the same size */
.slist--spots .slist__img { aspect-ratio: 640 / 280; background: #EDF1FB; padding: 0; }
.slist--spots .slist__img img { width: 100%; height: 100%; object-fit: contain; }

/* Mid-page audit offer */
.aband { background: var(--blue); color: #fff; border-radius: var(--r); padding: clamp(28px, 4vw, 60px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center; }
.aband__copy { grid-column: 1 / span 7; display: grid; gap: 18px; justify-items: start; }
.aband h2 { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.04; letter-spacing: -0.035em; max-width: 15em; text-wrap: balance; }
.aband__text { color: rgba(255, 255, 255, .9); font-size: 17px; max-width: 36em; display: grid; gap: 10px; }
.aband__form { display: grid; gap: 10px; width: 100%; max-width: 580px; margin-top: 4px; }
.aband__field { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--pill); padding: 6px 6px 6px 20px; transition: box-shadow var(--t-fast); }
.aband__field:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); }
.aband__input { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.aband__input > .g { width: 20px; height: 20px; color: var(--muted); flex: none; }
.aband__field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16.5px; color: var(--ink); padding: 12px 0; outline: none; }
.aband__field input::placeholder { color: #8A93A8; }
.aband__field .btn { --btn-bg: var(--ink); --btn-hover: var(--navy-3); flex: none; }
.aband.is-error .aband__field { box-shadow: 0 0 0 3px #FFD7D7; }
.aband__problems { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.aband__problems legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: #fff; }
.aband__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aband__chip { position: relative; cursor: pointer; }
.aband__chip input { position: absolute; opacity: 0; pointer-events: none; }
.aband__chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); color: #fff; font-size: 15px; font-weight: 550; line-height: 1.25; transition: background-color var(--t-fast), color var(--t-fast); }
.aband__chip:hover span { background: rgba(255, 255, 255, .24); }
.aband__chip input:checked + span { background: #fff; color: var(--blue-ink); box-shadow: none; }
.aband__chip input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.aband.is-error .aband__chips { border-radius: 14px; box-shadow: 0 0 0 3px #FFD7D7; }
.aband__form--problem { max-width: 640px; gap: 16px; }
.aband__go { --btn-bg: var(--ink); --btn-hover: var(--navy-3); justify-self: start; }
.aband__spend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.aband__spend select { flex: 1; min-width: 200px; max-width: 280px; appearance: none; border: 0; border-radius: var(--pill); padding: 11px 40px 11px 18px; font: inherit; font-size: 15px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1430' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; cursor: pointer; }
.aband__spend select:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); }
.aband__err { font-size: 14.5px; font-weight: 600; color: #fff; }
.aband__err:empty { display: none; }
.aband__alt { font-size: 14.5px; color: #fff; }
.aband__alt a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.aband__card { grid-column: 9 / span 4; background: #fff; color: var(--ink); border-radius: 18px; padding: 22px; display: grid; gap: 16px; box-shadow: 0 28px 50px -30px rgba(10, 20, 48, .6); }
.aband__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--tile); }
.aband__top b { font-size: 16px; }
.aband__top span { font-size: 13px; color: var(--muted); }
.aband__rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.aband__rows li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.aband__n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.aband__rows b { display: block; font-size: 15px; line-height: 1.3; }
.aband__rows small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.aband__by { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--tile); font-size: 13.5px; color: var(--muted); }
.aband__faces { display: flex; flex: none; }
.aband__faces img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid #fff; background: var(--tile); }
.aband__faces img + img { margin-left: -9px; }

/* Industries: stacked cards with a sticky index */
.istack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.istack__nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 24px); padding-right: 12px; }
.istack__nav ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.istack__nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--muted); font-size: 15px; font-weight: 550; line-height: 1.3; transition: background-color var(--t-fast), color var(--t-fast); }
.istack__nav a .g { width: 20px; height: 20px; flex: none; }
.istack__nav a:hover { background: var(--tile); color: var(--ink); }
.istack__nav a.is-active { background: var(--raised); color: var(--ink); box-shadow: 0 8px 20px -14px rgba(10, 20, 48, .3); }
.istack__nav a.is-active .g { color: var(--blue); }
.istack__cards { grid-column: 4 / span 9; display: grid; gap: 28px; }
.istack__card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 12px); background: var(--raised); border-radius: var(--r); padding: clamp(26px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "side text" "act text"; gap: 18px clamp(24px, 3vw, 48px); min-height: 300px; box-shadow: 0 -10px 30px -22px rgba(10, 20, 48, .35), inset 0 0 0 1px var(--tile); }
.istack__card.is-free { position: relative; top: auto; }
.istack__side { grid-area: side; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; min-width: 0; }
.istack__act { grid-area: act; align-self: end; }
.istack__top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.istack__ico { width: 56px; height: 56px; border-radius: 16px; }
.istack__ico .g { width: 28px; height: 28px; }
.istack__count { font-size: 14px; font-weight: 600; color: var(--muted); }
.istack__side h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.istack__text { grid-area: text; display: grid; gap: 12px; align-content: start; color: var(--muted); font-size: 16.5px; min-width: 0; overflow-wrap: anywhere; }

/* Why improveFX: three equal cards */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reason { background: var(--raised); border-radius: var(--r); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.reason__top { display: flex; justify-content: space-between; align-items: center; }
.reason__ico { width: 52px; height: 52px; }
.reason__n { font-size: 14px; font-weight: 700; color: var(--muted); }
.reason h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -0.02em; }
.reason__text { display: grid; gap: 10px; color: var(--muted); font-size: 16px; }

/* Related services: the left column stays in view while the services scroll */
.srel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.srel__side { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; justify-items: start; padding-right: clamp(0px, 3vw, 48px); }
.srel__side.is-free { position: relative; top: auto; }
.srel__side h2 { font-size: clamp(32px, 3.2vw, 50px); }
.srel__side h2.is-long { font-size: clamp(28px, 2.6vw, 42px); }
.srel__intro { display: grid; gap: 12px; color: var(--muted); }
.srel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.srel__list { grid-column: 6 / span 7; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.srel__card { display: grid; grid-template-columns: 52px minmax(0, 1fr) 22px; gap: 18px; align-items: start; background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2.2vw, 30px); color: inherit; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
a.srel__card:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -24px rgba(10, 20, 48, .35); }
.srel__ico { width: 52px; height: 52px; }
.srel__body b { display: block; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 6px; }
.srel__body > span { color: var(--muted); font-size: 15.5px; }
.srel__go svg { width: 18px; height: 18px; color: var(--blue); margin-top: 6px; transition: transform var(--t-mid) var(--ease-out); }
a.srel__card:hover .srel__go svg { transform: translate(3px, -3px); }

/* Questions answered in full: numbered, always open */
.qlist__items { grid-column: 6 / span 7; display: grid; gap: var(--gap); }
.qlist__item { background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2.2vw, 32px); display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.qlist__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); font-size: 14px; font-weight: 700; }
.qlist__item > div { display: grid; gap: 10px; min-width: 0; }
.qlist__item h3 { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -0.02em; }
.qlist__item p { color: var(--muted); font-size: 16.5px; }
.qlist__item a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Closing: the first step here, the rest on the contact page */
.cta__next { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.cta__next svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue); }

@media (max-width: 1180px) {
  .section-head--long > h2, .section-head--long > h2.is-long, .section-head--long .section-head__side { grid-column: 1 / -1; }
  .section-head--btn .section-head__side { justify-self: start; }
  .stiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aband__copy { grid-column: 1 / span 7; }
  .aband__card { grid-column: 8 / span 5; }
  .istack__nav { grid-column: 1 / -1; position: sticky; top: var(--header-h); z-index: 5; background: var(--ground); margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter); }
  .istack__nav ol { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .istack__nav ol::-webkit-scrollbar { display: none; }
  .istack__nav a { white-space: nowrap; padding: 10px 14px; background: var(--raised); }
  .istack__nav a.is-active { background: var(--ink); color: #fff; box-shadow: none; }
  .istack__nav a.is-active .g { color: #9DBBFF; }
  .istack__cards { grid-column: 1 / -1; }
  .istack__card { top: calc(var(--header-h) + 76px + var(--i) * 10px); }
  .reasons { grid-template-columns: 1fr; }
  .srel__side, .srel__list { grid-column: 1 / -1; position: static; padding-right: 0; }
  .qlist__items { grid-column: 1 / -1; }
  .phero--svc .phero__visual { position: static; min-height: 0; }
}
@media (max-width: 960px) {
  .aband__copy, .aband__card { grid-column: 1 / -1; }
  .istack__card { position: relative; top: auto; grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "side" "text" "act"; min-height: 0; gap: 18px; }
  .istack__act { margin-top: 4px; }
}
@media (max-width: 760px) {
  .stiles, .stiles--3 { grid-template-columns: 1fr; }
  .stile__head { min-height: 0; }
  .aband__field { display: grid; gap: 10px; background: none; padding: 0; border-radius: 0; }
  .aband__field:focus-within { box-shadow: none; }
  .aband__input { background: #fff; border-radius: var(--pill); padding: 3px 20px; transition: box-shadow var(--t-fast); }
  .aband__input:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); }
  .aband.is-error .aband__field { box-shadow: none; }
  .aband.is-error .aband__input { box-shadow: 0 0 0 3px #FFD7D7; }
  .aband__field .btn, .aband__go { width: 100%; min-height: 54px; padding: 6px 6px 6px 22px; justify-content: space-between; }
  .aband__field .btn:focus-visible { outline-color: #fff; }
  .aband__top { flex-wrap: wrap; }
  .qlist__item { grid-template-columns: 1fr; gap: 12px; }
  .srel__card { grid-template-columns: 44px minmax(0, 1fr); }
  .srel__ico { width: 44px; height: 44px; }
  .srel__go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stile, .srel__card { transition: none; }
}
.slist__head.is-free { position: relative; top: auto; }

/* ---------- Marketing service heroes: the screen the work happens in, plus a detail card ---------- */
.mkv { width: 100%; max-width: 460px; display: grid; }
.mkv__main { position: relative; padding-bottom: 40px; box-shadow: 0 24px 48px -32px rgba(10, 20, 48, .35); }
.mkv__video { padding-bottom: 28px; }
.mkv__float { position: relative; justify-self: end; margin: -26px -14px 0 0; width: min(64%, 270px); box-shadow: 0 22px 44px -24px rgba(10, 20, 48, .4); }
.mkv__float .ui__head { margin-bottom: 8px; }
.bars--sm { height: 52px; gap: 5px; }
.mkv__table { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px 14px; align-items: center; font-size: 13px; }
.mkv__th { font-size: 12px; color: var(--muted); font-weight: 600; }
.mkv__table .num { text-align: right; font-weight: 600; }
.mkv__q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkv__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.mkv__checks li { display: flex; gap: 8px; align-items: center; }
.mkv__checks svg { width: 16px; height: 16px; flex: none; color: var(--green); }
.mkv__ads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mkv__ad { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 12px; background: var(--ground); font-size: 12.5px; }
.mkv__ad.is-win { box-shadow: inset 0 0 0 2px var(--green); }
.mkv__ad small { color: var(--muted); font-size: 11.5px; }
.mkv__ad .ui__tag { justify-self: start; font-size: 11.5px; }
.mkv__thumb { aspect-ratio: 4 / 5; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #3B6FF0, #1E3FAE); }
.mkv__thumb--1 { background: linear-gradient(160deg, #A9C1F8, #5A82E8); }
.mkv__thumb--2 { background: linear-gradient(160deg, #C9D6F5, #8EA8E6); }
.mkv__thumb .g { width: 26px; height: 26px; }
.mkv__video { overflow: hidden; }
.mkv__screen { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(150deg, #1B2A55, #0A1430); display: grid; place-items: center; }
.mkv__play { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: #fff; }
.mkv__play .g { width: 26px; height: 26px; }
.mkv__adtag { position: absolute; left: 12px; bottom: 14px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .35); padding: 3px 8px; border-radius: 6px; }
.mkv__skip { position: absolute; right: 12px; bottom: 14px; font-size: 12px; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .5); padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .35); }
.mkv__prog { position: absolute; left: 0; bottom: 0; height: 4px; width: 32%; background: #F2A93B; }
.mkv__vfoot { display: grid; gap: 2px; }
.mkv__week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
.mkv__week > div { display: grid; gap: 6px; }
.mkv__week small { color: var(--muted); text-align: center; }
.mkv__week span { min-height: 46px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; display: grid; place-items: center; text-align: center; padding: 4px; font-size: 11.5px; }
.mkv__week span.is-on { background: var(--blue); color: #fff; }
.mkv__week span.is-ad { background: var(--ink); color: #fff; }
.mkv__week span.is-empty { background: var(--ground); }
.mkv__msg { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px 10px 10px 2px; background: var(--ground); font-size: 13px; }
.mkv__flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mkv__flow li { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; font-size: 13px; }
.mkv__flow li + li::before { content: ""; position: absolute; left: 15px; top: -10px; height: 14px; border-left: 2px dashed var(--tile-2); }
.mkv__flow small { color: var(--muted); }
.mkv__node { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.mkv__node.is-done { background: var(--green-soft); color: var(--green); }
.mkv__node .g { width: 16px; height: 16px; }
.mkv__ab { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mkv__var { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: var(--ground); font-size: 12.5px; }
.mkv__var.is-win { box-shadow: inset 0 0 0 2px var(--green); }
.mkv__var .ui__tag { justify-self: start; font-size: 11.5px; }
.mkv__page { display: grid; gap: 5px; padding: 10px; border-radius: 8px; background: #fff; }
.mkv__page i { height: 7px; border-radius: 4px; background: var(--tile); }
.mkv__page i:nth-child(odd) { width: 70%; }
.mkv__page em { height: 18px; border-radius: 9px; background: var(--blue); width: 60%; }
.mkv__review p, .mkv__reply p { margin: 6px 0 0; font-size: 13px; color: var(--ink); }
.mkv__stars { display: flex; gap: 2px; color: #F2A93B; }
.mkv__stars svg { width: 16px; height: 16px; fill: currentColor; }
.mkv__reply { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--blue-soft); display: grid; gap: 2px; justify-items: start; font-size: 13px; }
.mkv__reply b { font-size: 12.5px; }
.mkv__reply .ui__tag { margin-top: 6px; }
.mkv__plan { grid-template-columns: minmax(0, 1fr) 42%; }
.mkv__plan span { display: grid; }
.mkv__plan small { color: var(--muted); font-size: 12px; }
.mkv__loc { display: inline-flex; align-items: center; gap: 6px; }
.mkv__loc .g { width: 15px; height: 15px; color: var(--blue); }
.mkv__swatches { display: flex; gap: 6px; }
.mkv__swatches i { width: 32px; height: 32px; border-radius: 8px; background: var(--blue); }
.mkv__swatches i:nth-child(2) { background: var(--ink); }
.mkv__swatches i:nth-child(3) { background: #A9C1F8; }
.mkv__swatches i:nth-child(4) { background: var(--ground); box-shadow: inset 0 0 0 1px var(--tile-2); }
.mkv__creator { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mkv__creator i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(140deg, #A9C1F8, #2563EB); }
@media (max-width: 760px) {
  .mkv__main { padding-bottom: 16px; }
  .mkv { gap: 10px; }
  .mkv__float { margin: 0; width: auto; justify-self: stretch; }
}

/* ---------- Marketing service template: after-you-sign sections, calculators, partners ---------- */
/* Certified partners, under the "why improveFX" cards */
.partners-row { margin-top: var(--gap); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; background: var(--raised); border-radius: var(--r); padding: 18px clamp(20px, 2.4vw, 32px); }
.partners-row p { font-size: 16px; color: var(--muted); }
.partners-row p b { color: var(--ink); }
.partners-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.partners-row li { display: grid; place-items: center; width: 116px; height: 60px; padding: 8px 12px; border-radius: 12px; background: var(--ground); }
.partners-row img { max-width: 100%; max-height: 44px; width: auto; height: auto; }

/* First 90 days: three phases on one rail */
.p90 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.p90__phase { background: var(--raised); border-radius: var(--r); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 14px; position: relative; }
.p90__top { display: flex; align-items: center; gap: 12px; }
.p90__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; }
.p90__when { font-size: 14px; font-weight: 600; color: var(--blue-ink); }
.p90__phase h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -0.02em; }
.p90__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p90__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; color: var(--muted); }
.p90__list svg { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.p90__out { margin-top: auto; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); font-size: 15px; font-weight: 550; }
.p90__phase:not(:last-child)::after { content: ""; position: absolute; top: calc(clamp(24px, 2.4vw, 34px) + 20px); right: calc(-1 * var(--gap) - 1px); width: calc(var(--gap) + 2px); border-top: 2px dashed var(--blue-mid, #A9C1F8); }

/* Is this right for you */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.fit__col { background: var(--raised); border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); display: grid; gap: 16px; align-content: start; }
.fit__col h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; }
.fit__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.fit__ico .g { width: 22px; height: 22px; }
.fit__col--yes .fit__ico { background: var(--green-soft); color: var(--green); }
.fit__col--no .fit__ico { background: var(--tile); color: var(--muted); }
.fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit__col li { position: relative; padding-left: 22px; font-size: 16.5px; color: var(--ink); }
.fit__col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.fit__col--also .fit__ico { background: var(--blue-soft); color: var(--blue); }
.fit__col--also li::before { background: var(--blue); }
.fit__col--no li { color: var(--muted); }
.fit__col--no li::before { background: var(--tile-2); }

/* Platform cards */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pgrid__card { background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2.2vw, 30px); display: grid; gap: 14px; align-content: start; }
.pgrid__head { display: flex; gap: 14px; align-items: center; }
.pgrid__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.pgrid__ico .g { width: 24px; height: 24px; }
.pgrid__head h3 { font-size: clamp(20px, 1.6vw, 23px); letter-spacing: -0.02em; line-height: 1.2; }
.pgrid__head small { display: block; margin-top: 2px; font-size: 14px; color: var(--blue-ink); font-weight: 550; }
.pgrid__text { display: grid; gap: 10px; color: var(--muted); font-size: 16px; }

/* The monthly report */
.rpv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: start; }
.rpv__copy { grid-column: 1 / span 5; display: grid; gap: 18px; justify-items: start; padding-right: clamp(0px, 2vw, 32px); }
.rpv__intro { color: var(--muted); }
.rpv__h { font-size: 18px; letter-spacing: -0.01em; margin-top: 6px; }
.rpv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rpv__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; }
.rpv__list svg { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.rpv__sample { grid-column: 6 / span 7; margin: 0; display: grid; gap: 10px; }
.rpv__doc { padding: clamp(18px, 2vw, 26px); box-shadow: 0 30px 60px -40px rgba(10, 20, 48, .4); }
.rpv__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rpv__kpis .kpi { display: grid; gap: 4px; align-content: start; }
.rpv__kpis .kpi b { font-size: clamp(20px, 1.7vw, 24px); }
.rpv__delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.rpv__delta.is-up { color: var(--green); font-weight: 600; }
.rpv__delta .g { width: 14px; height: 14px; }
.rpv__chart { margin-top: 14px; display: grid; gap: 8px; }
.rpv__chart small, .rpv__cap { font-size: 13px; color: var(--muted); }
.rpv__chart .bars { height: 80px; }
.rpv__chart .bars i, .bars--sm i { background: var(--blue-soft); }
.rpv__chart .bars i.is-hi, .bars--sm i.is-hi { background: var(--blue); }
.rpv__notes { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ui-line); display: grid; gap: 6px; font-size: 14px; }
.rpv__notes ul { margin: 0 0 6px; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; list-style: disc; }
.rpv__notes p { color: var(--muted); }
.rpv__keep { grid-column: 1 / -1; background: var(--raised); border-radius: var(--r); padding: clamp(20px, 2.2vw, 28px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 32px; align-items: center; }
.rpv__keep p { font-size: 16px; color: var(--muted); }
.rpv__keep p b { color: var(--ink); }
.rpv__keep ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rpv__keep li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: var(--ground); font-size: 14.5px; font-weight: 550; }
.rpv__keep .g { width: 16px; height: 16px; color: var(--blue); }

/* Calculators */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); }
.calc__in { background: var(--raised); border-radius: var(--r); padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 22px; align-content: start; }
.calc__field { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.calc__field label { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
.calc__field output { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc__field input[type="range"] { grid-column: 1; width: 100%; accent-color: var(--blue); }
.calc__field input[type="number"], .calc__field select { grid-column: 1 / -1; width: 100%; min-height: 48px; border: 1px solid var(--tile-2); border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.calc__field input:focus-visible, .calc__field select:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.calc__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__out { background: var(--navy); color: var(--on-navy); border-radius: var(--r); padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 18px; align-content: start; justify-items: start; }
.calc__big small { display: block; font-size: 14px; color: var(--on-navy-muted); }
.calc__big b { font-family: var(--font-display); font-size: clamp(40px, 4vw, 60px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.calc__grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.calc__grid > div { background: var(--navy-2); border-radius: 14px; padding: 14px 16px; }
.calc__grid dt { font-size: 13.5px; color: var(--on-navy-muted); }
.calc__grid dd { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.calc__return { font-size: 17px; color: #fff; }
.calc__return b { color: #7EE2A8; }
.calc__note { font-size: 13.5px; color: var(--on-navy-muted); }
.calc__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .p90 { grid-template-columns: 1fr; }
  .p90__phase:not(:last-child)::after { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpv__copy, .rpv__sample { grid-column: 1 / -1; padding-right: 0; }
  .rpv__keep { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fit, .pgrid { grid-template-columns: 1fr; }
  .rpv__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__pair { grid-template-columns: 1fr; }
  .partners-row li { width: 100px; height: 54px; }
}

/* Web template: the deliverables checklist in "what you sign off" */
.rpv__checks { list-style: none; margin: 0; padding: 0; display: grid; }
.rpv__checks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--ui-line); font-size: 14.5px; font-weight: 550; }
.rpv__checks li:first-child { border-top: 0; }
.rpv__step { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); font-size: 13px; font-weight: 700; }
.rpv__checks .ui__tag { display: inline-flex; align-items: center; gap: 5px; }
.rpv__checks .ui__tag .g { width: 13px; height: 13px; }

/* ---------- Web development heroes ---------- */
.wbs { overflow: hidden; padding-bottom: 32px; }
.wbs__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F4FA; }
.wbs__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--tile-2); }
.wbs__bar i:first-child { background: #A9C1F8; }
.wbs__bar span { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 11.5px; color: var(--muted); }
.wbs__page { padding: 14px 16px 0; display: grid; gap: 14px; }
.wbs__nav { display: flex; align-items: center; gap: 10px; }
.wbs__nav b { width: 54px; height: 10px; border-radius: 5px; background: var(--ink); }
.wbs__nav span { width: 34px; height: 7px; border-radius: 4px; background: var(--tile); }
.wbs__nav em { margin-left: auto; width: 58px; height: 18px; border-radius: 9px; background: var(--blue); }
.wbs__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; }
.wbs__hero > div:first-child { display: grid; gap: 7px; justify-items: start; }
.wbs__hero b { width: 100%; height: 13px; border-radius: 6px; background: var(--ink); }
.wbs__hero b.is-short, .wbs__hero span.is-short { width: 70%; }
.wbs__hero span { width: 100%; height: 7px; border-radius: 4px; background: var(--tile); }
.wbs__hero em { margin-top: 4px; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
.wbs__img { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(150deg, #E0E8FC, #A9C1F8); }
.wbs__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wbs__cards i { height: 44px; border-radius: 8px; background: var(--ground); }
.wbp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.wbp__img { aspect-ratio: 4 / 5; border-radius: 12px; background: linear-gradient(160deg, #E0E8FC, #A9C1F8); display: grid; place-items: center; color: #fff; }
.wbp__img .g { width: 44px; height: 44px; }
.wbp__info { display: grid; gap: 6px; justify-items: start; font-size: 13px; }
.wbp__info small { color: var(--muted); }
.wbp__info b { font-size: 15px; }
.wbp__price { font-size: 20px !important; font-family: var(--font-display); }
.wbp__sizes { display: flex; gap: 6px; }
.wbp__sizes span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--ground); font-size: 12px; font-weight: 600; }
.wbp__sizes .is-on { background: var(--ink); color: #fff; }
.wbp__info em { margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-style: normal; font-weight: 600; font-size: 12.5px; }
.wbc, .phero__visual .wbc { background: #0F1A3A; color: #DCE3F5; overflow: hidden; padding-bottom: 36px; }
.wbc__tabs { display: flex; gap: 2px; padding: 8px 10px 0; background: #0A1430; font-size: 12px; }
.wbc__tabs span { padding: 7px 12px; border-radius: 8px 8px 0 0; color: #8C97B5; }
.wbc__tabs .is-on { background: #0F1A3A; color: #fff; }
.wbc__code { list-style: none; counter-reset: ln; margin: 0; padding: 14px 16px 0; display: grid; gap: 6px; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 760px) { .wbc__code { font-size: 11.5px; padding-inline: 12px; } }
.wbc__code li { counter-increment: ln; }
.wbc__code li::before { content: counter(ln); display: inline-block; width: 22px; color: #4B5778; }
.wbc__k { color: #8FB0FF; font-style: normal; }
.wbc__f { color: #7EE2A8; font-style: normal; }
.wbc__s { color: #F5C27A; font-style: normal; }
.wbc__t { color: #F08DB5; font-style: normal; }
.wbu { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 26px; }
.wbu i { border-radius: 3px; background: #7FCB9C; }
.wbu i.is-dip { background: #F2C46B; }
.wbu__cap { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.wbm { display: grid; gap: 10px; padding-bottom: 40px; }
.wbm__field { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--ground); font-size: 13px; }
.wbm__field small { color: var(--muted); font-size: 12px; }
.wbm__field span { height: 8px; width: 70%; border-radius: 4px; background: var(--tile-2); }
.wbm em { justify-self: start; padding: 7px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-style: normal; font-weight: 600; font-size: 12.5px; }

/* ---------- App development heroes ---------- */
.apv { display: flex; justify-content: center; align-items: flex-start; gap: 14px; padding-bottom: 34px; }
.apv__phone { position: relative; width: 210px; border-radius: 30px; background: var(--ink); padding: 8px; box-shadow: 0 30px 60px -36px rgba(10, 20, 48, .55); }
.apv--pair .apv__phone { zoom: .84; }
.apv--pair .apv__phone:last-child { margin-top: 26px; }
.apv__os { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--blue-ink); background: #fff; padding: 3px 10px; border-radius: 999px; box-shadow: 0 6px 14px -8px rgba(10, 20, 48, .3); }
.aps { border-radius: 23px; background: #fff; padding: 10px 12px 14px; display: grid; gap: 10px; font-size: 12px; }
.aps__bar { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 11px; }
.aps__dots { display: flex; gap: 3px; }
.aps__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.aps__head small { display: block; color: var(--muted); font-size: 11px; }
.aps__head b { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.aps__chips { display: flex; gap: 5px; }
.aps__chips span { padding: 4px 9px; border-radius: 999px; background: var(--ground); font-size: 10.5px; font-weight: 600; }
.aps__chips .is-on { background: var(--ink); color: #fff; }
.aps__list { display: grid; gap: 6px; }
.aps__row { display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; background: var(--ground); }
.aps__row b { font-size: 11.5px; }
.aps__row span { display: grid; gap: 4px; }
.aps__row i { height: 6px; border-radius: 3px; background: var(--tile-2); }
.aps__row i.is-short { width: 60%; }
.aps__row.is-on { background: var(--blue-soft); box-shadow: inset 0 0 0 1.5px var(--blue); }
.aps__cta { justify-self: stretch; text-align: center; padding: 9px; border-radius: 999px; background: var(--blue); color: #fff; font-style: normal; font-weight: 600; font-size: 11.5px; }
@media (max-width: 760px) { .apv { padding-bottom: 0; } .apv__phone { width: 196px; } .apv--pair .apv__phone { width: 210px; zoom: .74; } }

/* ---------- Custom software heroes ---------- */
.swv__name { display: grid; gap: 2px; min-width: 0; }
.swv__name b { font-weight: 600; font-size: 13px; }
.swv__name small { color: var(--muted); font-size: 11.5px; }
.swv__meta { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.swv__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.swv__kpis > div { background: var(--ground); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.swv__kpis small { color: var(--muted); font-size: 11.5px; }
.swv__kpis b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.swv__d { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--green); }
.swv__d--amber { color: var(--amber); }
.swv__bars { display: flex; align-items: flex-end; gap: 6px; height: 84px; margin-top: 14px; }
.swv__bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--blue-soft); }
.swv__bars i.is-on { background: var(--blue); }
@media (max-width: 760px) { .swv__meta { font-size: 11.5px; } .swv__kpis b { font-size: 17px; } }
/* Automation hero: one run, step by step */
.auv__steps { margin-top: 6px; }
.auv__steps li { padding: 7px 0; }
.auv__step { display: grid; gap: 1px; min-width: 0; }
.auv__step b { font-weight: 600; font-size: 13.5px; color: inherit; }
.auv__step small { font-size: 12px; color: var(--muted); }
.auv__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.auv__foot span { display: grid; gap: 2px; }
.auv__foot small { color: var(--muted); font-size: 11.5px; }
.auv__foot b { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- AI chatbot hero ---------- */
.aiv { display: grid; gap: 10px; margin-top: 4px; }
.aiv__msg { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; display: grid; gap: 6px; }
.aiv__msg p { margin: 0; }
.aiv__msg--user { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.aiv__msg--bot { justify-self: start; background: var(--ground); border-bottom-left-radius: 4px; }
.aiv__msg small { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11.5px; }
.aiv__msg small svg { width: 13px; height: 13px; }
.aiv__hand { justify-self: start; font-size: 12px; font-weight: 600; color: var(--blue-ink); padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--blue-soft); }
/* IFX-WP begin app-fit */
/* WordPress: the .app dashboard mock-up keeps every text inside its box at every width (owner request 2026-11-07).
   Below 760px the main column takes the whole width once the sidebar is hidden (".phero__visual .app" out-specified
   ".app"), and the pharmacy rows keep their own three columns (the 760px ".queue__row" rule out-specified
   ".queue__row--rx"); the kpi gap, padding, label and value sizes follow the main column's width (container query
   units) and resolve to the static values (gap 10px or 6px, padding 14px, label 13px, value 26px or 20px) wherever the
   static text fitted; labels, values and tags never wrap; where a row's name column would be narrower than its
   longest word, its tag moves under the name (each threshold is the main column width at which that row stops
   fitting), and a main column of 250px or less also stacks the kpis. */
.app__main { min-width: 0; container-type: inline-size; }
.app__kpis { --kg: clamp(6px, 2.4cqi, 10px); --kp: clamp(7px, 2.8cqi, 14px); --kc: calc((100cqi - 2 * var(--kg)) / 3 - 2 * var(--kp)); gap: var(--kg); }
.app__kpis .kpi { min-width: 0; padding: 12px var(--kp); }
.app__kpis .kpi small { font-size: clamp(9.5px, calc(var(--kc) / 6.6), 13px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__kpis .kpi b { font-size: clamp(15px, calc(var(--kc) / 3.4), 26px); white-space: nowrap; }
.app .ui__tag { white-space: nowrap; }
.queue__row > span { min-width: 0; }
@container (max-width: 250px) {
  .app__kpis { grid-template-columns: 1fr; }
  .app__kpis .kpi { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 6px 12px; }
  .app__kpis .kpi small { flex: 0 1 auto; min-width: 0; font-size: 13px; }
  .app__kpis .kpi b { flex: none; font-size: 18px; }
  .queue__row:not(:where(.queue__row--lab, .queue__row--rx)), .phero__visual .queue__row:not(:where(.queue__row--lab, .queue__row--rx)) { grid-template-columns: 40px minmax(0, 1fr); row-gap: 4px; }
  .queue__row:not(:where(.queue__row--lab, .queue__row--rx)) .ui__tag { grid-column: 2; justify-self: start; }
}
@container (max-width: 263px) {
  .phero__visual .queue__row--lab, .folio__visual .queue__row--lab { grid-template-columns: 64px minmax(0, 1fr); row-gap: 4px; }
  .phero__visual .queue__row--lab .ui__tag, .folio__visual .queue__row--lab .ui__tag { grid-column: 2; justify-self: start; }
}
@media (min-width: 761px) {
  @container (max-width: 275px) {
    .msplit__media .queue__row--lab { grid-template-columns: 74px minmax(0, 1fr); row-gap: 4px; }
    .msplit__media .queue__row--lab .ui__tag { grid-column: 2; justify-self: start; }
  }
  @container (max-width: 287px) {
    .msplit__media .queue__row:not(:where(.queue__row--lab, .queue__row--rx, .queue__row--mini)) { grid-template-columns: 54px 30px minmax(0, 1fr); row-gap: 4px; }
    .msplit__media .queue__row:not(:where(.queue__row--lab, .queue__row--rx, .queue__row--mini)) .ui__tag { grid-column: 3; justify-self: start; }
  }
}
@media (max-width: 760px) {
  @container (max-width: 247px) {
    .ppanel .queue__row--lab { grid-template-columns: 48px minmax(0, 1fr); row-gap: 4px; }
    .ppanel .queue__row--lab .ui__tag { grid-column: 2; justify-self: start; }
  }
  .phero__visual .app { grid-template-columns: 1fr; }
  .queue__row--rx { grid-template-columns: 1fr auto auto; }
  .app__kpis { --kg: clamp(4px, 2cqi, 6px); }
  .app__kpis .kpi b { font-size: clamp(15px, calc(var(--kc) / 3.4), 20px); }
}
/* IFX-WP end app-fit */
/* IFX-WP begin text-fit */
/* WordPress: every text stays inside its box and no page scrolls sideways at phone and tablet widths (owner request
   2026-11-08, "fix all together"; the site-wide scan of 181 pages at 320-1024px). Each rule fixes a cause and resolves
   to the static values wherever the static layout fitted, so nothing moves there:
   - grids with an implicit auto column (.msplit__text, .aband__copy/__form/__field, .cfeat__body, .pm__panel,
     .pm__info, .calc) and the stacked step cards grew to the min-content of a nowrap button or a long number; their
     items get min-width: 0 (not part of the computed style), so the track keeps the container's width;
   - buttons in those places may wrap at 400px and below (hero buttons at 340px and below), the widths up to which
     a static label was measured not to fit on one line (a label that fits renders exactly as before); the hub
     pages' child-card buttons (.kid__actions) also at 761-767px, where the two-column cards were measured too narrow
     (their round arrow chip keeps its size there);
   - the stacked media split keeps 12 tracks with a 32px column gap (352px of gaps) on narrow containers: the column
     gap is min(32px, container / 11), still 32px from a 352px container up;
   - the big numbers (case-study numbers, the mock Search Console kpis) take min(static size, box width / the longest
     value's width in em), and the kpi padding shrinks with its column, so they equal the static sizes wherever the
     longest value fitted;
   - the testimonial metric numbers and labels (CSS cannot see the value, so this is sized for the longest one, "43.6%"
     at 2.86em and "investment" at 5.12em) first reach into the right padding of their tile (a negative right margin of
     up to 10.5px: the left-aligned text stays where it was, the tile and its padding keep their static size), and only
     then shrink; so they keep the static size and position down to a 390px viewport, and a value that fits paints
     exactly as before there;
   - long URLs in prose break anywhere (only where a URL is wider than its line);
   - the industries tiles take one column, the case metrics stack, the comparison table cells narrow and the mock
     ranking rows put their name above the bar only below the width at which the static layout stopped fitting;
   - with the media split back inside the screen, the lab and pharmacy rows of its .app mock-up (main column under
     248px, only below 360px) put their tag under the name, as app-fit does for the other contexts;
   - the share link's "Link copied" tip is right-aligned under the last share button while that button sits at the
     page edge (540-880px), so the hidden tip no longer widens the page. */
.wrap:has(> .msplit) { container-type: inline-size; }
@media (max-width: 960px) { .msplit { column-gap: min(32px, 100cqi / 11); } }
.msplit__text > *, .aband__copy > *, .aband__form > *, .aband__field > *, .cfeat__body > *, .pm__panel > *, .pm__info > *, .calc > *, .istack__card, .istack__act { min-width: 0; }
@media (max-width: 400px) { .istack__act .btn, .aband__go, .aband__field .btn, .pm__info .btn { white-space: normal; } }
@media (max-width: 400px), (min-width: 761px) and (max-width: 767px) { .kid__actions .btn { white-space: normal; } .kid__actions .btn__chip { flex-shrink: 0; } }
@media (max-width: 340px) { .hero__actions .btn { white-space: normal; } }
.prose :is(p, li) a { overflow-wrap: anywhere; }
.spot .quote__metrics { container-type: inline-size; --qm-n: clamp(28px, 2.6vw, 40px); --qm-in: calc((100cqi - 16px) / 3 - 28px); }
.spot .quote__metrics b { margin-right: calc(-1 * clamp(0px, calc(2.86 * var(--qm-n) - var(--qm-in)), 10.5px)); font-size: min(var(--qm-n), calc((var(--qm-in) + 10.5px) / 2.86)); }
.spot .quote__metrics span { margin-right: calc(-1 * clamp(0px, calc(71.68px - var(--qm-in)), 10.5px)); font-size: min(14px, calc((var(--qm-in) + 10.5px) / 5.12)); }
.cnum__card, .chero__nums > div { container-type: inline-size; }
.cnum__big { font-size: min(clamp(38px, 3.4vw, 54px), calc(100cqi / 3.8)); }
.chero__nums dd { font-size: min(clamp(34px, 3.4vw, 52px), calc(100cqi / 3.8)); }
.cfeat__body { container-type: inline-size; }
.gsc__kpis { container-type: inline-size; --gk-col: calc((100cqi - 12px) / 3); --gk-pad: clamp(5px, calc(var(--gk-col) / 2 - 31.7px), 12px); --gk-in: calc(var(--gk-col) - 2 * var(--gk-pad)); }
.gsc__kpi { padding-left: var(--gk-pad); padding-right: var(--gk-pad); }
.gsc__kpi small { font-size: min(11.5px, calc(var(--gk-in) / 5.52)); }
.gsc__kpi b { font-size: min(17px, calc(var(--gk-in) / 3.3)); }
@container (max-width: 327.98px) { .cfeat__metrics { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 378px) { .igrid ul { grid-template-columns: minmax(0, 1fr); } }
.compare { container-type: inline-size; }
@media (max-width: 760px) {
  .compare th, .compare td { padding-left: clamp(6px, calc((100cqi - 340px) / 8 + 12px), 12px); padding-right: clamp(6px, calc((100cqi - 340px) / 8 + 12px), 12px); font-size: clamp(13.5px, calc(15px - (340px - 100cqi) / 26), 15px); }
}
@media (max-width: 359.98px) {
  .rboard__row { grid-template-columns: minmax(0, 1fr) 64px; }
  .rboard__row > span { grid-column: 1 / -1; }
  .mkv__table { column-gap: 10px; }
}
@media (max-width: 760px) {
  @container (max-width: 247.98px) {
    .msplit__media .queue__row--lab { grid-template-columns: 64px minmax(0, 1fr); row-gap: 4px; }
    .msplit__media .queue__row--lab .ui__tag { grid-column: 2; justify-self: start; }
    .msplit__media .queue__row--rx { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
    .msplit__media .queue__row--rx > span:first-child { grid-column: 1 / -1; }
  }
}
@media (min-width: 540px) and (max-width: 880px) {
  .aend .share > :last-child .share__tip, .ahero__meta .share > :last-child .share__tip { left: auto; right: 0; translate: none; }
}
/* IFX-WP end text-fit */
