/* Warren Chanansingh — website styles.
   Layout concept: Paper reading pages cut by Ink "night" bands; one conversion dot per screen.
   Tokens come from the brand system (wc-ds/project/tokens.json). */

:root {
  /* light theme (Paper) */
  --paper: #F6F4EC;
  --raised: #FFFFFF;
  --sage: #E6ECDF;
  --line: #D8DED2;
  --line-strong: #7A877E;
  --ink: #12211A;
  --muted: #4A5A50;
  --zaboca: #23573F;
  --zaboca-hover: #1D4732;
  --zaboca-soft: #DCE9DF;
  --on-zaboca: #FFFFFF;
  --seed: #8E4F2A;
  --dot: #8E4F2A;
  --signal: #23573F;
  --focus: #23573F;
  --chart-focus: #23573F;
  --chart-compare: #7A877E;
  --danger: #B3261E;
  --danger-soft: #F9E3E0;
  --shadow: 0 4px 8px #12211A14, 0 16px 32px -4px #12211A29;
  /* night bands keep the same look in both themes */
  --night: #12211A;
  --night-2: #17271F;
  --night-line: #2A3F33;
  --night-fg: #F6F4EC;
  --night-muted: #A7B6AB;
  --night-green: #7CC39C;
  --night-grey: #7F9185;
  --citron: #CDE26C;
  --brand-zaboca: #23573F;
  --brand-seed: #8E4F2A;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
  --fs-hero: clamp(3rem, 8.2vw, 8rem);
  --fs-display: clamp(2.5rem, 6vw, 5.25rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.6rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.7rem);
  --fs-lead: clamp(1.15rem, 1.5vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-mono: .8125rem;
  --fs-stat: clamp(3rem, 6.5vw, 6rem);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1B15; --raised: #17271F; --sage: #1F3328; --line: #2A3F33; --line-strong: #6B7D71;
    --ink: #EEF1E8; --muted: #A7B6AB; --zaboca: #7CC39C; --zaboca-hover: #9AD3B3; --zaboca-soft: #193A2A;
    --on-zaboca: #0F1B15; --seed: #E2A57F; --dot: #CDE26C; --signal: #CDE26C; --focus: #CDE26C;
    --chart-focus: #7CC39C; --chart-compare: #66766C; --danger: #FF8A7A; --danger-soft: #3D1A17;
    --shadow: 0 16px 32px -4px #000000CC;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F1B15; --raised: #17271F; --sage: #1F3328; --line: #2A3F33; --line-strong: #6B7D71;
  --ink: #EEF1E8; --muted: #A7B6AB; --zaboca: #7CC39C; --zaboca-hover: #9AD3B3; --zaboca-soft: #193A2A;
  --on-zaboca: #0F1B15; --seed: #E2A57F; --dot: #CDE26C; --signal: #CDE26C; --focus: #CDE26C;
  --chart-focus: #7CC39C; --chart-compare: #66766C; --danger: #FF8A7A; --danger-soft: #3D1A17;
  --shadow: 0 16px 32px -4px #000000CC;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-display);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible { outline-color: var(--citron); }
::selection { background: var(--zaboca); color: var(--on-zaboca); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--zaboca); color: var(--on-zaboca); padding: 12px 18px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: 1.25rem; }

/* type helpers */
.eyebrow { font: 500 var(--fs-mono)/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--seed); }
.night .eyebrow { color: var(--citron); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.night .lead { color: var(--night-muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.15; }
.display { font-size: var(--fs-display); letter-spacing: -.03em; line-height: 1; }
.dot { display: inline-block; width: .17em; height: .17em; margin-left: .06em; border-radius: 50%; background: var(--dot); vertical-align: baseline; }
.night .dot { background: var(--citron); }
.tnum { font-variant-numeric: tabular-nums; }
.prose { max-width: 66ch; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.6rem; margin-bottom: .8rem; letter-spacing: -.015em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.prose a { color: var(--zaboca); text-underline-offset: 3px; }

/* sections */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.night { background: var(--night); color: var(--night-fg); --dot: var(--citron); --signal: var(--citron); --focus: var(--citron); }
.sage { background: var(--sage); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { display: grid; gap: 16px; max-width: 760px; }
.section-head p.lead { max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--zaboca); --fg: var(--on-zaboca); --bd: var(--zaboca);
  position: relative; display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 22px;
  border: 1.5px solid var(--bd); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font-display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn:hover { --bg: var(--zaboca-hover); --bd: var(--zaboca-hover); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.night .btn--ghost { --fg: var(--night-fg); --bd: #6B7D71; }
.night .btn--ghost:hover { --bg: var(--night-fg); --fg: var(--night); --bd: var(--night-fg); }
.btn--citron { --bg: var(--citron); --fg: var(--night); --bd: var(--citron); }
.btn--citron:hover { --bg: #DDEC92; --bd: #DDEC92; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
.btn .roll { display: inline-grid; overflow: hidden; height: 1.1em; line-height: 1.1em; }
.btn .roll > span { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.btn .roll > span + span { transform: translateY(105%); }
.btn:hover .roll > span:first-child { transform: translateY(-105%); }
.btn:hover .roll > span + span { transform: translateY(0); }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .roll { opacity: 0; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; color: var(--zaboca); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.text-link:hover { background-size: 100% 1.5px; }
.night .text-link { color: var(--citron); }
.text-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; height: var(--header-h);
  --h-fg: var(--ink); --logo-w: var(--zaboca); --logo-dot: var(--dot);
  color: var(--h-fg); transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .45s var(--ease);
  view-transition-name: site-header;
}
.site-header.on-night { --h-fg: var(--night-fg); --logo-w: var(--night-fg); --logo-dot: var(--citron); }
.site-header.is-solid { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.on-night.is-solid { background: color-mix(in srgb, var(--night) 86%, transparent); box-shadow: 0 1px 0 var(--night-line); }
.site-header.is-hidden { transform: translateY(-110%); }
.page-night-top .site-header { margin-bottom: calc(var(--header-h) * -1); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; color: var(--h-fg); flex: none; }
.logo svg { width: 178px; height: auto; }
.logo .lw { stroke: var(--logo-w); }
.logo .ld { fill: var(--logo-dot); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 10px 12px; font-weight: 600; font-size: .975rem; text-decoration: none; color: var(--h-fg); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { margin-left: 10px; }
.site-header.on-night .nav .btn { --bg: var(--citron); --fg: var(--night); --bd: var(--citron); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--h-fg, var(--ink)); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-btn { display: none; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: var(--zaboca); pointer-events: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .theme-toggle { margin-left: auto; }
  .logo svg { width: 156px; }
}

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--night-fg); display: grid; grid-template-rows: auto 1fr auto; padding: env(safe-area-inset-top, 0px) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); }
.menu[hidden] { display: none !important; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu__top .logo { --h-fg: var(--night-fg); --logo-w: var(--night-fg); --logo-dot: var(--citron); color: var(--night-fg); }
.menu nav { display: grid; align-content: center; gap: 4px; }
.menu nav a { font: 800 clamp(2.2rem, 10vw, 3.4rem)/1.12 var(--font-display); letter-spacing: -.03em; text-decoration: none; color: var(--night-fg); display: block; padding: 4px 0; }
.menu nav a[aria-current="page"] { color: var(--citron); }
.menu.is-open nav a { animation: menuIn .6s var(--ease) both; }
.menu.is-open nav a:nth-child(2) { animation-delay: .04s; } .menu.is-open nav a:nth-child(3) { animation-delay: .08s; }
.menu.is-open nav a:nth-child(4) { animation-delay: .12s; } .menu.is-open nav a:nth-child(5) { animation-delay: .16s; }
.menu.is-open nav a:nth-child(6) { animation-delay: .2s; } .menu.is-open nav a:nth-child(7) { animation-delay: .24s; }
@keyframes menuIn { from { transform: translateY(40px); opacity: 0; } }
.menu__foot { display: grid; gap: 14px; color: var(--night-muted); font-size: .95rem; }
.menu__foot .btn { justify-self: start; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: calc(var(--header-h) + clamp(40px, 7vw, 96px)) clamp(56px, 7vw, 96px); isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero__copy { display: grid; gap: clamp(20px, 2.4vw, 32px); min-width: 0; }
.hero__title { font-size: var(--fs-hero); line-height: .92; letter-spacing: -.045em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .ln > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero__title .ln:nth-child(2) > span { animation-delay: .08s; }
.hero__title .ln:nth-child(3) > span { animation-delay: .16s; }
.hero__title .dot { width: .16em; height: .16em; animation: dotPop .5s .9s var(--ease) both; }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes dotPop { from { transform: scale(0); } 60% { transform: scale(1.35); } }
.hero__copy .lead { max-width: 46ch; animation: riseUp .9s .35s var(--ease) both; }
@keyframes riseUp { from { transform: translateY(24px); } }   /* no fade: the lead paints at first render, so it counts as the page's main content right away */
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .9s .45s var(--ease) both; }
@keyframes fadeUp { from { transform: translateY(24px); opacity: 0; } }
.status { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--fs-mono)/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); animation: fadeUp .9s .55s var(--ease) both; }
.status i { width: 14px; height: 3px; background: var(--citron); display: inline-block; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
html.preloading .hero * { animation-play-state: paused !important; }
.hero__visual { position: relative; height: clamp(360px, 44vw, 600px); min-width: 0; }
.bars { position: absolute; inset: auto 0 0 0; height: 100%; display: flex; align-items: flex-end; gap: 4%; }
.bars span { display: block; border-radius: 3px 3px 0 0; transform-origin: 50% 100%; animation: grow 1.1s var(--ease) both; }
.bars .b1 { flex: 1; height: 32%; background: var(--night-grey); animation-delay: .25s; }
.bars .b2 { flex: 1; height: 56%; background: var(--brand-seed); animation-delay: .38s; }
.bars .b3 { flex: 2.3; height: 100%; background: var(--brand-zaboca); animation-delay: .5s; }
@keyframes grow { from { transform: scaleY(0); } }
.hero__portrait { position: absolute; right: 0; bottom: 0; width: 64%; animation: fadeUp 1.1s .7s var(--ease) both; }
.hero__portrait img { width: 100%; }
.hero__label { position: absolute; left: 0; top: 0; width: 44%; display: grid; gap: 4px; font: 500 var(--fs-mono)/1.4 var(--font-mono); color: var(--night-muted); text-transform: uppercase; letter-spacing: .1em; }
.hero__label b { font: 800 clamp(1.5rem, 2.4vw, 2.2rem)/1.05 var(--font-display); color: var(--night-fg); letter-spacing: -.02em; text-transform: none; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 380px; max-width: 520px; width: 100%; }
}

/* ---------- About: the zaboca story, played by scrolling ----------
   A 3D studio render in 90 frames. Without JavaScript, with reduced motion or with data saver on, the last
   frame shows (two halves, black pepper, the seed as the headline's full stop). Otherwise main.js pins the
   section and draws the frame that matches the scroll position. */
.zab-story { padding-block: 0; }
.zab-story .slice-stage { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 10vw, 140px); }
/* the pinned layout is set by CSS before any script runs, so nothing on screen moves when main.js starts */
@media (prefers-reduced-motion: no-preference) {
  .js .zab-story:not(.is-static) .slice-stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 16px) 32px; }
}
.zab-story__grid { position: relative; width: 100%; }   /* the pinned stage is a flex column: keep the content full width */
.zab-story__copy { display: grid; gap: 24px; max-width: 52%; }
.zab-story h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); max-width: 13ch; }
.zab-story__text { font-size: 1.08rem; line-height: 1.65; color: var(--night-muted); max-width: 54ch; }
.zab-story__text .quote { font-size: clamp(1.35rem, 2vw, 1.75rem); color: var(--night-fg); }
.zab-scene { position: absolute; right: -3%; top: 50%; width: 46%; aspect-ratio: 1080 / 1152; transform: translateY(-50%); pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 68%, transparent 100%); }
.zab-scene img, .zab-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.zab-scene .zab-first, .zab-scene .zab-canvas { display: none; }
.zab-scene .zab-last { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-slice]:not(.is-static) .zab-scene .zab-first { display: block; }
  .js [data-slice]:not(.is-static) .zab-scene .zab-last { display: none; }
  .js [data-slice]:not(.is-static) [data-seed-target] { opacity: 0; animation: none; }
}
[data-slice].has-canvas .zab-scene .zab-canvas { display: block; }
[data-slice].has-canvas .zab-scene .zab-first { visibility: hidden; }
.scene-hint { position: absolute; left: 77%; bottom: -36px; transform: translateX(-50%); display: none; align-items: center; gap: 10px; font: 500 var(--fs-mono)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); white-space: nowrap; }
.scene-hint::before { content: ""; width: 1px; height: 18px; background: currentColor; }
[data-slice].is-live .scene-hint { display: inline-flex; }
/* the seed, once it leaves the render: the rendered seed fades into the citron full stop as it lands */
.seed-fly { position: absolute; left: 0; top: 0; width: 40px; height: 40px; visibility: hidden; pointer-events: none; z-index: 5; will-change: transform; }
.seed-fly::before { content: ""; position: absolute; inset: 0; background: url(../zab/seed.webp) center / contain no-repeat; opacity: calc(1 - var(--c, 0)); }
.seed-fly::after { content: ""; position: absolute; inset: 5.4%; border-radius: 50%; background: var(--citron); opacity: var(--c, 0); }
.dot.is-landed { animation: dotLand .5s var(--ease) both; }
@keyframes dotLand { from { transform: scale(1.7); } 55% { transform: scale(.86); } }
@media (max-width: 900px) {
  .zab-story__copy { max-width: none; }
  .zab-scene { position: relative; right: auto; top: auto; transform: none; height: min(320px, 36svh); width: auto; margin: -8px auto 0; }
  .scene-hint { display: none !important; }
}

