/* =========================================================
   Куралин · Банкротство
   Стиль: Syllabus — кремовая бумага, чернильно-фиолетовый,
   сливочно-жёлтый акцент, глубокий тил.
   ========================================================= */

:root {
  color-scheme: light;
  --ink: #0d0129;
  --ink-70: rgba(13, 1, 41, .72);
  --ink-50: rgba(13, 1, 41, .5);
  --ink-15: rgba(13, 1, 41, .15);
  --ink-08: rgba(13, 1, 41, .08);
  --yellow: #fae59b;
  --teal: #19615c;
  --teal-deep: #134e4a;
  --cream: #fffcf7;
  --cream-70: rgba(255, 252, 247, .74);
  --cream-20: rgba(255, 252, 247, .2);
  --white: #ffffff;
  --black: #000000;

  --font: 'Onest', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-sm: 16px;
  --t-body: 20px;
  --t-sub: 24px;
  --t-h-sm: 40px;
  --t-h: 48px;
  --t-h-lg: 56px;
  --t-display: 64px;

  --wrap: 1200px;
  --gutter: 40px;
  --section: 120px;
  --card-pad: 40px;
  --gap: 24px;

  --shadow-btn: 1px 1px 3px 0 var(--black);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 76px;
}

@media (max-width: 900px) {
  :root {
    --gutter: 16px;
    --section: 80px;
    --card-pad: 24px;
    --t-display: 40px;
    --t-h-lg: 40px;
    --t-h: 32px;
    --t-h-sm: 32px;
    --t-body: 18px;
    --t-sub: 20px;
    --hdr-h: 64px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.mono { font-family: var(--mono); font-size: 14px; line-height: 1.5; letter-spacing: .02em; }
.label {
  font-family: var(--mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ''; width: 8px; height: 8px; background: var(--yellow); border: 1px solid var(--ink); border-radius: 50%; flex: none; }
.teal .label::before { border-color: var(--cream); }

.h-display { font-size: var(--t-display); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.h-lg { font-size: var(--t-h-lg); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.h { font-size: var(--t-h); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.h-sm { font-size: var(--t-h-sm); line-height: 1.25; font-weight: 700; }
.sub { font-size: var(--t-sub); line-height: 1.4; font-weight: 700; }
.lead { font-size: var(--t-body); line-height: 1.6; color: var(--ink-70); max-width: 62ch; }
.small { font-size: var(--t-sm); line-height: 1.6; }
.muted { color: var(--ink-70); }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
p { text-wrap: pretty; }

/* yellow marker highlight that sweeps in */
.mark {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 0% 42%;
  background-position: 0 88%;
  transition: background-size 1s var(--ease-out) .35s;
  padding: 0 .08em;
  margin: 0 -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mark.is-in, .is-in .mark { background-size: 100% 42%; }
.teal .mark { color: var(--ink); background-size: 0% 100%; background-position: 0 0; }
.teal .mark.is-in, .teal .is-in .mark { background-size: 100% 100%; }

/* ---------- Buttons ---------- */
.btn {
  --x: 0px; --y: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 16px 32px;
  background: var(--yellow); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transform: translate(var(--x), var(--y));
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s;
}
.btn:hover { transform: translate(calc(var(--x) - 3px), calc(var(--y) - 3px)); box-shadow: 4px 4px 0 0 var(--ink); }
.btn:active { transform: translate(var(--x), var(--y)); box-shadow: 0 0 0 0 var(--ink); transition-duration: .08s; }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 14px 24px;
  border: 1px solid var(--ink); background: transparent;
  font-weight: 400; font-size: 16px; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.teal .btn-ghost { border-color: var(--cream); color: var(--cream); }
.teal .btn-ghost:hover { background: var(--cream); color: var(--teal); }

.link-u {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease-out);
}
.link-u:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr-h);
  background: rgba(255, 252, 247, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), border-color .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--ink); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--yellow); border: 1px solid var(--ink);
  font-weight: 700; font-size: 20px; line-height: 1;
  box-shadow: var(--shadow-btn);
  transition: transform .5s var(--ease-out);
}
.logo:hover .logo__mark { transform: rotate(-8deg); }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__txt b { font-size: 20px; }
.logo__txt small { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-70); }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 16px; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.btn-nav {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px;
  background: var(--ink); color: var(--cream); text-decoration: none; font-weight: 700; font-size: 16px;
  transition: background-color .25s, color .25s;
}
.btn-nav:hover { background: var(--teal); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 49;
  background: var(--cream); padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease-out), visibility 0s .6s;
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-out); }
.mnav a { font-size: 32px; font-weight: 700; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--ink-15); display: flex; justify-content: space-between; align-items: baseline; }
.mnav a span { font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--ink-50); }
.mnav .btn { margin-top: 24px; font-size: 16px; justify-content: center; padding: 16px 32px; border-bottom: 1px solid var(--ink); }
.mnav .btn .arr { font-family: var(--font); font-size: 16px; color: var(--ink); }

