/* ==========================================================================
   Vikash Kumar Pal — personal site
   Tokens → base → layout → components → UI fragments → sections → motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces: one warm paper ground, tone steps instead of borders */
  --ground: #F5F4EF;
  --tile: #ECEBE4;
  --tile-2: #E1E0D8;
  --raised: #FFFFFF;

  /* Ink: the logo's near-black, pulled slightly toward navy */
  --ink: #0C1222;
  --ink-2: #1B2234;
  --muted: #4A5163;
  --faint: #8B90A0;

  /* Dark field */
  --night: #0C1222;
  --night-2: #151D33;
  --night-3: #1F2944;
  --on-night: #F2F4F8;
  --on-night-muted: #A3ABBF;

  /* Accent: the swoosh blue, deepened for contrast on actions */
  --blue: #2B66F0;
  --blue-press: #1E50D0;
  --blue-soft: #E2EAFD;
  --blue-wash: #F0F4FE;
  --sky: #5CA0F2;
  --on-blue: #FFFFFF;

  /* One warm counterweight, used sparingly for highlights */
  --sun: #FFC94A;
  --sun-soft: #FFF2CC;

  /* Status */
  --green: #137A43;
  --green-soft: #DCF1E4;
  --amber: #93500B;
  --amber-soft: #FBEBD3;

  --ui-line: rgba(12, 18, 34, .08);
  --ui-line-dark: rgba(242, 244, 248, .10);
  --shadow-ui: 0 1px 2px rgba(12,18,34,.04), 0 12px 32px -12px rgba(12,18,34,.16);
  --shadow-lift: 0 2px 4px rgba(12,18,34,.04), 0 30px 60px -24px rgba(12,18,34,.28);

  /* Type */
  --font-display: "Bricolage Grotesque", "Bricolage Grotesque Fallback", "Geist", system-ui, sans-serif;
  --font-text: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display: clamp(52px, 7.6vw, 124px);
  --fs-h2: clamp(36px, 4.4vw, 68px);
  --fs-h3: clamp(21px, 1.7vw, 26px);
  --fs-lead: clamp(18px, 1.35vw, 21px);
  --fs-body: 17px;
  --fs-small: 14px;

  /* Shape */
  --r: 22px;
  --r-ui: 14px;
  --r-sm: 9px;
  --pill: 999px;

  /* Space */
  --gutter: clamp(16px, 2.6vw, 36px);
  --maxw: 1360px;
  --gap: 12px;
  --section: clamp(88px, 10vw, 160px);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 200ms;
  --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;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { 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: 6px; }
.field-night :focus-visible, .cta :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; }

h1, h2, h3, .t-display, .t-h2, .t-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: .92; }
.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; text-wrap: pretty; }
.t-small { font-size: var(--fs-small); line-height: 1.5; }
.t-muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.hl-blue { color: var(--blue); }
.soft { color: var(--faint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.field-night .eyebrow { color: var(--on-night-muted); }
.field-night .eyebrow::before { background: var(--sky); }

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

/* ---------- 4. Components ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: var(--on-blue); --btn-chip: rgba(255,255,255,.2); --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-size: 16px; font-weight: 550; line-height: 1; white-space: nowrap;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.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__chip svg { width: 18px; height: 18px; }
.btn:hover { background: var(--btn-hover); }
.btn:hover .btn__chip { transform: translateX(3px) rotate(-45deg); }
.btn:active { transform: scale(.98); }
.btn--ink { --btn-bg: var(--ink); --btn-hover: var(--ink-2); --btn-fg: #fff; --btn-chip: rgba(255,255,255,.14); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-hover: var(--blue-wash); --btn-chip: var(--blue); }
.btn--white .btn__chip { color: #fff; }
.btn--sm { min-height: 44px; font-size: 15px; padding: 4px 4px 4px 18px; }
.btn--sm .btn__chip { width: 36px; height: 36px; }

.link-quiet {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding-inline: 20px;
  border-radius: var(--pill); background: var(--tile); font-weight: 550; font-size: 16px;
  transition: background-color var(--t-fast) ease;
}
.link-quiet:hover { background: var(--tile-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--pill);
  font-size: 13px; font-weight: 550; background: var(--tile); color: var(--ink); white-space: nowrap;
}

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color var(--t-mid) ease, box-shadow var(--t-mid) ease, transform var(--t-mid) var(--ease-out);
}
.header.is-scrolled { background: rgba(245, 244, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--ui-line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: block; color: var(--ink); }
.logo svg { height: 30px; width: auto; }
.logo .logo__compact { display: none; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; align-items: center; }
.nav__link, .nav__btn {
  display: block; padding: 10px 14px; border-radius: var(--pill); font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color var(--t-fast) ease;
}
.nav__link:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { background: rgba(12,18,34,.06); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--tile); place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background-color var(--t-fast); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-mid) var(--ease-out); }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. UI fragments (illustrations built from UI) ---------- */
.ui {
  background: var(--raised); border-radius: var(--r-ui); box-shadow: var(--shadow-ui);
  font-size: 13px; line-height: 1.35; color: var(--ink);
}
/* A long note drops under its label instead of running out of the card */
.ui__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; }
.ui__head > .up { white-space: normal; }
.ui__label { font-size: 12px; color: var(--muted); }
.ui__mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: -.01em; }
.ui__big { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tag--green { background: var(--green-soft); color: var(--green); }
.tag--blue { background: var(--blue-soft); color: var(--blue-press); }
.tag--amber { background: var(--amber-soft); color: var(--amber); }
.tag--ink { background: var(--ink); color: #fff; }
.up { color: var(--green); font-weight: 650; font-size: 12px; white-space: nowrap; }
.bar { height: 6px; border-radius: 6px; background: var(--tile); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--blue); width: var(--w, 50%); transform-origin: left; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.ui-rows { display: grid; }
.ui-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--ui-line); }
.ui-row:first-child { border-top: 0; }
.serp-pos { font-family: var(--font-mono); font-size: 12px; font-weight: 600; min-width: 18px; text-align: right; }
.skel { display: block; height: 7px; border-radius: 6px; background: var(--tile); }