/* ---------- articles ---------- */
.post-feeds { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; font: 500 var(--fs-mono)/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.post-feeds a { color: var(--zaboca); text-underline-offset: 3px; }
.post-list { display: grid; border-top: 1px solid var(--line); max-width: 920px; }
.post-card { display: grid; gap: 10px; padding-block: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.post-card__meta { font: 500 var(--fs-mono)/1.5 var(--font-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.post-card__title { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.post-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.post-card__title a:hover { background-size: 100% 2px; }
.post-card p:last-child { color: var(--muted); max-width: 66ch; }
.post-empty { max-width: 640px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); display: grid; gap: 12px; }
.post-empty h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.02em; }
.post-empty p { color: var(--muted); }
.post-byline { margin-top: 18px; font: 500 var(--fs-mono)/1.5 var(--font-mono); color: var(--muted); }
.post-byline a { color: var(--ink); text-underline-offset: 3px; }
.post-wrap { max-width: 760px; }
.post-body { font-size: 1.12rem; line-height: 1.75; max-width: none; }
.post-body > * + * { margin-top: 1.1rem; }
.post-body h2 { margin-top: 2.8rem; }
.post-body blockquote { margin: 1.8rem 0; padding-left: 22px; border-left: 3px solid var(--seed); font: 400 italic clamp(1.3rem, 2vw, 1.6rem)/1.4 var(--font-serif); }
.post-body img { border-radius: var(--radius-md); margin-block: 1.6rem; }
.post-body code { font: .92em var(--font-mono); background: var(--sage); padding: .1em .35em; border-radius: 4px; }
.post-body ol { padding-left: 1.4em; }
.post-figure { margin: 0 0 clamp(28px, 4vw, 44px); }
.post-figure img { width: 100%; border-radius: var(--radius-md); }
.post-tags { list-style: none; padding: 0; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags li { font: 500 .78rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); }
.post-share { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-weight: 600; }
.post-share span { font: 500 var(--fs-mono)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-share a { color: var(--zaboca); text-underline-offset: 3px; }

/* ---------- socials ---------- */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--gap, 24px); }
.social-card { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); min-width: 0; }
.social-card__head { display: flex; align-items: center; gap: 14px; }
.social-card__head svg { width: 40px; height: 40px; fill: var(--zaboca); flex: none; }
.social-card__head h2 { font-size: 1.35rem; letter-spacing: -.015em; }
.social-card__head .mono { font-size: .85rem; color: var(--muted); }
.social-card > p { color: var(--muted); }
.social-card__sub { font: 500 var(--fs-mono)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); }
.feed-list { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.feed-list li { display: grid; gap: 4px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.feed-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.feed-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feed-list time { font: 500 .78rem/1 var(--font-mono); color: var(--muted); }
.social-card__note { font-size: .95rem; color: var(--muted); }
.social-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.social-card__rss { font: 500 var(--fs-mono)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--zaboca); }
.subscribe { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-md); background: var(--sage); }
.subscribe > div { display: grid; gap: 10px; max-width: 60ch; }
.subscribe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.social-updated { margin-top: 18px; font: 500 .8rem/1.4 var(--font-mono); color: var(--muted); }

