/* Generated by scripts/build-v2-css.mjs from html-prototype/v2/css. Scoped to .v2. */
/* case-studies: featured gated card, facts in the work grid */
.v2 .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.v2 .cs-feat { position: relative; top: auto; min-height: 0; margin-bottom: 0; }
.v2 .cs-meta { display: grid; gap: 14px; margin-bottom: 22px; }
.v2 .cs-meta .eyebrow { margin-bottom: 0; }
.v2 .cs-gate { text-align: left; padding: 28px; margin-bottom: 26px; }
.v2 .cs-gate h2 { margin: 0 0 8px; }
.v2 .cs-gate > p { font-size: 17px; margin: 0 0 18px; }
.v2 .cs-steps { gap: 10px; }
.v2 .cs-steps li { align-items: flex-start; font-size: 16px; padding: 10px 18px 10px 10px; border-radius: 18px; }
.v2 .cs-steps li > div { display: grid; gap: 2px; }
.v2 .cs-steps b { margin-top: 2px; }
.v2 .cs-feat .btn { margin-top: 26px; }
.v2 .cs-feat .mcard__m { display: grid; place-items: center; align-content: center; }
.v2 .cs-feat .mcard__m img { border-radius: 22px; }
.v2 .bgrid .bcard .gated { padding: 22px; text-align: left; margin-top: 14px; }
.v2 .bgrid .bcard .gated__label { margin-bottom: 8px; }
.v2 .bgrid .bcard .gated h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px; color: var(--ink); }
.v2 .bgrid .bcard .bcard__tag { margin-top: 14px; font-size: 14px; color: var(--violet-strong); }
.v2 .cs-facts { display: grid; gap: 8px; margin: 0; }
.v2 .cs-facts > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 10px; font-size: 14.5px; }
.v2 .cs-facts dt { color: var(--slate); }
.v2 .cs-facts dd { margin: 0; }
@media (max-width: 720px) {
  .v2 .cs-gate { padding: 22px 18px; }
  .v2 .cs-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Case studies live-only rules: detail layout, results keybox, gallery, closing panel. Tokens only. */
.v2 .cs-cover { margin: 0; }
.v2 .cs-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 32px; }
.v2 .cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.v2 .cs-main { min-width: 0; }
.v2 .cs-chips { justify-content: center; margin-top: 26px; }
.v2 .cs-cover-wrap { padding-bottom: 0; }
.v2 .cs-results { margin-bottom: 48px; }
.v2 .cs-results > b { margin-bottom: 18px; }
.v2 .cs-outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0; }
.v2 .cs-outcomes > div { background: #fff; border-radius: 18px; padding: 18px 20px; min-width: 0; }
.v2 .cs-outcomes dt { font-size: 14.5px; line-height: 1.4; color: var(--slate); }
.v2 .cs-outcomes dd { margin: 8px 0 0; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
.v2 .cs-outcomes .cs-stat--long dd { font-size: 19px; }
.v2 .cs-note { display: block; margin-top: 4px; font-size: 13px; color: var(--iron); }
.v2 .cs-figure { margin: 32px 0; }
.v2 .cs-figure img { display: block; width: 100%; height: auto; border-radius: 24px; }
.v2 .cs-quote { margin: 48px 0; padding: 28px 32px; background: var(--cloud); border-left: 3px solid var(--violet); border-radius: 0 22px 22px 0; }
.v2 .cs-quote p { margin: 0 0 12px; font-size: 22px; line-height: 1.5; }
.v2 .cs-quote footer { font-size: 15px; color: var(--slate); }
.v2 .cs-side { position: sticky; top: 110px; min-width: 0; }
.v2 .cs-card { padding: 30px; }
.v2 .cs-card > .h3 { margin-bottom: 16px; }
.v2 .cs-facts { display: grid; gap: 0; margin: 0; }
.v2 .cs-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.v2 .cs-facts dt { font-size: 14px; color: var(--slate); }
.v2 .cs-facts dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.v2 .cs-facts dd a { color: var(--violet); }
.v2 .cs-facts__sub { margin: 26px 0 12px; font-size: 20px; }
.v2 .cs-tech span { padding: 8px 14px; font-size: 14px; }
.v2 .cs-side__cta { width: 100%; justify-content: center; margin-top: 26px; }
.v2 .cs-chips a { color: inherit; text-decoration: none; }
.v2 .cs-chips a:hover { color: var(--violet); }
.v2 .cs-preview { margin: 0 0 24px; padding: 12px 18px; border-radius: 14px; background: var(--p-lime); font-size: 15px; }
.v2 .cs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v2 .cs-gallery figure { margin: 0; }
.v2 .cs-gallery img { display: block; width: 100%; height: auto; border-radius: 24px; }
.v2 .cs-rel-group + .cs-rel-group { margin-top: 80px; }
.v2 .bgrid .bcard h2 { font-size: 20px; line-height: 1.35; font-weight: 600; }
.v2 .cs-disclosure p { font-size: 14.5px; }
.v2 .cs-end__box { padding: 56px 40px; border-radius: 32px; background: var(--p-lavender); text-align: center; }
.v2 .cs-end__box .h2 { margin-bottom: 16px; }
.v2 .cs-end__box .lead { margin-bottom: 0; }
.v2 .cs-end__box .hero__acts { justify-content: center; }
@media (max-width: 960px) {
  .v2 .cs-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .v2 .cs-side { position: relative; top: 0; }
}
@media (max-width: 720px) {
  .v2 .cs-gallery { grid-template-columns: minmax(0, 1fr); }
  .v2 .cs-card { padding: 22px; }
  .v2 .cs-quote { padding: 22px; }
  .v2 .cs-quote p { font-size: 19px; }
  .v2 .cs-end__box { padding: 36px 22px; border-radius: 24px; }
  .v2 .cs-cover img { border-radius: 22px; }
}

/* Case studies, round two: split hero with the cover, result tiles, chapters, index cards */
.v2 .cs-hero { padding-bottom: 24px; }
.v2 .cs-hero h1 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.12; overflow-wrap: break-word; }
.v2 .cs-hero .hero__sub { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .cs-meta { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2 .cs-meta li { font-size: 13.5px; padding: 6px 14px; border-radius: 99px; background: var(--violet-wash); color: var(--violet-strong); }
.v2 .cs-hero .cs-chips { justify-content: flex-start; margin-top: 0; }
.v2 .cs-visual { position: relative; padding: 36px 28px 44px; border-radius: 40px; background: var(--p-lavender); }
.v2 .cs-visual .cs-cover { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(40, 40, 120, .22); transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.v2 .cs-visual:hover .cs-cover { transform: rotate(0deg) scale(1.01); }
.v2 .cs-visual .cs-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 0; }
.v2 .cs-float { position: absolute; z-index: 2; display: grid; gap: 2px; max-width: 230px; padding: 14px 18px; border-radius: 18px; background: var(--snow); box-shadow: var(--shadow-2); opacity: 0; animation: v2-scIn .6s var(--ease) forwards, v2-bob 7s 1.5s ease-in-out infinite; }
.v2 .cs-float b { font-size: 19px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.v2 .cs-float span { font-size: 13px; color: var(--slate); line-height: 1.35; overflow-wrap: anywhere; }
.v2 .cs-float--1 { left: -4px; bottom: 12px; }
.v2 .cs-float--2 { right: -4px; top: 6px; }

.v2 .cs-results-sec { padding-top: 40px; padding-bottom: 8px; }
.v2 .cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v2 .cs-stat { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border-radius: 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease); }
.v2 .cs-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.v2 .cs-stat__k { font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.v2 .cs-stat b { font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; overflow-wrap: anywhere; }
.v2 .cs-stat--long b { font-size: clamp(22px, 2vw, 28px); }
.v2 .cs-stat .cs-note { font-size: 13px; color: var(--ink); opacity: .75; }

.v2 .cs-block { margin-bottom: 44px; }
.v2 .cs-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.v2 .cs-block__head h2 { margin: 0; }
.v2 .cs-block__ico { width: 46px; height: 46px; border-radius: 15px; background: var(--violet-wash); color: var(--violet-strong); display: grid; place-items: center; flex: none; }
.v2 .cs-block__ico svg { width: 22px; height: 22px; }

.v2 .cs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v2 .cs-card { display: flex; flex-direction: column; border-radius: 32px; background: var(--snow); border: 1px solid var(--line); overflow: hidden; color: var(--black); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease); }
.v2 .cs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.v2 .cs-card__img { display: block; padding: 22px 22px 0; }
.v2 .cs-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 30px rgba(40, 40, 120, .12); transition: transform .6s var(--ease); }
.v2 .cs-card:hover .cs-card__img img { transform: translateY(-4px); }
.v2 .cs-card__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px 32px; flex: 1; }
.v2 .cs-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.v2 .cs-card__meta i { font-style: normal; font-size: 13px; padding: 5px 12px; border-radius: 99px; background: var(--violet-wash); color: var(--violet-strong); }
.v2 .cs-card h2 { margin: 0; font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.v2 .cs-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .cs-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--violet-strong); }
.v2 .cs-card__go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.v2 .cs-card:hover .cs-card__go svg { transform: translateX(5px); }

@media (max-width: 960px) {
  .v2 .cs-stats { grid-template-columns: minmax(0, 1fr); }
  .v2 .cs-cards { grid-template-columns: minmax(0, 1fr); }
  .v2 .cs-visual { padding: 22px 16px 34px; }
  .v2 .cs-float { position: relative; inset: auto; max-width: none; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .v2 .cs-float { opacity: 1; animation: none; } .v2 .cs-visual .cs-cover { transform: none; } }