/* ---------- 7. Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(56px, 6vw, 96px); }
.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: center; padding-block: clamp(12px, 3vw, 40px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 6px 14px 6px 6px; border-radius: var(--pill); background: var(--raised); box-shadow: var(--shadow-ui);
  font-size: 14px; font-weight: 500; margin-bottom: clamp(24px, 3vw, 36px);
}
.hero__badge .avatars { display: flex; }
.hero__badge .avatars img {
  width: 34px; height: 34px; border-radius: 50%; padding: 5px; object-fit: contain; background: #fff; flex: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ui-line); margin-left: -6px;
}
.hero__badge .avatars img:first-child { margin-left: 0; }
.hero h1 { margin-bottom: clamp(22px, 2.4vw, 32px); }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero h1 em svg path { stroke: var(--sun); stroke-width: 9; fill: none; stroke-linecap: round; }
.hero__lead { max-width: 33em; color: var(--muted); margin-bottom: clamp(28px, 3vw, 40px); }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 4vw, 56px); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px; }
.proof {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: var(--r-ui); background: var(--tile);
}
.proof b { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.proof span { font-size: 12.5px; line-height: 1.25; color: var(--muted); }

.hero__visual { grid-column: 7 / span 6; position: relative; min-height: 620px; }
.portrait {
  position: absolute; inset: 0; margin: 0; border-radius: var(--r); overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% 0%, #F7F9FF 0%, transparent 60%),
    linear-gradient(180deg, #DCE6FC 0%, #C9D8FA 100%);
}
.portrait__grid {
  position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(rgba(43,102,240,.35) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  mask-image: radial-gradient(90% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 70% at 60% 30%, #000 20%, transparent 75%);
}
.portrait__swoosh { position: absolute; left: -10%; top: 6%; width: 120%; height: auto; opacity: .9; }
.portrait__swoosh path { fill: none; stroke: #fff; stroke-width: 34; stroke-linecap: round; opacity: .55; }
.portrait__img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-46%);
  width: min(92%, 560px); height: auto; filter: drop-shadow(0 30px 40px rgba(12,18,34,.18));
  /* The photo's crop edges show at the shoulders; feather them into the backdrop. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.portrait__name {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; width: max-content; max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--pill);
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px;
}
.portrait__name i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: #fff; }
.portrait__name i svg { width: 15px; height: 15px; }
.portrait__name b { display: block; font-weight: 650; }
.portrait__name small { display: block; color: var(--muted); font-size: 12px; }

.float { position: absolute; z-index: 3; }
.float--chart { left: -6%; top: 8%; width: 270px; padding: 16px; }
.float--serp { right: -4%; top: 47%; width: 268px; padding: 14px; }
.float--ai { right: 6%; bottom: 7%; width: 236px; padding: 12px 14px; }
.float--chart svg { width: 100%; height: 70px; margin-top: 10px; }
.float--chart .chart-line { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float--chart .chart-area { fill: url(#heroArea); }
.serp { display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: var(--blue-wash); margin-top: 10px; }
.serp__url { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.serp__fav { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.serp__title { color: #1A0DAB; font-size: 14px; font-weight: 550; line-height: 1.25; }
.serp__stars { font-size: 11px; color: var(--muted); }
.serp__stars b { color: #E8A317; letter-spacing: 1px; }
.ai-chip { display: flex; gap: 10px; align-items: flex-start; }
.ai-chip__icon { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; flex: none; }
.ai-chip__icon svg { width: 16px; height: 16px; color: var(--sun); }
.ai-chip b { display: block; font-size: 13px; font-weight: 650; }
.ai-chip span { font-size: 12px; color: var(--muted); }

/* ---------- 8. Logos / credentials strip ---------- */
.strip { padding-block: 0 clamp(64px, 7vw, 104px); }
.strip__in { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.strip__label { font-size: 14px; color: var(--muted); line-height: 1.4; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.brand-pill {
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px; border-radius: var(--r-ui); background: var(--tile);
  font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap;
}
.brand-pill small { font-family: var(--font-text); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.brand-pill--cert { background: var(--raised); box-shadow: var(--shadow-ui); }
.brand-pill--cert img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.brand-pill--logo { background: #fff; padding: 0 18px; box-shadow: 0 0 0 1px var(--ui-line); }
.brand-pill--logo img { height: 40px; width: auto; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; }
.brand-pill--logo img.is-tight { height: 26px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- 9. Statement ---------- */
.statement__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.1vw, 48px); line-height: 1.12; letter-spacing: -0.03em; max-width: 23em; text-wrap: pretty; }
.statement__text .soft { color: #9A9EAA; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 88px); }
.principle { padding: 26px 24px 28px; border-radius: var(--r); background: var(--raised); display: grid; gap: 12px; align-content: start; }
.principle__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); margin-bottom: 8px; }
.principle__icon svg { width: 21px; height: 21px; }
.principle h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; }
.principle p { font-size: 15px; color: var(--muted); }

/* ---------- 10. Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; border-radius: var(--r); padding: clamp(24px, 2.4vw, 34px);
  background: var(--raised); overflow: hidden; min-height: 460px; isolation: isolate;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc h3 { font-size: clamp(26px, 2.3vw, 36px); letter-spacing: -0.035em; }
.svc__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); flex: none; transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.svc__arrow svg { width: 17px; height: 17px; }
.svc:hover .svc__arrow { background: var(--blue); color: #fff; transform: rotate(-45deg); }
.svc > p { color: var(--muted); font-size: 15.5px; max-width: 30em; }
.svc__art { margin-top: auto; padding-top: 18px; }
.svc__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc__list li { font-size: 13px; padding: 5px 10px; border-radius: var(--pill); background: var(--tile); color: var(--ink-2); }
.svc--a { grid-column: span 7; background: var(--blue-soft); }
.svc--b { grid-column: span 5; background: var(--night); color: var(--on-night); }
.svc--b > p { color: var(--on-night-muted); }
.svc--b .svc__arrow { background: var(--night-3); color: var(--on-night); }
.svc--b .svc__list li { background: var(--night-3); color: var(--on-night); }
.svc--c { grid-column: span 4; }
.svc--d { grid-column: span 4; background: var(--tile); }
.svc--d .svc__list li, .svc--d .svc__arrow { background: var(--raised); }
.svc--e { grid-column: span 4; }
.svc--f { grid-column: span 5; background: var(--tile); }
.svc--f .svc__list li, .svc--f .svc__arrow { background: var(--raised); }
.svc--g { grid-column: span 7; background: var(--sun-soft); }
.svc--g .svc__list li, .svc--g .svc__arrow { background: rgba(255,255,255,.75); }
.svc--a .svc__list li { background: rgba(255,255,255,.7); }
.svc--a .svc__arrow { background: rgba(255,255,255,.8); }

/* SERP art */
.art-serp { display: grid; gap: 10px; }
.searchbar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-ui); font-size: 14px; }
.searchbar svg { width: 16px; height: 16px; color: var(--muted); }
.searchbar .caret { width: 1.5px; height: 18px; background: var(--blue); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.art-serp .ui { padding: 6px 16px; }
.art-serp .ui-row { grid-template-columns: 24px 1fr auto; }
.art-serp .ui-row.is-you { background: var(--blue-wash); margin-inline: -16px; padding-inline: 16px; border-radius: 8px; border-top-color: transparent; }
.art-serp .ui-row.is-you + .ui-row { border-top-color: transparent; }

/* Core web vitals art */
.art-cwv { display: grid; gap: 10px; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ring { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 12px; background: var(--night-2); }
.ring svg { width: 54px; height: 54px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring .ring__bg { stroke: rgba(255,255,255,.1); }
.ring .ring__fg { stroke: #3DCB7E; stroke-linecap: round; stroke-dasharray: 145; stroke-dashoffset: calc(145 - 145 * var(--p) / 100); transition: stroke-dashoffset 1.4s var(--ease-out); }
.ring__wrap { position: relative; }
.ring__wrap b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 650; color: var(--on-night); }
.ring span { font-size: 11.5px; color: var(--on-night-muted); }
.crawl { padding: 12px 14px; border-radius: 12px; background: var(--night-2); display: grid; gap: 8px; font-size: 13px; }
.crawl__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--on-night); }
.crawl__row span { display: flex; gap: 8px; align-items: center; }
.crawl__row svg { width: 15px; height: 15px; color: #3DCB7E; }
.crawl__row em { font-style: normal; font-family: var(--font-mono); font-size: 11.5px; color: var(--on-night-muted); }

/* Map pack art */
.art-map { position: relative; height: 200px; border-radius: 14px; overflow: hidden; background: #E8EEE4; }
.art-map svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); display: grid; justify-items: center; }
.pin i { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--faint); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.pin i::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.pin--you i { background: var(--blue); width: 34px; height: 34px; }
.pin--you i::after { width: 12px; height: 12px; }
.pin__card { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); width: max-content; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-ui); font-size: 12px; line-height: 1.3; }
.pin__card b { display: block; font-size: 13px; }
.pin__card span { color: #E8A317; letter-spacing: 1px; }

/* Meta editor art */
.art-meta { padding: 14px; display: grid; gap: 10px; }
.field { display: grid; gap: 5px; }
.field__top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.field__box { padding: 9px 11px; border-radius: 8px; background: var(--ground); font-size: 13px; line-height: 1.4; }
.field__box mark { background: var(--sun-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
.hx { display: grid; gap: 5px; font-family: var(--font-mono); font-size: 11.5px; }
.hx div { display: flex; gap: 8px; align-items: center; }
.hx b { font-weight: 600; color: var(--blue); width: 22px; }
.hx span { flex: 1; height: 7px; border-radius: 6px; background: var(--tile); }

/* Product rich result art */
.art-product { display: grid; grid-template-columns: min(96px, 30%) minmax(0, 1fr); gap: clamp(10px, 4%, 14px); padding: 14px; align-items: center; }
.product__img { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(140deg, #FCE6C8, #F6C995); position: relative; overflow: hidden; }
.product__img::before { content: ""; position: absolute; inset: 22% 26% 14%; border-radius: 40% 40% 12px 12px; background: #fff; opacity: .85; }
.product__img::after { content: ""; position: absolute; left: 36%; right: 36%; top: 12%; height: 18%; border: 4px solid #fff; border-bottom: 0; border-radius: 30px 30px 0 0; opacity: .85; }
.product__meta { display: grid; gap: 4px; font-size: 12.5px; }
.product__meta .serp__title { font-size: 14px; }
.product__meta .price { font-weight: 650; font-size: 14px; }

/* hreflang art */
.art-intl { padding: 6px 16px; }
.art-intl .ui-row { grid-template-columns: 28px 1fr auto; }
.flag { width: 26px; height: 18px; border-radius: 4px; overflow: hidden; display: grid; }
.flag--in { grid-template-rows: 1fr 1fr 1fr; } .flag--in i:nth-child(1){background:#FF9933}.flag--in i:nth-child(2){background:#fff}.flag--in i:nth-child(3){background:#138808}
.flag--de { grid-template-rows: 1fr 1fr 1fr; } .flag--de i:nth-child(1){background:#111}.flag--de i:nth-child(2){background:#DD0000}.flag--de i:nth-child(3){background:#FFCE00}
.flag--fr { grid-template-columns: 1fr 1fr 1fr; } .flag--fr i:nth-child(1){background:#0055A4}.flag--fr i:nth-child(2){background:#fff}.flag--fr i:nth-child(3){background:#EF4135}
.flag--ae { grid-template-columns: 1fr 3fr; grid-template-rows: 1fr 1fr 1fr; } .flag--ae i:nth-child(1){background:#FF0000;grid-row:1/4}.flag--ae i:nth-child(2){background:#00732F}.flag--ae i:nth-child(3){background:#fff}.flag--ae i:nth-child(4){background:#000}

/* AI answer art */
.art-ai { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; align-items: end; }
.chat { padding: 16px; display: grid; gap: 12px; }
.chat__q { justify-self: end; max-width: 86%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-size: 13px; }
.chat__a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.chat__a .ai-chip__icon { width: 28px; height: 28px; border-radius: 8px; }
.chat__a .ai-chip__icon svg { width: 15px; height: 15px; }
.chat__body { display: grid; gap: 7px; }
.cite { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; border: 1.5px solid var(--blue); font-size: 12.5px; font-weight: 650; justify-self: start; background: var(--blue-wash); }
.cite i { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; }
.engines { display: grid; gap: 8px; }
.engine { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 13.5px; font-weight: 550; }

/* ---------- 11. Results (night field) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(56px, 6vw, 96px); }
.stat { padding-top: 22px; border-top: 1px solid var(--ui-line-dark); }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(54px, 6.4vw, 104px); letter-spacing: -0.05em; line-height: .9; display: flex; align-items: flex-start; }
.stat__num sup { font-size: .4em; color: var(--sky); margin-left: 4px; margin-top: .1em; line-height: 1; }
.stat p { margin-top: 14px; color: var(--on-night-muted); font-size: 15px; max-width: 15em; }
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.case { grid-column: span 4; border-radius: var(--r); background: var(--night-2); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-height: 420px; }
.case--wide { grid-column: span 6; }
.case__tag { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--on-night-muted); }
.case__tag .tag { background: var(--night-3); color: var(--on-night); }
.case__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(52px, 5vw, 76px); letter-spacing: -0.05em; line-height: .9; color: #fff; }
.case__num small { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--sky); }
.case h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; color: var(--on-night); }
.case p { color: var(--on-night-muted); font-size: 15px; }
.case__art { margin-top: auto; padding: 16px; border-radius: 14px; background: var(--night-3); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: rgba(255,255,255,.12); height: var(--h); transform-origin: bottom; }
.bars i.on { background: var(--sky); }
.case__art .ui__mono { color: var(--on-night-muted); display: flex; justify-content: space-between; margin-top: 10px; }
.spark { width: 100%; height: 90px; }
.spark .chart-line { fill: none; stroke: var(--sky); stroke-width: 2.4; stroke-linecap: round; }
.spark .chart-area { fill: url(#sparkArea); }
.walkins { display: grid; gap: 8px; font-size: 13px; color: var(--on-night); }
.walkins > div { display: grid; grid-template-columns: 70px 1fr 44px; gap: 10px; align-items: center; }
.walkins .bar { background: rgba(255,255,255,.08); height: 8px; }
.walkins .bar > i { background: var(--sky); }
.walkins em { font-style: normal; text-align: right; font-family: var(--font-mono); font-size: 12px; color: var(--on-night-muted); }

/* ---------- 12. Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.step { border-radius: var(--r); background: var(--raised); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 440px; }
.step__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 14px; }
.step__bar i { height: 3px; border-radius: 3px; background: var(--tile); }
.step__bar i.on { background: var(--blue); }
.step__n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.step h3 { font-size: 23px; letter-spacing: -0.025em; line-height: 1.1; }
.step p { font-size: 15px; color: var(--muted); }
.step .ui { margin-top: auto; padding: 12px 14px; background: var(--ground); box-shadow: none; }
.step .ui-row { grid-template-columns: 1fr auto; padding: 8px 0; font-size: 12.5px; }
.road { display: grid; gap: 9px; margin-top: 8px; }
.road div { display: grid; gap: 4px; font-size: 12px; }
.road .bar { background: var(--tile-2); }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: 10px; }
.mini-bars i { flex: 1; height: var(--h); background: #C9D8FA; border-radius: 4px 4px 2px 2px; }
.mini-bars i:last-child { background: var(--blue); }

/* ---------- 13. Platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tabs { grid-column: span 4; display: grid; gap: 8px; align-content: start; }
.tab {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 18px 20px; border-radius: var(--r-ui); background: var(--raised); font-weight: 600; font-size: 17px;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.tab small { display: block; font-weight: 450; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tab svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-mid) var(--ease-out); }
.tab:hover { background: var(--blue-wash); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab[aria-selected="true"] small { color: var(--on-night-muted); }
.tab[aria-selected="true"] svg { transform: translateX(3px); }
.tab { position: relative; overflow: hidden; }
.tab__progress { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity var(--t-fast); }
.is-pinned .tab__progress { opacity: 1; }
@media (min-width: 1025px) {
  /* Pinned platforms: the outer block is tall, the tabs and panel stick while it scrolls past. */
  .platforms-scroll { height: calc(var(--plat-h, 560px) + 4 * 52vh); }
  .platforms-pin { position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - var(--plat-h, 640px) / 2)); }
}
.panels { grid-column: span 8; position: relative; display: grid; }
.panel { border-radius: var(--r); background: var(--raised); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; min-height: 100%; }
.panel { grid-area: 1 / 1; }
.panel[hidden] { display: grid; visibility: hidden; opacity: 0; }
.panel.is-in { animation: panelIn var(--t-mid) var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.panel h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.panel > div > p { color: var(--muted); margin-bottom: 22px; }
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.checks svg { width: 20px; height: 20px; color: var(--blue); margin-top: 1px; }
.panel__art { border-radius: 16px; background: var(--blue-soft); padding: 20px; display: grid; align-content: center; gap: 10px; }
.panel__art .ui { padding: 14px; }
.browser { overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--ground); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--tile-2); }
.browser__bar span { margin-left: 8px; flex: 1; height: 22px; border-radius: 6px; background: #fff; font-size: 11px; display: flex; align-items: center; padding-left: 10px; color: var(--muted); font-family: var(--font-mono); }
.browser__body { padding: 14px; display: grid; gap: 8px; }

/* ---------- 14. Testimonials ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); flex-wrap: wrap; }
.reviews__head h2 { max-width: 12em; }
.reviews__ctrl { display: flex; gap: 8px; align-items: center; }
.reviews__ctrl button { width: 52px; height: 52px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; transition: background-color var(--t-fast), color var(--t-fast); }
.reviews__ctrl button:hover { background: var(--ink); color: #fff; }
.reviews__ctrl button:disabled { opacity: .4; pointer-events: none; }
.reviews__ctrl svg { width: 20px; height: 20px; }
.rating { display: flex; align-items: center; gap: 12px; margin-right: 12px; font-size: 14px; color: var(--muted); }
.rating b { font-family: var(--font-display); font-size: 30px; color: var(--ink); letter-spacing: -0.03em; }
.stars { color: #E8A317; letter-spacing: 2px; font-size: 15px; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 84vw); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; border-radius: var(--r); background: var(--raised); padding: 28px; display: flex; flex-direction: column; gap: 22px; min-height: 380px; }
.quote__metric { display: inline-flex; align-self: flex-start; }
.quote blockquote { font-size: 17.5px; line-height: 1.5; letter-spacing: -0.01em; text-wrap: pretty; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--ui-line); }
/* Room for a name and a two-line role in every card, so the dividers line up across a row */
.quote figcaption > span { min-height: 65px; display: flex; flex-direction: column; justify-content: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 15px; color: #fff; flex: none; }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption span { font-size: 13.5px; color: var(--muted); }
.quote figcaption .avatar { color: #fff; font-size: 15px; }
.quote--feature { background: var(--blue); color: #fff; }
.quote--feature figcaption { border-top-color: rgba(255,255,255,.2); }
.quote--feature figcaption span { color: rgba(255,255,255,.92); }
.quote--feature .stars { color: var(--sun); }
.quote--feature .tag--green { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- 15. About ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.about__photo { grid-column: span 5; position: relative; border-radius: var(--r); overflow: hidden; min-height: 560px; background: #5A606B; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__card { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.about__card b { display: block; font-size: 16px; }
.about__card span { font-size: 13px; color: var(--muted); }
.about__card a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.about__card a svg { width: 18px; height: 18px; }
.about__body { grid-column: span 7; border-radius: var(--r); background: var(--raised); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.about__body h2 { font-size: clamp(34px, 3.6vw, 56px); }
.about__body > p { color: var(--muted); max-width: 36em; }
.about__body > p strong { color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.fact { padding: 16px; border-radius: var(--r-ui); background: var(--ground); }
.fact b { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.fact span { font-size: 13px; color: var(--muted); }
.certs { display: flex; flex-wrap: wrap; gap: 6px; }
.certs li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: var(--pill); background: var(--ground); font-size: 13.5px; font-weight: 550; }
.certs img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.about__sub { font-size: 12.5px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }

/* ---------- 16. Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post { border-radius: var(--r); background: var(--raised); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post__art { height: 220px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 24px; }
.post__art--1 { background: var(--blue-soft); }
.post__art--2 { background: var(--sun-soft); }
.post__art--3 { background: var(--night); }
.post__body { padding: 24px; display: grid; gap: 10px; }
.post__meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: center; }
.post h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.post:hover h3 { color: var(--blue); }
.kw { width: 100%; max-width: 300px; padding: 12px 14px; }
.kw .ui-row { grid-template-columns: 1fr auto auto; font-size: 12px; padding: 7px 0; }
.cluster { container-type: inline-size; width: 100%; max-width: 440px; }
.cluster__in { position: relative; height: var(--cl-h, 210px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; place-items: center; font-family: var(--font-text); font-size: var(--cl-fs, 12.5px); font-weight: 600; line-height: 1.2; color: var(--ink); text-align: center; }
.cluster__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cluster__lines--2 { display: none; }
.cluster__lines line { stroke: #C9A64A; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cluster__node, .cluster__hub { position: relative; max-width: 100%; padding: 6px 12px; border-radius: 15px; }
.cluster__node { background: #fff; box-shadow: inset 0 0 0 1.5px #E0B84C; }
.cluster__hub { grid-area: 2 / 1 / 3 / -1; max-width: 72%; padding: 8px 16px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 1.04em; }
.cluster__node--a { grid-area: 1 / 1; } .cluster__node--b { grid-area: 1 / 3; } .cluster__node--c { grid-area: 3 / 1; } .cluster__node--d { grid-area: 3 / 3; } .cluster__node--e { grid-area: 3 / 2; }
/* Narrow diagrams: two columns, four rows, so every label has half the width to itself */
@container (max-width: 439px) {
  .cluster__in { height: var(--cl-h2, 236px); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); font-size: var(--cl-fs2, 12px); }
  .cluster__lines--3 { display: none; }
  .cluster__lines--2 { display: block; }
  .cluster__node, .cluster__hub { padding: 5px 10px; }
  .cluster__node--a { grid-area: 1 / 1; } .cluster__node--b { grid-area: 1 / 2; } .cluster__node--c { grid-area: 3 / 1; } .cluster__node--d { grid-area: 3 / 2; } .cluster__node--e { grid-area: 4 / 1 / 5 / -1; }
}
.art--inline .cluster { max-width: 600px; --cl-h: clamp(200px, 24vw, 250px); --cl-fs: 14px; --cl-fs2: 13px; }
.art--inline .cluster__hub { padding: 10px 20px; border-radius: 22px; }
.gain__art .cluster, .phero__art .cluster { max-width: 560px; --cl-h: 240px; --cl-fs: 13.5px; }
.pcard__art .cluster, .feature__art .cluster { --cl-h: 170px; --cl-h2: 176px; --cl-fs2: 11.5px; }
/* A diagram fits its card whole, so it sits centred with no fade cutting off the bottom label */
.pcard__art .art:has(.cluster), .feature__art .art:has(.cluster) { align-items: center; padding: 14px 22px; }
.pcard__art .art:has(.cluster)::after, .feature__art .art:has(.cluster)::after { display: none; }
.entities { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 290px; }
.entities span { padding: 6px 11px; border-radius: var(--pill); background: #fff; font-size: 12.5px; font-weight: 550; box-shadow: var(--shadow-ui); }
.entities span.main { background: var(--blue); color: #fff; }

/* ---------- 17. FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faq__intro { grid-column: span 4; display: grid; gap: 20px; align-content: start; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro p { color: var(--muted); }
.faq__list { grid-column: 6 / span 7; display: grid; gap: 8px; }
.qa { border-radius: var(--r-ui); background: var(--raised); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; font-weight: 600; font-size: 17.5px; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 32px; height: 32px; border-radius: 50%; background: var(--tile); flex: none; position: relative; transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--t-mid) var(--ease-out); }
.qa[open] summary i { background: var(--blue); color: #fff; }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 24px 24px; color: var(--muted); max-width: 44em; }

/* ---------- 18. CTA ---------- */
.cta { border-radius: calc(var(--r) + 6px); background: var(--blue); color: #fff; padding: clamp(36px, 6vw, 88px); position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: end; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(255,255,255,.55) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%); }
.cta__swoosh { position: absolute; right: -6%; top: -30%; width: 70%; z-index: -1; opacity: .18; }
.cta__swoosh path { fill: none; stroke: #fff; stroke-width: 40; stroke-linecap: round; }
.cta h2 { grid-column: span 8; font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -0.045em; line-height: .95; }
.cta__side { grid-column: 9 / span 4; display: grid; gap: 22px; }
.cta__side p { color: rgba(255,255,255,.85); }
.cta__side .btn { justify-self: start; }
.cta__mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 550; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 2px; justify-self: start; transition: border-color var(--t-fast); }
.cta__mail:hover { border-color: #fff; }

/* ---------- 19. Footer ---------- */
.footer { padding-top: clamp(64px, 7vw, 104px); padding-bottom: 32px; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); padding-bottom: clamp(48px, 6vw, 80px); }
.footer__brand { grid-column: span 4; display: grid; gap: 20px; align-content: start; }
.footer__brand p { color: var(--muted); max-width: 26em; font-size: 15.5px; }
.footer__col { grid-column: span 2; }
.footer__h { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 15.5px; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--blue); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--tile); display: grid; place-items: center; transition: background-color var(--t-fast), color var(--t-fast); }
.socials a:hover { background: var(--ink); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer__name { font-family: var(--font-display); font-weight: 650; font-size: clamp(40px, 10.6vw, 152px); letter-spacing: -0.06em; line-height: .78; color: var(--ink); white-space: nowrap; overflow: hidden; padding-bottom: .06em; }
.footer__name span { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--ui-line); font-size: 14px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- 20. Motion ---------- */
.js .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 .reveal.is-in { opacity: 1; transform: none; }
.js .float { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.is-loaded .float { opacity: 1; transform: none; }
.float.bob { animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s); }
@keyframes bob { 50% { translate: 0 -8px; } }
.js .draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 1.8s var(--ease-out) .4s; }
.is-loaded .hero .draw, .is-in .draw { stroke-dashoffset: 0; }
.js .bar > i, .js .bars i { transform: scaleX(0); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 200ms); }
.js .bars i { transform: scaleY(0); }
.is-in .bar > i, .is-in .bars i, .is-loaded .hero .bar > i { transform: none; }
.js .ring .ring__fg { stroke-dashoffset: 145; }
.is-in .ring .ring__fg { stroke-dashoffset: calc(145 - 145 * var(--p) / 100); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1180px) {
  .float--chart { left: 3%; }
  .float--serp { right: 2%; }
  .svc--a, .svc--b, .svc--f, .svc--g { grid-column: span 6; }
  .svc--c, .svc--d, .svc--e { grid-column: span 4; }
  .art-ai { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 12; }
  .footer__col { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta .btn { padding: 5px 5px 5px 16px; gap: 8px; font-size: 14.5px; min-height: 0; }
  .header__cta .btn .btn__chip { width: 30px; height: 30px; }
  .menu-btn { display: grid; }
  .header__cta { margin-left: auto; }
  .nav-open .nav {
    display: block; position: fixed; inset: var(--header-h) 0 auto; background: var(--ground); padding: 8px var(--gutter) 28px;
    box-shadow: 0 30px 40px -20px rgba(12,18,34,.2);
  }
  .nav-open .header { background: var(--ground); }
  .nav-open .nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-open .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-open .nav__link, .nav-open .nav__btn { width: 100%; justify-content: space-between; font-size: 22px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ui-line); }
  .nav-open .nav .nav__cta { display: inline-flex; color: #fff; margin-top: 20px; padding: 6px 6px 6px 22px; border-radius: var(--pill); border-bottom: 0; font-family: var(--font-text); font-size: 16px; font-weight: 550; letter-spacing: 0; }
  .nav-open .nav .nav__cta:hover { background: var(--blue-press); }
  .hero__copy, .hero__visual { grid-column: 1 / -1; }
  .hero__visual { min-height: 780px; margin-top: 16px; }
  .section-head__title, .section-head > p { grid-column: 1 / -1; }
  .strip__in { grid-template-columns: 1fr; gap: 16px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .case, .case--wide { grid-column: span 6; }
  .tabs { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tab small { display: none; }
  .tab svg { display: none; }
  .panels { grid-column: 1 / -1; }
  .about__photo, .about__body { grid-column: 1 / -1; }
  .about__photo { min-height: 520px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__intro, .faq__list { grid-column: 1 / -1; }
  .faq__intro { position: static; }
  .cta h2, .cta__side { grid-column: 1 / -1; }
}
.nav .nav__cta { display: none; }
@media (max-width: 720px) {
  :root { --header-h: 66px; --fs-body: 16px; }
  .logo svg { height: 26px; }
  .header .logo__full { display: none; }
  .header .logo__compact { display: block; }
  .hero__visual { min-height: 520px; }
  .portrait__name { left: 50%; bottom: 12px; translate: -50% 0; max-width: calc(100% - 24px); padding: 6px 12px 6px 6px; font-size: 12.5px; }
  .portrait__name small { font-size: 11px; }
  .portrait__img { width: 100%; transform: translateX(-44%); }
  .principles { grid-template-columns: 1fr; }
  .svc--a, .svc--b, .svc--c, .svc--d, .svc--e, .svc--f, .svc--g { grid-column: 1 / -1; min-height: 0; }
  .rings { grid-template-columns: repeat(2, 1fr); }
  .stat__num { font-size: 56px; }
  .case, .case--wide { grid-column: 1 / -1; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { padding: 14px 16px; font-size: 15.5px; }
  .panel { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .about__photo { min-height: 440px; }
  .posts { grid-template-columns: 1fr; }
  .reviews__ctrl .rating { display: none; }
  .footer__col { grid-column: span 6; }
  .footer__bottom { flex-direction: column; }
  .qa summary { padding: 18px; font-size: 16px; }
  .qa__a { padding: 0 18px 20px; }
}

/* ==========================================================================
   22. Multi-page system: mega menu, page hero, content blocks, article, forms
   ========================================================================== */

/* Mega menu */
.nav__link, .nav__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--pill); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color var(--t-fast) ease; }
.nav__link[aria-current="page"] { color: var(--blue); }
.nav__chev { width: 14px; height: 14px; transition: transform var(--t-mid) var(--ease-out); }
.nav__btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.has-menu { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 6px); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast) ease, transform var(--t-mid) var(--ease-out), visibility 0s linear var(--t-fast);
}
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in {
  width: min(var(--maxw) - 2 * var(--gutter), calc(100vw - 2 * var(--gutter))); margin-inline: auto;
  background: var(--raised); border-radius: var(--r); box-shadow: var(--shadow-lift); padding: 28px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, .9fr); gap: 8px 28px;
}
.mega__col--wide { grid-column: span 3; }
.mega__h { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 10px; }
.mega ul { display: grid; gap: 2px; }
.mega__2col { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
.mega a:not(.mega__feature) { display: block; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast); }
.mega a:not(.mega__feature):hover, .mega a[aria-current="page"] { background: var(--blue-wash); color: var(--blue-press); }
.mega__col--wide ul:not(.mega__2col) { grid-template-columns: repeat(2, 1fr); gap: 8px 28px; }
.mega__rich b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.mega__rich span { display: block; font-size: 13.5px; color: var(--muted); font-weight: 450; margin-top: 2px; }
.mega__feature { position: relative; border-radius: 16px; background: var(--blue); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; min-height: 200px; overflow: hidden; transition: background-color var(--t-fast); }
.mega__feature:hover { background: var(--blue-press); }
.mega__feature .eyebrow { color: rgba(255,255,255,.75); }
.mega__feature .eyebrow::before { background: var(--sun); }
.mega__feature b { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; font-weight: 600; }
.mega__feature > span:not(.eyebrow) { font-size: 14px; color: rgba(255,255,255,.85); }
.mega__arrow { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; }

/* Page hero */
.phero { padding-top: calc(var(--header-h) + clamp(24px, 3.4vw, 48px)); padding-bottom: clamp(48px, 5vw, 80px); }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center; }
.phero__copy { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; }
.phero--plain .phero__copy { grid-column: span 10; }
.phero__art { grid-column: 8 / span 5; }
.phero__art .art { min-height: 400px; display: grid; align-content: center; }
.phero .eyebrow { margin-bottom: 18px; }
.phero__h1 { font-size: clamp(40px, 5.2vw, 80px); letter-spacing: -0.045em; line-height: .96; margin-bottom: clamp(20px, 2.2vw, 28px); }
.phero__h1--post { font-size: clamp(36px, 4.4vw, 64px); max-width: 18em; }
.phero__lead { color: var(--muted); max-width: 36em; margin-bottom: clamp(26px, 3vw, 36px); }
.phero .hero__actions { margin-bottom: 28px; }
.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--faint); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--muted); max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Art panels */
.art { border-radius: var(--r); padding: clamp(20px, 2.6vw, 36px); position: relative; overflow: hidden; }
.art--blue { background: linear-gradient(180deg, #E5ECFD, #D3E0FB); }
.art--night { background: var(--night); }
.art--sun { background: var(--sun-soft); }
.art--tile { background: var(--tile); }
.art--white { background: var(--raised); }
.art--blue::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(43,102,240,.32) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(80% 70% at 70% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(80% 70% at 70% 20%, #000 10%, transparent 70%); pointer-events: none; }
.art > * { position: relative; }
.art--inline { margin: 28px 0; }
.art .ui { box-shadow: var(--shadow-ui); }
.art .art-map { height: 260px; }
.art .art-product { max-width: 420px; }
.art .kw, .art .cluster, .art .entities { margin-inline: auto; }
.art--night .art-cwv .ring, .art--night .art-cwv .crawl { background: var(--night-2); }
.art-growth { padding: 18px; }
.art-growth svg { width: 100%; height: 110px; margin: 12px 0 6px; }
.art-growth .chart-line { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }
.art-growth .chart-area { fill: rgba(43,102,240,.12); }
.art-list { padding: 8px 16px 6px; }
.art-list .ui__head { padding: 10px 0 8px; }
.art-list .ui-row { grid-template-columns: 1fr auto; }
.art-list .ui-row:has(.bar) { grid-template-columns: 1fr auto auto; }
.art-road, .art-report { padding: 16px 18px; }
.gbp { display: grid; gap: 6px; padding: 8px 0 12px; }
.gbp b { font-size: 17px; }
.gbp > span { font-size: 13px; color: var(--muted); }
.gbp__btns { display: flex; gap: 6px; margin-top: 6px; }
.gbp__btns span { padding: 7px 12px; border-radius: var(--pill); background: var(--blue-wash); color: var(--blue-press); font-size: 12.5px; font-weight: 600; }
.art-cal { padding: 16px 18px; display: grid; gap: 14px; }
.cal__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal__days span { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-radius: 10px; background: var(--ground); font-size: 11.5px; color: var(--muted); }
.cal__days b { font-size: 17px; color: var(--ink); }
.cal__days .on { background: var(--ink); color: rgba(255,255,255,.7); }
.cal__days .on b { color: #fff; }
.cal__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cal__slots span { text-align: center; padding: 8px 0; border-radius: 9px; border: 1px solid var(--ui-line); font-size: 13px; font-weight: 550; }
.cal__slots .on { background: var(--blue); color: #fff; border-color: var(--blue); }
.art-mail { padding: 16px 18px; display: grid; gap: 10px; }
.mail__line { display: flex; gap: 10px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--ui-line); }
.mail__line span { color: var(--muted); }
.mail__send { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; }
.mail__send svg { width: 14px; height: 14px; }
.art-compare { padding: 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; text-align: center; }
.art-compare > div { display: grid; gap: 6px; padding: 18px 10px; border-radius: 12px; background: var(--ground); }
.art-compare > div.is-after { background: var(--blue); color: #fff; }
.art-compare > div.is-after .ui__label { color: rgba(255,255,255,.75); }
.art-compare b { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.04em; font-weight: 600; }
.art-compare__arrow svg { width: 22px; height: 22px; color: var(--blue); }
.art-compare p { grid-column: 1 / -1; }
.flag--us { grid-template-rows: 1fr 1fr; } .flag--us i:nth-child(1) { background: repeating-linear-gradient(180deg, #B22234 0 2px, #fff 2px 4px); } .flag--us i:nth-child(2) { background: repeating-linear-gradient(180deg, #fff 0 2px, #B22234 2px 4px); }

/* Sections */
.section--inner { padding-block: clamp(72px, 8vw, 128px); }
.section--tldr { padding-block: 0 clamp(40px, 5vw, 72px); }
.case-band + .section--tldr { padding-top: clamp(40px, 5vw, 72px); }
.section--cta { padding-block: clamp(64px, 7vw, 112px); }
.section-head--center { text-align: center; justify-items: center; }

/* TL;DR */
.tldr { border-radius: var(--r); background: var(--raised); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px var(--gap); box-shadow: 0 1px 0 var(--ui-line); }
.tldr__label { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.tldr__label svg { width: 16px; height: 16px; color: var(--blue); }
.tldr__text { grid-column: span 7; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.tldr__points { grid-column: 8 / span 5; display: grid; gap: 10px; align-content: start; }
.tldr__points li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; color: var(--ink-2); }
.tldr__points svg { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.article__body .tldr { grid-template-columns: 1fr; background: var(--blue-wash); box-shadow: none; margin-bottom: 40px; }
.article__body .tldr__text, .article__body .tldr__points { grid-column: 1; }

/* Prose split */
.prose-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: start; }
.prose-split__head { grid-column: span 5; display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.prose-split__head .t-h2 { font-size: clamp(32px, 3.4vw, 52px); }
.prose-split__body { grid-column: 7 / span 6; }
.prose-split--plain .prose-split__body { grid-column: 7 / span 6; }

/* Rich text */
.rich { font-size: 17.5px; line-height: 1.68; color: var(--ink-2); }
.rich > * + * { margin-top: 1.05em; }
.rich h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; margin-top: 2em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.rich h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 1.8em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.rich h2 + *, .rich h3 + * { margin-top: .7em; }
.rich a:not(.btn):not(.link-card):not(.card) { color: var(--blue-press); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(43,102,240,.4); }
.rich a:not(.btn):hover { text-decoration-color: currentColor; }
.rich strong { color: var(--ink); font-weight: 600; }
.rich code { font-family: var(--font-mono); font-size: .86em; background: var(--tile); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.list { display: grid; gap: .55em; padding-left: 0; list-style: none; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.list--ol { counter-reset: li; }
.list--ol li { counter-increment: li; padding-left: 36px; }
.list--ol li::before { content: counter(li); width: 24px; height: 24px; top: .12em; left: 0; border-radius: 50%; background: var(--blue-soft); color: var(--blue-press); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; font-family: var(--font-mono); }
.pull { margin: 1.6em 0; padding: 22px 26px; border-radius: 16px; background: var(--tile); }
.pull p { font-family: var(--font-display); font-size: 21px; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); }
.pull cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--muted); }
.note { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--sun-soft); font-size: 16px; }
.note svg { width: 20px; height: 20px; color: #B7791F; margin-top: 3px; }
.code { background: var(--night); color: #E6EBF5; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 16px; background: var(--raised); box-shadow: 0 0 0 1px var(--ui-line); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.table caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.table th, .table td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--ui-line); vertical-align: top; }
.table thead th { border-top: 0; background: var(--ground); font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tbody th { font-weight: 600; color: var(--ink); }
.field-tile .table thead th { background: var(--blue-wash); }

/* Cards */
.cards { display: grid; gap: var(--gap); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: var(--r); background: var(--raised); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.field-tile .card, .field-tile .step, .field-tile .principle { background: var(--raised); }
.section--inner:not(.field-tile):not(.field-night) .card { background: var(--tile); }
.section--inner:not(.field-tile):not(.field-night) .card__icon { background: var(--raised); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.card--link { transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--blue-press); }
.card__more svg { width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease-out); }
.card--link:hover .card__more svg, .case-card:hover .card__more svg { transform: translateX(4px); }

/* Steps (ol) */
ol.steps { list-style: none; padding: 0; margin: 0; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ol.steps .step { min-height: 0; }
.steps .step__bar { grid-template-columns: repeat(var(--n, 4), 1fr); }
.section--inner .step { background: var(--tile); }
.field-tile .step { background: var(--raised); }

/* Checks */
.checks--lg { gap: 16px; }
.checks--lg li { font-size: 17px; line-height: 1.5; grid-template-columns: 26px 1fr; }
.checks--lg svg { width: 22px; height: 22px; }

/* Stats on inner pages */
.stats--1 { grid-template-columns: 1fr; } .stats--2 { grid-template-columns: repeat(2, 1fr); } .stats--3 { grid-template-columns: repeat(3, 1fr); }
.section--inner .stats { margin-bottom: 0; }
.stat__num { flex-wrap: wrap; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.compare__col { border-radius: var(--r); padding: 30px; background: var(--raised); }
.section--inner:not(.field-tile) .compare__col { background: var(--tile); }
.compare__col--good, .section--inner:not(.field-tile) .compare__col--good { background: var(--ink); color: #fff; }
.compare__col h3 { font-size: 22px; margin-bottom: 18px; letter-spacing: -0.02em; }
.compare__col ul { display: grid; gap: 12px; }
.compare__col li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.compare__col svg { width: 18px; height: 18px; margin-top: 3px; color: #C2410C; }
.compare__col--good svg { color: #5FD18F; }
.compare__col--good li span { color: rgba(255,255,255,.88); }

/* Case cards */
.case-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.case-card { border-radius: var(--r); background: var(--night); color: var(--on-night); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 340px; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.case-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 14px; color: var(--on-night-muted); }
.case-card__top .tag { white-space: normal; text-align: right; }
.case-card .tag--ink { background: var(--night-3); }
.case-card__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 4.4vw, 64px); letter-spacing: -0.05em; line-height: .9; color: #fff; }
.case-card__num small { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--sky); }
.case-card p { color: var(--on-night-muted); font-size: 15px; }
.case-card .card__more { color: var(--sky); }
.field-night .case-card { background: var(--night-2); }

/* Case band */
.case-band { padding-block: clamp(48px, 5vw, 80px); }
.case-band__meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-bottom: 40px; font-size: 15px; }
.case-band__meta b { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--on-night-muted); margin-bottom: 4px; }
.case-band .stats { margin-bottom: 0; }

/* Quotes grid */
/* Cards in a row share one height and their names line up along the bottom, as in the homepage carousel */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.quote-grid .quote { min-height: 0; }
/* The first card widens when a grid's count would leave a short last row (fillRows in render.mjs) */
@media (min-width: 1181px) { .grid-wide3 { grid-column: span 2; } }
@media (min-width: 721px) and (max-width: 1180px) { .grid-wide2 { grid-column: span 2; } }
/* A widened quote reads as a pull quote */
@media (min-width: 1181px) { .quote.grid-wide3 blockquote { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.4; letter-spacing: -0.01em; max-width: 36em; } }
@media (min-width: 721px) and (max-width: 1180px) { .quote.grid-wide2 blockquote { font-size: 20px; line-height: 1.45; } }
.section--inner:not(.field-tile) .quote:not(.quote--feature) { background: var(--tile); }
.track--bleed { margin-top: 0; }

/* Link cards */
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.link-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px; border-radius: var(--r-ui); background: var(--raised); transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.section--inner:not(.field-tile) .link-card { background: var(--tile); }
.link-card:hover { background: var(--ink) !important; color: #fff; transform: translateY(-2px); }
.link-card b { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.link-card span span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.link-card:hover span span { color: var(--on-night-muted); }
.link-card svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

/* Post hero + article */
.phero--post { padding-bottom: clamp(32px, 4vw, 56px); }
.post-hero__meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-top: 22px; border-top: 1px solid var(--ui-line); font-size: 14px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.byline b { display: block; font-size: 15px; }
.byline span span { display: block; color: var(--muted); font-size: 13px; }
.byline__dates { margin-left: auto; display: flex; gap: 16px; color: var(--muted); }
.byline__dates > span { display: inline !important; font-size: 13.5px !important; }
.section--article { padding-block: 0 clamp(72px, 8vw, 120px); }
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.article__body { max-width: 740px; }
.article__body > h2:first-child { margin-top: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.toc__h { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc ol { display: grid; gap: 2px; border-left: 2px solid var(--tile-2); }
.toc ol a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color var(--t-fast), border-color var(--t-fast); }
.toc ol a:hover, .toc ol a.is-active { color: var(--ink); border-left-color: var(--blue); }
.toc__cta { border-radius: 16px; background: var(--ink); color: #fff; padding: 18px; display: grid; gap: 8px; }
.toc__cta b { font-size: 16px; }
.toc__cta > span { font-size: 13.5px; color: var(--on-night-muted); }
.toc__cta .btn { justify-self: start; margin-top: 6px; }
.faq__list--article { margin-top: 18px; }
.faq__list--article .qa { background: var(--tile); }
.article__body .checks { margin-top: 1em; }

/* Author box */
.author-box { margin-top: 56px; display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 26px; border-radius: var(--r); background: var(--tile); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author-box__name { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px !important; }
.author-box__name a { text-decoration: none !important; color: var(--ink) !important; }
.author-box__role { font-size: 14px; color: var(--muted); margin-top: 2px !important; }
.author-box__bio { font-size: 15.5px; margin-top: 10px !important; }
.author-box__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px !important; font-size: 14.5px; font-weight: 600; }

/* Forms */
.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--raised); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.form .field--wide { grid-column: 1 / -1; }
.form .field > label { font-size: 14px; font-weight: 550; }
.field__req { font-style: normal; color: var(--blue); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ground); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color var(--t-fast), background-color var(--t-fast); }
.form input::placeholder, .form textarea::placeholder { color: var(--faint); opacity: 1; }
.form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234A5163' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; cursor: pointer; }
.form select:has(option[value=""]:checked) { color: var(--faint); }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 132px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; }
.form .field--error input, .form .field--error select, .form .field--error textarea, .form [aria-invalid="true"] { border-color: #C2410C; background-color: #FFF8F4; }
.field__err { font-size: 13px; line-height: 1.35; color: #B23A0A; }
.field__err:empty { display: none; }
.field__fix { justify-self: start; font: inherit; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-wash); border: 0; border-radius: var(--pill); padding: 5px 12px; cursor: pointer; }
.field__fix:hover { background: var(--blue-soft); }
/* Phone: one box, the country code ("IN +91") on the left behind a divider, then the national number */
.tel { display: flex; align-items: stretch; border-radius: 12px; background: var(--ground); border: 1.5px solid transparent; transition: border-color var(--t-fast), background-color var(--t-fast); }
.tel:focus-within { border-color: var(--blue); background-color: #fff; }
.tel__cc { position: relative; flex: none; display: flex; align-items: center; margin: 10px 0; padding: 0 12px 0 14px; border-right: 1px solid var(--tile-2); }
.tel__show { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.tel__show::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); rotate: 45deg; }
.form .tel__cc select { position: absolute; inset: -10px 0; width: 100%; height: auto; padding: 0; opacity: 0; cursor: pointer; background-image: none; }
.form .tel input { flex: 1; min-width: 0; border: 0; border-radius: 0 12px 12px 0; background: transparent; padding-left: 12px; }
.form .tel input:focus { background: transparent; }
.tel__cc:has(select:focus-visible) .tel__show { color: var(--blue); }
.form .field--error .tel { border-color: #C2410C; background-color: #FFF8F4; }
.form .field--error .tel input { border: 0; background: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; justify-items: start; gap: 12px; }
.form__legal { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.form__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
/* What happens to the details, and the consent box, above the send button */
.form__notice { font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.form__notice a, .consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form .field--consent { gap: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.form .consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; border: 0; accent-color: var(--blue); cursor: pointer; }
.form .consent input[aria-invalid="true"] { outline: 2px solid #C2410C; outline-offset: 2px; }
/* after the error rule, so a focused box shows the focus ring even while it is in error */
.form .consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent label { cursor: pointer; }
/* A send that failed: said next to the button, on the same tint as a field error */
.form__status { max-width: 52ch; padding: 10px 14px; border: 1px solid #F3C7AE; border-radius: 12px; background: #FFF8F4; color: #8A2C07; font-size: 14px; line-height: 1.45; }
.form__status[hidden] { display: none; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* Footer extras */
.footer__mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; }
.footer__mail svg { width: 18px; height: 18px; color: var(--blue); }
.footer__brand p a { color: var(--blue-press); font-weight: 600; }
.footer__col ul { gap: 9px; }
.footer__col a { font-size: 14.5px; }

/* Index helpers */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1180px) {
  .mega__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__feature { display: none; }
  .case-cards, .quote-grid, .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .has-menu { position: relative; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-menu.is-open .mega { display: block; }
  .mega__in { width: auto; box-shadow: none; background: transparent; padding: 6px 0 16px; grid-template-columns: 1fr; gap: 14px; }
  .mega__col--wide { grid-column: auto; }
  .mega__2col, .mega__col--wide ul:not(.mega__2col) { grid-template-columns: 1fr; }
  .mega__h:empty, .mega__h:has(+ ul) { }
  .phero__copy, .phero--plain .phero__copy, .phero__art { grid-column: 1 / -1; }
  .phero__art .art { min-height: 0; }
  .tldr__text, .tldr__points { grid-column: 1 / -1; }
  .prose-split__head, .prose-split__body, .prose-split--plain .prose-split__body { grid-column: 1 / -1; position: static; }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .article { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc__cta { display: none; }
  .footer__col { grid-column: span 6; }
}
@media (max-width: 720px) {
  .cards--2, .cards--3, .cards--4, .case-cards, .quote-grid, .link-cards, .compare, .steps--2, .steps--3, .stats--2, .stats--3 { grid-template-columns: minmax(0, 1fr); }
  .phero__h1 { font-size: clamp(36px, 10vw, 48px); }
  .phero__h1--post { font-size: clamp(32px, 8.6vw, 42px); }
  .art .art-map { height: 210px; }
  .art-compare { grid-template-columns: 1fr; }
  .art-compare__arrow { transform: rotate(90deg); justify-self: center; }
  .author-box { grid-template-columns: 1fr; }
  .byline__dates { margin-left: 0; width: 100%; }
  .rich { font-size: 17px; }
  .table { font-size: 14px; }
}
.quote figcaption b { color: var(--ink); }
.quote--feature figcaption b { color: #fff; }
.cta__mail svg { width: 18px; height: 18px; flex: none; }
.tldr__points { list-style: none; padding: 0; margin: 0; }
.h1-kicker { display: block; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.2; margin-bottom: 18px; }
.results__more { margin-top: 32px; }
.case { color: inherit; transition: transform var(--t-mid) var(--ease-out); }
a.case:hover { transform: translateY(-4px); }
.panel__link { margin-top: 18px; font-weight: 600; font-size: 15px; }
a.rating { color: inherit; }
.phero__byline { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.phero__byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.phero__byline a { color: var(--ink); font-weight: 600; }
.section--author { padding-block: 0 clamp(24px, 3vw, 40px); }
.section--author .author-box { margin-top: clamp(40px, 5vw, 72px); background: var(--raised); }
.wrap--narrow { max-width: 980px; }

/* ==========================================================================
   23. Commercial pages (service, consulting, industry)
   Editorial and personal: numbered sections, hairline ledgers, a note from
   Vikash, a timeline, menu-style engagement rows, a dark closing panel.
   ========================================================================== */
.strip--page { padding-block: 0 clamp(56px, 6vw, 88px); }

.eyebrow .idx { font-family: var(--font-mono); font-weight: 500; color: var(--ink); background: var(--sun); border-radius: 6px; padding: 2px 7px; margin-right: 10px; letter-spacing: 0; }
.field-night .eyebrow .idx { color: var(--ink); }

.section-head__side { grid-column: 8 / span 5; display: grid; gap: 20px; justify-items: start; }
.section-head__side p { color: var(--muted); }
.field-night .section-head__side p { color: var(--on-night-muted); }
.field-night .section-head__side .btn--ink { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-hover: #FFD66E; --btn-chip: rgba(12,18,34,.12); }

.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-hover: #FFD66E; --btn-chip: rgba(12,18,34,.12); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1.5px solid var(--sun); padding-bottom: 3px; justify-self: start; align-self: start; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-quiet--line svg { width: 18px; height: 18px; }

/* Problems: a numbered ledger */
.ledger { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ui-line); }
.ledger__row { display: grid; grid-template-columns: 80px minmax(0, 5fr) minmax(0, 6fr); gap: 12px clamp(20px, 3vw, 48px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--ui-line); align-items: baseline; }
.ledger__n { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.ledger__row h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; line-height: 1.12; }
.ledger__row p { color: var(--muted); font-size: 16.5px; }
.ledger__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; padding: 20px 22px 20px 26px; border-radius: var(--r-ui); background: var(--sun-soft); }
.ledger__cta p { font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.02em; font-weight: 500; }

/* Outcomes: asymmetric grid with one large dark card */
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); gap: var(--gap); }
.gain { border-radius: var(--r); background: var(--raised); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; grid-column: 3; }
.gain--lead { grid-column: 1 / span 2; grid-row: 1 / span var(--rows); background: var(--night); color: var(--on-night); padding: clamp(18px, 2vw, 24px); gap: 22px; align-content: space-between; }
.gain__art .art { min-height: 0; height: clamp(220px, 24vw, 340px); }
.gain__copy { display: grid; gap: 10px; padding: 0 clamp(4px, 1vw, 14px) clamp(4px, 1vw, 14px); }
.gain--lead h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.035em; line-height: 1.05; color: #fff; }
.gain--lead p { color: var(--on-night-muted); max-width: 40em; }
.gain__n { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.gain h3 { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.02em; line-height: 1.2; }
.gain:not(.gain--lead) h3 { box-shadow: inset 0 -0.42em 0 var(--sun-soft); justify-self: start; }
.gain:not(.gain--lead) p { color: var(--muted); font-size: 15px; }

/* A note from Vikash */
.section--band { padding-block: clamp(24px, 3vw, 40px); }
.note-card { position: relative; border-radius: calc(var(--r) + 6px); background: var(--sun-soft); padding: clamp(28px, 4vw, 56px); display: grid; gap: clamp(22px, 2.6vw, 34px); overflow: hidden; isolation: isolate; }
.note-card::before { content: "\201C"; position: absolute; right: clamp(16px, 3vw, 44px); top: -0.18em; z-index: -1; font-family: var(--font-display); font-size: clamp(180px, 20vw, 320px); line-height: 1; color: rgba(255, 201, 74, .55); }
.note-card__from { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.note-card__from img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.note-card__from b { display: block; color: var(--ink); font-size: 15px; }
.note-card__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.note-card__h { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 16px; }
.note-card__text { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.note-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.note-card__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.note-card__list svg { width: 20px; height: 20px; color: var(--ink); margin-top: 1px; }
.note-card__list b { color: var(--ink); }
.note-card__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* Process: a vertical timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; position: relative; }
.timeline__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 40px); position: relative; }
.timeline__row::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--tile-2); }
.timeline__row:last-child::before { display: none; }
.timeline__when { display: flex; align-items: center; gap: 14px; align-self: start; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.timeline__dot { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.timeline__row:first-child .timeline__dot { background: var(--sun); color: var(--ink); }
.timeline__body { border-radius: var(--r-ui); background: var(--raised); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 8px; }
.timeline__body h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.025em; line-height: 1.15; }
.timeline__body p { color: var(--muted); font-size: 15.5px; }

/* Who it is for */
.fits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.fit { border-radius: var(--r); background: var(--raised); padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; border-top: 4px solid var(--sun); }
.section--inner:not(.field-tile):not(.field-night) .fit { box-shadow: 0 0 0 1px var(--ui-line); }
.fit__tag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px 6px 9px; border-radius: var(--pill); background: var(--ground); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fit__tag svg { width: 16px; height: 16px; color: var(--blue); }
.fit h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -0.025em; line-height: 1.15; }
.fit p { color: var(--muted); font-size: 15.5px; }

/* Ways to work together: menu rows */
.menu { display: grid; gap: 10px; }
.menu__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr) minmax(0, 19rem); gap: 18px clamp(20px, 2.6vw, 40px); align-items: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--raised); }
.section--inner:not(.field-tile):not(.field-night) .menu__row:not(.menu__row--featured) { box-shadow: 0 0 0 1px var(--ui-line); }
.menu__name { display: grid; gap: 8px; justify-items: start; }
.menu__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--sun); color: var(--ink); }
.menu__name h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.03em; line-height: 1.1; }
.menu__name p, .menu__best p { color: var(--muted); font-size: 15px; }
.menu__best b { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.menu__inc { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.menu__inc li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; }
.menu__inc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--blue); }
.menu__cta { align-self: center; justify-self: end; }
.menu__cta .btn { max-width: 100%; white-space: normal; text-align: left; }
.menu__row--featured { background: var(--night); color: var(--on-night); }
.menu__row--featured h3 { color: #fff; }
.menu__row--featured .menu__name p, .menu__row--featured .menu__best p, .menu__row--featured .menu__best b, .menu__row--featured .menu__inc li { color: var(--on-night-muted); }
.menu__row--featured .menu__inc li::before { background: var(--sun); }
.menu__note { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 60em; }

/* Why work with me: principles on night */
.tenets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ui-line-dark); }
.tenet { padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 36px) 8px 0; display: grid; gap: 14px; align-content: start; }
.tenet + .tenet { padding-left: clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--ui-line-dark); }
.tenet__n { font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--sun); }
.tenet h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -0.025em; line-height: 1.15; color: #fff; }
.tenet p { color: var(--on-night-muted); font-size: 15.5px; }

/* Who you work with */
.expert { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.expert__photo { grid-column: span 5; position: relative; border-radius: var(--r); overflow: hidden; background: var(--sun-soft); aspect-ratio: 5 / 6; }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.expert__badge { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: var(--r-ui); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); display: grid; gap: 2px; }
.expert__badge b { font-size: 16px; }
.expert__badge span { font-size: 13px; color: var(--muted); }
.expert__copy { grid-column: 7 / span 6; display: grid; gap: 22px; justify-items: start; }
.expert__copy > p { color: var(--muted); font-size: 17px; }
.expert__copy a:not(.btn):not(.link-quiet) { color: var(--blue-press); text-decoration: underline; text-underline-offset: 3px; }
.expert__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; width: 100%; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ui-line); }
.expert__facts li { padding: 16px 16px 16px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--ui-line); }
.expert__facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ui-line); }
.expert__facts b { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.04em; line-height: 1; }
.expert__facts span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.expert__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Closing contact panel */
.section--lead { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px); }
.talk { border-radius: calc(var(--r) + 8px); background: var(--night); color: var(--on-night); padding: clamp(28px, 4.4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: start; }
.talk__copy { grid-column: span 5; display: grid; gap: 22px; justify-items: start; }
.talk__h { font-size: clamp(34px, 3.8vw, 58px); letter-spacing: -0.045em; line-height: 1; color: #fff; }
.talk__copy > p { color: var(--on-night-muted); }
.checks--night li { color: var(--on-night); font-size: 15.5px; }
.checks--night svg { color: var(--sun); }
.talk__me { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--on-night-muted); line-height: 1.4; }
.talk__me img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--sun); }
.talk__me b { display: block; color: #fff; font-size: 15px; }
.talk .cta__mail { color: #fff; }
.talk__form { grid-column: 7 / span 6; }

@media (max-width: 1180px) {
  .menu__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .menu__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 1024px) {
  .section-head__side { grid-column: 1 / -1; }
  .ledger__row { grid-template-columns: 56px minmax(0, 1fr); }
  .ledger__row p { grid-column: 2; }
  .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .gain--lead { grid-column: 1 / -1; grid-row: auto; }
  .gain { grid-column: auto; }
  .note-card__grid { grid-template-columns: minmax(0, 1fr); }
  .timeline__row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 56px; }
  .timeline__row::before { left: 19px; top: 44px; }
  .timeline__when { margin-left: -56px; }
  .tenets { grid-template-columns: minmax(0, 1fr); }
  .tenet, .tenet + .tenet { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--ui-line-dark); }
  .expert__photo { grid-column: 1 / -1; aspect-ratio: 4 / 3; max-height: 460px; }
  .expert__copy, .talk__copy, .talk__form { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .ledger__row { grid-template-columns: minmax(0, 1fr); }
  .ledger__row p { grid-column: auto; }
  .gains, .fits, .menu__row { grid-template-columns: minmax(0, 1fr); }
  .expert__facts { grid-template-columns: minmax(0, 1fr); }
  .expert__facts li:nth-child(even) { padding-left: 0; border-left: 0; }
  .talk { padding: 24px 18px; }
}
.eyebrow:has(.idx)::before { display: none; }
.talk__form { color: var(--ink); }
.gain--lead { display: flex; flex-direction: column; }
.gain__art { flex: 1; display: flex; }
.gain__art .art { flex: 1; height: auto; min-height: clamp(220px, 22vw, 320px); }
.note-card::before { top: -0.08em; font-size: clamp(150px, 15vw, 240px); }
.gain__art .art { align-content: center; }

/* ---------- 24. Interactive commercial components ---------- */
/* Opportunity calculator */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: stretch; }
.calc__inputs { border-radius: var(--r); background: var(--raised); padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; align-content: start; }
.section--inner:not(.field-tile):not(.field-night) .calc__inputs { box-shadow: 0 0 0 1px var(--ui-line); }
.calc__field { display: grid; gap: 12px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15.5px; }
.calc__label output { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; color: var(--blue-press); }
.calc input[type="number"], .calc select { font: inherit; font-size: 18px; color: var(--ink); background: var(--ground); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; }
.calc input[type="number"]:focus, .calc select:focus { outline: none; border-color: var(--blue); background: #fff; }
.calc__money { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--tile-2) var(--fill, 50%)); cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: var(--shadow-ui); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: var(--shadow-ui); }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.calc__result { border-radius: var(--r); background: var(--night); color: var(--on-night); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; justify-items: start; }
.calc__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-muted); }
.calc__big b { display: block; font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: .95; color: var(--sun); }
.calc__big span { color: var(--on-night-muted); font-size: 15px; }
.calc__rows { width: 100%; display: grid; margin: 0; }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ui-line-dark); font-size: 15px; }
.calc__rows dt { color: var(--on-night-muted); }
.calc__rows dd { margin: 0; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
.calc__result .btn { max-width: 100%; white-space: normal; text-align: left; }
.calc__result .btn--ink { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-hover: #FFD66E; --btn-chip: rgba(12,18,34,.12); }
.calc__note { font-size: 12.5px; color: var(--on-night-muted); line-height: 1.5; }

/* Self-check scorecard */
.score { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); align-items: start; }
.score__qs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.score__q { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; padding: 18px 20px; border-radius: var(--r-ui); background: var(--raised); transition: box-shadow var(--t-fast); }
.section--inner:not(.field-tile):not(.field-night) .score__q { box-shadow: 0 0 0 1px var(--ui-line); }
.score__n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.score__text b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.score__text small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.score__btns { display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--ground); gap: 4px; }
.score__btns button { min-width: 58px; min-height: 40px; padding: 0 14px; border-radius: var(--pill); font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); background: transparent; border: 0; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.score__btns button:hover { color: var(--ink); }
.score__btns button[data-v="1"][aria-pressed="true"] { background: var(--green); color: #fff; }
.score__btns button[data-v="0"][aria-pressed="true"] { background: var(--ink); color: #fff; }
.score__card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r); background: var(--sun-soft); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 16px; justify-items: start; }
.score__ring { position: relative; width: 132px; height: 132px; }
.score__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score__ring circle { fill: none; stroke-width: 10; stroke: rgba(12,18,34,.08); }
.score__ring .score__fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .5s var(--ease-out); }
.score__ring b { font-size: 40px; color: var(--ink); letter-spacing: -0.04em; margin-right: 2px; }
.score__ring span { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 42px; font-family: var(--font-display); font-size: 18px; color: var(--muted); }
.score__label { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.score__rec { font-size: 15px; color: var(--ink-2); }
.score__rec a { color: var(--blue-press); text-decoration: underline; }

/* Floating Talk to Vikash: a round portrait with slow ripples; scrolling down opens it into a pill sized to its
   words, scrolling up folds it back to the portrait */
.float-cta { --fl-ease: cubic-bezier(.45, 0, .15, 1); position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; padding: 6px; border-radius: var(--pill); background: var(--ink); color: #fff; box-shadow: 0 18px 40px -16px rgba(12,18,34,.55); transform: translateY(140%); opacity: 0; transition: transform 600ms var(--ease-out), opacity 600ms; }
.float-cta.is-shown { transform: none; opacity: 1; }
.float-cta::before, .float-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(43,102,240,.5); opacity: 0; pointer-events: none; animation: float-ripple 3.6s cubic-bezier(.2,.6,.35,1) infinite; }
.float-cta::after { animation-delay: 1.8s; }
.float-cta.is-open::before, .float-cta.is-open::after, .float-cta:hover::before, .float-cta:hover::after, .float-cta:focus-visible::before, .float-cta:focus-visible::after { animation: none; opacity: 0; }
@keyframes float-ripple { 0% { transform: scale(1); opacity: .85; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.float-cta img { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--sun); }
/* Opening: the pill widens slowly and the words fade in behind it. Closing: the words fade first, then it folds */
.float-cta__more { display: grid; grid-template-columns: 0fr; opacity: 0; transition: grid-template-columns 620ms var(--fl-ease) 80ms, opacity 260ms ease; }
.float-cta__in { min-width: 0; overflow: hidden; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.float-cta__txt { display: grid; margin-left: 12px; line-height: 1.2; transform: translateX(-8px); transition: transform 300ms ease; }
.float-cta b { font-size: 14.5px; }
.float-cta small { font-size: 12px; color: var(--on-night-muted); max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.float-cta__in > svg { flex: none; width: 18px; height: 18px; margin-right: 10px; color: var(--sun); transition: transform var(--t-fast); }
.float-cta.is-open .float-cta__more, .float-cta:hover .float-cta__more, .float-cta:focus-visible .float-cta__more { grid-template-columns: 1fr; opacity: 1; transition: grid-template-columns 720ms var(--fl-ease), opacity 480ms ease 220ms; }
.float-cta.is-open .float-cta__txt, .float-cta:hover .float-cta__txt, .float-cta:focus-visible .float-cta__txt { transform: none; transition: transform 560ms var(--ease-out) 220ms; }
.float-cta:hover .float-cta__in > svg { transform: translateX(2px); }

/* Timeline lights up while scrolling */
.timeline__dot { transition: background-color .4s var(--ease-out), color .4s var(--ease-out), transform .4s var(--ease-out); }
.timeline__row.is-lit .timeline__dot { background: var(--sun); color: var(--ink); transform: scale(1.06); }
.timeline__row::after { content: ""; position: absolute; left: 19px; top: 44px; width: 2px; height: 0; background: var(--sun); transition: height .9s var(--ease-out); }
.timeline__row.is-lit:not(:last-child)::after { height: calc(100% - 48px); }

@media (prefers-reduced-motion: reduce) {
  .float-cta, .float-cta__more, .float-cta .float-cta__more, .float-cta__txt, .float-cta .float-cta__txt, .timeline__row::after, .score__ring .score__fg { transition: none; }
  .float-cta::before, .float-cta::after { animation: none; }
}
@media (max-width: 1024px) {
  .calc, .score { grid-template-columns: minmax(0, 1fr); }
  .score__card { position: static; }
  .timeline__row::after { left: 19px; }
}
@media (max-width: 720px) {
  .score__q { grid-template-columns: 28px minmax(0, 1fr); }
  .score__btns { grid-column: 2; justify-self: start; }
  .float-cta { right: 14px; bottom: 14px; }
  .float-cta small { max-width: calc(100vw - 150px); }
}

/* ---------- 25. Depth sections (scope, explainer, cost factors, stack) ---------- */
.timeline__out { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--tile-2); font-size: 14.5px; color: var(--ink-2); }
.timeline__out b { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }

/* What is included */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.scope__card { border-radius: var(--r); background: var(--raised); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; }
.section--inner:not(.field-tile):not(.field-night) .scope__card { box-shadow: 0 0 0 1px var(--ui-line); }
.scope__top { display: flex; align-items: center; gap: 14px; }
.scope__top .card__icon { margin: 0; flex: none; }
.scope__top h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.025em; line-height: 1.15; }
.scope__sum { color: var(--muted); font-size: 15.5px; }
.scope__out { padding: 12px 14px; border-radius: 12px; background: var(--ground); font-size: 14.5px; line-height: 1.45; }
.scope__out b { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.scope__checks summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); border-bottom: 1.5px solid var(--sun); padding-bottom: 3px; }
.scope__checks summary::-webkit-details-marker { display: none; }
.scope__checks summary svg { width: 14px; height: 14px; transition: transform var(--t-mid) var(--ease-out); }
.scope__checks[open] summary svg { transform: rotate(180deg); }
.scope__checks ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.scope__checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.scope__checks li svg { width: 16px; height: 16px; color: var(--green); margin-top: 2px; }
.scope__why { font-size: 14px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--sun); }

/* In-depth explainer */
.explain { border-top: 1px solid var(--ui-line); }
.explain__item { border-bottom: 1px solid var(--ui-line); transition: background-color var(--t-fast); }
.explain__item[open] { background: var(--raised); border-radius: var(--r); border-bottom-color: transparent; margin: 8px 0; }
.explain__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 36px; gap: 16px; align-items: start; padding: clamp(20px, 2.2vw, 28px) clamp(12px, 1.6vw, 24px); }
.explain__item summary::-webkit-details-marker { display: none; }
.explain__n { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.04em; color: var(--muted); line-height: 1.1; }
.explain__item[open] .explain__n { color: var(--ink); }
.explain__head { display: grid; gap: 6px; }
.explain__head b { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.explain__head span { color: var(--muted); font-size: 15.5px; }
.explain__item summary i { width: 36px; height: 36px; border-radius: 50%; background: var(--tile); position: relative; transition: background-color var(--t-fast); }
.explain__item summary i::before, .explain__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.explain__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--t-mid) var(--ease-out); }
.explain__item[open] summary i { background: var(--sun); }
.explain__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.explain__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 44px); padding: 0 clamp(12px, 1.6vw, 24px) clamp(22px, 2.6vw, 32px) calc(56px + 16px + clamp(12px, 1.6vw, 24px)); }
.explain__text { font-size: 16px; }
.explain__fact { align-self: start; border-radius: var(--r-ui); background: var(--sun-soft); padding: 18px 20px; display: grid; gap: 6px; }
.explain__fact b { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.explain__fact span { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.explain__fact small { font-size: 12.5px; color: var(--muted); }
.explain__fact a { color: var(--blue-press); text-decoration: underline; }

/* What affects the cost */
.factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.factor { border-radius: var(--r); background: var(--raised); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 12px; align-content: start; }
.section--inner:not(.field-tile):not(.field-night) .factor { box-shadow: 0 0 0 1px var(--ui-line); }
.factor__top { display: flex; align-items: center; gap: 12px; }
.factor__top .card__icon { margin: 0; flex: none; }
.factor h3 { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.02em; line-height: 1.2; }
.factor__line { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.factor__line > span:first-child { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.factor__line--up > span:first-child { background: var(--amber-soft); color: var(--amber); }
.factor__line--down > span:first-child { background: var(--green-soft); color: var(--green); }
.factor__ex { font-size: 13.5px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--ui-line); }
.factors__quote { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 26px; border-radius: var(--r); background: var(--night); color: var(--on-night); }
.factors__quote p { max-width: 52em; color: var(--on-night-muted); }
.factors__quote .btn { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-hover: #FFD66E; --btn-chip: rgba(12,18,34,.12); }

/* Platforms and tools */
.stack { border-top: 1px solid var(--ui-line); }
.stack__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 32px; padding: 20px 0; border-bottom: 1px solid var(--ui-line); align-items: start; }
.stack__label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.stack__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack__chips li { display: inline-grid; gap: 1px; padding: 9px 14px; border-radius: 12px; background: var(--raised); box-shadow: 0 0 0 1px var(--ui-line); line-height: 1.25; }
.stack__chips b { font-size: 14.5px; }
.stack__chips span { font-size: 12px; color: var(--muted); }

@media (max-width: 1024px) {
  .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explain__body { grid-template-columns: minmax(0, 1fr); padding-left: clamp(12px, 1.6vw, 24px); }
}
@media (max-width: 720px) {
  .scope, .factors { grid-template-columns: minmax(0, 1fr); }
  .explain__item summary { grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 10px; }
  .explain__n { font-size: 20px; }
  .stack__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stack__label { padding-top: 0; }
}

/* ---------- Copy-to-clipboard email ---------- */
.copy-mail { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: copy; text-align: left; }
.copy-mail svg { width: 18px; height: 18px; flex: none; }
.copy-mail--inline { display: inline; color: var(--blue-press); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(43,102,240,.35); text-underline-offset: 3px; }
.copy-mail--inline svg { display: none; }
.copy-mail--inline:hover { text-decoration-color: currentColor; }
.copy-mail__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 4px; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 12px/1.2 var(--font-text); letter-spacing: 0; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity var(--t-fast), translate var(--t-fast); }
.copy-mail__tip:empty { display: none; }
.copy-mail.is-copied .copy-mail__tip { opacity: 1; translate: -50% 0; }
.copy-mail:not(.copy-mail--inline)::after { content: "Copy"; font: 600 11px/1 var(--font-text); letter-spacing: .02em; padding: 4px 7px; border-radius: 6px; background: rgba(12,18,34,.07); color: var(--muted); opacity: 0; transition: opacity var(--t-fast); }
.copy-mail:not(.copy-mail--inline):hover::after, .copy-mail:not(.copy-mail--inline):focus-visible::after { opacity: 1; }
.copy-mail.is-copied::after { opacity: 0 !important; }
.cta__mail.copy-mail::after { background: rgba(255,255,255,.18); color: #fff; }
.cta__mail .copy-mail__tip { background: #fff; color: var(--ink); }

/* Review avatars: real photo, or a quiet silhouette when there is none */
.avatar--photo { object-fit: cover; background: var(--tile); box-shadow: 0 0 0 2px var(--raised); }
.quote--feature .avatar--photo { box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.avatar--blank { background: var(--tile); overflow: hidden; place-items: end center; }
.avatar--blank svg { width: 44px; height: 44px; }
.avatar--blank circle, .avatar--blank path { fill: #C3C6CF; }
.quote--feature .avatar--blank { background: rgba(255,255,255,.18); }
.quote--feature .avatar--blank circle, .quote--feature .avatar--blank path { fill: rgba(255,255,255,.6); }

/* ---------- About: portrait hero, photo card, career line ---------- */
.phero__art--photo { position: relative; min-height: clamp(460px, 44vw, 620px); align-self: stretch; }
.portrait--page .portrait__img { width: auto; height: 94%; max-width: none; transform: translateX(-50%); }
.photo-card { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--night); position: relative; max-width: 420px; }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.photo-card figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: var(--pill); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--ink); }
.card p a { color: var(--blue-press); text-decoration: underline; text-underline-offset: 3px; }

.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky) 60%, rgba(92,160,242,.15)); }
.journey__item { position: relative; display: grid; gap: 10px; align-content: start; padding-right: 12px; }
.journey__when { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1; height: 32px; }
.journey__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--raised); box-shadow: 0 0 0 4px var(--blue); margin: 2px 0 14px 2px; position: relative; z-index: 1; }
.journey__item:last-child .journey__dot { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.journey h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.journey p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

@media (max-width: 1024px) {
  .phero__art--photo { grid-column: 1 / -1; min-height: 560px; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .journey::before { display: none; }
  .journey__dot { display: none; }
  .journey__item { border-top: 2px solid var(--blue); padding-top: 18px; }
}
@media (max-width: 720px) {
  .phero__art--photo { min-height: 440px; }
  .portrait--page .portrait__img { height: 96%; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { display: block; left: 11px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--sky) 60%, rgba(92,160,242,.15)); }
  .journey__item { padding: 0 0 28px 38px; border-top: 0; }
  .journey__dot { display: block; position: absolute; left: 4px; top: 8px; margin: 0; }
  .journey__when { height: auto; font-size: 24px; }
  .photo-card { max-width: none; }
}
/* Hero photo that carries its own background (charcoal studio shot) fills the card edge to edge. */
.portrait--fill { background: #3A3F47; }
.portrait--fill .portrait__img { inset: 0; left: 0; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover; object-position: 50% 18%; filter: none; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 1024px) {
  .phero__art--fill { width: 100%; max-width: 520px; aspect-ratio: 4 / 5; min-height: 0; }
}

/* ---------- Approach: process stages, impact/effort matrix, implementation streams ---------- */
.tab__n { display: block; font: 500 11.5px/1 var(--font-mono); font-style: normal; letter-spacing: .04em; color: var(--blue); margin-bottom: 6px; }
.tab[aria-selected="true"] .tab__n { color: var(--sky); }
.platforms--stages .tab { padding-block: 14px; }
.platforms--stages .panel__art { padding: 16px; }
.platforms--stages .panel__art .art { padding: 0; background: none; min-height: 0; }
.stage__facts { display: grid; gap: 10px; margin-top: 22px; }
.stage__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ground); }
.stage__facts dt { font: 500 11.5px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.stage__facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.platforms-scroll + .menu__note { margin-top: 14px; }

.art-matrix { padding: 14px; }
.matrix { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 230px; margin: 12px 0 18px 18px; }
.matrix__q { border-radius: 8px; padding: 8px 10px; font: 500 10.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--ground); }
.matrix__q:nth-child(1) { background: var(--green-soft); color: var(--green); }
.matrix__q:nth-child(2) { background: var(--blue-wash); color: var(--blue-press); }
.matrix__q:nth-child(4) { text-align: right; align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; }
.matrix__q:nth-child(3) { display: flex; align-items: flex-end; }
.matrix__pt { position: absolute; left: var(--x); top: var(--y); translate: -6px -50%; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.matrix__pt i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px #fff; flex: none; }
.matrix__pt--win i { background: var(--green); }
.matrix__pt--fill i { background: var(--faint); }
.matrix__pt--skip { color: var(--muted); }
.matrix__pt--skip i { background: #fff; box-shadow: 0 0 0 2px var(--faint); }
.matrix__ax { position: absolute; font: 500 10.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.matrix__ax--y { left: -18px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.matrix__ax--x { bottom: -16px; left: 50%; transform: translateX(-50%); }
.js .matrix__pt { opacity: 0; scale: .8; transition: opacity .5s var(--ease-out), scale .5s var(--ease-out); transition-delay: var(--d, 0ms); }
.is-in .matrix__pt, .art.is-in .matrix__pt, .reveal.is-in .matrix__pt { opacity: 1; scale: 1; }

.art-streams { padding: 6px 14px; }
.art-streams .ui__head { padding: 8px 0 6px; }
.art-streams .ui-row { grid-template-columns: 30px 1fr auto; }
.art-streams__ic { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-wash); color: var(--blue); display: grid; place-items: center; }
.art-streams__ic svg { width: 15px; height: 15px; }
.art-streams b { display: block; font-size: 13px; }
.art-streams small { display: block; font-size: 11.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .platforms--stages .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .platforms--stages .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage__facts div { grid-template-columns: 1fr; gap: 4px; }
}
.matrix__pt--left { flex-direction: row-reverse; translate: calc(-100% + 6px) -50%; }

/* Long section intros stack under the heading instead of floating beside it */
.section-head--stack { align-items: start; }
.section-head--stack .section-head__title { grid-column: 1 / span 8; }
.section-head--stack > p { grid-column: 1 / span 7; max-width: 46em; }
@media (max-width: 1024px) {
  .section-head--stack .section-head__title, .section-head--stack > p { grid-column: 1 / -1; }
}
.case__more { display: grid; gap: 6px; font-size: 14px; color: var(--on-night-muted); }
.case__more b { color: #fff; font-family: var(--font-display); font-weight: 600; margin-right: 4px; }
.timeline--compact .timeline__row { grid-template-columns: 40px minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.timeline--compact .timeline__body { max-width: 900px; }
@media (max-width: 1024px) {
  .timeline--compact .timeline__row { padding-left: 0; gap: 14px; }
  .timeline--compact .timeline__when { margin-left: 0; }
}
.case__tag { align-items: flex-start; }
.case__tag > span:first-child { flex: none; }
.case__tag .tag { white-space: normal; text-align: right; line-height: 1.35; }

/* Checklist sections: the list sits in a raised card so it balances the heading column */
.prose-split--check .prose-split__head { grid-column: span 5; }
.prose-split--check .prose-split__body { grid-column: 7 / span 6; }
.checkcard { border-radius: var(--r); background: var(--raised); padding: 8px clamp(20px, 2.4vw, 32px) 12px; box-shadow: var(--shadow-ui); }
.field-tile .checkcard { box-shadow: none; }
.checkcard__head { display: flex; justify-content: space-between; padding: 16px 0 14px; border-bottom: 1px solid var(--ui-line); font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.checkcard .checks--lg { gap: 0; counter-reset: ck; }
.checkcard .checks--lg li { padding: 16px 0; border-bottom: 1px solid var(--ui-line); align-items: start; }
.checkcard .checks--lg li:last-child { border-bottom: 0; }
.checkcard .checks--lg svg { color: var(--green); margin-top: 1px; }
@media (max-width: 1024px) {
  .prose-split--check .prose-split__head, .prose-split--check .prose-split__body { grid-column: 1 / -1; }
}
.prose-split__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.prose-split__cta > span { font-size: 14px; color: var(--muted); max-width: 22em; }

/* ---------- Form-first page hero (Contact) ---------- */
.phero--form .phero__grid { align-items: start; }
.phero--form .phero__copy { grid-column: span 5; padding-top: 8px; }
.phero__form { grid-column: 7 / span 6; }
.phero__form .form { box-shadow: var(--shadow-lift); gap: 14px; }
.form__head { display: grid; gap: 4px; padding-bottom: 6px; }
.form__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.1; }
.nextsteps { display: grid; gap: 14px; margin: 8px 0 28px; }
.nextsteps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.nextsteps__n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--font-display); }
.nextsteps li:first-child .nextsteps__n { background: var(--sun); color: var(--ink); }
.nextsteps b { display: block; font-size: 16px; margin-bottom: 2px; }
.nextsteps li > span:last-child { font-size: 15px; color: var(--muted); line-height: 1.5; }
.reach { display: grid; gap: 0; border-top: 1px solid var(--ui-line); width: 100%; }
.reach li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ui-line); }
.reach__ic { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.reach__ic svg { width: 17px; height: 17px; }
.reach small { display: block; font: 500 11.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.reach a, .reach b { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.reach a:hover { color: var(--blue); }
.reach .copy-mail--inline { font-size: 15.5px; font-weight: 600; }
@media (max-width: 1024px) {
  .phero--form .phero__copy, .phero__form { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  /* Phones and tablets: the form comes straight after the intro, steps and details follow */
  .phero--form .phero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .phero--form .phero__copy { display: contents; }
  .phero--form .phero__copy > * { order: 0; align-self: flex-start; }
  .phero--form .phero__form { order: 1; margin-bottom: 32px; }
  .phero--form .nextsteps, .phero--form .reach { order: 2; align-self: stretch; }
}
/* ---------- Strategy call booking (hero) ---------- */
.phero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.phero__facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--pill); background: var(--tile); font-size: 14.5px; font-weight: 550; }
.phero__facts svg { width: 16px; height: 16px; color: var(--blue); }
.phero__host { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.phero__host img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--sun); }
.phero__host b { display: block; color: var(--ink); font-size: 15.5px; }
.nextsteps__h { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; margin: 4px 0 14px; }
.book { border-radius: var(--r); background: var(--raised); box-shadow: var(--shadow-lift); padding: clamp(22px, 3vw, 40px); }
.book [hidden] { display: none !important; }
.book .form { padding: 0; box-shadow: none; background: none; border-radius: 0; }
.book__step { display: grid; gap: 18px; }
.book__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.book__h { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.03em; line-height: 1.1; }
.book__tz { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--pill); background: var(--ground); font-size: 14px; font-weight: 550; max-width: 100%; }
.book__tz svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.book__tz select { font: inherit; color: inherit; background: transparent; border: 0; padding: 8px 18px 8px 0; appearance: none; cursor: pointer; max-width: 230px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234A5163' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; }
.book__tz:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.book__soon { justify-self: start; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--blue-wash); color: var(--ink); font: inherit; font-size: 14.5px; cursor: pointer; transition: background-color var(--t-fast); }
.book__soon:hover { background: var(--blue-soft); }
.book__soon svg { width: 16px; height: 16px; color: var(--blue); }
.book__soon b { color: var(--blue-press); }
.book__pick { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.book__month { font-weight: 650; font-size: 15.5px; margin-bottom: 10px; }
.book__wk, .book__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.book__wk span { font: 500 11.5px/1 var(--font-mono); color: var(--muted); padding: 6px 0 8px; text-transform: uppercase; }
.book__day { position: relative; aspect-ratio: 1; max-width: 44px; width: 100%; justify-self: center; display: grid; place-items: center; border-radius: 50%; font-size: 14.5px; font-variant-numeric: tabular-nums; border: 0; font-family: inherit; }
.book__day small { position: absolute; top: -3px; font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1; }
button.book__day { background: var(--blue-wash); color: var(--blue-press); font-weight: 650; cursor: pointer; transition: background-color var(--t-fast); }
button.book__day:hover { background: var(--blue-soft); }
.book__day.is-on { background: var(--ink); color: #fff; }
.book__day.is-off { color: var(--faint); }
.book__day.is-today::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.book__day-h { font-weight: 650; font-size: 15.5px; margin-bottom: 10px; }
.book__group + .book__group { margin-top: 14px; }
.book__group > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.book__slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.book__slot { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--blue-soft); background: #fff; color: var(--blue-press); font: inherit; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.book__slot:hover { border-color: var(--blue); background: var(--blue-wash); }
.book__slot.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.book__none, .book__alt { font-size: 14px; color: var(--muted); }
.book__alt a, .book__done-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.book__gone { padding: 10px 14px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); font-size: 14px; font-weight: 550; }
.book__chosen { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 14px; background: var(--blue-wash); margin-bottom: 4px; }
.book__chosen > svg { width: 20px; height: 20px; color: var(--blue); }
.book__chosen b { display: block; font-size: 15.5px; }
.book__chosen small { display: block; font-size: 13px; color: var(--muted); }
.book__change { min-height: 38px; padding: 0 16px; border: 0; border-radius: var(--pill); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.book__change:hover { background: var(--blue-soft); }
.book__done { display: grid; justify-items: start; gap: 12px; }
.book__done .book__h { outline: none; }
.book__tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.book__tick svg { width: 24px; height: 24px; }
.book__done-when { font-size: 17px; font-weight: 600; }
.book__done > p:not(.book__h):not(.book__done-when) { color: var(--muted); font-size: 15px; }
.book__add { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.btn--soft { --btn-bg: var(--ground); --btn-fg: var(--ink); --btn-hover: var(--tile); padding-right: 18px; border: 0; font-family: inherit; cursor: pointer; }
.book__again { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.book__done-note { font-size: 14px; }
@media (max-width: 1024px) {
  .phero--form .phero__host, .phero--form .nextsteps__h { order: 2; }
}
@media (max-width: 760px) {
  .book__pick { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .book__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .book__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book__chosen { grid-template-columns: auto minmax(0, 1fr); }
  .book__change { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- Blog: topic chips, guide cards, explorer, reading path, topic tiles ---------- */
.pcat { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px 0 8px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pcat svg { width: 13px; height: 13px; }
.pcat--blue { background: var(--blue-wash); color: var(--blue-press); }
.pcat--night { background: var(--night); color: #fff; }
.pcat--night svg { color: var(--sky); }
.pcat--sun { background: var(--sun-soft); color: #7A4B00; }
.pcat--tile { background: var(--tile); color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--raised); overflow: hidden; box-shadow: 0 1px 2px rgba(12,18,34,.04); transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pcard__art { height: 200px; overflow: hidden; }
.pcard__art .art, .feature__art .art { --fade: #D3E0FB; height: 100%; border-radius: 0; display: flex; justify-content: center; align-items: flex-start; padding: 26px 26px 0; }
/* The scene peeks out of the bottom edge and fades into its own background colour */
.pcard__art .art::after, .feature__art .art::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(transparent, var(--fade) 85%); pointer-events: none; z-index: 1; }
.pcard__art .art--night, .feature__art .art--night { --fade: var(--night); }
.pcard__art .art--sun, .feature__art .art--sun { --fade: var(--sun-soft); }
.pcard__art .art--tile, .feature__art .art--tile { --fade: var(--tile); }
.pcard__art .art > *, .feature__art .art > * { width: 100%; max-width: 330px; transition: transform var(--t-slow) var(--ease-out); }
.pcard:hover .pcard__art .art > *, .feature:hover .feature__art .art > * { transform: translateY(-6px); }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 20px; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.pcard h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.22; transition: color var(--t-fast); }
.pcard:hover h3 { color: var(--blue); }
.pcard p { font-size: 15px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ui-line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.pcard__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.pcard__go svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.pcard:hover .pcard__go svg, .feature:hover .pcard__go svg { transform: translateX(3px); }
/* Explorer */
.blog { display: grid; gap: 18px; }
.blog__bar { position: sticky; top: calc(var(--header-h) + 12px); z-index: 5; transition: top var(--t-mid) var(--ease-out); display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 290px); align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: color-mix(in srgb, var(--raised) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-ui); }
/* The bar rides below the header, and moves up when the header slides away */
body:has(.header.is-hidden) .blog__bar { top: 12px; }
.pgrid .pcard { scroll-margin-top: calc(var(--header-h) + 140px); }
.field-tile .blog__bar { background: color-mix(in srgb, var(--raised) 92%, transparent); }
.blog__chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.bchip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border-radius: var(--pill); background: var(--ground); font-size: 14px; font-weight: 550; white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast); }
.bchip svg { width: 15px; height: 15px; color: var(--muted); }
.bchip b { font-size: 12px; font-weight: 600; min-width: 22px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--pill); background: rgba(12,18,34,.07); font-variant-numeric: tabular-nums; }
.bchip:hover { background: var(--tile); }
.bchip.is-on { background: var(--ink); color: #fff; }
.bchip.is-on svg { color: var(--sun); }
.bchip.is-on b { background: rgba(255,255,255,.16); }
.blog__search { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: var(--pill); background: var(--ground); border: 1.5px solid transparent; transition: border-color var(--t-fast), background-color var(--t-fast); }
.blog__search:focus-within { border-color: var(--blue); background: #fff; }
.blog__search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.blog__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.blog__search input::placeholder { color: var(--muted); }
.blog__count { font-size: 14px; color: var(--muted); min-height: 1em; }
.blog__count:empty { position: absolute; }
.pgrid .pcard.is-hidden { display: none; }
.blog__empty { padding: 40px 24px; border-radius: var(--r); background: var(--raised); text-align: center; color: var(--muted); }
.blog__empty b { color: var(--ink); }
.blog__empty button { border: 0; background: none; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.blog__more { display: flex; justify-content: center; padding-top: 8px; }
.blog [hidden] { display: none !important; }
/* Hero: featured guide and the newest few */
.phero--blog .phero__grid { align-items: start; }
.phero--blog .phero__copy { grid-column: span 5; padding-top: 8px; }
.phero__feature { grid-column: 6 / span 7; display: grid; gap: 12px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r); background: var(--raised); overflow: hidden; box-shadow: var(--shadow-lift); transition: transform var(--t-mid) var(--ease-out); }
.feature:hover { transform: translateY(-3px); }
.feature__art { min-height: 300px; }
.feature__art .art { align-items: center; padding: 28px; }
.feature__art .art::after { display: none; }
.feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.feature__tag { font: 500 11.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: var(--pill); background: var(--sun); color: var(--ink); }
.feature__h { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.12; }
.feature:hover .feature__h { color: var(--blue); }
.feature__body p { font-size: 15px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feature__body .pcard__go { margin-top: auto; }
.fresh { border-radius: var(--r); background: var(--raised); padding: 18px 22px 8px; }
.fresh__h { font: 500 11.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.fresh a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ui-line); font-size: 15px; }
.fresh li:first-child a { border-top: 0; }
.fresh a b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color var(--t-fast); }
.fresh a:hover b { color: var(--blue); }
.fresh a > span:last-child { font-size: 13px; color: var(--muted); white-space: nowrap; }
.phero__facts li:has(svg) svg { color: var(--blue); }
/* Reading path */
.path__intro { max-width: 760px; margin: -8px 0 32px; color: var(--on-night-muted); }
.path__intro a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: p; }
.path li { display: flex; }
.path__card { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--ui-line-dark); color: var(--on-night); transition: background-color var(--t-fast), transform var(--t-mid) var(--ease-out); }
.path__card:hover { background: var(--night-3); transform: translateY(-3px); }
.path__n { font: 600 44px/1 var(--font-display); letter-spacing: -0.04em; color: var(--sun); margin-bottom: 8px; }
.path__stage { font: 500 11.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--sky); }
.path__card b { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; color: #fff; }
.path__text { font-size: 15px; color: var(--on-night-muted); line-height: 1.5; }
.path__foot { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--on-night); }
.path__foot svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.path__card:hover .path__foot svg { transform: translateX(3px); }
/* Topic tiles */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); min-height: 220px; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.topic--lead { grid-column: span 2; grid-row: span 2; padding: clamp(24px, 2.6vw, 36px); }
.topic:nth-child(n+6) { grid-column: span 2; min-height: 0; }
.topic--blue { background: linear-gradient(180deg, #E5ECFD, #D3E0FB); }
.topic--night { background: var(--night); color: var(--on-night); }
.topic--sun { background: var(--sun-soft); }
.topic--tile { background: var(--raised); }
.topic__top { display: flex; justify-content: space-between; align-items: center; }
.topic__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.75); color: var(--blue); }
.topic--night .topic__ic { background: rgba(255,255,255,.1); color: var(--sun); }
.topic--tile .topic__ic { background: var(--blue-wash); }
.topic__ic svg { width: 21px; height: 21px; }
.topic__n { font-size: 13.5px; color: var(--muted); }
.topic--night .topic__n { color: var(--on-night-muted); }
.topic__n b { font-size: 22px; color: var(--ink); margin-right: 2px; }
.topic--night .topic__n b { color: #fff; }
.topic h3 { font-size: 22px; letter-spacing: -0.02em; }
.topic--lead h3 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.035em; }
.topic--night h3 { color: #fff; }
.topic p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.topic--night p { color: var(--on-night-muted); }
.topic ul { display: grid; gap: 6px; font-size: 14px; }
.topic li { position: relative; padding-left: 14px; }
.topic li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; }
.topic--lead ul { margin-top: 6px; font-size: 15px; gap: 8px; }
.topic__art { margin-top: auto; padding-top: 12px; }
.topic__art .art { padding: 0; background: none; overflow: visible; }
.topic__art .art::before { display: none; }
.topic__art .ui { box-shadow: var(--shadow-ui); }
.topic__art + .topic__go { margin-top: 6px; }
.topic__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.topic__go svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.topic:hover .topic__go svg { transform: translate(2px, -2px); }
@media (max-width: 1100px) {
  .blog__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 4px; margin-block: -4px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .blog__chips::-webkit-scrollbar { display: none; }
  .phero--blog .phero__copy, .phero__feature { grid-column: 1 / -1; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic--lead { grid-row: auto; }
  .topic:nth-child(n+6) { grid-column: auto; }
}
@media (max-width: 760px) {
  .blog__bar { position: static; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .blog__chips { padding-block: 6px; margin-block: -6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); width: calc(100% + var(--gutter) * 2); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); }
  .bchip { background: var(--raised); }
  .blog__bar { grid-template-columns: minmax(0, 1fr); }
  .blog__search { background: var(--raised); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__art { min-height: 0; }
  .feature__art .art { padding: 22px; }
  .path__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px; }
  .path__n { grid-row: span 4; font-size: 30px; margin: 0; }
  .path__card b { font-size: 18px; }
  .path__text { font-size: 14.5px; }
  .path__foot { padding-top: 6px; }
  .fresh a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .fresh a .pcat { grid-column: 1 / -1; justify-self: start; }
  .fresh a b { white-space: normal; }
  .pgrid, .path, .topics { grid-template-columns: minmax(0, 1fr); }
  .topic--lead { grid-column: auto; }
}

/* ---------- Author page ---------- */
.phero--author .phero__grid { align-items: start; }
.phero__profile { grid-column: 8 / span 5; }
.acard { border-radius: var(--r); background: var(--raised); box-shadow: var(--shadow-ui); overflow: hidden; display: grid; }
/* Square, so the portrait shows the suit and shirt as well as the face */
.acard__photo { position: relative; aspect-ratio: 1 / 1; background: #5A5E66; overflow: hidden; }
.acard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; }
.acard__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px 0 10px; border-radius: var(--pill); background: var(--raised); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-ui); }
.acard__badge svg { width: 14px; height: 14px; color: var(--blue); }
.acard__body { padding: 22px 24px 24px; display: grid; gap: 14px; }
.acard__name { font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.acard__role { font-size: 15px; color: var(--muted); margin-top: -8px; }
.acard__role a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.acard__role a:hover { color: var(--blue); }
.acard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.acard__meta li { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px 0 9px; border-radius: var(--pill); background: var(--ground); font-size: 13px; font-weight: 550; }
.acard__meta svg { width: 14px; height: 14px; color: var(--blue); }
.acard__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--ui-line); }
.acard__nums div { padding: 14px 0; display: flex; flex-direction: column-reverse; gap: 2px; }
.acard__nums div + div { padding-left: 16px; border-left: 1px solid var(--ui-line); }
.acard__nums dd { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.acard__nums dt { font-size: 13px; color: var(--muted); }
.acard__links { display: flex; gap: 8px; }
.acard__links a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ground); color: var(--ink); transition: background var(--t-fast), color var(--t-fast); }
.acard__links a:hover { background: var(--blue); color: #fff; }
.acard__links svg { width: 17px; height: 17px; }

.glance { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); }
.glance__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.glance__tiles div { border-radius: var(--r); background: var(--night-2); padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column-reverse; justify-content: space-between; gap: 18px; min-height: 160px; }
.glance__tiles dd { white-space: nowrap; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.glance__tiles div:first-child dd { color: var(--sun); }
.glance__tiles dt { font-size: 14.5px; color: var(--on-night-muted); }
.glance__topics { border-radius: var(--r); background: var(--night-2); padding: clamp(22px, 2.4vw, 32px); }
.glance__h { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 10px; }
.tsplit li + li { border-top: 1px solid var(--ui-line-dark); }
.tsplit a { display: grid; grid-template-columns: minmax(150px, 13em) minmax(0, 1fr) 2.2em; align-items: center; gap: 16px; padding: 12px 0; color: var(--on-night); text-decoration: none; }
.tsplit__name { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 550; }
.tsplit__name svg { width: 16px; height: 16px; color: var(--on-night-muted); flex: none; }
.tsplit a:hover .tsplit__name { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tsplit__bar { height: 10px; border-radius: var(--pill); background: rgba(255,255,255,.06); overflow: hidden; }
.tsplit__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--blue); }
.tsplit__bar--night i { background: var(--sky); }
.tsplit__bar--sun i { background: var(--sun); }
.tsplit__bar--tile i { background: #C9CEDA; }
.tsplit b { font-family: var(--font-display); font-size: 20px; font-weight: 600; text-align: right; color: #fff; }

.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cred { border-radius: var(--r); background: var(--raised); padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; }
.field-tile .cred { background: var(--raised); }
.cred--wide { grid-column: span 2; background: var(--night) !important; color: var(--on-night); }
.cred__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cred__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); flex: none; }
.cred__ic svg { width: 19px; height: 19px; }
.cred__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cred h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.cred p { color: var(--muted); font-size: 15.5px; }
.cred--wide .cred__ic { background: rgba(255,255,255,.1); color: var(--sun); }
.cred--wide .cred__label, .cred--wide p { color: var(--on-night-muted); }
.cred--wide h3 { color: #fff; }
.cred--wide .certs { margin-top: 8px; gap: 8px; }
.cred--wide .certs li { background: #fff; color: var(--ink); padding: 9px 14px 9px 10px; font-size: 14px; }
.cred--wide .certs img { width: 20px; height: 20px; }

.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.profiles > li { display: flex; }
.profile { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: center; gap: 4px 14px; padding: 20px 22px; border-radius: var(--r); background: var(--raised); color: var(--ink); text-decoration: none; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.profile:hover { transform: translateY(-3px); box-shadow: var(--shadow-ui); }
.profile__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.profile__ic svg { width: 18px; height: 18px; }
.profile__ic.is-fav, .acard__links a.is-fav { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(12, 18, 34, .1); }
.profile__ic.is-fav img, .acard__links a.is-fav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acard__links a.is-fav { border-radius: 10px; transition: transform var(--t-fast), box-shadow var(--t-fast); }
.acard__links a.is-fav:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(12, 18, 34, .1), 0 6px 14px rgba(12, 18, 34, .14); }
.profile__id b { display: block; font-weight: 650; font-size: 16.5px; }
.profile__id small { display: block; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.profile__go { width: 18px; height: 18px; color: var(--muted); align-self: start; transition: color var(--t-fast), transform var(--t-fast); }
.profile:hover .profile__go { color: var(--blue); transform: translate(2px, -2px); }
.profile__text { grid-column: 1 / -1; align-self: start; margin-top: 10px; font-size: 15px; color: var(--muted); }
.profiles__note { max-width: 70ch; margin-top: 28px; font-size: 15px; color: var(--muted); }
.cred p a, .profiles__note a, .section-head > p a { color: var(--blue-press); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cred p a:hover, .profiles__note a:hover, .section-head > p a:hover { color: var(--blue); }
.cred--wide p a, .field-night .section-head > p a { color: #fff; }

@media (max-width: 1100px) {
  .phero__profile { grid-column: 1 / -1; }
  .acard { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .acard__photo { aspect-ratio: auto; min-height: 100%; }
  .acard__photo img { position: absolute; inset: 0; object-position: 50% 20%; }
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .glance__tiles dd { font-size: clamp(28px, 3.4vw, 40px); }
  .creds, .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds { grid-auto-flow: dense; }
}
@media (max-width: 760px) {
  .acard { grid-template-columns: minmax(0, 1fr); }
  .acard__photo { aspect-ratio: 1 / 1; min-height: 0; }
  .acard__photo img { position: static; object-position: 50% 4%; }
  .acard__body { padding: 18px 18px 20px; }
  .acard__nums dd { font-size: 26px; }
  .glance__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance__tiles div { min-height: 0; gap: 12px; padding: 18px; }
  .glance__tiles dd { font-size: 34px; }
  .glance__topics { padding: 20px 18px; }
  .tsplit a { grid-template-columns: minmax(0, 1fr) 2em; gap: 8px 12px; }
  .tsplit__bar { grid-column: 1 / -1; grid-row: 2; }
  .creds, .profiles { grid-template-columns: minmax(0, 1fr); }
  .cred--wide { grid-column: auto; }
}

/* ---------- Portfolio page ---------- */
/* Hero: two client sites in browser frames, the flagship result on a card in front */
.phero__work { grid-column: 8 / span 5; position: relative; min-height: clamp(420px, 36vw, 520px); border-radius: var(--r); background: var(--blue-soft); overflow: hidden; }
.wshot { border-radius: var(--r-ui); background: #fff; overflow: hidden; box-shadow: var(--shadow-ui); }
.wshot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--ground); border-bottom: 1px solid var(--ui-line); }
.wshot__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--tile-2); flex: none; }
.wshot__bar span { margin-left: 8px; flex: 1; min-width: 0; height: 22px; padding: 0 10px; border-radius: 6px; background: #fff; display: flex; align-items: center; font: 11.5px/1 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wshot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.wshot--hero { position: absolute; width: 74%; }
.wshot--1 { left: 6%; top: 9%; transform: rotate(-3deg); }
.wshot--2 { right: 5%; top: 22%; transform: rotate(2.5deg); box-shadow: var(--shadow-lift); }
.phero__workcard { position: absolute; left: 6%; right: 6%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-ui); background: #fff; box-shadow: var(--shadow-lift); }
.phero__workcard > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.phero__workcard b { font-size: 15px; }
.phero__workcard small { font-size: 13px; color: var(--muted); }
.phero__workic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; }
.phero__workic svg { width: 18px; height: 18px; }

/* Gallery: filters, picture-first tiles, the closer look */
.folio__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.folio__filters .bchip { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 550; color: var(--ink); background: var(--raised); }
.field-tile .folio__filters .bchip:not(.is-on) { background: var(--raised); }
.folio__filters .bchip:hover:not(.is-on) { background: var(--tile-2); }
.folio__filters .bchip.is-on { background: var(--ink); color: #fff; }
.folio__count { margin: 14px 0 22px; font-size: 14px; color: var(--muted); }
.folio__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gap); }
.folio__item { display: flex; flex-direction: column; border-radius: var(--r); background: var(--raised); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); }
.folio__media { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; }
.folio__item[hidden] { display: none; }
.folio__item--wide { grid-column: span 2; }
.folio__open { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.folio__open:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--r) var(--r) 0 0; }
.folio__zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-ui); opacity: 0; transform: scale(.85); transition: opacity var(--t-fast), transform var(--t-fast); }
.folio__zoom svg { width: 16px; height: 16px; }
.folio__media:hover .folio__zoom, .folio__open:focus-visible .folio__zoom { opacity: 1; transform: none; }
.wvis { position: relative; flex: 1 0 auto; min-height: clamp(250px, 22vw, 320px); padding: 22px 22px 0; overflow: hidden; background: var(--blue-soft); }
.folio__item--wide .wvis { min-height: clamp(300px, 28vw, 400px); padding: 26px 30px 0; }
.wvis--shot { display: flex; flex-direction: column; }
.wvis--shot .wshot { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border-bottom-left-radius: 0; border-bottom-right-radius: 0; transition: transform var(--t-mid) var(--ease-out); }
.wvis--shot .wshot img { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; object-position: left top; }
.folio__media:hover .wvis--shot .wshot { transform: translateY(-4px); }
.wvis__res { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.3; box-shadow: var(--shadow-ui); }
.wvis__res svg { width: 26px; height: 26px; padding: 6px; flex: none; border-radius: 8px; background: var(--sun); color: var(--ink); }
.wvis__res b { font-weight: 650; margin-right: 2px; }
.wvis--tile { background: var(--tile-2); }
.wvis--sun { background: var(--sun-soft); }
.wvis--night { background: var(--night-2); }
.wvis--perf { display: flex; align-items: flex-end; }
.wperf { width: 100%; display: grid; gap: 16px; padding: 18px 18px 20px; border-radius: var(--r-ui) var(--r-ui) 0 0; background: #fff; box-shadow: var(--shadow-ui); transition: transform var(--t-mid) var(--ease-out); }
.folio__media:hover .wperf { transform: translateY(-4px); }
.wperf__head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; }
.wperf__time { font: 500 11px/1.4 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.wperf__bars { display: grid; gap: 10px; }
.wperf__bars > div { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.wperf__bars .bar { height: 12px; border-radius: 6px; background: var(--ground); overflow: hidden; }
.wperf__bars .bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--tile-2); }
.wperf__bars > div + div .bar i { background: var(--blue); }
.wperf__bars b { font-size: 15px; color: var(--ink); }
.wperf__big { font-family: var(--font-display); font-size: clamp(40px, 3.6vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.wperf__did { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--ui-line); }
.wperf__did li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wperf__did svg { width: 14px; height: 14px; flex: none; color: var(--green); }
.folio__cap { display: grid; align-content: start; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 16px; padding: 18px 22px 20px; }
.folio__id { display: grid; gap: 3px; }
.folio__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.folio__res { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.folio__res svg { width: 24px; height: 24px; padding: 5px; flex: none; border-radius: 7px; background: var(--sun); color: var(--ink); }
.folio__res b { color: var(--ink); font-weight: 650; }
.folio__id small { font-size: 14px; color: var(--muted); }
.folio__case { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 6px; padding-top: 3px; font-size: 14px; font-weight: 600; color: var(--blue-press); white-space: nowrap; }
.folio__case svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.folio__case:hover svg { transform: translateX(3px); }
.folio__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.folio__tags li { padding: 4px 10px; border-radius: var(--pill); background: var(--ground); font-size: 12.5px; color: var(--muted); }
.folio__item--cta { grid-column: span 2; justify-content: flex-end; min-height: 100%; padding: clamp(26px, 2.6vw, 36px); background: var(--blue); color: #fff; transition: background-color var(--t-fast); }
.folio__item--cta:hover { background: var(--blue-press); }
.folio__cta-in { display: grid; gap: 12px; max-width: 34ch; }
.folio__cta-in b { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.folio__cta-in > span { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.88); }
.folio__cta-go { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 6px; font-weight: 650; color: #fff !important; }
.folio__cta-go svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.folio__item--cta:hover .folio__cta-go svg { transform: translateX(4px); }
/* The closer look */
.folio__box[open] { display: flex; flex-direction: column; }
.folio__box { width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: var(--raised); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(12,18,34,.5); overflow: auto; }
.folio__box::backdrop { background: rgba(12,18,34,.6); backdrop-filter: blur(4px); }
.folio__box[open] { animation: folio-in .35s var(--ease-out); }
@keyframes folio-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.folio__box-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.folio__box-visual .wvis { height: 100%; min-height: 380px; padding: 30px 30px 0; }
.folio__box-visual .wvis--perf { align-items: center; padding-bottom: 30px; }
.folio__box-visual .wperf { border-radius: var(--r-ui); }
.folio__box .bar > i { transform: none; }
.folio__box-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(26px, 3vw, 40px); }
.folio__box-text .folio__kind { font: 500 11.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-right: 44px; }
.folio__box-text .folio__h { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.folio__box-text > p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.folio__nums { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.folio__nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 12px; border-radius: var(--r-ui); background: var(--ground); }
.folio__nums dd { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.folio__nums dt { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.folio__did { font-size: 14px !important; color: var(--ink-2) !important; }
.folio__did b { display: block; margin-bottom: 4px; font: 500 11.5px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.folio__did span { color: var(--muted); }
.folio__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.folio__go .link-quiet svg { width: 14px; height: 14px; }
.folio__close { position: sticky; top: 14px; z-index: 3; flex: none; align-self: flex-end; margin: 14px 14px -54px 0; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ground); color: var(--ink); cursor: pointer; transition: background-color var(--t-fast); }
.folio__close:hover { background: var(--tile-2); }
.folio__close svg { width: 18px; height: 18px; }
body:has(.folio__box[open]) { overflow: hidden; }

/* What I work on */
.kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.kit__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r); background: var(--raised); }
.field-tile .kit__card { background: var(--raised); }
.kit__top { display: flex; align-items: center; gap: 12px; }
.kit__ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue-press); }
.kit__ic svg { width: 19px; height: 19px; }
.kit__card h3 { font-size: clamp(20px, 1.6vw, 23px); letter-spacing: -0.025em; line-height: 1.15; }
.kit__card p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.kit__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kit__chips li { padding: 5px 10px; border-radius: var(--pill); background: var(--ground); font-size: 13px; color: var(--ink-2); }
.kit__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-press); }
.kit__go svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.kit__go:hover svg { transform: translateX(3px); }