/* proof bar */
.proof { background: var(--sage); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: clamp(32px, 4vw, 48px); }
.proof__item { display: grid; gap: 6px; border-left: 2px solid var(--line-strong); padding-left: 18px; min-width: 0; }
.proof__item:first-child { border-color: var(--zaboca); }
.proof__num { font: 800 clamp(2.1rem, 4vw, 3.4rem)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.proof__label { font: 500 var(--fs-mono)/1.4 var(--font-mono); color: var(--muted); }
@media (max-width: 760px) { .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 28px); --gap: clamp(28px, 4vw, 64px); }
.marquee__label { text-align: center; margin-bottom: 14px; }
.marquee__track { display: flex; gap: var(--gap); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: var(--gap); align-items: center; }
.marquee__item { font: 800 clamp(1.6rem, 3.6vw, 3rem)/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; color: var(--ink); }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee__sep { font: 500 1.2rem/1 var(--font-mono); color: var(--line-strong); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* ---------- work cards ---------- */
.hs { position: relative; }
.hs__sticky { position: relative; }
.hs__track { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; }
.hs__track > * { scroll-snap-align: start; }
.hs.is-pinned .hs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hs.is-pinned .wcard { width: min(540px, 56vh); }
.hs.is-pinned .hs__intro { padding-top: calc(var(--header-h) + 8px) !important; margin-bottom: 24px !important; }
.hs.is-pinned .hs__track { padding-bottom: 24px !important; }
.hs.is-pinned .hs__track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-left: var(--gutter); padding-right: var(--gutter); }
.hs__intro { padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; width: 100%; }
.hs__count { font: 500 var(--fs-mono)/1 var(--font-mono); color: var(--muted); }
.night .hs__count { color: var(--night-muted); }

.wcard { position: relative; flex: none; width: min(84vw, 540px); display: grid; gap: 18px; text-decoration: none; color: inherit; }
.wcard__media { position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--radius-md); overflow: hidden; background: var(--night-2); }
.wcard__media .collage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 7% 6%; transition: transform .8s var(--ease); }
.wcard__media .collage img { height: 100%; width: auto; max-width: 46%; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px -12px #000000AA; }
.wcard__media .collage img:nth-child(2) { transform: translateY(-5%); }
.wcard__media .collage img:nth-child(3) { transform: translateY(5%); }
.wcard:hover .wcard__media .collage { transform: scale(1.045); }
.wcard__stat { position: absolute; left: 18px; bottom: 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--citron); color: var(--night); font: 800 1.6rem/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wcard__stat small { display: block; font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .02em; margin-top: 4px; max-width: 26ch; }
.wcard__meta { display: flex; justify-content: space-between; gap: 12px; font: 500 var(--fs-mono)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.night .wcard__meta { color: var(--night-muted); }
.wcard__title { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.wcard__title span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.wcard:hover .wcard__title span { background-size: 100% 2px; }
.data-viz .wcard__media { background: var(--night-2); }
.viz-tile { position: absolute; inset: 0; display: grid; align-content: end; padding: 8%; gap: 10px; color: var(--night-fg); }
.viz-tile .vt-bars { display: flex; align-items: flex-end; gap: 6%; height: 62%; }
.viz-tile .vt-bars span { display: block; flex: 1; border-radius: 3px 3px 0 0; background: var(--night-grey); }
.viz-tile .vt-bars span.f { background: var(--night-green); }
.viz-tile .vt-cap { font: 500 .75rem/1.3 var(--font-mono); color: var(--night-muted); text-transform: uppercase; letter-spacing: .1em; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.work-grid .wcard { width: auto; }
.work-grid .wcard[hidden] { display: none; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: 600 .95rem/1 var(--font-display); cursor: pointer; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip small { font: 500 .75rem/1 var(--font-mono); opacity: .8; }

/* ---------- services / pillars ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.night .card { background: var(--night-2); border-color: var(--night-line); }
.card h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
.card p { color: var(--muted); }
.night .card p { color: var(--night-muted); }
.card .eyebrow { margin-bottom: 4px; }
.service { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 40px; padding-block: 34px; border-top: 1px solid var(--line); align-items: start; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__n { font: 500 var(--fs-mono)/1.6 var(--font-mono); color: var(--muted); }
.service h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.025em; }
.service p { color: var(--muted); }
.service ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.service li { font: 500 .8rem/1 var(--font-mono); padding: 8px 10px; border-radius: var(--radius-sm); background: var(--zaboca-soft); color: var(--ink); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 12px; } }

/* approach / signal scene */
.approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach__sticky { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.signal-svg { width: 100%; height: auto; overflow: visible; }
.signal-svg .track { stroke: var(--night-line); }
.signal-svg .draw { stroke: var(--citron); }
.signal-svg .end { fill: var(--citron); transform-origin: center; transform-box: fill-box; transition: transform .4s var(--ease); }
.signal-svg:not(.is-done) .end { transform: scale(0); }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--night-line); transition: opacity .4s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--night-line); }
.step__n { font: 500 var(--fs-mono)/1.6 var(--font-mono); color: var(--citron); }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.025em; margin-bottom: 10px; }
.step p { color: var(--night-muted); max-width: 52ch; }
.step .proof-line { margin-top: 12px; font: 500 .82rem/1.5 var(--font-mono); color: var(--night-fg); }
.js .steps.is-scrubbing .step { opacity: .38; }
.js .steps.is-scrubbing .step.is-active { opacity: 1; }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; } .approach__sticky { position: static; } }

/* showreel */
.reel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; transform-origin: 50% 0; aspect-ratio: 16 / 9; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel__btn { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border: 0; border-radius: var(--radius-sm); background: var(--citron); color: var(--night); font: 700 .95rem/1 var(--font-display); cursor: pointer; }
.reel__btn svg { width: 18px; height: 18px; fill: currentColor; }
.reel__caption { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 500 var(--fs-mono)/1.5 var(--font-mono); color: var(--night-muted); }

/* quiz teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.goal-chips { display: grid; gap: 12px; }
.goal-chip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); text-decoration: none; color: var(--ink); background: var(--raised); transition: transform .35s var(--ease), border-color .25s, background .25s, color .25s; }
.goal-chip strong { font-size: 1.2rem; letter-spacing: -.015em; }
.goal-chip span { color: var(--muted); font-size: .95rem; display: block; margin-top: 2px; }
.goal-chip svg { width: 22px; height: 22px; fill: currentColor; flex: none; transition: transform .35s var(--ease); }
.goal-chip:hover { border-color: var(--zaboca); transform: translateX(6px); }
.goal-chip:hover svg { transform: translateX(4px); }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

/* about teaser / portrait block */
.portrait-block { position: relative; background: var(--brand-zaboca); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 4.4; display: flex; align-items: flex-end; justify-content: center; }
.portrait-block img { width: 92%; }
.portrait-block .tag { position: absolute; left: 20px; top: 20px; font: 500 var(--fs-mono)/1.4 var(--font-mono); color: var(--citron); text-transform: uppercase; letter-spacing: .12em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }
.quote { font: 400 italic clamp(1.5rem, 2.6vw, 2.2rem)/1.3 var(--font-serif); letter-spacing: -.01em; }
.quote-mark { border-left: 3px solid var(--seed); padding-left: 22px; }
.night .quote-mark { border-color: var(--citron); }