@media (max-width: 1080px) {
  .nav, .hdr .btn-nav { display: none; }
  .burger { display: block; }
}

/* ---------- Reveal system ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--base, 0ms)); }
.js [data-split].is-in .wi { transform: none; }

.js [data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.js [data-clip] img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0); }
.js [data-clip].is-in img { transform: scale(1); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--hdr-h) + 72px) 0 80px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__label { margin-bottom: 32px; }
.hero h1 { margin-bottom: 32px; }
.hero .lead { margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.routes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border: 1px solid var(--ink); background: var(--white); }
.route {
  position: relative; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--ink); overflow: hidden; isolation: isolate;
}
.route:last-child { border-right: 0; }
.route::before {
  content: ''; position: absolute; inset: 0; background: var(--yellow); z-index: -1;
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out);
}
.route:hover::before { transform: scaleY(1); }
.route__n { font-family: var(--mono); font-size: 14px; color: var(--ink-50); }
.route__t { font-weight: 700; font-size: 20px; line-height: 1.3; }
.route__d { font-size: 16px; color: var(--ink-70); line-height: 1.5; }
.route__a { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border: 1px solid var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .3s; background: var(--cream); }
.route:hover .route__a { transform: rotate(-45deg); background: var(--white); }

.hero__visual { position: relative; padding: 24px 24px 48px 40px; }
.photo-frame { position: relative; border: 1px solid var(--ink); background: var(--white); z-index: 1; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-frame__shade {
  position: absolute; top: 24px; left: 24px; right: -24px; bottom: -24px;
  background: var(--yellow); border: 1px solid var(--ink); z-index: 0;
}
.hero__visual .photo-frame__shade { top: 48px; left: 64px; right: 0; bottom: 24px; }
.float {
  position: absolute; z-index: 3; background: var(--white); border: 1px solid var(--ink);
  padding: 16px; will-change: transform;
}
.float--stmt { left: -48px; bottom: 4%; width: 260px; }
.float--law { right: -56px; top: 2%; width: 210px; }
.float__h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--ink-50); margin-bottom: 10px; }
.float__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-family: var(--mono); font-size: 12px; padding: 6px 4px; border-top: 1px solid var(--ink-08); }
.float__row.is-hot { background: var(--yellow); border-top-color: var(--ink); position: relative; animation: pulse-row 3.2s var(--ease) infinite; }
@keyframes pulse-row { 0%, 60%, 100% { background: var(--yellow); } 30% { background: var(--white); } }
.float__tag { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 12px; padding: 2px 8px; border: 1px solid var(--ink); background: var(--yellow); }
.float--law b { display: block; font-size: 20px; line-height: 1.25; margin: 4px 0 8px; }
.float--law .small { font-size: 14px; color: var(--ink-70); line-height: 1.45; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob--2 { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.dots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.dots i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); border: 1px solid var(--ink); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(.4); } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--hdr-h) + 40px); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 420px; padding: 16px 16px 40px 16px; margin: 0 auto; width: 100%; }
  .float--stmt { left: -4px; width: 210px; bottom: 2%; }
  .float--law { right: -4px; width: 170px; top: -2%; }
  .float--law .small { display: none; }
  .float--law b { font-size: 16px; margin-bottom: 0; }
  .float { padding: 12px; }
  .routes { grid-template-columns: 1fr; margin-top: 48px; }
  .route { border-right: 0; border-bottom: 1px solid var(--ink); padding-right: 64px; }
  .route:last-child { border-bottom: 0; }
}

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--white); overflow: hidden; }
.ticker__row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker__row--rev { animation-direction: reverse; border-top: 1px solid var(--ink); background: var(--cream); }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 24px; padding: 18px 24px 18px 0; font-size: 20px; white-space: nowrap; }
.ticker__row--rev .ticker__item { font-family: var(--mono); font-size: 14px; letter-spacing: .04em; padding: 12px 24px 12px 0; }
.ticker__item::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); border: 1px solid var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.shead { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 80px; }
.shead__l .label { margin-bottom: 24px; }
.shead .lead { justify-self: end; }
.teal .lead { color: var(--cream-70); }
@media (max-width: 900px) {
  .shead { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .shead .lead { justify-self: start; }
}

/* ---------- Statement analysis (sticky scrolly) ---------- */
.scrolly { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.scrolly__steps { padding-bottom: 20vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease-out); }
.step.is-active { opacity: 1; }
.step__n { font-family: var(--mono); font-size: 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.step__n::after { content: ''; height: 1px; flex: 1; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease-out); }
.step.is-active .step__n::after { transform: scaleX(1); }
.step h3 { margin-bottom: 16px; }
.step p { color: var(--ink-70); max-width: 46ch; }
.step ul { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.step li { font-family: var(--mono); font-size: 13px; border: 1px solid var(--ink); padding: 4px 10px; background: var(--white); }
.scrolly__viz { position: sticky; top: calc(var(--hdr-h) + 40px); }

.viz {
  position: relative; border: 1px solid var(--ink); background: var(--white);
  aspect-ratio: 5 / 5.6; overflow: hidden; isolation: isolate;
}
.viz__top { padding: 20px 24px 12px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; }
.viz__top b { font-family: var(--font); font-size: 16px; display: block; margin-bottom: 2px; }
.viz__top span { color: var(--ink-50); }
.viz__meter { text-align: right; }
.viz__meter b { font-family: var(--mono); font-size: 20px; }
.viz__table { padding: 8px 24px; }
.vrow {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center;
  font-family: var(--mono); font-size: 12px; padding: 9px 8px; border-bottom: 1px solid var(--ink-08);
  position: relative; opacity: 0; transform: translateX(-12px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), background-color .5s;
  transition-delay: calc(var(--i) * 70ms);
}
.vrow .amt { text-align: right; }
.vrow .flag {
  position: absolute; right: 8px; top: 50%; translate: 0 -50%;
  font-size: 11px; padding: 2px 8px; border: 1px solid var(--ink); background: var(--white);
  opacity: 0; transform: translateX(12px) scale(.9); transition: opacity .4s, transform .5s var(--ease-out);
}
.viz[data-step] .vrow { opacity: 1; transform: none; }
.viz[data-step="2"] .vrow.is-flag, .viz[data-step="3"] .vrow.is-flag, .viz[data-step="4"] .vrow.is-flag { background: var(--yellow); }
.viz[data-step="2"] .vrow.is-flag .amt, .viz[data-step="3"] .vrow.is-flag .amt, .viz[data-step="4"] .vrow.is-flag .amt { opacity: 0; }
.viz[data-step="2"] .vrow.is-flag .flag, .viz[data-step="3"] .vrow.is-flag .flag, .viz[data-step="4"] .vrow.is-flag .flag { opacity: 1; transform: none; transition-delay: calc(var(--i) * 120ms + .3s); }
.viz[data-step="2"] .vrow.is-flag { transition-delay: calc(var(--i) * 120ms + .2s); }

.viz__scan {
  position: absolute; left: 0; right: 0; top: 96px; height: 2px; background: var(--ink); z-index: 2; opacity: 0;
  box-shadow: 0 0 0 1px var(--yellow);
}
.viz__scan::after { content: 'анализ'; position: absolute; right: 12px; top: -22px; font-family: var(--mono); font-size: 11px; background: var(--ink); color: var(--cream); padding: 1px 6px; }
.viz[data-step="2"] .viz__scan { opacity: 1; animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(0); } 50% { transform: translateY(calc(var(--scan-h, 380px))); } 100% { transform: translateY(0); } }