/* How a project runs: four steps under a track, each with a small screen */
.deliver, .deliver[role="list"] { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); position: relative; padding-top: 34px; }
.deliver::before { content: ""; position: absolute; top: 9px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 2px; background: var(--night-3); }
.deliver__step { position: relative; display: flex; flex-direction: column; }
.deliver__dot { position: absolute; top: -34px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--night-3); border: 4px solid var(--night); }
.deliver__step.is-first .deliver__dot { background: #fff; }
.deliver__card { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 26px); border-radius: var(--r); background: var(--night-2); border: 1.5px solid transparent; }
.deliver__step.is-first .deliver__card { border-color: var(--sky); }
.deliver__top { display: flex; align-items: center; justify-content: space-between; }
.deliver__ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--night-3); color: #fff; }
.deliver__step.is-first .deliver__ic { background: var(--blue); }
.deliver__ic svg { width: 19px; height: 19px; }
.deliver__n { font: 500 12px/1 var(--font-mono); color: var(--on-night-muted); }
.deliver__card h3 { font-size: clamp(21px, 1.7vw, 25px); letter-spacing: -0.03em; line-height: 1.15; color: var(--on-night); }
.deliver__card > p:not(.deliver__done) { font-size: 15px; color: var(--on-night-muted); line-height: 1.55; }
.deliver__done { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #6FD39B; }
.deliver__done svg { width: 17px; height: 17px; }
.deliver__screen { margin-top: auto; padding: 14px; border-radius: var(--r-ui); background: var(--night); }
.deliver__sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; padding-bottom: 10px; font-size: 14px; color: var(--on-night); }
.deliver__sh span { font-size: 12.5px; color: var(--on-night-muted); }
.deliver__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; padding: 9px 0; border-top: 1px solid var(--ui-line-dark); font-size: 13px; color: var(--on-night-muted); }