/* CTA band */
.cta-band { text-align: left; }
.cta-band h2 { font-size: var(--fs-display); letter-spacing: -.035em; line-height: .98; max-width: 14ch; }
.cta-band .row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page heroes ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 100px) clamp(40px, 6vw, 80px); }
.page-night-top .page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); }
.page-hero h1 { font-size: var(--fs-display); letter-spacing: -.035em; line-height: .98; max-width: 18ch; }
.page-hero .lead { margin-top: 22px; max-width: 56ch; }
.page-hero .eyebrow { margin-bottom: 20px; display: block; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 var(--fs-mono)/1.4 var(--font-mono); color: var(--night-muted); margin-bottom: 26px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--night-fg); text-decoration: underline; }
.crumbs li { list-style: none; display: flex; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .6; }
.page-hero:not(.night) .crumbs { color: var(--muted); }
.page-hero:not(.night) .crumbs a:hover { color: var(--ink); }
.byline { margin-top: 18px; font: 500 var(--fs-mono)/1.5 var(--font-mono); color: var(--night-muted); }
.byline a { color: var(--night-fg); text-decoration: underline; text-underline-offset: 3px; }
.author-box { margin-top: 24px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; padding: clamp(20px, 2.4vw, 28px); background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-md); max-width: 760px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--sage); }
.author-box > div { display: grid; gap: 6px; }
.author-box .eyebrow { margin: 0; }
.author-box__name { font-weight: 700; font-size: 1.1rem; }
.author-box__name a { color: var(--ink); }
.author-box p:last-child { color: var(--muted); }

/* ---------- case study ---------- */
.case-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.case-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: -.035em; max-width: 18ch; }
.hero-stat { display: grid; gap: 10px; border-top: 2px solid var(--citron); padding-top: 20px; }
.hero-stat b { font: 800 var(--fs-stat)/.92 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .08em; }
.hero-stat > span { font: 500 .9rem/1.45 var(--font-mono); color: var(--night-muted); }
.facts { margin: clamp(36px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--night-line); }
.facts > div { padding: 18px 20px 0 0; display: grid; gap: 6px; min-width: 0; }
.facts dt { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.facts dd { margin: 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 860px) { .case-hero__grid { grid-template-columns: 1fr; } .facts > div { padding-bottom: 14px; } }

.brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--line); overflow: hidden; margin: 0; }
.brief > div { padding: 24px 26px; background: var(--sage); display: grid; gap: 8px; align-content: start; min-width: 0; }
.brief dt { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); }
.brief dd { margin: 0; font-size: 1.05rem; line-height: 1.5; }
@media (max-width: 900px) { .brief { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brief { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 24px; }
.stat { display: grid; gap: 8px; border-top: 2px solid var(--line); padding-top: 18px; align-content: start; min-width: 0; }
.stat.is-focus { border-color: var(--zaboca); }
.stat b { font: 800 clamp(2.2rem, 3.8vw, 3.4rem)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .08em; }
.stat > span { font: 500 .85rem/1.45 var(--font-mono); color: var(--muted); }
.group-label { font: 500 .78rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--seed); margin-bottom: 18px; }
.groups { display: grid; gap: clamp(36px, 5vw, 56px); }

/* charts (HTML bars, one scale per chart) */
.chart { display: grid; gap: 14px; }
.chart__title { font-size: 1.25rem; letter-spacing: -.015em; }
.chart__note { font: 500 .8rem/1.5 var(--font-mono); color: var(--muted); }
.hbar { display: grid; grid-template-columns: minmax(110px, 220px) minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.hbar__label { font: 500 .85rem/1.35 var(--font-mono); color: var(--muted); }
.hbar__track { height: 40px; position: relative; display: flex; align-items: center; gap: 10px; }
.hbar__fill { height: 100%; width: var(--w); border-radius: 0 4px 4px 0; background: var(--chart-compare); transform-origin: 0 50%; }
.hbar.is-focus .hbar__fill { background: var(--chart-focus); }
.hbar.is-target .hbar__fill { background: transparent; border: 2px dashed var(--chart-compare); }
.hbar__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); flex: none; }
.hbar__value { font: 800 1.35rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
.hbar:hover .hbar__fill { filter: brightness(1.12); }
@media (max-width: 560px) { .hbar { grid-template-columns: 1fr auto; } .hbar__label { grid-column: 1 / -1; } }

.vbars { display: flex; align-items: flex-end; gap: clamp(16px, 4vw, 48px); height: 240px; border-bottom: 2px solid var(--ink); padding-inline: 8px; }
.vbar { display: grid; justify-items: center; align-content: end; gap: 8px; height: 100%; flex: 0 1 120px; }
.vbar b { font: 800 1.5rem/1 var(--font-display); letter-spacing: -.02em; }
.vbar i { display: block; width: 100%; height: var(--h); background: var(--chart-compare); border-radius: 4px 4px 0 0; transform-origin: 50% 100%; }
.vbar.is-focus i { background: var(--chart-focus); }
.vbar-labels { display: flex; gap: clamp(16px, 4vw, 48px); padding-inline: 8px; }
.vbar-labels span { flex: 0 1 120px; text-align: center; font: 500 .8rem/1.4 var(--font-mono); color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
table.data caption { text-align: left; padding: 18px 20px 6px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.015em; }
table.data th, table.data td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--sage); }
table.data td.bar-cell { width: 34%; text-align: left; }
.mini { display: flex; align-items: center; gap: 8px; }
.mini i { display: block; height: 14px; width: var(--w); background: var(--chart-compare); border-radius: 0 3px 3px 0; }
.mini.is-focus i { background: var(--chart-focus); }
.mini .hbar__dot { width: 12px; height: 12px; }
.table-note { padding: 12px 20px 16px; font: 500 .8rem/1.5 var(--font-mono); color: var(--muted); border-top: 1px solid var(--line); }

/* gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 18px; cursor: grab; scrollbar-width: thin; overscroll-behavior-x: contain; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: start; display: grid; gap: 10px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-md); overflow: hidden; display: block; }
.gallery img { height: clamp(300px, 38vw, 460px); width: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--raised); transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font: 500 .78rem/1.4 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.night .gallery figcaption { color: var(--night-muted); }
.night .gallery img { border-color: var(--night-line); }
.gallery-hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font: 500 .78rem/1.4 var(--font-mono); color: var(--muted); }
.night .gallery-hint { color: var(--night-muted); }

.lightbox { width: min(92vw, 900px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--night); color: var(--night-fg); }
.lightbox::backdrop { background: #0A120ECC; backdrop-filter: blur(6px); }
.lightbox__inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: 92vh; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 20px; gap: 12px; font: 500 .8rem/1.4 var(--font-mono); color: var(--night-muted); }
.lightbox__img { min-height: 0; display: grid; place-items: center; padding: 0 20px; }
.lightbox__img img { max-height: calc(92vh - 140px); width: auto; border-radius: 6px; }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 18px; gap: 12px; }
.lightbox .icon-btn { color: var(--night-fg); }

.learn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.learn > div { display: grid; gap: 12px; align-content: start; border-top: 2px solid var(--zaboca); padding-top: 22px; }
.night .learn > div { border-color: var(--citron); }
.learn h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.02em; }
.learn p { color: var(--muted); }
.night .learn p { color: var(--night-muted); }
@media (max-width: 760px) { .learn { grid-template-columns: 1fr; } }
.source-note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md); background: var(--sage); font-size: .95rem; color: var(--muted); }
.source-note svg { width: 20px; height: 20px; flex: none; fill: var(--zaboca); margin-top: 2px; }

.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: j; }
.journey > div { position: relative; padding: 22px 20px 24px 0; border-top: 2px solid var(--line-strong); display: grid; gap: 6px; align-content: start; min-width: 0; }
.journey > div::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--line-strong); border-radius: 2px; }
.journey .eyebrow { margin-bottom: 4px; }
.journey b { font-size: 1.2rem; letter-spacing: -.015em; }
.journey > div > span:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }

.levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.levels figure { margin: 0; display: grid; gap: 10px; }
.levels img { width: 100%; aspect-ratio: 406 / 237; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--line); }
.levels figcaption { display: grid; gap: 2px; }
.levels figcaption small { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); }
.levels figcaption b { font-size: 1.05rem; }
@media (max-width: 900px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.next-case { display: block; text-decoration: none; color: var(--night-fg); padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--night-line); }
.next-case .eyebrow { display: block; margin-bottom: 18px; }
.next-case b { display: block; font: 800 clamp(2.2rem, 6vw, 5.4rem)/1 var(--font-display); letter-spacing: -.04em; transition: transform .6s var(--ease), color .3s; }
.next-case:hover b { transform: translateX(14px); color: var(--citron); }
.next-case span.sub { display: block; margin-top: 14px; color: var(--night-muted); }

/* ---------- quiz ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.quiz__side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 22px; }
.quiz__meter { width: 100%; height: auto; }
.quiz__meter .t { stroke: var(--line); }
.quiz__meter .p { stroke: var(--zaboca); transition: stroke-dashoffset .7s var(--ease); }
.quiz__meter .e { fill: var(--dot); transition: transform .4s var(--ease); transform-origin: center; transform-box: fill-box; }
.quiz__meter:not(.is-done) .e { transform: scale(0); }
.quiz__count { font: 500 var(--fs-mono)/1.4 var(--font-mono); color: var(--muted); }
.qstep[hidden] { display: none; }
.qstep { display: grid; gap: 26px; animation: stepIn .55s var(--ease) both; }
@keyframes stepIn { from { transform: translateY(26px); opacity: 0; } }
.qstep legend { padding: 0; font: 800 clamp(1.8rem, 3.6vw, 3rem)/1.06 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.qstep fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.qstep .hint { color: var(--muted); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option label { display: grid; gap: 4px; min-height: 100%; padding: 20px 22px 20px 56px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); background: var(--raised); cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.option label::before { content: ""; position: absolute; left: 22px; top: 23px; width: 20px; height: 20px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--raised); transition: all .2s; }
.option input[type="checkbox"] + label::before { border-radius: 4px; }
.option label b { font-size: 1.1rem; letter-spacing: -.01em; }
.option label span { color: var(--muted); font-size: .95rem; }
.option input:hover + label { border-color: var(--ink); }
.option input:checked + label { border-color: var(--zaboca); background: var(--zaboca-soft); }
.option input:checked + label::before { border-color: var(--zaboca); background: var(--zaboca); box-shadow: inset 0 0 0 4px var(--zaboca-soft); }
.option input[type="checkbox"]:checked + label::before { box-shadow: none; background: var(--zaboca) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M13 24 4 15l1.4-1.4L13 21.2 26.6 7.6 28 9z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.option input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.qnav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qnav .spacer { flex: 1; }
.q-error { color: var(--danger); font-weight: 600; }
.result { display: grid; gap: 28px; }
.result__head { display: grid; gap: 14px; padding: clamp(26px, 3vw, 40px); background: var(--night); color: var(--night-fg); border-radius: var(--radius-md); }
.result__head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.035em; }
.result__head p { color: var(--night-muted); max-width: 60ch; }
.moves { display: grid; gap: 0; counter-reset: mv; }
.moves li { list-style: none; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.moves li::before { counter-increment: mv; content: "0" counter(mv); font: 500 var(--fs-mono)/1.8 var(--font-mono); color: var(--seed); }
.moves b { display: block; font-size: 1.15rem; margin-bottom: 4px; letter-spacing: -.01em; }
.moves p { color: var(--muted); }
.notes { display: grid; gap: 10px; }
.notes p { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--sage); }
.notes svg { width: 20px; height: 20px; flex: none; fill: var(--zaboca); margin-top: 3px; }
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.answers > div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.answers dt { font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.answers dd { margin: 0; font-weight: 600; font-size: .98rem; }
@media (max-width: 900px) { .quiz { grid-template-columns: 1fr; } .quiz__side { position: static; } }
.calculating { display: grid; place-items: center; gap: 16px; padding: 64px 0; text-align: center; color: var(--muted); }
.calculating .loader-line { width: min(320px, 70vw); height: 3px; background: var(--line); overflow: hidden; border-radius: 2px; }
.calculating .loader-line i { display: block; width: 40%; height: 100%; background: var(--zaboca); animation: load 1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: .975rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--raised); color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%237A877E' d='M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--zaboca); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--focus); }
.field .help { font-size: .9rem; color: var(--muted); }
.field .err { display: none; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--danger); }
.field .err svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); background: var(--danger-soft); }
.field.is-invalid .err { display: flex; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--zaboca); }
.check label { font-weight: 400; font-size: .95rem; color: var(--muted); }
.check label a { color: var(--zaboca); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; gap: 12px; padding: 16px 18px; border-radius: var(--radius-md); border: 1.5px solid var(--danger); background: var(--danger-soft); color: var(--ink); }
.form-alert.is-shown { display: grid; }
.form-alert b { color: var(--danger); }
.form-alert ul { padding-left: 1.2em; }
.form-alert a { color: var(--ink); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions small { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.methods { display: grid; gap: 0; }
.method { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.method:last-child { border-bottom: 1px solid var(--line); }
.method dt { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); }
.method dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 1.15rem; font-weight: 600; }
.method a { text-decoration: none; }
.method a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; font: 500 .78rem/1 var(--font-mono); color: var(--muted); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn svg { width: 14px; height: 14px; fill: currentColor; }
.night .copy-btn { border-color: #6B7D71; color: var(--night-muted); }
.night .copy-btn:hover { border-color: var(--night-fg); color: var(--night-fg); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: var(--radius-sm); opacity: .85; transition: opacity .2s, background .2s, color .2s; }
.socials a:hover { opacity: 1; background: var(--citron); color: var(--night); border-color: var(--citron); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 22px; height: 22px; position: relative; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* timeline-like list */
.rows { display: grid; }
.rows > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: 12px 40px; padding-block: 24px; border-top: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows b { font-size: 1.15rem; letter-spacing: -.01em; }
.rows p { color: var(--muted); }
.night .rows > div { border-color: var(--night-line); }
.night .rows p { color: var(--night-muted); }
@media (max-width: 760px) { .rows > div { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-fg); padding-block: clamp(64px, 9vw, 120px) 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-big { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--night-line); }
.footer-big a.big { font: 800 clamp(2.4rem, 7vw, 6.4rem)/.95 var(--font-display); letter-spacing: -.045em; text-decoration: none; color: var(--night-fg); max-width: 12ch; }
.footer-big a.big:hover { color: var(--citron); }
.footer-cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 48px; }
.footer-cols h2 { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 16px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { color: var(--night-fg); text-decoration: none; }
.footer-cols a:hover { color: var(--citron); text-decoration: underline; text-underline-offset: 3px; }
.footer-cols address { font-style: normal; display: grid; gap: 10px; color: var(--night-muted); }
.footer-cols address a { color: var(--night-fg); }
.footer-follow { margin-top: 14px; color: var(--night-muted); font-size: .92rem; }
.footer-cols .footer-follow a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-cols address .line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.footer-cols address .line > svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.footer-lock { color: var(--night-fg); --logo-w: var(--night-fg); --logo-dot: var(--citron); margin-bottom: 18px; display: inline-flex; }
.footer-lock svg { width: 210px; height: auto; }
.footer-lock .lw { stroke: var(--logo-w); } .footer-lock .ld { fill: var(--logo-dot); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: .9rem; color: var(--night-muted); }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-legal button { color: var(--night-muted); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--night-fg); text-decoration: underline; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- sticky mobile CTA ---------- */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--night) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--night-line); transform: translateY(110%); transition: transform .45s var(--ease); }
.mcta .btn { flex: 1; justify-content: center; }
.mcta .btn--ghost { flex: 0 0 auto; }
.mcta.is-shown { transform: none; }
@media (max-width: 760px) { .mcta { display: flex; } }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: min(440px, calc(100% - 32px)); padding: 22px; border-radius: var(--radius-md); background: var(--raised); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; animation: fadeUp .5s var(--ease) both; }
.cookie[hidden] { display: none !important; }
.cookie h2 { font-size: 1.1rem; letter-spacing: -.01em; }
.cookie p { font-size: .94rem; color: var(--muted); }
.cookie p a { color: var(--zaboca); }
.cookie .row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .cookie { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }
.prefs { width: min(92vw, 520px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); color: var(--ink); box-shadow: var(--shadow); }
.prefs::backdrop { background: #0A120EAA; }
.prefs form { display: grid; gap: 18px; padding: 26px; }
.prefs h2 { font-size: 1.35rem; letter-spacing: -.015em; }
.pref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.pref p { grid-column: 1 / 2; color: var(--muted); font-size: .92rem; }
.switch { position: relative; width: 50px; height: 28px; grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 14px; background: var(--line-strong); transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--zaboca); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- toast / preview notice ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 95; transform: translate(-50%, 140%); padding: 12px 18px; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); font-weight: 600; font-size: .95rem; transition: transform .4s var(--ease); max-width: calc(100% - 32px); }
.toast.is-shown { transform: translate(-50%, 0); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md); border: 1.5px dashed var(--line-strong); background: var(--raised); }
.notice svg { width: 20px; height: 20px; flex: none; fill: var(--seed); margin-top: 2px; }