.viz__panel {
  position: absolute; left: 16px; right: 16px; bottom: 16px; top: 88px; z-index: 3;
  background: var(--cream); border: 1px solid var(--ink);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.viz[data-step="3"] .viz__panel--graph, .viz[data-step="4"] .viz__panel--cases { opacity: 1; transform: none; }
.viz[data-step="4"] .viz__panel--graph { opacity: 1; transform: translateY(-12px) scale(.96); filter: none; }
.viz__panel--cases { background: transparent; border: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 0 16px 16px; }
.viz__panel .ptitle { font-family: var(--mono); font-size: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; }
.viz__panel svg { width: 100%; height: calc(100% - 42px); display: block; }
.g-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out); }
.g-line--dash { stroke-dasharray: none; }
.viz[data-step="3"] .g-line, .viz[data-step="4"] .g-line { stroke-dashoffset: 0; }
.g-line:nth-of-type(2) { transition-delay: .15s; } .g-line:nth-of-type(3) { transition-delay: .3s; }
.g-line:nth-of-type(4) { transition-delay: .45s; } .g-line:nth-of-type(5) { transition-delay: .6s; } .g-line:nth-of-type(6) { transition-delay: .75s; }
.g-node rect { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.g-node--core rect { fill: var(--yellow); }
.g-node text { font-family: var(--mono); font-size: 12px; fill: var(--ink); }
.g-lbl { font-family: var(--mono); font-size: 10px; fill: var(--ink); }
.g-lbl-bg { fill: var(--cream); }
.g-node, .g-lbl-wrap { opacity: 0; transition: opacity .5s var(--ease-out); }
.viz[data-step="3"] .g-node, .viz[data-step="4"] .g-node, .viz[data-step="3"] .g-lbl-wrap, .viz[data-step="4"] .g-lbl-wrap { opacity: 1; }
.viz[data-step="3"] .g-lbl-wrap { transition-delay: 1s; }

.case {
  background: var(--white); border: 1px solid var(--ink); padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline;
  opacity: 0; transform: translateY(40px) rotate(-1.5deg);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.case:nth-child(2) { transition-delay: .15s; transform: translateY(40px) rotate(1deg); }
.case:nth-child(3) { transition-delay: .3s; }
.case b { font-size: 16px; line-height: 1.35; }
.case .mono { font-size: 12px; grid-column: 1 / -1; color: var(--ink-70); }
.case__n { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--yellow); border: 1px solid var(--ink); padding: 0 6px; }
.case--kdl { background: var(--ink); color: var(--cream); }
.case--kdl .mono { color: var(--cream-70); }
.viz[data-step="4"] .case { opacity: 1; transform: none; }

.viz-dots { display: flex; gap: 8px; margin-top: 16px; justify-content: center; }
.viz-dots button { width: 32px; height: 4px; background: var(--ink-15); transition: background-color .3s, width .4s var(--ease-out); }
.viz-dots button.is-on { background: var(--ink); width: 56px; }
.viz-dots button::before { content: ''; display: block; height: 24px; margin-top: -10px; }

@media (max-width: 900px) {
  .scrolly { grid-template-columns: 1fr; gap: 32px; }
  .scrolly__viz { position: relative; top: 0; order: -1; }
  .scrolly__steps { padding-bottom: 0; }
  .step { min-height: 0; opacity: 1; padding: 24px 0; border-top: 1px solid var(--ink-15); }
  .viz { aspect-ratio: auto; height: 480px; }
  .vrow { grid-template-columns: 56px 1fr auto; font-size: 11px; }
  .vrow--opt { display: none; }
  .viz__top { flex-direction: column; gap: 8px; }
  .viz__meter { text-align: left; }
  .viz__meter br { display: none; }
  .viz__meter span { margin-left: 8px; }
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--ink); padding: var(--card-pad);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 0 var(--ink); }
.card__ic { width: 56px; height: 56px; border: 1px solid var(--ink); display: grid; place-items: center; background: var(--cream); transition: background-color .4s; }
.card:hover .card__ic { background: var(--yellow); }
.card__ic svg { width: 28px; height: 28px; stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card__ic svg * { stroke-dasharray: 80; stroke-dashoffset: 0; }
.card:hover .card__ic svg * { animation: draw 1s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
.card h3 { font-size: var(--t-sub); line-height: 1.3; }
.card p { font-size: 16px; color: var(--ink-70); }
.card__law { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ink-15); font-family: var(--mono); font-size: 13px; color: var(--ink-70); }
.card--feat { background: var(--yellow); }
.card--feat .card__ic { background: var(--white); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Timeline (periods) ---------- */
.periods { margin-top: var(--section); border: 1px solid var(--ink); background: var(--white); padding: var(--card-pad); }
.periods__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.periods__head .h-sm { max-width: 18ch; }
.periods__head p { max-width: 44ch; font-size: 16px; color: var(--ink-70); }
.tl { position: relative; }
.tl__row { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; padding: 14px 0; border-top: 1px solid var(--ink-08); }
.tl__row b { display: block; font-size: 16px; line-height: 1.4; }
.tl__row span { font-family: var(--mono); font-size: 13px; color: var(--ink-70); }
.tl__track { position: relative; height: 40px; }
.tl__bar {
  position: absolute; right: 0; top: 6px; bottom: 6px; width: var(--w); min-width: 84px;
  background: var(--yellow); border: 1px solid var(--ink);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i) * 140ms + .2s);
  display: flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 13px; font-weight: 400; white-space: nowrap;
}
.tl__bar--gk { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px) 0 50% / 100% 1px no-repeat; border: 0; width: 100%; }
.tl__bar--gk em { font-style: normal; background: var(--white); padding: 0 8px; border: 1px solid var(--ink); }
.tl.is-in .tl__bar { transform: scaleX(1); }
.tl__now { position: absolute; right: 0; top: -12px; bottom: -8px; width: 0; border-right: 2px solid var(--ink); }
.tl__now span { position: absolute; right: -2px; top: -30px; font-family: var(--mono); font-size: 12px; background: var(--ink); color: var(--cream); padding: 3px 8px; white-space: nowrap; }
.tl__note { margin-top: 24px; font-size: 14px; color: var(--ink-70); font-family: var(--mono); }
@media (max-width: 900px) {
  .tl__row { grid-template-columns: 1fr; gap: 8px; }
  .tl__now { display: none; }
}