@media (max-width: 1100px) {
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliver, .deliver[role="list"] { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .deliver::before, .deliver__dot { display: none; }
}
@media (max-width: 1024px) {
  .phero__work { grid-column: 1 / -1; min-height: clamp(380px, 60vw, 520px); }
  .wshot--hero { width: 66%; }
  .folio__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folio__item--wide { grid-column: span 2; }
  .folio__box-in { grid-template-columns: minmax(0, 1fr); }
  .folio__box-visual .wvis { min-height: 300px; height: 300px; padding-top: 64px; }
  .folio__item--wide .wvis--shot { min-height: 0; aspect-ratio: 16 / 8; }
  .folio__box-visual .wvis--shot { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; max-height: 55dvh; }
}
@media (max-width: 720px) {
  .phero__work { min-height: 360px; }
  .wshot--hero { width: 84%; }
  .wshot--1 { left: 4%; top: 6%; }
  .wshot--2 { right: 4%; top: 18%; }
  .phero__workcard { left: 4%; right: 4%; bottom: 4%; flex-wrap: wrap; }
  .phero__workcard .tag { display: none; }
  .folio__grid { grid-template-columns: minmax(0, 1fr); }
  .folio__item--wide { grid-column: auto; }
  .wvis, .folio__item--wide .wvis { flex: none; height: 250px; min-height: 0; padding: 18px 18px 0; }
  .folio__item--wide .wvis--shot { aspect-ratio: auto; }
  .folio__item--cta { grid-column: auto; }
  .folio__filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .folio__filters::-webkit-scrollbar { display: none; }
  .folio__filters .bchip { flex: none; }
  .folio__nums { grid-template-columns: minmax(0, 1fr); }
  .folio__nums div { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); align-items: baseline; gap: 10px; }
  .folio__nums dd { grid-column: 1; grid-row: 1; }
  .folio__nums dt { grid-column: 2; grid-row: 1; }
  .folio__box-visual .wvis, .folio__box-visual .wvis--shot { min-height: 220px; height: 220px; aspect-ratio: auto; padding: 64px 18px 0; }
  .kit, .deliver { grid-template-columns: minmax(0, 1fr); }
}