/* ---------- preloader ---------- */
html.preloading .preloader, .preloader.is-done { display: grid; }   /* only shown when head.js asked for it, so it never blocks visitors without JavaScript */
.preloader { position: fixed; inset: 0; z-index: 120; background: var(--night); color: var(--night-fg); display: none; place-items: center; transition: transform .8s var(--ease) .1s; }
.preloader svg { width: 110px; height: auto; }
.preloader .pw { stroke: var(--night-fg); stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawW 1s var(--ease) forwards; }
.preloader .pd { fill: var(--citron); transform: scale(0); transform-origin: center; transform-box: fill-box; animation: dotPop .4s .95s var(--ease) forwards; }
.preloader .pct { position: absolute; left: var(--gutter); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font: 500 .85rem/1 var(--font-mono); color: var(--night-muted); letter-spacing: .1em; }
.preloader.is-done { transform: translateY(-100%); }
@keyframes drawW { to { stroke-dashoffset: 0; } }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid #fff; border-radius: 50%; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; opacity: 0; display: grid; place-items: center; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; }
.cursor b { font: 700 .78rem/1 var(--font-display); color: #000; opacity: 0; transition: opacity .2s; letter-spacing: .02em; }
.cursor.is-big b { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- reveal (content stays visible; it only rises into place) ---------- */
.js [data-reveal].is-below { transform: translateY(46px); }
.js [data-reveal] { transition: transform 1.1s var(--ease); }
.js [data-reveal-img] { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease); }
.js [data-reveal-img].is-below { clip-path: inset(0 0 14% 0 round 8px); }

/* ---------- legal / simple pages ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.legal nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 8px; font-size: .95rem; }
.legal nav a { color: var(--muted); text-decoration: none; }
.legal nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal nav { position: static; } }
.updated { font: 500 var(--fs-mono)/1.4 var(--font-mono); color: var(--muted); margin-top: 18px; display: block; }

.err404 { min-height: 70vh; display: grid; align-content: center; }
.err404 h1 { font-size: clamp(3rem, 10vw, 9rem); line-height: .9; letter-spacing: -.05em; }
.err404 svg { width: min(560px, 100%); height: auto; margin-block: 24px; }

/* ---------- view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .38s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(26px); } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .js [data-reveal].is-below { transform: none; }
  .js [data-reveal-img].is-below { clip-path: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .preloader { display: none; }
}
@media (forced-colors: active) {
  .hbar__fill, .vbar i, .mini i, .bars span { forced-color-adjust: none; }
  .btn { border: 2px solid ButtonText; }
}
@media print {
  .site-header, .site-footer, .mcta, .cookie, .cursor, .progress, .preloader, canvas, .reel__btn { display: none !important; }
  .night { background: #fff; color: #000; }
}

/* ---------- v1.5: capabilities, KPIs, brand strip, testimonials, photo and video spots ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font: 500 var(--fs-mono)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-fg); }
.badges span { display: inline-flex; align-items: center; gap: 8px; }
.badges span::before { content: ""; width: 10px; height: 2px; background: var(--night-green); }
.hero .badges { animation: fadeUp .9s .4s var(--ease) both; }
.kpi-label { font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.night .kpi-label { color: var(--night-muted); }
.kpis { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.kpis li { font: 500 .78rem/1.2 var(--font-mono); padding: 7px 9px; border-radius: var(--radius-sm); background: var(--zaboca-soft); color: var(--ink); }
.night .kpis li { background: var(--night-line); color: var(--night-fg); }
ul.checks { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 24px; color: var(--muted); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--zaboca); }
.night ul.checks li { color: var(--night-muted); }
.night ul.checks li::before { background: var(--night-green); }
.lead + ul.checks li { font-size: 1.05rem; color: var(--ink); }

.cap-card { gap: 16px; grid-template-rows: auto auto auto 1fr auto; }
.cap-card__n { font: 500 var(--fs-mono)/1 var(--font-mono); color: var(--seed); }
.card.cap-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); }
.card .cap-card__outcome { color: var(--ink); font-weight: 600; font-size: 1.06rem; line-height: 1.45; min-height: 2.9em; }
.cap-card .text-link { justify-self: start; margin-top: 4px; }

.brands { border-bottom: 1px solid var(--line); padding-block: clamp(28px, 3.6vw, 44px); }
.brands .eyebrow { text-align: center; margin-bottom: 18px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1180px) { .brand-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand { position: relative; display: grid; place-items: center; height: 88px; padding: 14px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); color: var(--muted); text-decoration: none; text-align: center; font: 700 .92rem/1.15 var(--font-display); letter-spacing: -.01em; transition: border-color .25s, color .25s; }
a.brand:hover { border-color: var(--zaboca); color: var(--ink); }
.brand.is-ph { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.brand .ph-mini { position: absolute; top: 7px; right: 8px; font: 500 .6rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
a.brand:hover img { filter: none; opacity: 1; }

.ph { position: relative; aspect-ratio: var(--ar, 4 / 3); display: grid; place-content: center; justify-items: center; gap: 8px; padding: clamp(18px, 3vw, 32px); text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); color: var(--muted);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(122, 135, 126, .09) 14px 28px), var(--sage); }
.ph svg { width: 34px; height: 34px; fill: var(--zaboca); }
.ph--video svg { width: 56px; height: 56px; }
.ph b { font: 700 1.02rem/1.2 var(--font-display); color: var(--ink); }
.ph span { max-width: 38ch; font-size: .95rem; line-height: 1.45; }
.ph small { font: 500 .7rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.sage .ph { background-color: var(--paper); }
.night .ph { background-color: var(--night-2); border-color: #6B7D71; color: var(--night-muted); }
.night .ph b { color: var(--night-fg); }
.night .ph svg { fill: var(--night-green); }
.media { margin: 0; display: grid; gap: 10px; }
.media > img, .media > video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; border-radius: var(--radius-md); background: var(--sage); }
.media figcaption { font: 500 .8rem/1.5 var(--font-mono); color: var(--muted); }
[data-slot-wrap]:not(:has(.media, .ph)) { display: none; }

.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.tcard { position: relative; margin: 0; display: grid; gap: 20px; align-content: space-between; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); }
.tcard blockquote { margin: 0; }
.tcard blockquote::before { content: "“"; display: block; height: .45em; font: 400 4.2rem/1 var(--font-serif); color: var(--seed); }
.tcard blockquote p { font: 400 italic clamp(1.2rem, 1.6vw, 1.45rem)/1.4 var(--font-serif); color: var(--ink); }
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.tcard__photo { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--zaboca-soft); }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.tcard__photo svg { width: 26px; height: 26px; fill: var(--zaboca); }
.tcard figcaption b { display: block; font-weight: 800; letter-spacing: -.01em; }
.tcard figcaption span span { color: var(--muted); font-size: .95rem; }
.tcard__result { justify-self: start; font: 500 .78rem/1.2 var(--font-mono); padding: 7px 9px; border-radius: var(--radius-sm); background: var(--zaboca-soft); color: var(--ink); }
.tcard.is-ph { border: 1.5px dashed var(--line-strong); background: transparent; }
.tcard.is-ph blockquote p { color: var(--muted); }
.tcard.is-ph blockquote::before { color: var(--line-strong); }
.ph-tag { justify-self: start; font: 500 .66rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border-radius: var(--radius-sm); background: var(--sage); color: var(--muted); }
.sage .ph-tag { background: var(--paper); }

.path p:last-child { margin-top: auto; }
.card.path { grid-template-rows: auto auto 1fr auto; }

.keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.keyfacts > div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.keyfacts dt { font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); margin-bottom: 6px; }
.keyfacts dd { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
@media (max-width: 760px) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .keyfacts { grid-template-columns: 1fr; } }

.plan-card { grid-template-rows: auto auto 1fr auto; }
.youget { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 700; color: var(--ink) !important; }
.youget span { display: block; margin-bottom: 4px; font: 500 .7rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); }

.bring { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.bring > [data-slot-wrap]:not(:has(.media, .ph)) + .cards-2 { grid-column: 1 / -1; }
@media (max-width: 960px) { .bring { grid-template-columns: 1fr; } }
.photo-row { align-items: start; }

.intro { align-items: center; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap__head { display: grid; gap: 14px; align-content: start; }
.cap__n { font: 500 var(--fs-mono)/1 var(--font-mono); color: var(--seed); }
.cap h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; }
.cap__outcome { font-size: var(--fs-lead); line-height: 1.4; font-weight: 600; max-width: 28ch; }
.cap__body { display: grid; gap: 24px; min-width: 0; }
.cap__body > p { color: var(--muted); max-width: 62ch; }
.cap__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 36px; }
.cap h3 { font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cap__proofs { display: grid; gap: 8px; }
.cap__proofs .kpi-label { margin-bottom: 2px; }
.cap__proof { padding: 14px 16px; border-left: 3px solid var(--zaboca); background: var(--sage); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .98rem; line-height: 1.5; }
.cap__proof .text-link { margin-left: 6px; font-size: .92rem; }
@media (max-width: 860px) { .cap, .cap__cols { grid-template-columns: 1fr; } }

table.data--text { min-width: 0; }
table.data--text th, table.data--text td { text-align: left; vertical-align: top; }
table.data--text tbody th { font-weight: 800; white-space: nowrap; }
table.data--text tbody th a { color: var(--zaboca); }
table.data--text td:last-child { font: 500 .85rem/1.5 var(--font-mono); color: var(--muted); }
@media (max-width: 720px) {
  table.data--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data--stack tbody tr { display: grid; gap: 6px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  table.data--stack tbody tr:last-child { border-bottom: 0; }
  table.data--stack th, table.data--stack td { display: block; padding: 0; border: 0; white-space: normal; }
  table.data--stack td::before { content: attr(data-label); display: block; font: 500 .68rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); margin-bottom: 2px; }
}
.btn[hidden], [hidden].btn { display: none !important; }
.page-hero .badges { margin-top: 18px; }
.page-hero h1.h1--long { font-size: clamp(2.3rem, 4.8vw, 4.3rem); max-width: 20ch; }
.site-footer .copy-btn { border-color: #6B7D71; color: var(--night-muted); }
.site-footer .copy-btn:hover { border-color: var(--night-fg); color: var(--night-fg); }
/* Work with me: the two tracks */
.track { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); scroll-margin-top: calc(var(--header-h) + 16px); }
.track__copy { display: grid; gap: 18px; }
.track .lead { max-width: 48ch; }
.track__note { font: 500 var(--fs-mono)/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.track__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.track ul.checks li { color: var(--ink); }
@media (max-width: 860px) { .track { grid-template-columns: 1fr; } }
#in-house, #engagements { scroll-margin-top: calc(var(--header-h) + 8px); }
.pkg { grid-template-rows: auto auto auto 1fr auto; gap: 14px; }
.card .pkg__outcome { color: var(--ink); font-weight: 600; line-height: 1.45; }
.pkg ul.checks li { font-size: .97rem; }
.pkg__meta { margin: 6px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.pkg__meta > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.pkg__meta dt { font: 500 .7rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--seed); }
.pkg__meta dd { margin: 0; font-size: .95rem; color: var(--ink); }
.pkg__meta dd .ph-tag { margin-right: 6px; }

/* hero copy stays readable over the dot field: brighter supporting text and a soft dark halo */
.hero__copy .lead { color: #D3DCD5; }
.hero__copy .lead, .hero__copy .badges, .hero__copy .status, .hero__copy .eyebrow { text-shadow: 0 0 14px var(--night), 0 0 4px var(--night), 0 1px 2px var(--night); }
.hero__title { text-shadow: 0 0 24px var(--night); }
.hero__copy .status { color: #C2CEC5; }

/* ---------- v1.8: shorter pages, quick actions everywhere, section-to-section movement ---------- */
.keyfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .keyfacts { grid-template-columns: 1fr; } }
.hero-media { position: relative; }
.hero-media .media > video { aspect-ratio: 16 / 9; }
.hero-media:has(.media) .portrait-block { display: none; }
.more-link { margin-top: 28px; }
.reel-sec { padding-top: 0; }
.about-line__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.about-line__in .eyebrow { flex: none; }
.about-line__text { flex: 1 1 420px; font: 400 italic clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--font-serif); letter-spacing: -.01em; }
.next-cue { position: absolute; left: 50%; top: min(calc(100svh - 76px), calc(100% - 64px)); transform: translateX(-50%); display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid #6B7D71; border-radius: 999px; background: transparent; color: var(--night-fg); font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .25s, background .25s; animation: fadeUp .9s .8s var(--ease) both; }
.next-cue svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(90deg); }
.next-cue:hover { border-color: var(--night-fg); background: rgba(246, 244, 236, .06); }
@media (min-width: 901px) and (min-height: 700px) { .next-cue { display: inline-flex; } }
@media (prefers-reduced-motion: no-preference) { .next-cue svg { animation: nudge 2.4s 2s ease-in-out infinite; } }
@keyframes nudge { 0%, 70%, 100% { transform: rotate(90deg) translateX(0); } 80% { transform: rotate(90deg) translateX(4px); } }
/* the quick actions float as a small pill on larger screens */
@media (min-width: 761px) {
  .mcta { display: flex; left: auto; right: 24px; bottom: 24px; padding: 8px; gap: 8px; border: 1px solid var(--night-line); border-radius: 12px; box-shadow: 0 12px 32px -8px #000000AA; transform: translateY(calc(100% + 40px)); }
  .mcta .btn { flex: none; }
}
/* touch screens: a swipe settles on the start of the next section when it lands near one */
@media (pointer: coarse) {
  html { scroll-snap-type: y proximity; scroll-padding-top: 0; }
  #main > section, #main > .section, .site-footer { scroll-snap-align: start; scroll-margin-top: 0; }
  #main h2[id], #main h3[id], .legal [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
}
/* ---------- v1.9: nine capabilities in three pillars ---------- */
.pillar { gap: 14px; align-content: start; }
.pillar__line { color: var(--muted); }
.pillar__caps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.pillar__caps li { display: grid; gap: 6px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.pillar__caps li:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar__caps a { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.pillar__caps a b { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); justify-self: start; }
.pillar__caps a:hover b { background-size: 100% 1.5px; }
.card .pillar__caps a span { color: var(--muted); font-size: .97rem; line-height: 1.45; }
.card .pillar__kpis { font: 500 .74rem/1.4 var(--font-mono); letter-spacing: .04em; color: var(--zaboca); }
.pillar-head { display: grid; gap: 12px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(8px, 1.5vw, 16px); scroll-margin-top: calc(var(--header-h) + 8px); }
.pillar-head:first-child { padding-top: 0; }
.pillar-head .lead { max-width: 52ch; }
.cap h3.cap__title { font: 800 clamp(1.7rem, 3vw, 2.6rem)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--ink); text-transform: none; margin: 0; }
table.data--text tr.grp th { padding-top: 22px; font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--seed); background: var(--paper); border-bottom: 1px solid var(--line); white-space: normal; }
table.data--text tbody tr.grp:hover { background: var(--paper); }
@media (max-width: 720px) {
  table.data--stack tbody tr.grp { padding: 18px 20px 6px; background: var(--sage); }
  table.data--stack tbody tr.grp th { padding: 0; background: transparent; border: 0; }
}
/* ---------- v1.10: logo wall on dark tiles; logo tile for a case without creative ---------- */
.brand-grid { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
@media (min-width: 1180px) { .brand-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand { height: 92px; padding: 16px 12px; background: var(--night); border-color: var(--night-line); color: var(--night-muted); font-size: .86rem; }
a.brand:hover { border-color: var(--night-green); color: var(--night-fg); }
.brand.is-ph { border-style: dashed; border-color: #3B5246; background: var(--night); }
.brand .ph-mini { color: #7F9185; }
.brand img { filter: none; opacity: .92; max-height: 52px; }
a.brand:hover img { opacity: 1; }
.logo-tile { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 40%, #1d3a2c 0%, var(--night) 70%); }
.logo-tile img { width: 34%; max-width: 200px; height: auto; }

/* ---------- v1.11: case cards without creative ---------- */
.logo-tile .name-tile { font: 800 clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--night-fg); text-align: center; padding: 0 12%; }
.wcard__media .viz-tile { background: radial-gradient(120% 90% at 50% 40%, #1d3a2c 0%, var(--night) 70%); }
.table-wrap { position: relative; }   /* keeps screen-reader-only header text inside the scroll area on phones */
.wcard__media .viz-tile { display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding: 7% 8% 0; }
.wcard__media .viz-tile .vt-cap { order: -1; }
.wcard__media .viz-tile .vt-bars { flex: none; height: 50%; gap: 5%; }
.wcard__media .viz-tile .vt-bars span { max-width: 76px; }

/* ---------- v1.12: Expertise as an ordered list that opens to read more ---------- */
.caps-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: clamp(20px, 3vw, 32px); }
.caps-bar__hint { color: var(--muted); max-width: 60ch; }
.pgroup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 80px); padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.pgroup:last-child { border-bottom: 1px solid var(--line); }
.pgroup__head { display: grid; gap: 10px; align-content: start; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.pgroup__line { color: var(--muted); font-size: 1.05rem; line-height: 1.5; max-width: 34ch; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-item + .cap-item { border-top: 1px solid var(--line); }
.cap-acc { scroll-margin-top: calc(var(--header-h) + 16px); }
.cap-acc summary { list-style: none; display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; border-radius: var(--radius-sm); }
.cap-item:first-child .cap-acc summary { padding-top: 4px; }
.cap-acc summary::-webkit-details-marker { display: none; }
.cap-acc summary:focus-visible { outline: 2px solid var(--zaboca); outline-offset: 4px; }
.cap-acc .cap__n { align-self: start; padding-top: .55em; }
.cap__sum { display: grid; gap: 6px; min-width: 0; }
.cap-acc__title { font: 800 clamp(1.3rem, 2.1vw, 1.75rem)/1.1 var(--font-display); letter-spacing: -.025em; color: var(--ink); margin: 0; transition: color .25s; }
.cap-acc__outcome { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.cap-acc summary:hover .cap-acc__title { color: var(--zaboca); }
.cap-acc__toggle { width: 40px; height: 40px; border: 1.5px solid var(--line-strong); border-radius: 50%; position: relative; flex: none; transition: background .25s, border-color .25s; }
.cap-acc__toggle::before, .cap-acc__toggle::after { content: ""; position: absolute; left: 12px; right: 12px; top: calc(50% - 1px); height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.cap-acc__toggle::after { transform: rotate(90deg); }
.cap-acc summary:hover .cap-acc__toggle { border-color: var(--ink); }
.cap-acc[open] .cap-acc__toggle { background: var(--ink); border-color: var(--ink); }
.cap-acc[open] .cap-acc__toggle::before, .cap-acc[open] .cap-acc__toggle::after { background: var(--paper); }
.cap-acc[open] .cap-acc__toggle::after { transform: rotate(0); }
.cap-acc > .cap__body { padding: 0 0 32px calc(2.4em + 16px); }
@media (max-width: 960px) {
  .pgroup { grid-template-columns: 1fr; }
  .pgroup__head { position: static; }
}
@media (max-width: 560px) {
  .cap-acc summary { grid-template-columns: 1.9em minmax(0, 1fr) auto; gap: 12px; }
  .cap-acc > .cap__body { padding-left: 0; }
  .cap__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cap-acc__toggle::before, .cap-acc__toggle::after { transition: none; } }
[data-caps-toggle]:not(.is-ready) { visibility: hidden; }   /* space is kept so nothing shifts when the script shows it */

/* ---------- v1.13: game levels as text (no brand artwork) ---------- */
.levels-text { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.levels-text li { display: grid; gap: 8px; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); }
.levels-text small { font: 500 var(--fs-mono)/1 var(--font-mono); color: var(--seed); letter-spacing: .08em; text-transform: uppercase; }
.levels-text b { font: 700 1.15rem/1.2 var(--font-display); }
@media (max-width: 860px) { .levels-text { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- v1.14: Send a message and WhatsApp, easy to reach everywhere ---------- */
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }
.site-header .nav .btn.btn--wa { --bg: transparent; --fg: var(--h-fg); --bd: color-mix(in srgb, var(--h-fg) 45%, transparent); margin-left: 12px; }
.site-header .nav .btn.btn--wa:hover { --bd: var(--h-fg); }
.site-header .nav .btn.btn--wa + .btn { margin-left: 8px; }
.site-header.on-night .nav .btn.btn--wa { --bg: transparent; --fg: var(--night-fg); --bd: #6B7D71; }
.site-header.on-night .nav .btn.btn--wa:hover { --bd: var(--night-fg); }
@media (max-width: 1240px) {
  .wa-head { padding: 0 11px; }
  .wa-head .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.mcta .btn--ghost, .site-footer .btn--ghost, .menu .btn--ghost { --fg: var(--night-fg); --bd: #6B7D71; }
.mcta .btn--ghost:hover, .site-footer .btn--ghost:hover, .menu .btn--ghost:hover { --bg: var(--night-fg); --fg: var(--night); --bd: var(--night-fg); }
.mcta .btn--wa svg, .site-footer .btn--wa svg, .menu .btn--wa svg, .night .btn--wa svg { fill: #7CC39C; }
.mcta .btn--wa:hover svg, .site-footer .btn--wa:hover svg, .menu .btn--wa:hover svg, .night .btn--wa:hover svg { fill: currentColor; }
@media (max-width: 760px) { .mcta .btn--ghost { flex: 1; } }
.footer-big .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.menu__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.wa-link svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
@media (min-width: 761px) { .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 760px) { .mcta .btn:not(.btn--wa) svg { display: none; } .mcta .btn { padding: 0 12px; } }
.quiz-alt { margin-top: 14px; color: var(--muted); }
.quiz-alt .wa-link { display: inline-flex; vertical-align: bottom; gap: 6px; }
.quiz-alt .wa-link svg { width: 18px; height: 18px; }
.hero-media:has(.media) { align-self: center; }
.night .media figcaption, [data-tone="night"] .media figcaption { color: var(--night-muted); }
.page-hero.night .wa-link svg, .night .wa-link svg { width: 18px; height: 18px; }
.mcta { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }   /* solid: no blur repaint over the animated hero */
.tcard.is-sample { border: 1.5px dashed var(--line-strong); }