/* ---------- Subsidiary ---------- */
.subs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.subs__l { position: sticky; top: calc(var(--hdr-h) + 40px); }
.subs__l .label { margin-bottom: 24px; }
.subs__l .h { margin-bottom: 24px; }
.subs__l p { color: var(--ink-70); margin-bottom: 32px; }
.subs__photo { margin-top: 40px; position: relative; }
.subs__photo .photo-frame img { aspect-ratio: 3 / 2; }
.acc { border-top: 1px solid var(--ink); }
.acc__item { border-bottom: 1px solid var(--ink); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 40px; gap: 16px; align-items: center; padding: 24px 0; text-align: left; }
.acc__btn .n { font-family: var(--mono); font-size: 14px; color: var(--ink-50); }
.acc__btn .t { font-size: 20px; font-weight: 700; line-height: 1.35; }
.acc__btn .pm { width: 40px; height: 40px; border: 1px solid var(--ink); position: relative; transition: background-color .3s, transform .5s var(--ease-out); }
.acc__btn .pm::before, .acc__btn .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); translate: -50% -50%; transition: transform .4s var(--ease-out); }
.acc__btn .pm::after { transform: rotate(90deg); }
.acc__btn:hover .pm { background: var(--yellow); }
.acc__item.is-open .pm { background: var(--yellow); transform: rotate(180deg); }
.acc__item.is-open .pm::after { transform: rotate(0deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { padding: 0 56px 28px 72px; color: var(--ink-70); font-size: 18px; }
.acc__body .mono { display: block; margin-top: 8px; color: var(--ink-50); }
@media (max-width: 900px) {
  .subs { grid-template-columns: 1fr; gap: 48px; }
  .subs__l { position: static; }
  .acc__btn { grid-template-columns: 36px 1fr 40px; gap: 12px; }
  .acc__btn .t { font-size: 18px; }
  .acc__body p { padding: 0 0 24px 48px; font-size: 16px; }
}

/* ---------- Teal defense block ---------- */
.teal { background: var(--teal); color: var(--cream); }
.teal .h, .teal .h-lg, .teal .h-sm { color: var(--cream); }
.defense__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.dcol { border: 1px solid var(--cream-20); padding: var(--card-pad); position: relative; overflow: hidden; transition: border-color .4s; }
.dcol:hover { border-color: var(--cream); }
.dcol__who { font-family: var(--mono); font-size: 14px; color: var(--yellow); margin-bottom: 16px; }
.dcol h3 { font-size: var(--t-h-sm); line-height: 1.2; margin-bottom: 16px; }
.dcol > p { color: var(--cream-70); margin-bottom: 32px; font-size: 18px; }
.dlist li { display: grid; grid-template-columns: 16px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--cream-20); font-size: 18px; line-height: 1.5; }
.dlist li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-top: 10px; transition: transform .4s var(--ease-out); }
.dlist li:hover::before { transform: scale(1.8); }
.dcol__art { position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; opacity: .9; pointer-events: none; }
.dcol__art circle, .dcol__art path, .dcol__art rect { fill: none; stroke: var(--cream-20); stroke-width: 1; }
.dcol__art .spin { transform-origin: 80px 80px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote { margin-top: 80px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.quote__mark { font-size: var(--t-display); font-weight: 700; line-height: .6; color: var(--yellow); }
.quote p { font-size: var(--t-h-sm); line-height: 1.25; font-weight: 700; max-width: 26ch; }
@media (max-width: 900px) {
  .defense__cols { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .quote__mark { display: none; }
}

/* ---------- Scroll-filled statement ---------- */
.statement { font-size: var(--t-h-sm); line-height: 1.3; font-weight: 700; max-width: 30ch; }
.statement .sw { opacity: .16; transition: opacity .3s; }
.statement .sw.on { opacity: 1; }

/* ---------- Arbitration manager ---------- */
.au__hero { position: relative; margin-bottom: 80px; }
.au__photo { position: relative; border: 1px solid var(--ink); overflow: hidden; height: 520px; }
.au__photo img { width: 100%; height: 130%; object-fit: cover; object-position: 50% 35%; will-change: transform; }
.au__badge {
  position: absolute; left: 40px; bottom: -40px; z-index: 2; max-width: 560px;
  background: var(--cream); border: 1px solid var(--ink); padding: 32px 40px;
}
.au__badge .label { margin-bottom: 16px; }
.au__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 120px; }
.au__intro p { color: var(--ink-70); margin-bottom: 24px; }
.au__do { margin-top: 32px; border-top: 1px solid var(--ink); }
.au__do li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink-15); font-size: 18px; }
.au__do li span { font-family: var(--mono); font-size: 14px; color: var(--ink-50); padding-top: 3px; }
.flow { position: relative; padding-left: 64px; }
.flow__line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: var(--ink-15); }
.flow__line i { position: absolute; inset: 0; background: var(--ink); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.flow__step { position: relative; padding: 0 0 40px; }
.flow__step:last-child { padding-bottom: 0; }
.flow__dot {
  position: absolute; left: -64px; top: 0; width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--cream);
  display: grid; place-items: center; font-family: var(--mono); font-size: 14px; transition: background-color .5s, transform .5s var(--ease-out);
}
.flow__step.is-in .flow__dot { background: var(--yellow); transform: rotate(-6deg); }
.flow__step h3 { font-size: var(--t-sub); line-height: 1.3; margin-bottom: 8px; padding-top: 8px; }
.flow__step p { font-size: 16px; color: var(--ink-70); }
.flow__step .mono { display: inline-block; margin-top: 8px; font-size: 12px; border: 1px solid var(--ink); padding: 2px 8px; background: var(--white); }
.indep { margin-top: 48px; border: 1px solid var(--ink); background: var(--white); padding: 32px; display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.indep svg { width: 56px; height: 56px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.indep svg .fill { fill: var(--yellow); }
.indep b { display: block; font-size: 20px; margin-bottom: 8px; }
.indep p { font-size: 16px; color: var(--ink-70); }
.au__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 900px) {
  .au__photo { height: 340px; }
  .au__badge { position: relative; left: 0; bottom: 0; margin: -48px 16px 0; padding: 24px; }
  .au__grid { grid-template-columns: 1fr; gap: 56px; margin-top: 56px; }
  .au__hero { margin-bottom: 0; }
  .indep { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.appr { padding: var(--card-pad); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; overflow: hidden; isolation: isolate; background: var(--cream); }
.appr::after { content: ''; position: absolute; inset: 0; background: var(--white); z-index: -1; transform: translateY(101%); transition: transform .6s var(--ease-out); }
.appr:hover::after { transform: none; }
.appr__n { font-family: var(--mono); font-size: 14px; color: var(--ink-50); margin-bottom: 40px; display: block; }
.appr h3 { font-size: var(--t-sub); line-height: 1.3; margin-bottom: 12px; }
.appr p { font-size: 16px; color: var(--ink-70); }
@media (max-width: 1000px) { .approach { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .approach { grid-template-columns: 1fr; } .appr__n { margin-bottom: 16px; } }

/* ---------- Economics teaser ---------- */
.econ { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }
.econ__num { position: relative; width: 320px; height: 320px; border: 1px solid var(--ink); background: var(--yellow); display: grid; place-items: center; box-shadow: 12px 12px 0 var(--ink); }
.econ__num b { font-size: 200px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.econ__num span { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 14px; }
.econ__num svg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); pointer-events: none; }
.econ__num svg circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 6; }
.econ__num svg .spin { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.econ .label { margin-bottom: 24px; }
.econ h2 { margin-bottom: 24px; }
.econ p { color: var(--ink-70); margin-bottom: 32px; max-width: 58ch; }
.econ__pair { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip { font-family: var(--mono); font-size: 14px; border: 1px solid var(--ink); padding: 6px 14px; background: var(--white); }
.chip--y { background: var(--yellow); }
@media (max-width: 900px) {
  .econ { grid-template-columns: 1fr; gap: 64px; }
  .econ__num { width: 220px; height: 220px; margin: 0 auto; box-shadow: 8px 8px 0 var(--ink); }
  .econ__num b { font-size: 140px; }
}

/* ---------- Blog ---------- */
.blog { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--ink); background: var(--white); text-decoration: none; position: relative; overflow: hidden; }
.blog__txt { padding: 56px; display: flex; flex-direction: column; gap: 24px; }
.blog__txt .h { max-width: 16ch; }
.blog__txt p { color: var(--ink-70); max-width: 44ch; }
.blog__txt .btn { align-self: flex-start; margin-top: 8px; }
.blog__art { border-left: 1px solid var(--ink); background: var(--cream); position: relative; min-height: 420px; overflow: hidden; }
.post {
  position: absolute; left: 40px; right: 40px; background: var(--white); border: 1px solid var(--ink); padding: 16px 20px;
  animation: post-in 12s var(--ease) infinite; opacity: 0;
}
.post b { display: block; font-size: 16px; line-height: 1.35; margin-bottom: 6px; }
.post .mono { font-size: 12px; color: var(--ink-50); display: flex; justify-content: space-between; }
.post:nth-child(1) { top: 40px; animation-delay: 0s; }
.post:nth-child(2) { top: 150px; animation-delay: .6s; left: 72px; }
.post:nth-child(3) { top: 260px; animation-delay: 1.2s; }
.post:nth-child(2) { background: var(--yellow); }
@keyframes post-in {
  0% { opacity: 0; transform: translateY(24px); }
  8%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-12px); }
}
.blog__plane { position: absolute; right: 32px; bottom: 28px; width: 72px; height: 72px; }
.blog__plane path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.blog__plane .fill { fill: var(--yellow); }
.blog:hover .blog__plane { animation: fly 1.2s var(--ease-out); }
@keyframes fly { 50% { transform: translate(40px, -40px) rotate(8deg); opacity: 0; } 51% { transform: translate(-40px, 40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .blog { grid-template-columns: 1fr; }
  .blog__txt { padding: 28px 24px; }
  .blog__art { border-left: 0; border-top: 1px solid var(--ink); min-height: 380px; }
  .post { left: 20px; right: 20px; }
  .post:nth-child(2) { left: 36px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-grid .shead__l { position: sticky; top: calc(var(--hdr-h) + 40px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } .faq-grid .shead__l { position: static; } }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--cream); overflow: hidden; }
.contact .label::before { border-color: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.contact h2 { color: var(--cream); margin: 24px 0 32px; }
.contact p { color: var(--cream-70); max-width: 50ch; margin-bottom: 40px; }
.contact .btn { box-shadow: none; }
.contact .btn:hover { box-shadow: 4px 4px 0 0 var(--cream); }
.clist { border-top: 1px solid var(--cream-20); }
.clist a, .clist div { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--cream-20); text-decoration: none; transition: padding .4s var(--ease-out), color .3s; }
.clist a:hover { padding-left: 12px; color: var(--yellow); }
.clist span { font-family: var(--mono); font-size: 13px; color: var(--cream-70); }
.clist b { font-size: 20px; }
.clist i { font-style: normal; font-size: 20px; transition: transform .4s var(--ease-out); }
.clist a:hover i { transform: translate(4px, -4px); }
.contact .bigword { max-width: none; margin-bottom: 0; margin-top: 120px; font-size: clamp(64px, 17vw, 240px); line-height: .8; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--cream-20); user-select: none; }
.bigword span { display: inline-block; transition: color .5s, -webkit-text-stroke-color .5s; }
.bigword span:hover { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); transition: color 0s; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .clist a, .clist div { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .clist span { grid-column: 1 / -1; }
  .bigword { margin-top: 72px; }
}

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--cream-70); border-top: 1px solid var(--cream-20); padding: 40px 0; font-size: 14px; }
.ftr__in { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.ftr p { max-width: 68ch; }
.ftr a { color: var(--cream); }

/* ---------- About page ---------- */
.ahero { padding: calc(var(--hdr-h) + 72px) 0 var(--section); }
.ahero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.ahero .label { margin-bottom: 32px; }
.ahero h1 { margin-bottom: 32px; }
.ahero .lead { margin-bottom: 40px; }
.ahero__photo { position: relative; padding: 0 24px 24px 0; }
.ahero__photo .photo-frame img { aspect-ratio: 3 / 4; object-position: 50% 20%; }
.ahero__photo .photo-frame__shade { top: 24px; left: 24px; right: 0; bottom: 0; }
.ahero__sig { position: absolute; left: -40px; bottom: 64px; z-index: 3; background: var(--white); border: 1px solid var(--ink); padding: 16px 20px; }
.ahero__sig b { display: block; font-size: 20px; }
.ahero__sig span { font-family: var(--mono); font-size: 12px; color: var(--ink-70); }
@media (max-width: 900px) {
  .ahero { padding-top: calc(var(--hdr-h) + 40px); }
  .ahero__grid { grid-template-columns: 1fr; gap: 48px; }
  .ahero__photo { max-width: 420px; }
  .ahero__sig { left: 12px; bottom: 40px; }
}

.edu { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.edu__card { border: 1px solid var(--ink); background: var(--white); padding: var(--card-pad); position: relative; }
.edu__card--eco { background: var(--yellow); box-shadow: 12px 12px 0 var(--ink); }
.edu__tag { position: absolute; top: -14px; right: 32px; background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 12px; padding: 4px 12px; }
.edu__ic { width: 96px; height: 96px; margin-bottom: 32px; }
.edu__ic * { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.edu__ic .fill { fill: var(--yellow); }
.edu__card--eco .edu__ic .fill { fill: var(--white); }
.edu__ic .drw { stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.edu__card.is-in .edu__ic .drw { stroke-dashoffset: 0; }
.edu__card .mono { color: var(--ink-70); margin-bottom: 8px; display: block; }
.edu__card h3 { font-size: var(--t-h-sm); line-height: 1.2; margin-bottom: 16px; }
.edu__card p { font-size: 18px; color: var(--ink-70); }
.edu__card--eco p { color: var(--ink); }
@media (max-width: 900px) { .edu { grid-template-columns: 1fr; gap: 40px; } .edu__card--eco { box-shadow: 8px 8px 0 var(--ink); } }

.gives { margin-top: 80px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.give { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--ink-15); }
.give:nth-child(odd) { border-right: 1px solid var(--ink-15); }
.give:nth-child(even) { padding-left: 32px; }
.give__n { font-family: var(--mono); font-size: 14px; color: var(--ink-50); padding-top: 4px; }
.give b { display: block; font-size: 20px; line-height: 1.35; margin-bottom: 8px; }
.give p { font-size: 16px; color: var(--ink-70); }
@media (max-width: 900px) {
  .gives { grid-template-columns: 1fr; margin-top: 56px; }
  .give, .give:nth-child(even) { padding: 24px 0; border-right: 0; }
  .give { grid-template-columns: 40px 1fr; }
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cream-20); }
.fact { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--cream-20); }
.fact dt { font-family: var(--mono); font-size: 13px; color: var(--yellow); margin-bottom: 8px; }
.fact dd { font-size: 20px; line-height: 1.4; font-weight: 700; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } .fact { padding: 20px 0; } }

.mosaic { display: grid; grid-template-columns: 1.2fr .8fr 1fr; grid-template-rows: 280px 280px; gap: var(--gap); }
.mosaic figure { position: relative; border: 1px solid var(--ink); overflow: hidden; background: var(--white); }
.mosaic img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.mosaic figure:nth-child(1) { grid-row: 1 / 3; }
.mosaic figure:nth-child(4) { grid-column: 2 / 4; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 12px; background: var(--cream); border: 1px solid var(--ink); padding: 2px 8px; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .mosaic figure:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
  .mosaic figure:nth-child(4) { grid-column: 1 / 3; }
}

.practice-list { border-top: 1px solid var(--ink); }
.practice-list a { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--ink); text-decoration: none; position: relative; isolation: isolate; }
.practice-list a::before { content: ''; position: absolute; inset: 0; background: var(--yellow); z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out); }
.practice-list a:hover::before { transform: scaleY(1); }
.practice-list .n { font-family: var(--mono); font-size: 14px; padding-left: 8px; }
.practice-list b { font-size: var(--t-sub); }
.practice-list i { font-style: normal; font-size: 24px; padding-right: 8px; transition: transform .4s var(--ease-out); }
.practice-list a:hover i { transform: translateX(6px); }
@media (max-width: 680px) { .practice-list a { grid-template-columns: 40px 1fr auto; gap: 12px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .ticker__row { animation: none; }
  .post { opacity: 1; animation: none; }
}
