/* Cases v49 — full redesign: large typography, large cards, archive character. */
:root{
  --bg:#F7F8F4;
  --paper:#FFFFFF;
  --soft:#EDF2E9;
  --warm:#F6EFE9;
  --ink:#20382F;
  --text:#20382F;
  --muted:#56665D;
  --quiet:#53645A;
  --green:#254D3E;
  --line:#D6E0D3;
  --line-strong:#AABAA9;
  --accent:#B94725;
  --accent-ink:#A33F29;
  --radius:22px;
  --shadow:0 2px 3px rgba(32,56,47,.04),0 28px 70px -45px rgba(32,56,47,.4);
  --shell:1280px;
  --gutter:clamp(20px,4vw,42px);
  --font:Onest,system-ui,-apple-system,"Segoe UI",sans-serif;
}
html{scroll-padding-top:170px}
body.cases-v49{
  background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.6;
  --paper:#fff;--surface-soft:var(--soft);--surface-deep:var(--soft);--text:var(--ink);--muted:var(--muted);--quiet:var(--quiet);--line:var(--line);--line-strong:var(--line-strong);--accent:var(--accent);--accent-ink:var(--accent-ink);
}
body.cases-v49 .shell{width:min(var(--shell),calc(100% - 2 * var(--gutter)));margin-inline:auto;padding:0}
body.cases-v49 .site-header{background:rgba(247,248,244,.95);backdrop-filter:blur(16px);border-color:var(--line)}
body.cases-v49 .wordmark{color:var(--ink)}
body.cases-v49 .desktop-nav .is-current{color:var(--ink)}
body.cases-v49 .desktop-nav .is-current::after{background:var(--accent)}
body.cases-v49 .header-cta{color:var(--green);border-color:var(--line-strong);background:transparent;border-radius:11px}
body.cases-v49 .header-cta:hover{background:var(--green);color:#fff;border-color:var(--green)}
body.cases-v49 .page-nav{background:var(--bg);border-color:var(--line);z-index:30}
body.cases-v49 .page-nav__inner{gap:28px}
body.cases-v49 .page-nav a{font-size:12px;color:var(--muted)}
body.cases-v49 .page-nav a:hover{color:var(--ink)}
body.cases-v49 .site-footer{background:var(--green);color:#fff}
body.cases-v49 .site-footer a,body.cases-v49 .site-footer p,body.cases-v49 .site-footer .footer-heading{color:rgba(255,255,255,.82)}
body.cases-v49 .site-footer a:hover{color:#fff}
body.cases-v49 .footer-bottom{border-color:rgba(255,255,255,.2)}
body.cases-v49 .eyebrow{font-family:var(--font);font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--accent-ink);text-transform:none}

/* hero */
body.cases-v49 .case-hero{padding:clamp(42px,6vw,72px) 0 0;background:var(--soft)}
body.cases-v49 .case-hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:clamp(36px,5vw,72px);align-items:start}
body.cases-v49 .case-hero__copy{max-width:850px}
body.cases-v49 .case-hero h1{max-width:11ch;margin:16px 0 0;font-size:clamp(60px,7.4vw,104px);line-height:.94;letter-spacing:-.06em;font-weight:500}
body.cases-v49 .case-hero__lead{max-width:60ch;margin-top:26px;color:var(--muted);font-size:clamp(18px,1.7vw,22px);line-height:1.5}
body.cases-v49 .case-hero__lead p{margin:0}
body.cases-v49 .case-hero__position{max-width:20ch;margin-top:34px;padding-top:20px;border-top:1px solid var(--line-strong);font-size:clamp(28px,3vw,38px);line-height:1.12;letter-spacing:-.035em;color:var(--muted)}
body.cases-v49 .case-hero__position strong{color:var(--accent-ink);font-weight:600}
body.cases-v49 .case-hero__note{max-width:64ch;margin-top:16px;color:var(--muted);font-size:14px;line-height:1.65}
body.cases-v49 .case-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px;margin-top:30px}
body.cases-v49 .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:11px;font-family:var(--font);font-size:14px;font-weight:600;text-decoration:none}
body.cases-v49 .btn--primary{background:var(--green);border:1px solid var(--green);color:#fff}
body.cases-v49 .btn--primary:hover{background:var(--ink);border-color:var(--ink)}
body.cases-v49 .text-link{font-size:13px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}
body.cases-v49 .case-hero__author{margin:20px 0 0;color:var(--quiet);font-size:12px}
body.cases-v49 .case-hero__author strong{color:var(--muted);font-weight:600}
body.cases-v49 .case-hero__facts{background:var(--green);color:#fff;border-radius:24px;padding:26px 26px 10px;box-shadow:var(--shadow)}
body.cases-v49 .case-hero__facts-label{margin:0 0 4px;color:#BFD1C2;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
body.cases-v49 .case-hero__facts ul{list-style:none;margin:0;padding:0}
body.cases-v49 .case-hero__facts li{display:flex;flex-direction:column;padding:18px 0;border-top:1px solid rgba(255,255,255,.18)}
body.cases-v49 .case-hero__facts li:first-child{border-top:0}
body.cases-v49 .case-hero__facts strong{font-size:clamp(38px,4vw,52px);line-height:.95;letter-spacing:-.055em;font-weight:500;color:#fff}
body.cases-v49 .case-hero__facts span{max-width:20ch;margin-top:5px;color:rgba(255,255,255,.72);font-size:12px;line-height:1.45}
body.cases-v49 .case-manifesto{columns:2;column-gap:clamp(32px,5vw,72px);padding:clamp(36px,5vw,58px) 0 clamp(40px,6vw,70px)}
body.cases-v49 .case-manifesto p{break-inside:avoid-column;margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.72}
body.cases-v49 .case-manifesto p:last-child{margin-bottom:0}
body.cases-v49 .case-manifesto p:last-child{font-weight:600;color:var(--ink)}

/* section headings */
body.cases-v49 .section-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.6fr);gap:32px;align-items:end;margin-bottom:clamp(32px,4vw,48px)}
body.cases-v49 .section-head h2{margin:10px 0 0;font-size:clamp(40px,4.8vw,62px);line-height:1;letter-spacing:-.05em;font-weight:500}
body.cases-v49 .section-head>p{max-width:50ch;margin:0;color:var(--muted);font-size:15px;line-height:1.65}

/* featured */
body.cases-v49 .featured{padding:clamp(58px,7vw,92px) 0;background:var(--bg);border-top:1px solid var(--line)}
body.cases-v49 .feature--flagship{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:0;background:var(--paper);border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
body.cases-v49 .feature__copy{padding:clamp(26px,3.4vw,44px);display:flex;flex-direction:column;justify-content:center}
body.cases-v49 .feature__copy h2{max-width:14ch;margin:12px 0 0;font-size:clamp(34px,3.8vw,48px);line-height:1.03;letter-spacing:-.045em;font-weight:500}
body.cases-v49 .feature__copy>p{margin-top:16px;color:var(--muted);font-size:15px;line-height:1.65}
body.cases-v49 .flagship-case__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
body.cases-v49 .flagship-case__facts dt{font-size:10px;color:var(--quiet)}
body.cases-v49 .flagship-case__facts dd{margin:4px 0 0;font-size:13px;line-height:1.45}
body.cases-v49 .flagship-case__note{margin-top:16px;font-size:11px;color:var(--quiet)}
body.cases-v49 .feature__media{padding:18px;background:var(--soft)}
body.cases-v49 .feature__media figure{margin:0;height:100%;display:flex;flex-direction:column;justify-content:center}
body.cases-v49 .feature__media img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;border-radius:10px}
body.cases-v49 .feature__media figcaption{margin-top:9px;color:var(--quiet);font-size:10px;line-height:1.4}
body.cases-v49 .feature-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
body.cases-v49 .feature--case{padding:clamp(24px,2.7vw,34px);border:1px solid var(--line);border-radius:24px;background:var(--paper);display:flex;flex-direction:column;min-height:390px;box-shadow:var(--shadow)}
body.cases-v49 .feature--case .eyebrow{color:var(--accent-ink)}
body.cases-v49 .feature--case h3{margin:14px 0 0;font-size:clamp(30px,3.2vw,40px);line-height:1.02;letter-spacing:-.045em;font-weight:500}
body.cases-v49 .feature--case>p:not(.eyebrow){margin:16px 0 0;max-width:38ch;color:var(--muted);font-size:14px;line-height:1.6}
body.cases-v49 .feature__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
body.cases-v49 .feature__stats strong{display:block;font-size:22px;line-height:1;letter-spacing:-.03em;font-weight:600;color:var(--ink)}
body.cases-v49 .feature__stats span{display:block;margin-top:5px;font-size:10px;line-height:1.35;color:var(--quiet)}
body.cases-v49 .feature__link{margin-top:auto;padding-top:22px;font-size:12px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px;align-self:flex-start}
body.cases-v49 .feature--green{background:var(--green);border-color:var(--green);color:#fff}
body.cases-v49 .feature--green .eyebrow{color:#E4A38E}
body.cases-v49 .feature--green h3{color:#fff}
body.cases-v49 .feature--green>p:not(.eyebrow){color:rgba(255,255,255,.76)}
body.cases-v49 .feature--green .feature__stats{border-color:rgba(255,255,255,.22)}
body.cases-v49 .feature--green .feature__stats strong{color:#fff}
body.cases-v49 .feature--green .feature__stats span{color:rgba(255,255,255,.68)}
body.cases-v49 .feature--green .feature__link{color:#fff}

/* open case */
body.cases-v49 .case-story{background:var(--paper);border-top:1px solid var(--line);padding:clamp(58px,7vw,92px) 0}
body.cases-v49 .case-story>.shell{width:min(var(--shell),calc(100% - 2 * var(--gutter)))}
body.cases-v49 .case-report__header{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.55fr);gap:32px;align-items:end}
body.cases-v49 .case-report__header h2{max-width:16ch;margin:12px 0 0;font-size:clamp(42px,5vw,64px);line-height:1;letter-spacing:-.055em;font-weight:500}
body.cases-v49 .case-report__header>p{max-width:38ch;margin:0;color:var(--muted);font-size:15px;line-height:1.6}
body.cases-v49 .case-report__modes{display:flex;gap:8px;margin-top:24px}
body.cases-v49 .case-report__modes button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
body.cases-v49 .case-report__modes button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
body.cases-v49 .case-report__visual{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:20px;margin-top:34px;align-items:stretch}
body.cases-v49 .case-report__figure{margin:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
body.cases-v49 .case-report__figure img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;border-radius:8px}
body.cases-v49 .case-report__figure figcaption{padding:9px 2px 0;color:var(--quiet);font-size:10px;line-height:1.45}
body.cases-v49 .case-report__metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
body.cases-v49 .case-report__metrics>div{display:flex;flex-direction:column;justify-content:center;min-height:100px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
body.cases-v49 .case-report__metrics dt{font-size:10px;color:var(--quiet)}
body.cases-v49 .case-report__metrics dd{margin:7px 0 0;font-size:clamp(22px,2.2vw,30px);line-height:1;letter-spacing:-.04em;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
body.cases-v49 .case-report__story{display:grid;grid-template-columns:1fr 1fr;gap:30px 56px;margin-top:50px;padding-top:36px;border-top:1px solid var(--line)}
body.cases-v49 .case-report__story section{max-width:none}
body.cases-v49 .case-report__label{font-size:11px;font-weight:600;color:var(--accent-ink)}
body.cases-v49 .case-report__story h3,body.cases-v49 .case-report__subhead h3{max-width:22ch;margin:8px 0 0;font-size:clamp(23px,2.5vw,31px);line-height:1.15;letter-spacing:-.03em;font-weight:550}
body.cases-v49 .case-report__story section>p:last-child,body.cases-v49 .case-report__story li{margin-top:10px;color:var(--muted);font-size:14px;line-height:1.65}
body.cases-v49 .case-report__story ul{margin-top:12px;padding-left:17px}
body.cases-v49 .case-report__timeline{margin-top:48px;padding-top:36px;border-top:1px solid var(--line)}
body.cases-v49 .case-report__subhead{margin-bottom:20px}
body.cases-v49 .table-scroll{border:1px solid var(--line);border-radius:14px;overflow-x:auto}
body.cases-v49 .case-report table{width:100%;border-collapse:collapse;font-size:12px}
body.cases-v49 .case-report th,body.cases-v49 .case-report td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:center}
body.cases-v49 .case-report thead th{background:var(--soft);color:var(--quiet);font-size:10px;font-weight:600}
body.cases-v49 .case-report tbody tr:last-child>*{border-bottom:0}
body.cases-v49 .case-report tr>:first-child{text-align:left}
body.cases-v49 .case-report tbody th{font-weight:600}
body.cases-v49 .case-report__conclusion{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:34px}
body.cases-v49 .case-report__conclusion section{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
body.cases-v49 .case-report__conclusion section>p:last-child{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6}
body.cases-v49 .case-report__pane[hidden]{display:none}
body.cases-v49 .case-report__pane[data-pane="mistake"]{padding-top:0}
body.cases-v49 .anti-case__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
body.cases-v49 .anti-case__facts section{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
body.cases-v49 .anti-case__facts span{color:var(--accent-ink);font-size:11px;font-weight:600}
body.cases-v49 .anti-case__facts p{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6}

/* project index */
body.cases-v49 .project-index{background:var(--soft);padding:clamp(58px,7vw,92px) 0;border-top:1px solid var(--line)}
body.cases-v49 .case-filter{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-bottom:24px}
body.cases-v49 .case-filter__buttons{display:flex;flex-wrap:wrap;gap:6px}
body.cases-v49 .case-filter button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--chrome-radius-control,12px);background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
body.cases-v49 .case-filter button.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
body.cases-v49 .case-filter__status{margin-left:auto;color:var(--quiet);font-size:12px}
body.cases-v49 .case-filter__status strong{color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums}
body.cases-v49 .case-filter__empty{padding:30px 0;color:var(--muted);font-size:15px}
body.cases-v49 .project-register{display:flex;flex-direction:column;gap:16px}
body.cases-v49 .case-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.62fr);gap:20px 28px;padding:clamp(20px,2.5vw,28px);background:var(--paper);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
body.cases-v49 .case-card[hidden]{display:none}
body.cases-v49 .case-card__head{grid-column:1/-1;position:relative;display:block;min-width:0;padding-right:44px;order:-2}
body.cases-v49 .case-card__num{position:absolute;right:0;top:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;color:var(--accent-ink);font-size:10px;font-variant-numeric:tabular-nums}
body.cases-v49 .case-card__identity{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0}
body.cases-v49 .project-row__identity{display:contents}
body.cases-v49 .project-row__identity>p{width:100%;margin:0;color:var(--ink);font-size:18px;font-weight:650;line-height:1.2}
body.cases-v49 .project-row__identity>span{color:var(--quiet);font-size:11px}
body.cases-v49 .project-row__role{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:10px}
body.cases-v49 .case-card__content{min-width:0;display:flex;flex-direction:column}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content{grid-column:1/-1}
body.cases-v49 .case-card__content h3{max-width:19ch;margin:0;font-size:clamp(28px,2.8vw,38px);line-height:1.05;letter-spacing:-.04em;font-weight:500}
body.cases-v49 .case-card__content .project-row__more{margin-top:12px}
body.cases-v49 .case-card__content .project-row__more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;color:var(--accent-ink);font-size:12px;font-weight:600;cursor:pointer;list-style:none}
body.cases-v49 .case-card__content .project-row__more>summary::-webkit-details-marker{display:none}
body.cases-v49 .case-card__content .project-row__more>summary::after{content:"+";font-size:18px;line-height:1;font-weight:400}
body.cases-v49 .case-card__content .project-row__more[open]>summary::after{content:"–"}
body.cases-v49 .case-card__content .project-row__more dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:8px 0 0;padding-top:12px;border-top:1px solid var(--line)}
body.cases-v49 .case-card__content .project-row__more dt{color:var(--accent-ink);font-size:10px;font-weight:600}
body.cases-v49 .case-card__content .project-row__more dd{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
body.cases-v49 .case-card__content .project-row__metrics{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:16px 0 0;padding-top:12px;border-top:1px solid var(--line);color:var(--quiet);font-size:11px}
body.cases-v49 .case-card__content .project-row__metrics strong{width:100%;color:var(--ink);font-size:22px;line-height:1.1;letter-spacing:-.03em;font-weight:600}
body.cases-v49 .case-card__content>.text-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;align-self:flex-start;font-size:12px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
body.cases-v49 .case-card__content .project-row__links{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:12px}
body.cases-v49 .case-card__content .project-row__links a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
body.cases-v49 .project-row__proof{order:0;margin:0;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
body.cases-v49 .project-row__proof a{display:block}
body.cases-v49 .project-row__proof img{display:block;width:100%;height:220px;object-fit:contain}
body.cases-v49 .project-row__proof figcaption{padding:7px 2px 0;color:var(--quiet);font-size:10px}
body.cases-v49 .project-more{margin-top:24px}
body.cases-v49 .project-more .text-link{font-size:13px}


/* text-only projects: use the right side for prominent numbers, not empty space */
body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:10px 42px;align-items:start}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content h3{grid-column:1;grid-row:1}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__more{grid-column:1;grid-row:2}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{grid-column:2;grid-row:1 / span 2;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;padding:20px 22px;border:0;border-radius:16px;background:var(--soft)}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{width:auto;font-size:clamp(28px,2.6vw,36px);line-height:1.05;color:var(--green)}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics span{font-size:12px;line-height:1.45}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content>.text-link{grid-column:1;grid-row:3;margin-top:4px}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__links{grid-column:1;grid-row:4}
body.cases-v49 .project-row__proof img{height:300px}

/* archive */
body.cases-v49 .growth-archive{padding:clamp(58px,7vw,92px) 0;background:var(--bg);border-top:1px solid var(--line)}
body.cases-v49 .evidence-group+.evidence-group{margin-top:64px}
body.cases-v49 .evidence-head{display:flex;flex-wrap:wrap;align-items:end;gap:6px 20px;padding-bottom:16px;border-bottom:1px solid var(--line-strong)}
body.cases-v49 .evidence-head .eyebrow{width:100%;margin:0}
body.cases-v49 .evidence-head h3{max-width:20ch;margin:0;font-size:clamp(28px,3vw,38px);line-height:1.05;letter-spacing:-.04em;font-weight:500}
body.cases-v49 .evidence-head>span{margin-left:auto;color:var(--quiet);font-size:12px}
body.cases-v49 .evidence-note{margin:12px 0 0;color:var(--quiet);font-size:12px;line-height:1.55}
body.cases-v49 .evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
body.cases-v49 .evidence-card{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}
body.cases-v49 .evidence-card figure{margin:0;padding:7px;border:1px solid var(--line);border-radius:11px;background:var(--soft)}
body.cases-v49 .evidence-card figure img{display:block;width:100%;height:260px;object-fit:contain}
body.cases-v49 .evidence-card figcaption{padding:5px 2px 0;color:var(--quiet);font-size:9px}
body.cases-v49 .evidence-card>div{padding:2px 2px 4px}
body.cases-v49 .evidence-card>div>p:first-child,body.cases-v49 .evidence-card>div>p{color:var(--accent-ink);font-size:10px;font-weight:600;line-height:1.4}
body.cases-v49 .evidence-card h4{max-width:24ch;margin:5px 0 0;font-size:clamp(22px,2.2vw,28px);line-height:1.1;letter-spacing:-.03em;font-weight:500}
body.cases-v49 .evidence-card>div>span{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.55}
body.cases-v49 .evidence-card>div>strong{display:block;margin-top:12px;color:var(--ink);font-size:24px;line-height:1;letter-spacing:-.035em;font-weight:600;font-variant-numeric:tabular-nums}
body.cases-v49 .evidence-card dl{display:flex;flex-wrap:wrap;gap:8px 22px;margin:8px 0 0;padding-top:8px;border-top:1px solid var(--line)}
body.cases-v49 .evidence-card dt{color:var(--quiet);font-size:9px}
body.cases-v49 .evidence-card dd{margin:3px 0 0;color:var(--ink);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}

/* geography */
body.cases-v49 .geo{padding:clamp(58px,7vw,92px) 0;background:var(--soft);border-top:1px solid var(--line)}
body.cases-v49 .geo__layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:clamp(28px,4vw,52px);align-items:start}
body.cases-v49 .geo__figure{margin:0;padding:10px;border:1px solid var(--line);border-radius:20px;background:var(--paper)}
body.cases-v49 .geo-map{position:relative;overflow:hidden}
body.cases-v49 .geo__figure .geo-map{position:relative}
body.cases-v49 .geo__figure .geo-map>img{display:block;width:100%;height:auto}
body.cases-v49 .geo__figure figcaption{display:flex;flex-wrap:wrap;gap:8px 18px;padding:8px 2px 0;color:var(--quiet);font-size:10px}
body.cases-v49 .geo__figure figcaption span::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--accent)}
body.cases-v49 .geo__figure figcaption span+span::before{background:#6E8F7C}
body.cases-v49 .geo__places{border-top:1px solid var(--line-strong)}
body.cases-v49 .geo__places section{padding:14px 0;border-bottom:1px solid var(--line)}
body.cases-v49 .geo__places h3{font-size:15px;font-weight:600}
body.cases-v49 .geo__places p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.65}
body.cases-v49 .client-line{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:34px;padding-top:20px;border-top:1px solid var(--line-strong)}
body.cases-v49 .client-line>span{color:var(--accent-ink);font-size:11px;font-weight:600}
body.cases-v49 .client-line>ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
body.cases-v49 .client-line li{padding:6px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px;background:var(--paper)}
body.cases-v49 .client-line>p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}
body.cases-v49 .geo-map__dot{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--accent);transform:translate(-50%,-50%)}
body.cases-v49 .geo-map__dot--lg{width:13px;height:13px;background:var(--green)}
body.cases-v49 .geo-map__dot--asia{background:#6E8F7C}
body.cases-v49 .geo-map__label{position:absolute;color:#1F352B;font-size:9.5px;line-height:1.25;letter-spacing:.01em;white-space:nowrap;transform:translate(-50%,-150%);text-shadow:0 0 2px #fff,0 0 2px #fff,0 0 3px #fff,0 1px 2px rgba(255,255,255,.9);pointer-events:none}
/* подписи на карте лежат и на чёрной суше, и на светлом фоне: в тёмной теме
   нужен обратный контур, иначе текст пропадает */
html[data-theme-effective="dark"] body.cases-v49 .geo-map__label,
html[data-color-scheme="dark"] body.cases-v49 .geo-map__label{color:#E9EEE7;text-shadow:0 0 2px #0d0f0b,0 0 2px #0d0f0b,0 0 3px #0d0f0b,0 1px 2px rgba(0,0,0,.85)}

/* quotes */
body.cases-v49 .quotes{padding:clamp(58px,7vw,92px) 0;background:var(--bg);border-top:1px solid var(--line)}
body.cases-v49 .quote-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:16px;align-items:start}
body.cases-v49 .quote-grid>article{display:flex;flex-direction:column;padding:clamp(22px,2.8vw,32px);border:1px solid var(--line);border-radius:22px;background:var(--paper);min-width:0}
body.cases-v49 .quote-grid blockquote{margin:0;max-width:100%;font-size:clamp(20px,2.1vw,27px);line-height:1.35;letter-spacing:-.02em;color:var(--ink);overflow-wrap:anywhere}
body.cases-v49 .quote-grid footer{display:grid;gap:3px;margin-top:22px;padding-left:12px;border-left:2px solid var(--accent)}
body.cases-v49 .quote-grid footer strong{font-size:12px;font-weight:600}
body.cases-v49 .quote-grid footer span,body.cases-v49 .quote-grid footer small{color:var(--muted);font-size:11px}
body.cases-v49 .quote-grid small a{color:var(--muted);text-decoration:underline}
body.cases-v49 .quote-grid>article.testimonial-list__feature{background:var(--green);border-color:var(--green);color:#fff}
body.cases-v49 .quote-grid>article.testimonial-list__feature blockquote{color:#fff;font-size:clamp(28px,3.1vw,40px);line-height:1.18;letter-spacing:-.04em}
body.cases-v49 .quote-grid>article.testimonial-list__feature footer{border-color:rgba(255,255,255,.4)}
body.cases-v49 .quote-grid>article.testimonial-list__feature footer strong{color:#fff}
body.cases-v49 .quote-grid>article.testimonial-list__feature footer span,body.cases-v49 .quote-grid>article.testimonial-list__feature footer small{color:rgba(255,255,255,.72)}
body.cases-v49 .quote-grid>article.testimonial-list__feature small a{color:#fff}
/* reads */
body.cases-v49 .case-reads{padding:clamp(50px,6vw,72px) 0;background:var(--surface-warm);border-top:1px solid var(--line)}
body.cases-v49 .case-reads .section-head{margin-bottom:24px}
body.cases-v49 .read-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
body.cases-v49 .read-grid li{padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
body.cases-v49 .read-grid .text-link{display:block;font-size:15px;line-height:1.35;color:var(--ink);text-decoration:none;font-weight:550}
body.cases-v49 .read-grid .text-link:hover{color:var(--accent-ink)}
body.cases-v49 .read-grid li>span{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.45}

/* contact */
body.cases-v49 .case-contact{padding:clamp(54px,7vw,86px) 0;background:var(--warm);border-top:1px solid var(--line)}
body.cases-v49 .case-contact__layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(360px,1.2fr);gap:clamp(28px,5vw,64px);align-items:start}
body.cases-v49 .contact-copy h2{max-width:12ch;margin:10px 0 0;font-size:clamp(36px,4.4vw,54px);line-height:1.02;letter-spacing:-.045em;font-weight:500}
body.cases-v49 .contact-copy p:not(.eyebrow){max-width:42ch;margin-top:16px;color:var(--muted);font-size:14px;line-height:1.65}
body.cases-v49 .direct-link{display:inline-flex;align-items:center;gap:6px;margin-top:20px;font-size:13px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
body.cases-v49 .contact-form{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow)}
body.cases-v49 .contact-form .field{margin-bottom:12px}
body.cases-v49 .contact-form label{display:block;margin-bottom:5px;font-size:11px;color:var(--muted)}
body.cases-v49 .contact-form input,body.cases-v49 .contact-form textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:9px;background:var(--bg);color:var(--ink);font:inherit;font-size:14px}
body.cases-v49 .contact-form textarea{min-height:110px;resize:vertical}
body.cases-v49 .contact-form .form-row{display:grid;gap:0}
body.cases-v49 .contact-form .consent{display:flex;align-items:flex-start;gap:7px;margin:10px 0 14px;font-size:11px;color:var(--muted)}
body.cases-v49 .contact-form .consent input{width:auto;min-height:0;margin-top:2px}
body.cases-v49 .contact-form .form-submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:1px solid var(--green);border-radius:9px;background:var(--green);color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
body.cases-v49 .contact-form .form-submit:hover{background:var(--ink);border-color:var(--ink)}
body.cases-v49 .field-hint,body.cases-v49 .field-error{display:block;margin-top:4px;font-size:10px;color:var(--quiet)}
body.cases-v49 .field-error:empty{display:none}
body.cases-v49 .form-status{min-height:0;margin:8px 0 0;font-size:12px;color:var(--accent-ink)}

/* back to top */
body.cases-v49 .back-to-top{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid var(--line-strong);border-radius:999px;background:var(--paper);color:var(--ink);font-size:11px;box-shadow:var(--shadow)}
body.cases-v49 .back-to-top span:last-child{font-size:14px;line-height:1}

/* responsive */
@media(max-width:1080px){
  body.cases-v49 .case-hero__grid{grid-template-columns:1fr;gap:28px}
  body.cases-v49 .case-hero__facts{max-width:560px}
  body.cases-v49 .case-hero__facts ul{display:grid;grid-template-columns:repeat(3,1fr)}
  body.cases-v49 .case-hero__facts li{border-top:0;border-left:1px solid rgba(255,255,255,.18);padding:0 14px}
  body.cases-v49 .case-hero__facts li:first-child{border-left:0;padding-left:0}
  body.cases-v49 .case-hero__facts strong{font-size:32px}
  body.cases-v49 .case-manifesto{columns:1;max-width:760px}
  body.cases-v49 .section-head{grid-template-columns:1fr;gap:12px;align-items:start}
  body.cases-v49 .feature--flagship{grid-template-columns:1fr}
  body.cases-v49 .feature-pair{grid-template-columns:1fr}
  body.cases-v49 .feature--case{min-height:0}
  body.cases-v49 .case-report__header{grid-template-columns:1fr;gap:14px}
  body.cases-v49 .case-report__header>p{max-width:60ch}
  body.cases-v49 .case-report__visual{grid-template-columns:1fr}
  body.cases-v49 .case-report__metrics{grid-template-columns:repeat(4,1fr)}
  body.cases-v49 .case-report__story{grid-template-columns:1fr;gap:22px}
  body.cases-v49 .case-card{grid-template-columns:1fr}
  body.cases-v49 .project-row__proof{order:-1}
  body.cases-v49 .project-row__proof img{height:260px}
  body.cases-v49 .evidence-grid{grid-template-columns:1fr}
  body.cases-v49 .geo__layout{grid-template-columns:1fr}
  body.cases-v49 .quote-grid{grid-template-columns:1fr}
  body.cases-v49 .case-contact__layout{grid-template-columns:1fr}
  body.cases-v49 .case-contact__layout .contact-copy{max-width:620px}
  body.cases-v49 .read-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.cases-v49 .page-nav__inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100% - 40px);margin-inline:auto;gap:2px 8px;padding:7px 0;overflow:visible}
  body.cases-v49 .page-nav__inner a{display:flex;align-items:center;min-height:36px;margin:0;padding:0;font-size:10px;white-space:nowrap}
  body.cases-v49 .case-hero{padding-top:30px}
  body.cases-v49 .case-hero h1{font-size:clamp(44px,13vw,64px);max-width:9ch}
  body.cases-v49 .case-hero__lead{font-size:17px}
  body.cases-v49 .case-hero__position{font-size:28px;margin-top:26px}
  body.cases-v49 .case-hero__actions{display:grid;gap:12px}
  body.cases-v49 .case-hero__actions .btn{width:100%}
  body.cases-v49 .case-hero__facts{padding:20px}
  body.cases-v49 .case-hero__facts ul{grid-template-columns:1fr}
  body.cases-v49 .case-hero__facts li{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding:14px 0}
  body.cases-v49 .case-hero__facts li:first-child{border-top:0;padding-top:0}
  body.cases-v49 .case-hero__facts strong{font-size:38px}
  body.cases-v49 .case-manifesto{padding-block:28px 36px}
  body.cases-v49 .section-head h2{font-size:clamp(34px,9vw,44px)}
  body.cases-v49 .featured,body.cases-v49 .case-story,body.cases-v49 .project-index,body.cases-v49 .growth-archive,body.cases-v49 .geo,body.cases-v49 .quotes,body.cases-v49 .case-contact{padding-block:44px}
  body.cases-v49 .feature__copy{padding:20px}
  body.cases-v49 .feature__copy h2{font-size:32px}
  body.cases-v49 .flagship-case__facts{grid-template-columns:1fr;gap:8px}
  body.cases-v49 .feature-pair{gap:12px}
  body.cases-v49 .feature--case{padding:20px;border-radius:18px}
  body.cases-v49 .feature--case h3{font-size:31px}
  body.cases-v49 .feature__stats{gap:8px}
  body.cases-v49 .feature__stats strong{font-size:19px}
  body.cases-v49 .case-report__header h2{font-size:34px}
  body.cases-v49 .case-report__metrics{grid-template-columns:1fr 1fr}
  body.cases-v49 .case-report__metrics dd{font-size:23px}
  body.cases-v49 .case-report__figure img{max-height:300px}
  body.cases-v49 .case-report__conclusion{grid-template-columns:1fr}
  body.cases-v49 .anti-case__facts{grid-template-columns:1fr}
  body.cases-v49 .case-card{padding:16px;border-radius:18px}
  body.cases-v49 .case-card__content h3{font-size:27px}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content{grid-template-columns:1fr}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{grid-column:1;grid-row:auto;align-self:stretch;flex-direction:row;flex-wrap:wrap;margin-top:10px}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{font-size:24px}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content>.text-link{grid-column:1;grid-row:auto}
  body.cases-v49 .case-card__content .project-row__more dl{grid-template-columns:1fr}
  body.cases-v49 .project-row__proof img{height:240px}
  body.cases-v49 .case-filter__buttons{flex-wrap:wrap;overflow:visible;width:100%;gap:6px}
  body.cases-v49 .case-filter button{flex:0 0 auto;min-height:44px;min-width:44px;padding:0 12px;font-size:12px}
  body.cases-v49 .case-filter__status{width:100%;margin-left:0}
  body.cases-v49 .evidence-card figure img{height:210px}
  body.cases-v49 .evidence-card h4{font-size:23px}
  body.cases-v49 .quote-grid .testimonial-list__feature blockquote{font-size:28px}
  body.cases-v49 .case-reads{padding-block:38px}
  body.cases-v49 .contact-form{padding:16px}
  body.cases-v49 .back-to-top{right:12px;bottom:12px}
}


/* ── v2 polish: depth, larger proof, states ── */
body.cases-v49{--muted:#4F6057;--quiet:#53645A;--line:#CDD9CB;--line-strong:#9DB09F}
body.cases-v49 .wordmark{font-size:23px;font-weight:800;letter-spacing:-.065em}
body.cases-v49 .site-header{box-shadow:0 1px 0 var(--line)}
body.cases-v49 .case-hero{background:linear-gradient(180deg,#EEF3EB 0%,#F7F8F4 92%)}
body.cases-v49 .case-hero__facts{position:relative;overflow:hidden;background:linear-gradient(155deg,#2B5847 0%,#1D3D31 100%);box-shadow:0 32px 70px -42px rgba(18,50,39,.75)}
body.cases-v49 .case-hero__facts::before{content:"";position:absolute;left:20px;top:26px;bottom:26px;width:1px;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0))}
body.cases-v49 .case-hero__facts-label{padding-left:14px;color:#D9E6DA;letter-spacing:.12em}
body.cases-v49 .case-hero__facts strong{font-family:var(--font);font-size:clamp(48px,5.3vw,68px);letter-spacing:-.065em;font-weight:500;line-height:.9;text-shadow:0 1px 0 rgba(0,0,0,.08)}
body.cases-v49 .case-hero__facts span{padding-left:0;color:rgba(255,255,255,.78);font-size:13px}
body.cases-v49 .case-hero__facts li{padding-left:14px}
body.cases-v49 .case-principle{max-width:860px;margin:0 0 clamp(34px,5vw,58px);padding:0 0 0 22px;border-left:2px solid var(--accent);font-size:clamp(28px,3.3vw,44px);line-height:1.02;letter-spacing:-.045em;font-weight:500;color:var(--green)}
body.cases-v49 .case-manifesto p:last-child{color:var(--muted);font-weight:400}
body.cases-v49 h1,body.cases-v49 h2{text-wrap:balance}
body.cases-v49 .section-head .eyebrow,body.cases-v49 .case-hero .eyebrow{letter-spacing:.09em;text-transform:uppercase;font-size:11px}
body.cases-v49 .case-card{padding:clamp(24px,2.8vw,32px);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body.cases-v49 .case-card:hover{transform:translateY(-3px);border-color:#AFC0AF;box-shadow:0 3px 4px rgba(32,56,47,.05),0 30px 72px -44px rgba(32,56,47,.55)}
body.cases-v49 .case-card__num{transition:background .2s ease,color .2s ease,border-color .2s ease}
body.cases-v49 .case-card:hover .case-card__num{background:var(--accent);border-color:var(--accent);color:#fff}
body.cases-v49 .case-card__content h3{letter-spacing:-.045em;transition:color .2s ease}
body.cases-v49 .case-card:hover .case-card__content h3{color:var(--green)}
body.cases-v49 .project-row__proof{transition:border-color .2s ease,background .2s ease}
body.cases-v49 .case-card:hover .project-row__proof{border-color:#B9C9B8;background:#E7EEE4}
body.cases-v49 .project-row__proof img{height:340px}
body.cases-v49 .project-register{counter-reset:case-card}
body.cases-v49 .case-card{counter-increment:case-card}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content{grid-template-columns:minmax(0,1fr) 360px;column-gap:48px}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{position:relative;padding:26px 24px 22px;background:linear-gradient(145deg,#EDF3E9,#E4ECE0);border:1px solid #D2DED0}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics::before{content:counter(case-card,decimal-leading-zero);display:block;margin-bottom:22px;font-family:var(--font);font-size:clamp(54px,5vw,76px);line-height:.8;letter-spacing:-.08em;color:rgba(37,77,62,.22)}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{font-family:var(--font);font-size:clamp(24px,2.3vw,32px);letter-spacing:-.05em;color:var(--green)}
body.cases-v49 .case-card__num{font-family:var(--font);font-size:11px}
body.cases-v49 .feature__stats strong,body.cases-v49 .case-report__metrics dd,body.cases-v49 .evidence-card>div>strong,body.cases-v49 .feature--case h3{font-family:Onest,sans-serif}
body.cases-v49 .feature__stats strong{font-family:var(--font);font-size:24px;letter-spacing:-.05em}
body.cases-v49 .case-report__metrics dd{font-family:var(--font);letter-spacing:-.05em}
body.cases-v49 .evidence-card>div>strong{font-family:var(--font);letter-spacing:-.04em}
body.cases-v49 .evidence-card figure img{height:280px;transition:transform .25s ease}
body.cases-v49 .evidence-card:hover figure img{transform:scale(1.025)}
body.cases-v49 .evidence-grid{gap:18px}
body.cases-v49 .btn,body.cases-v49 .case-filter button,body.cases-v49 .case-report__modes button,body.cases-v49 .page-nav a,body.cases-v49 .text-link{transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
body.cases-v49 .btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px -12px rgba(20,55,40,.45)}
body.cases-v49 .case-filter button:hover{border-color:#8FA48F;color:var(--ink)}
body.cases-v49 .case-filter button.is-active{background:var(--green);border-color:var(--green)}
body.cases-v49 .page-nav{box-shadow:0 10px 24px -22px rgba(32,56,47,.5);background:rgba(247,248,244,.96);backdrop-filter:blur(14px)}
body.cases-v49 .page-nav a{position:relative;padding:14px 0}
body.cases-v49 .page-nav a[aria-current="true"]{color:var(--ink);font-weight:600}
body.cases-v49 .page-nav a[aria-current="true"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--accent)}
body.cases-v49 .project-row__more[open] dl{animation:detailIn .28s ease both}
@keyframes detailIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
body.cases-v49 .case-card.is-filtering{animation:cardIn .44s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--stagger) * 28ms)}
@keyframes cardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
body.cases-v49 .case-lightbox{width:min(1180px,calc(100% - 32px));max-height:calc(100vh - 32px);padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--ink);box-shadow:0 40px 90px -40px rgba(20,44,34,.6)}
body.cases-v49 .case-lightbox::backdrop{background:rgba(24,49,39,.55);backdrop-filter:blur(4px)}
body.cases-v49 .case-lightbox__img{display:block;width:100%;height:auto;max-height:calc(100vh - 160px);object-fit:contain;border-radius:10px;background:#fff}
body.cases-v49 .case-lightbox__caption{margin:9px 2px 0;color:var(--muted);font-size:12px;line-height:1.45}
body.cases-v49 .case-lightbox__close{position:absolute;right:16px;top:12px;z-index:2;width:40px;height:40px;border:1px solid var(--line-strong);border-radius:50%;background:var(--paper);color:var(--ink);font-size:24px;line-height:1;cursor:pointer}
@media(prefers-reduced-motion:reduce){
  body.cases-v49 .case-card,body.cases-v49 .btn,body.cases-v49 .case-filter button,body.cases-v49 .case-card__num,body.cases-v49 .case-card__content h3,body.cases-v49 .evidence-card figure img{transition:none!important}
  body.cases-v49 .case-card:hover,body.cases-v49 .btn:hover{transform:none}
  body.cases-v49 .case-card.is-filtering,body.cases-v49 .project-row__more[open] dl{animation:none!important}
}
@media(max-width:1080px){
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content{grid-template-columns:1fr}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{grid-column:1;grid-row:auto;flex-direction:row;flex-wrap:wrap;margin-top:8px}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics::before{display:none}
  body.cases-v49 .project-row__proof img{height:300px}
}
@media(max-width:760px){
  body.cases-v49 .case-hero__facts strong{font-size:52px}
  body.cases-v49 .case-principle{font-size:32px;margin-bottom:34px}
  body.cases-v49 .case-card{padding:18px}
  body.cases-v49 .project-row__proof img{height:250px}
  body.cases-v49 .evidence-card figure img{height:220px}
  body.cases-v49 .case-lightbox{padding:10px;border-radius:12px}
  body.cases-v49 .case-lightbox__caption{font-size:11px}
}
body.cases-v49 .case-card.is-leaving{animation:cardOut .14s ease both}
@keyframes cardOut{to{opacity:0;transform:translateY(-4px)}}
body.cases-v49 [data-heading-tag]{max-width:none!important}

/* timeline chart + table */
body.cases-v49 .case-report__timeline{margin-top:48px;padding-top:36px}
body.cases-v49 .timeline-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.45fr);gap:28px;align-items:end;margin-bottom:16px}
body.cases-v49 .timeline-head h3{max-width:20ch;margin:8px 0 0;font-size:clamp(28px,3vw,38px);line-height:1.05;letter-spacing:-.04em;font-weight:500}
body.cases-v49 .timeline-summary{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
body.cases-v49 .timeline-summary strong{color:var(--ink);font-family:var(--font);font-weight:500}
body.cases-v49 .timeline-legend{display:flex;gap:18px;margin:0 0 12px;color:var(--quiet);font-size:11px}
body.cases-v49 .timeline-legend span{display:inline-flex;align-items:center;gap:7px}
body.cases-v49 .timeline-key{display:inline-block;width:18px;height:8px;border-radius:2px}
body.cases-v49 .timeline-key--views{background:rgba(37,77,62,.3)}
body.cases-v49 .timeline-key--visitors{border:2px solid var(--accent);border-radius:999px;height:3px;background:transparent}
body.cases-v49 .timeline-chart-scroll{overflow-x:auto;padding:4px 0 0;border:1px solid var(--line);border-radius:18px;background:var(--paper)}
body.cases-v49 .timeline-chart{display:block;width:100%;min-width:720px;height:auto}
body.cases-v49 .timeline-axis-label,body.cases-v49 .timeline-x-label,body.cases-v49 .timeline-peak-label{font-family:Onest,sans-serif;fill:var(--quiet);font-size:11px}
body.cases-v49 .timeline-peak-label{fill:var(--accent-ink);font-size:12px;font-weight:600}
body.cases-v49 .timeline-table-wrap{overflow-x:auto;margin-top:12px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
body.cases-v49 .timeline-table{width:100%;border-collapse:collapse;font-size:13px;min-width:620px}
body.cases-v49 .timeline-table th,body.cases-v49 .timeline-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
body.cases-v49 .timeline-table thead th{background:var(--soft);color:var(--quiet);font-size:10px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
body.cases-v49 .timeline-table tbody th{font-weight:550;white-space:nowrap}
body.cases-v49 .timeline-table tbody td:nth-child(2),body.cases-v49 .timeline-table tbody td:nth-child(3){font-family:var(--font);font-size:12px;white-space:nowrap;color:var(--ink)}
body.cases-v49 .timeline-table tbody td:nth-child(4){color:var(--muted);font-size:12px}
body.cases-v49 .timeline-table tbody tr:last-child>*{border-bottom:0}
body.cases-v49 .timeline-table tbody tr:hover{background:#F8FAF6}
body.cases-v49 .timeline-table tbody tr.is-peak{background:#F1F5EA}
body.cases-v49 .timeline-table tbody tr.is-peak th{color:var(--green)}
body.cases-v49 .timeline-table tbody tr.is-peak td:nth-child(2){color:var(--accent-ink);font-weight:600}
@media(max-width:1080px){
 body.cases-v49 .timeline-head{grid-template-columns:1fr;gap:10px}
 body.cases-v49 .timeline-summary{max-width:none}
}
@media(max-width:760px){
 body.cases-v49 .timeline-head h3{font-size:28px}
 body.cases-v49 .timeline-chart{min-width:680px}
 body.cases-v49 .timeline-table{min-width:560px}
 body.cases-v49 .timeline-table th,body.cases-v49 .timeline-table td{padding:10px 8px;font-size:11px}
}

body.cases-v49 .timeline-scroll-hint{display:none;margin:0 0 8px;color:var(--quiet);font-size:11px}
@media(max-width:760px){
 body.cases-v49 .timeline-scroll-hint{display:block}
 body.cases-v49 .timeline-table-wrap{overflow:visible}
 body.cases-v49 .timeline-table{display:block;min-width:0;border-collapse:collapse}
 body.cases-v49 .timeline-table thead{display:none}
 body.cases-v49 .timeline-table tbody{display:block}
 body.cases-v49 .timeline-table tbody tr{display:block;padding:14px 16px;border-bottom:1px solid var(--line)}
 body.cases-v49 .timeline-table tbody tr:last-child{border-bottom:0}
 body.cases-v49 .timeline-table tbody th{display:block;padding:0 0 8px;border:0;font-size:14px;white-space:normal}
 body.cases-v49 .timeline-table tbody td{display:flex;justify-content:space-between;gap:14px;padding:3px 0;border:0;font-size:11px;text-align:right}
 body.cases-v49 .timeline-table tbody td::before{content:attr(data-label);color:var(--quiet);font-family:Onest,sans-serif;font-size:10px;text-align:left;flex:0 0 auto}
 body.cases-v49 .timeline-table tbody td:nth-child(2),body.cases-v49 .timeline-table tbody td:nth-child(3){font-size:12px}
 body.cases-v49 .timeline-table tbody tr.is-peak{background:#F1F5EA}
 body.cases-v49 .timeline-table tbody tr.is-peak th{color:var(--green)}
}

/* structured hero: short first screen, reading principles in a separate block */
body.cases-v49 .case-hero{padding-bottom:clamp(26px,4vw,42px)}
body.cases-v49 .case-hero__copy{max-width:760px}
body.cases-v49 .case-hero__lead{max-width:54ch}
body.cases-v49 .case-principle{margin:clamp(26px,4vw,42px) 0 0}
body.cases-v49 .case-guide{padding:clamp(48px,6vw,76px) 0 clamp(52px,7vw,84px);background:var(--paper);border-top:1px solid var(--line)}
body.cases-v49 .case-guide__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.58fr);gap:32px;align-items:end;margin-bottom:28px}
body.cases-v49 .case-guide__head h2{max-width:13ch;margin:10px 0 0;font-size:clamp(38px,4.5vw,56px);line-height:1.01;letter-spacing:-.05em;font-weight:500}
body.cases-v49 .case-guide__lead{max-width:48ch;margin:0;color:var(--muted);font-size:15px;line-height:1.65}
body.cases-v49 .case-guide__lead strong{color:var(--ink);font-weight:600}
body.cases-v49 .case-guide__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.cases-v49 .case-guide__card{min-width:0;padding:22px 22px 20px;border:1px solid var(--line);border-radius:18px;background:var(--bg)}
body.cases-v49 .case-guide__num{display:block;margin-bottom:18px;color:var(--accent-ink);font-family:var(--font);font-size:11px;line-height:1;letter-spacing:.06em}
body.cases-v49 .case-guide__card h3{max-width:22ch;margin:0;font-size:clamp(22px,2.1vw,27px);line-height:1.1;letter-spacing:-.035em;font-weight:550}
body.cases-v49 .case-guide__card p{margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.65}
@media(max-width:1080px){
 body.cases-v49 .case-guide__head{grid-template-columns:1fr;gap:12px}
 body.cases-v49 .case-guide__lead{max-width:64ch}
}
@media(max-width:760px){
 body.cases-v49 .case-guide{padding-block:38px 44px}
 body.cases-v49 .case-guide__head h2{font-size:34px}
 body.cases-v49 .case-guide__grid{grid-template-columns:1fr}
 body.cases-v49 .case-guide__card{padding:18px}
 body.cases-v49 .case-guide__card h3{font-size:22px}
 body.cases-v49 .case-guide__card p{font-size:13px}
}

/* first contact: real form card, clear hierarchy */
body.cases-v49 .case-contact{padding:clamp(54px,7vw,92px) 0;background:var(--warm);border-top:1px solid var(--line)}
body.cases-v49 .case-contact__layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(420px,1.22fr);gap:clamp(32px,5vw,72px);align-items:start}
body.cases-v49 .contact-copy{padding-top:6px}
body.cases-v49 .contact-copy h2{max-width:11ch;margin:12px 0 0;font-size:clamp(38px,4.4vw,58px);line-height:1.01;letter-spacing:-.05em;font-weight:500}
body.cases-v49 .contact-copy>p:not(.eyebrow){max-width:38ch;margin:18px 0 0;color:var(--muted);font-size:15px;line-height:1.65}
body.cases-v49 .contact-copy .direct-link{display:inline-flex;align-items:center;gap:7px;margin-top:24px;font-size:13px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}
body.cases-v49 .contact-points{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;padding:0;list-style:none}
body.cases-v49 .contact-points li{padding:7px 10px;border:1px solid #DCCFC5;border-radius:999px;color:var(--muted);font-size:11px}
body.cases-v49 .contact-form{position:relative;padding:clamp(22px,3vw,34px);border:1px solid #DCCFC5;border-radius:22px;background:var(--paper);box-shadow:0 2px 3px rgba(32,56,47,.04),0 28px 70px -48px rgba(32,56,47,.4)}
body.cases-v49 .contact-form::before{content:"";position:absolute;left:24px;right:24px;top:0;height:2px;background:linear-gradient(90deg,var(--accent),rgba(185,71,37,0));border-radius:0 0 2px 2px}
body.cases-v49 .form-head{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:18px}
body.cases-v49 .form-kicker{margin:0 0 8px;color:var(--accent-ink);font-family:var(--font);font-size:10px;letter-spacing:.08em;text-transform:uppercase}
body.cases-v49 .form-head h3{margin:0;font-size:clamp(23px,2.3vw,29px);line-height:1.08;letter-spacing:-.03em;font-weight:550}
body.cases-v49 .form-head p:last-child{max-width:42ch;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
body.cases-v49 .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.cases-v49 .form-grid .field--full{grid-column:1/-1}
body.cases-v49 .contact-form .field{margin:0}
body.cases-v49 .contact-form label{display:block;margin:0 0 6px;color:var(--ink);font-size:11px;font-weight:600}
body.cases-v49 .contact-form label span{color:var(--accent-ink)}
body.cases-v49 .contact-form input,body.cases-v49 .contact-form textarea{width:100%;min-height:48px;padding:12px 13px;border:1px solid #C9D7C7;border-radius:9px;background:#F8FAF6;color:var(--ink);font:inherit;font-size:14px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
body.cases-v49 .contact-form input::placeholder,body.cases-v49 .contact-form textarea::placeholder{color:var(--quiet);opacity:1}
body.cases-v49 .contact-form input:focus,body.cases-v49 .contact-form textarea:focus{outline:0;border-color:var(--green);background:var(--paper);box-shadow:0 0 0 3px rgba(37,77,62,.12)}
body.cases-v49 .contact-form input[aria-invalid="true"],body.cases-v49 .contact-form textarea[aria-invalid="true"]{border-color:var(--accent);box-shadow:0 0 0 3px rgba(185,71,37,.1)}
body.cases-v49 .contact-form textarea{min-height:132px;resize:vertical}
body.cases-v49 .field-hint{display:block;margin-top:4px;color:var(--quiet);font-size:10px;line-height:1.4}
body.cases-v49 .field-error{display:block;margin-top:4px;color:var(--accent-ink);font-size:10px;line-height:1.4}
body.cases-v49 .field-error:empty{display:none}
body.cases-v49 .contact-form .consent{display:flex;align-items:flex-start;gap:9px;margin:16px 0 18px;color:var(--muted);font-size:11px;line-height:1.5}
body.cases-v49 .contact-form .consent input{width:18px;height:18px;min-height:0;margin:1px 0 0;padding:0;accent-color:var(--green);flex:0 0 18px}
body.cases-v49 .contact-form .consent a{color:var(--accent-ink);text-underline-offset:2px}
body.cases-v49 .contact-form .consent--error{color:var(--accent-ink)}
body.cases-v49 .form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
body.cases-v49 .contact-form .form-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border:1px solid var(--green);border-radius:9px;background:var(--green);color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
body.cases-v49 .contact-form .form-submit:hover{background:var(--ink);border-color:var(--ink);transform:translateY(-1px)}
body.cases-v49 .contact-form .form-submit:disabled{opacity:.65;cursor:progress;transform:none}
body.cases-v49 .form-note{color:var(--quiet);font-size:10px;line-height:1.4}
body.cases-v49 .contact-form .form-status{min-height:0;margin:12px 0 0;font-size:12px;color:var(--muted)}
body.cases-v49 .contact-form .form-status--success{color:var(--green);font-weight:600}
body.cases-v49 .contact-form .form-status--error{color:var(--accent-ink)}
body.cases-v49 .form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
body.cases-v49 .case-hero__facts strong{font-size:clamp(44px,5vw,68px)}
body.cases-v49 .case-guide,body.cases-v49 .featured,body.cases-v49 .case-story,body.cases-v49 .project-index,body.cases-v49 .growth-archive,body.cases-v49 .geo,body.cases-v49 .quotes,body.cases-v49 .case-reads,body.cases-v49 .case-contact{scroll-margin-top:160px}
@media(max-width:1080px){
 body.cases-v49 .case-contact__layout{grid-template-columns:1fr;gap:28px}
 body.cases-v49 .contact-copy{max-width:none}
}
@media(max-width:760px){
 body.cases-v49 .case-contact{padding-block:40px 48px}
 body.cases-v49 .contact-copy h2{font-size:36px}
 body.cases-v49 .contact-copy>p:not(.eyebrow){font-size:14px}
 body.cases-v49 .contact-form{padding:18px;border-radius:18px}
 body.cases-v49 .contact-form::before{left:18px;right:18px}
 body.cases-v49 .form-head{padding-bottom:14px;margin-bottom:14px}
 body.cases-v49 .form-head h3{font-size:24px}
 body.cases-v49 .form-grid{grid-template-columns:1fr;gap:12px}
 body.cases-v49 .form-grid .field--full{grid-column:auto}
 body.cases-v49 .contact-form input,body.cases-v49 .contact-form textarea{font-size:16px;min-height:50px}
 body.cases-v49 .contact-form textarea{min-height:128px}
 body.cases-v49 .form-actions{display:grid;gap:10px}
 body.cases-v49 .contact-form .form-submit{width:100%;min-height:52px}
 body.cases-v49 .case-hero__facts strong{font-size:clamp(42px,11.5vw,52px);letter-spacing:-.045em;white-space:nowrap}
}

/* custom consent + mobile cleanup */
body.cases-v49 .contact-form .consent input{appearance:none;-webkit-appearance:none;position:relative;border:1.5px solid #AEBDAF;border-radius:4px;background:var(--paper);cursor:pointer;transition:background .18s ease,border-color .18s ease}
body.cases-v49 .contact-form .consent input:checked{background:var(--green);border-color:var(--green)}
body.cases-v49 .contact-form .consent input:checked::after{content:"";position:absolute;left:4px;top:1px;width:7px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(42deg)}
body.cases-v49 .contact-form .consent input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:760px){
 body.cases-v49 .back-to-top{display:none!important}
 body.cases-v49 .case-hero__facts strong{font-size:clamp(42px,11.5vw,52px);letter-spacing:-.045em;white-space:nowrap}
}

@media(max-width:760px){
 body.cases-v49 .case-hero__facts::before{left:12px}
 body.cases-v49 .case-hero__facts strong{font-size:clamp(38px,10.5vw,48px);letter-spacing:-.035em}
}

@media(max-width:760px){body.cases-v49 .geo-map__label{display:none}}

@media(max-width:760px){body.cases-v49 .case-hero__facts li{padding-left:18px!important}body.cases-v49 .case-hero__facts-label{padding-left:18px}}

/* ── v5: единая сетка карточек кейсов ──────────────────────────────
   Реестр: 2 колонки на десктопе, 1 на мобиле; равные высоты в ряду,
   обложка 16:10 без скачков, CTA прижат к низу, Onest без моно.     */

/* 1. сетка реестра */
body.cases-v49 .project-register{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
body.cases-v49 .case-card{
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--paper);
  box-shadow:var(--shadow);
}
body.cases-v49 .case-card[hidden]{display:none}

/* 2. обложка карточки: фиксированное соотношение, без прыжков */
body.cases-v49 .case-card .project-row__proof{
  order:-3;
  flex:0 0 auto;
  display:block;
  margin:0 0 14px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
body.cases-v49 .case-card .project-row__proof a{display:block;width:100%}
body.cases-v49 .case-card .project-row__proof img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border-radius:0;
}
body.cases-v49 .case-card .project-row__proof figcaption{
  padding:9px 12px 10px;
  border-top:1px solid var(--line);
  color:var(--quiet);
  font-family:var(--font);
  font-size:11px;
  line-height:1.3;
}

/* 3. текстовые карточки: метрики становятся обложкой того же формата */
body.cases-v49 .case-card:not(:has(.project-row__proof)) .case-card__content{display:contents}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{
  order:-3;
  flex:1 1 auto;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:5px;
  aspect-ratio:16/10;
  min-height:200px;
  margin:0 0 14px;
  padding:22px 24px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(145deg,#EEF4E9 0%,#E1EAE0 100%);
  color:var(--muted);
  font-family:var(--font);
  font-size:12.5px;
  line-height:1.45;
}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics::before{
  content:counter(case-card,decimal-leading-zero);
  position:absolute;
  right:14px;
  bottom:2px;
  color:rgba(37,77,62,.10);
  font-family:var(--font);
  font-size:clamp(48px,4.4vw,64px);
  font-weight:600;
  line-height:.9;
  letter-spacing:-.06em;
  pointer-events:none;
}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{
  width:auto;
  color:var(--green);
  font-family:var(--font);
  font-size:clamp(26px,2.4vw,34px);
  font-weight:600;
  line-height:1.1;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics span{
  color:var(--muted);
  font-family:var(--font);
  font-size:12.5px;
  line-height:1.45;
}

/* 4. шапка карточки */
body.cases-v49 .case-card__head{
  order:-2;
  position:relative;
  display:block;
  min-width:0;
  padding:0 42px 0 0;
}
body.cases-v49 .case-card__num{
  position:absolute;
  right:0;
  top:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--accent-ink);
  font-family:var(--font);
  font-size:12px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
body.cases-v49 .case-card__identity{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 10px;
  min-width:0;
}
body.cases-v49 .case-card__identity>p{
  width:100%;
  margin:0;
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.01em;
}
body.cases-v49 .case-card__identity>span{
  color:var(--muted);
  font-family:var(--font);
  font-size:12.5px;
  line-height:1.4;
}
body.cases-v49 .case-card .project-row__role{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-family:var(--font);
  font-size:12.5px;
  line-height:1;
}

/* 5. заголовок и содержимое */
body.cases-v49 .case-card__content{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
}
body.cases-v49 .case-card__content h3{
  max-width:none;
  margin:12px 0 0;
  color:var(--ink);
  font-family:var(--font);
  font-size:21px;
  font-weight:600;
  line-height:1.28;
  letter-spacing:-.025em;
}
body.cases-v49 .case-card__content .project-row__more{margin-top:10px}
body.cases-v49 .case-card__content .project-row__more>summary{
  min-height:44px;
  color:var(--accent-ink);
  font-family:var(--font);
  font-size:13px;
  font-weight:600;
}
body.cases-v49 .case-card__content .project-row__more dl{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:6px 0 0;
  padding:12px 0 0;
  border-top:1px solid var(--line);
}
body.cases-v49 .case-card__content .project-row__more dl>div{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:10px;
  align-items:baseline;
}
body.cases-v49 .case-card__content .project-row__more dt{
  color:var(--accent-ink);
  font-family:var(--font);
  font-size:11px;
  font-weight:600;
  line-height:1.4;
}
body.cases-v49 .case-card__content .project-row__more dd{
  margin:0;
  color:var(--muted);
  font-family:var(--font);
  font-size:12.5px;
  line-height:1.55;
}
body.cases-v49 .case-card .case-card__content .project-row__metrics{
  margin:14px 0 0;
  padding:12px 0 0;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-family:var(--font);
  font-size:12.5px;
  line-height:1.45;
}
body.cases-v49 .case-card .case-card__content .project-row__metrics strong{
  width:100%;
  color:var(--green);
  font-family:var(--font);
  font-size:22px;
  font-weight:600;
  line-height:1.15;
  letter-spacing:-.02em;
}

/* 6. CTA: всегда снизу, одинаковая высота и радиус */
body.cases-v49 .case-card .case-card__content>.text-link,
body.cases-v49 .case-card>.text-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%;
  min-height:44px!important;
  margin-top:auto;
  padding:0 14px!important;
  border:1px solid var(--line-strong)!important;
  border-radius:10px;
  background:var(--bg);
  color:var(--green)!important;
  font-family:var(--font);
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.2!important;
  text-decoration:none!important;
}
body.cases-v49 .case-card .case-card__content>.text-link:hover,
body.cases-v49 .case-card>.text-link:hover{
  border-color:var(--green)!important;
  background:var(--green);
  color:#fff!important;
}
body.cases-v49 .case-card .project-row__links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:auto;
  padding-top:12px;
}
body.cases-v49 .case-card .project-row__links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--line-strong);
  border-radius:10px;
  color:var(--green);
  font-family:var(--font);
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}

/* 7. карточки-витрины (feature-pair): та же логика низа и типографики */
body.cases-v49 .feature-pair{align-items:stretch}
body.cases-v49 .feature--case{min-height:0}
body.cases-v49 .feature--case>p:not(.eyebrow){max-width:none}
body.cases-v49 .feature--case h3{font-size:clamp(28px,3vw,34px);font-weight:600}
body.cases-v49 .feature__stats strong{font-family:var(--font);font-size:24px;font-weight:600;letter-spacing:-.03em}
body.cases-v49 .feature__stats span{font-family:var(--font);font-size:11.5px;line-height:1.35}
body.cases-v49 .feature__link{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  min-height:44px;
  margin-top:auto;
  padding:0 14px;
  border:1px solid var(--line-strong);
  border-radius:10px;
  background:var(--bg);
  color:var(--green);
  font-family:var(--font);
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}
body.cases-v49 .feature__link:hover{background:var(--green);border-color:var(--green);color:#fff}
body.cases-v49 .feature--green .feature__link{border-color:rgba(255,255,255,.45);background:transparent;color:#fff}
body.cases-v49 .feature--green .feature__link:hover{background:#fff;border-color:#fff;color:var(--green)}

/* 8. архив доказательств: обложка 16:10, без hover-скачков */
body.cases-v49 .evidence-card{height:100%}
body.cases-v49 .evidence-card figure img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:contain;
  object-position:center;
  border-radius:8px;
}
body.cases-v49 .evidence-card:hover figure img{transform:none}
body.cases-v49 .evidence-card h4{max-width:none;font-size:22px;font-weight:600}
body.cases-v49 .evidence-card>div>strong{font-family:var(--font);font-size:24px;font-weight:600}
body.cases-v49 .evidence-card dt{font-size:11px}

/* 9. вводные карточки «как читать кейсы» */
body.cases-v49 .case-guide__card{display:flex;flex-direction:column;min-width:0}
body.cases-v49 .case-guide__num{font-family:var(--font);font-weight:600}
body.cases-v49 .case-guide__card h3{max-width:none;font-size:22px;font-weight:600}
body.cases-v49 .case-guide__card p{font-size:13.5px}

/* 10. адаптив */
@media(max-width:1080px){
  body.cases-v49 .project-register{gap:16px}
  body.cases-v49 .case-card{padding:14px}
  body.cases-v49 .case-card__content h3{font-size:20px}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{font-size:clamp(24px,3vw,30px)}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{padding:18px 20px}
}
@media(max-width:760px){
  body.cases-v49 .project-register{grid-template-columns:1fr;gap:14px}
  body.cases-v49 .case-card{padding:14px;border-radius:18px}
  body.cases-v49 .case-card .project-row__proof img{
    aspect-ratio:auto;
    height:clamp(170px,50vw,220px);
  }
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{
    flex:0 0 auto;
    aspect-ratio:auto;
    height:clamp(170px,50vw,220px);
    min-height:0;
    padding:20px;
  }
  body.cases-v49 .case-card__content h3{font-size:20px}
  body.cases-v49 .case-card__content .project-row__more dl>div{grid-template-columns:1fr;gap:3px}
  body.cases-v49 .case-card__identity>p{font-size:15.5px}
  body.cases-v49 .case-guide__card h3{font-size:21px}
}

/* ── v6: текстовые обложки кейсов — реестр метрик с воздухом ────────────────
   Карточки без графика-пруфа собирают обложку из строки метрик. До этого
   три подписи стояли по центру пустой плашки с зазором 5px и читались как
   текст без оформления. Теперь это собранный блок: крупная метрика, под ней
   реестр строк с разделителями, номер кейса — в правом верхнем углу. */

body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{
  order:-3;
  flex:1 1 auto;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  gap:0;
  aspect-ratio:16/10;
  min-height:220px;
  margin:0 0 18px;
  padding:26px 26px 22px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  /* плашка-«поле данных»: очень слабая миллиметровка, чтобы пустая часть читалась как фон, а не как дырка */
  background-image:linear-gradient(158deg,rgba(240,245,235,.94) 0%,rgba(226,235,225,.94) 100%),repeating-linear-gradient(to bottom,transparent 0 47px,rgba(37,77,62,.06) 47px 48px);
  background-color:#E8EFE6;
  color:var(--muted);
  font-family:var(--font);
  font-size:14px;
  line-height:1.45;
  font-variant-numeric:tabular-nums;
}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics::before{
  content:counter(case-card,decimal-leading-zero);
  position:absolute;
  right:20px;
  top:14px;
  bottom:auto;
  color:rgba(37,77,62,.12);
  font-family:var(--font);
  font-size:clamp(42px,3.4vw,54px);
  font-weight:600;
  line-height:1;
  letter-spacing:-.06em;
  pointer-events:none;
}
/* главная метрика карточки: крупно, с отбивкой и линией под ней */
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{
  display:block;
  width:auto;
  max-width:74%;
  margin:0 0 14px;
  padding:0;
  border-bottom:0;
  color:var(--green);
  font-family:var(--font);
  font-size:clamp(30px,2.9vw,44px);
  font-weight:600;
  line-height:1.04;
  letter-spacing:-.035em;
  overflow-wrap:break-word;
}
/* поддерживающие метрики: строки реестра, волосяные разделители, точка-маркер */
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics span{
  display:flex;
  align-items:baseline;
  gap:9px;
  padding:11px 0;
  border-top:1px solid rgba(184,195,184,.45);
  border-bottom:0;
  color:var(--muted);
  font-family:var(--font);
  font-size:14px;
  line-height:1.4;
}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics span::before{
  content:"";
  flex:none;
  width:5px;
  height:5px;
  margin-top:1px;
  border-radius:50%;
  background:var(--accent);
  opacity:.55;
}
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics span:last-child{
  padding-bottom:0;
  border-bottom:0;
}
/* одна метрика без поддерживающих строк — линия под главной не нужна */
body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}
@media(max-width:1080px){
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{padding:22px 22px 18px}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{font-size:clamp(24px,3vw,30px)}
}
@media(max-width:760px){
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics{
    flex:0 0 auto;
    aspect-ratio:auto;
    height:auto;
    min-height:0;
    padding:20px 18px 16px;
  }
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics::before{
    font-size:40px;
    right:16px;
    top:12px;
  }
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{font-size:clamp(23px,6vw,28px);max-width:78%}
  body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics span{font-size:13.5px;padding:8px 0}
}

/* ─── 11. Тёмная тема страницы кейсов ──────────────────────────────────────
   В светлой палитре зелёный #254D3E работает как заливка, но как цвет текста
   на тёмном фоне даёт 2.1–2.4:1. В тёмной теме текстовая зелень — светлая
   #9BC3A9, фон и заливки не меняются. */
html[data-theme-effective="dark"] body.cases-v49 .case-principle,
html[data-color-scheme="dark"] body.cases-v49 .case-principle{
  color:#9BC3A9!important;
}
html[data-theme-effective="dark"] body.cases-v49 .case-card .project-row__metrics strong,
html[data-color-scheme="dark"] body.cases-v49 .case-card .project-row__metrics strong,
html[data-theme-effective="dark"] body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong,
html[data-color-scheme="dark"] body.cases-v49 .case-card:not(:has(.project-row__proof)) .project-row__metrics strong{
  color:#9BC3A9!important;
}
html[data-theme-effective="dark"] body.cases-v49 .case-card .case-card__content>.text-link,
html[data-color-scheme="dark"] body.cases-v49 .case-card .case-card__content>.text-link,
html[data-theme-effective="dark"] body.cases-v49 .case-card>.text-link,
html[data-color-scheme="dark"] body.cases-v49 .case-card>.text-link,
html[data-theme-effective="dark"] body.cases-v49 .feature__link,
html[data-color-scheme="dark"] body.cases-v49 .feature__link{
  color:#9BC3A9!important;
}
html[data-theme-effective="dark"] body.cases-v49 .feature--green .feature__link{color:#fff!important}

/* Обложка-скриншот: сам график остаётся на белом листе, подпись — на тёмной
   поверхности карточки (на белом она давала 3.04:1). */
html[data-theme-effective="dark"] body.cases-v49 .case-card .project-row__proof,
html[data-color-scheme="dark"] body.cases-v49 .case-card .project-row__proof{
  background:var(--surface)!important;
  border-color:var(--line)!important;
}
html[data-theme-effective="dark"] body.cases-v49 .case-card .project-row__proof img,
html[data-color-scheme="dark"] body.cases-v49 .case-card .project-row__proof img{background:#fff}
html[data-theme-effective="dark"] body.cases-v49 .case-card .project-row__proof figcaption,
html[data-color-scheme="dark"] body.cases-v49 .case-card .project-row__proof figcaption{
  color:var(--muted)!important;
  border-color:var(--line)!important;
}