/* Without script the filters and the closer look cannot work, so they stay out of the way */
html:not(.js) .folio__filters, html:not(.js) .folio__count, html:not(.js) .folio__zoom { display: none; }
html:not(.js) .folio__open { display: none; }

/* ---------- Case study template ---------- */
/* The hero: one dark result card with the story on the left, the proof on the right, then the numbers and the facts */
.phero--case { padding-bottom: 0; }
.chero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 4vw, 56px) clamp(32px, 4.4vw, 72px); align-items: center; padding: clamp(28px, 4vw, 60px); border-radius: 32px; background: var(--night); color: var(--on-night); }
.chero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.chero__client { display: flex; align-items: center; gap: 12px; }
.chero__logo { height: 52px; min-width: 52px; max-width: 150px; padding: 8px 12px; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.chero__logo img { max-height: 36px; width: auto; max-width: 126px; object-fit: contain; }
.chero__logo--mono { font-family: var(--font-display); font-size: 18px; font-weight: 650; color: #fff; background: var(--blue); }
.chero__client > span:last-child { display: grid; gap: 1px; }
.chero__client b { font-size: 16px; color: #fff; }
.chero__client small { font-size: 13.5px; color: var(--on-night-muted); }
.chero__h1 { font-size: clamp(36px, 3.6vw, 56px); letter-spacing: -0.04em; line-height: 1.02; color: #fff; }
.chero__lead { font-size: var(--fs-lead); line-height: 1.5; color: rgba(242, 244, 248, .86); max-width: 34em; }
.chero__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chero__chips li { padding: 7px 13px; border-radius: var(--pill); background: var(--night-2); color: var(--on-night); font-size: 13.5px; font-weight: 550; }
.chero__chips li:has(a) { padding: 0; }
.chero__chips a { display: block; padding: 7px 13px; border-radius: var(--pill); background: var(--night-3); color: #fff; transition: background-color var(--t-fast), color var(--t-fast); }
.chero__chips a:hover { background: var(--blue); }
.chero__by { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 14.5px; color: var(--on-night-muted); }
.chero__by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.chero__by > span { display: grid; gap: 2px; }
.chero__by a { color: #fff; font-weight: 600; }
.chero__by small { font-size: 13px; }
.chero__visual { min-width: 0; }
.chero__visual .wshot img { aspect-ratio: 16 / 10; object-position: left top; }
.chero__foot { grid-column: 1 / -1; display: grid; gap: 20px; }
.cnums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.cnum { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2vw, 28px); border-radius: 20px; background: var(--night-2); }
.cnum b { font-family: var(--font-display); font-size: clamp(38px, 3.6vw, 58px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.cnum span { font-size: 15px; line-height: 1.4; color: var(--on-night-muted); }
.chero__meta { display: flex; justify-content: space-between; align-items: end; gap: 18px 40px; flex-wrap: wrap; }
.cfacts { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 3.4vw, 56px); }
.cfacts div { display: grid; gap: 3px; }
.cfacts dt { font-size: 13px; color: var(--on-night-muted); }
.cfacts dd { font-size: 15.5px; font-weight: 600; color: #fff; }
.cfacts a { display: inline-flex; align-items: center; gap: 4px; color: var(--sky); }
.cfacts a:hover { color: #fff; }
.cfacts a svg { width: 13px; height: 13px; }
.cnums__more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--sky); }
.cnums__more:hover { color: #fff; }
.cnums__more svg { width: 15px; height: 15px; }

/* The growth chart: the real start and end, the curve's start height set by their ratio */
.cchart { padding: clamp(20px, 2.2vw, 30px); border-radius: 24px; background: var(--night-2); color: var(--on-night); }
.cchart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; }
.cchart__head b { color: #fff; }
.cchart__head span { font-size: 13.5px; color: var(--on-night-muted); white-space: nowrap; }
.cchart__plot { position: relative; margin: 18px 0 14px; }
.cchart svg { display: block; width: 100%; height: clamp(150px, 15vw, 240px); overflow: visible; }
.cchart__area { fill: rgba(43, 102, 240, .3); }
.cchart__line { fill: none; stroke: var(--sky); stroke-width: 3; vector-effect: non-scaling-stroke; }
.cchart__dot { position: absolute; right: 0; top: var(--y); width: 14px; height: 14px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(92, 160, 242, .25); transform: translate(50%, -50%); }
.cchart__dot--a { right: auto; left: 0; background: var(--on-night-muted); box-shadow: none; transform: translate(-50%, -50%); width: 10px; height: 10px; }
.cchart__ends { display: flex; justify-content: space-between; align-items: end; }
.cchart__ends span { display: grid; gap: 2px; }
.cchart__ends span + span { text-align: right; }
.cchart__ends small { font-size: 13px; color: var(--on-night-muted); }
.cchart__ends b { font-family: var(--font-display); font-size: clamp(24px, 2vw, 32px); font-weight: 600; letter-spacing: -0.03em; color: var(--on-night-muted); }
.cchart__ends span + span b { font-size: clamp(44px, 5.4vw, 88px); line-height: .95; letter-spacing: -0.05em; color: #fff; }
.js .cchart__plot svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-out) .3s; }
.js .cchart__dot:not(.cchart__dot--a) { opacity: 0; transition: opacity .5s 1.6s; }
.is-loaded .chero .cchart__plot svg, .is-in .cchart__plot svg { clip-path: inset(0 0 0 0); }
.is-loaded .chero .cchart__dot, .is-in .cchart__dot { opacity: 1; }
.cboard { display: grid; gap: 10px; }
.cboard__row { display: grid; gap: 6px; padding: 20px 24px; border-radius: 20px; background: var(--night-2); }
.cboard__row b { font-family: var(--font-display); font-size: clamp(32px, 3vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.cboard__row span { font-size: 14.5px; color: var(--on-night-muted); }
.cboard__row.is-lead { background: var(--blue); }
.cboard__row.is-lead b { font-size: clamp(44px, 4.4vw, 68px); }
.cboard__row.is-lead span { color: rgba(255, 255, 255, .9); }

/* The story: a sticky rail beside one reading column */
.section--story { padding-block: clamp(56px, 6vw, 104px) clamp(96px, 10vw, 160px); }
/* One width for everything in the story: text, tables, pictures and cards all share the column's edges */
.cread { --story-w: 780px; display: grid; grid-template-columns: minmax(0, 288px) minmax(0, var(--story-w)); justify-content: space-between; gap: clamp(40px, 6vw, 112px); align-items: start; }
.cread__main { min-width: 0; display: grid; gap: clamp(80px, 8vw, 128px); }
.cchap { min-width: 0; }
/* The rail is one screen tall: contents at the top, the call card held at the foot, nothing to scroll inside it */
.crail { --rail-top: calc(var(--header-h) + 28px); position: sticky; top: var(--rail-top); display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 16px); height: calc(100vh - var(--rail-top) - 28px); height: calc(100dvh - var(--rail-top) - 28px); transition: top var(--t-mid) var(--ease-out), height var(--t-mid) var(--ease-out); }
body:has(.header.is-hidden) .crail { --rail-top: 28px; }
.crail__h { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--muted); padding-left: 14px; }
.crail .cbar__nav { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.crail .cbar__nav::-webkit-scrollbar { display: none; }
.crail .cbar__nav ul { display: grid; gap: 2px; }
.cbar__nav a { display: block; padding: clamp(6px, 1.1vh, 9px) 14px; border-radius: 12px; font-size: 15px; font-weight: 550; color: var(--muted); transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.cbar__nav a:hover { color: var(--ink); background: var(--tile); }
.cbar__nav a[aria-current] { background: var(--raised); color: var(--ink); box-shadow: inset 3px 0 0 var(--blue); }
.cbar__nav a:focus-visible { outline-offset: -3px; }
.crail__track { flex-shrink: 0; display: block; height: 4px; margin: 4px 14px 0; border-radius: 4px; background: var(--tile-2); overflow: hidden; }
.cbar__progress { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.crail__cta { flex-shrink: 0; display: grid; gap: 10px; justify-items: start; margin-top: auto; padding: 22px; border-radius: 22px; background: var(--night); color: var(--on-night); }
.crail__cta b { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: #fff; }
.crail__cta span { font-size: 14px; line-height: 1.45; color: var(--on-night-muted); margin-bottom: 4px; }
html:has([data-cbar]) { scroll-padding-top: calc(var(--header-h) + 36px); }
@media (min-width: 1101px) {
  .crail .cbar__nav a { line-height: 1.3; }
}
/* Short laptop screens: a tighter call card, then a tighter list, so the whole rail still fits */
@media (min-width: 1101px) and (max-height: 720px) {
  .crail__cta { gap: 8px; padding: 18px; border-radius: 18px; }
  .crail__cta b { font-size: 18px; }
  .crail__cta span { display: none; }
}
@media (min-width: 1101px) and (max-height: 640px) {
  .crail__h { display: none; }
  .crail .cbar__nav a { font-size: 14px; }
}

/* Headings and intros inside the column */
.cread .section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: clamp(28px, 3vw, 40px); }
.cread .section-head > *, .cread .section-head__title { grid-column: 1; }
.cread .section-head > p { max-width: none; color: var(--ink-2); font-size: 18px; }
.cread .t-h2, .cstory__h, .cread .faq--case .faq__intro .t-h2 { font-size: clamp(30px, 2.7vw, 44px); line-height: 1.06; letter-spacing: -0.035em; max-width: 20em; }
.cstory__h { margin-bottom: clamp(20px, 2vw, 28px); }
.cstory .rich { font-size: 19px; }
.cstory .art--inline { margin-top: 28px; }
.cstory__shot { margin: 0 0 clamp(28px, 3vw, 40px); padding: clamp(16px, 2.4vw, 36px) clamp(16px, 2.4vw, 36px) 0; border-radius: var(--r); background: var(--blue); overflow: hidden; }
.cstory__shot .wshot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.cstory__shot .wshot img { aspect-ratio: 16 / 8; object-position: left top; }
.cstory__shot figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* The short answer: a field of blue */
.tldr.tldr--case { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(28px, 3.6vw, 52px); background: var(--blue); color: #fff; box-shadow: none; }
.tldr--case > * { grid-column: 1 / -1; }
.tldr--case .tldr__label { font-family: var(--font-text); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tldr--case .tldr__label, .tldr--case .tldr__label svg { color: #fff; }
.tldr--case .tldr__text { font-size: clamp(20px, 1.8vw, 27px); line-height: 1.32; max-width: 40em; }

/* Before and after: a scoreboard table */
.ba-wrap { padding: 6px clamp(8px, 1.6vw, 24px); border-radius: var(--r); background: var(--raised); }
.ba { width: 100%; border-collapse: collapse; }
.ba thead th { padding: 16px 12px 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: left; }
.ba tbody th, .ba td { padding: 22px 12px; text-align: left; vertical-align: middle; }
.ba tbody tr > * { box-shadow: inset 0 1px 0 var(--ui-line); }
.ba th:last-child, .ba td:last-child { text-align: right; }
.ba__name { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.ba tbody th small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.ba__from { font-size: 16px; color: var(--muted); white-space: nowrap; }
.ba__lbl { display: none; }
.ba__v { display: inline-block; }
.ba__v::first-letter { text-transform: uppercase; }
.ba__viz { width: 30%; }
.ba__viz .bar { display: block; height: 8px; background: var(--ground); }
.ba__viz .bar + .bar { margin-top: 6px; }
.ba__viz .bar > i { background: var(--tile-2); }
.ba__viz .bar--after > i { background: var(--blue); }
.ba__to b { display: block; font-family: var(--font-display); font-size: clamp(28px, 2.4vw, 38px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; color: var(--blue); white-space: nowrap; }
.ba__to b.ba__long { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -0.02em; line-height: 1.25; white-space: normal; }
.ba__note { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ba__to .tag { margin-top: 8px; }
.bagrid__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.bagrid__ask { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.bagrid__ask a { color: var(--blue-press); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cread .table-wrap { box-shadow: none; }

/* The approach: a timeline */
.csteps, .csteps[role="list"] { display: grid; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r); background: var(--tile); }
.csteps__item { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 22px; padding-bottom: 34px; }
.csteps__item:last-child { padding-bottom: 0; }
.csteps__item:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 54px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--tile-2); }
.csteps__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.csteps__item:last-child .csteps__n { background: var(--blue); }
.csteps__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 46px; margin-bottom: 4px; }
.csteps h3 { font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -0.02em; line-height: 1.2; }
.csteps .tag { background: var(--raised); color: var(--ink-2); }
.csteps p { max-width: 64ch; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }

/* In their words */
.qspot { display: grid; gap: clamp(22px, 2.4vw, 32px); margin: 0; padding: clamp(28px, 4vw, 60px); border-radius: var(--r); background: var(--night); color: var(--on-night); }
.qspot__head { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.qspot__h { font-size: clamp(18px, 1.4vw, 21px); letter-spacing: -0.015em; line-height: 1.25; color: var(--on-night-muted); max-width: 30em; }
.qspot .stars { color: var(--sun); letter-spacing: 3px; font-size: 18px; }
.qspot blockquote { margin: 0; }
.qspot blockquote p { font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 31px); line-height: 1.32; letter-spacing: -0.02em; color: #fff; }
.qspot .qspot__long p { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.38; }
.qspot figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.qspot figcaption b { display: block; color: #fff; }
.qspot figcaption span span { color: var(--on-night-muted); }
.qspot .avatar { width: 54px; height: 54px; }
.qspot__mono { display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 600; }

/* FAQ and related links in the column */
.cread .faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.cread .faq__intro { grid-column: 1; position: static; }
.cread .faq__list { grid-column: 1; }
.cread .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cread .link-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.section-head__side--end { justify-items: end; align-self: end; }

/* Read the next story */
.cnext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r); background: var(--raised); overflow: hidden; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.cnext:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cnext__vis { padding: clamp(22px, 2.6vw, 36px); background: var(--night); display: grid; align-items: center; }
.cnext__vis .wshot img { aspect-ratio: 16 / 10; object-position: left top; }
.cnext__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: clamp(24px, 3vw, 44px); }
.cnext__kicker { font-size: 13.5px; font-weight: 600; color: var(--blue-press); }
.cnext h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1.12; }
.cnext:hover h3 { color: var(--blue); }
.cnext__num { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--muted); }
.cnext__num b { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.04em; color: var(--blue); }
.cnext__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-press); }
.cnext__go svg, .cmore__item > svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-fast); }
.cnext:hover .cnext__go svg, .cmore__item:hover > svg { transform: translateX(3px); }
.cmore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.cmore__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: var(--r); background: var(--raised); color: var(--blue-press); }
.cmore__item > span { display: grid; gap: 3px; }
.cmore__item small { font-size: 13px; color: var(--muted); }
.cmore__item b { font-size: 16px; color: var(--ink); }
.cmore__item:hover b { color: var(--blue); }

/* Below 1100px the rail becomes a bar under the header that scrolls sideways */
@media (max-width: 1100px) {
  .cread { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cread__main { width: 100%; max-width: var(--story-w); margin-inline: auto; }
  .crail { position: sticky; top: var(--header-h); z-index: 20; display: block; height: auto; overflow: visible; margin: 0 calc(-1 * var(--gutter)) clamp(40px, 6vw, 64px); padding: 10px var(--gutter); background: var(--ground); box-shadow: 0 1px 0 var(--ui-line); }
  body:has(.header.is-hidden) .crail { top: 0; }
  .crail__h, .crail__cta { display: none; }
  .crail .cbar__nav { overflow-x: auto; overscroll-behavior: auto; scrollbar-width: none; }
  .crail .cbar__nav::-webkit-scrollbar { display: none; }
  .crail .cbar__nav ul { display: flex; gap: 4px; }
  .cbar__nav a { padding: 8px 14px; border-radius: var(--pill); font-size: 14.5px; white-space: nowrap; }
  .cbar__nav a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
  .cbar__nav.is-over:not(.is-end) { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .crail__track { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; margin: 0; border-radius: 0; background: none; }
  html:has([data-cbar]) { scroll-padding-top: calc(var(--header-h) + 58px + 28px); }
  .section--story { padding-top: clamp(40px, 5vw, 64px); }
}
@media (max-width: 1024px) {
  .chero { grid-template-columns: minmax(0, 1fr); }
  .chero__visual { max-width: 680px; width: 100%; }
  .cnext { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .chero { padding: 24px 20px; border-radius: 24px; gap: 28px; }
  .chero__h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .chero__lead { font-size: 17px; }
  .cchart { padding: 18px; }
  .cnums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cnums .cnum:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .cnum { padding: 18px; border-radius: 16px; }
  .cnum b { font-size: 34px; }
  .cnum span { font-size: 14px; }
  .cfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; width: 100%; }
  .cfacts dd { font-size: 15px; overflow-wrap: anywhere; }
  .cboard__row { padding: 18px; }
  .cread__main { gap: 72px; }
  .cstory .rich { font-size: 17px; }
  .tldr.tldr--case { padding: 24px 22px; }
  .ba-wrap { padding: 4px 18px; }
  .ba thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ba, .ba tbody, .ba tr { display: block; }
  .ba tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: end; padding: 18px 0; }
  .ba tbody tr + tr { box-shadow: inset 0 1px 0 var(--ui-line); }
  .ba tbody tr > * { display: block; padding: 0; box-shadow: none; }
  .ba tbody th { grid-column: 1 / -1; }
  .ba__from { grid-column: 1; grid-row: 2; align-self: center; }
  .ba__lbl { display: inline; }
  .ba__v::first-letter { text-transform: none; }
  .ba__to { grid-column: 2; grid-row: 2; }
  .ba__viz { grid-column: 1 / -1; grid-row: 3; width: auto; }
  .ba__viz:empty { display: none; }
  .ba__to b { font-size: 30px; }
  .ba__from:empty + .ba__viz:empty + .ba__to { grid-column: 1 / -1; text-align: left; }
  .csteps, .csteps[role="list"] { padding: 22px 18px; }
  .csteps__item { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding-bottom: 28px; }
  .csteps__n { width: 38px; height: 38px; font-size: 15px; }
  .csteps__item:not(:last-child)::before { left: 18px; top: 46px; }
  .csteps__top { min-height: 38px; }
  .qspot { padding: 26px 22px; }
  .cread .link-cards, .cmore { grid-template-columns: minmax(0, 1fr); }
}
